1 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5 zero result does not depend on the sign resulting from
7 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13 * math/libm-test.inc (remquo_test_data): Add more tests.
15 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
17 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18 Problem reported by J William Piggott.
20 2015-02-16 Joseph Myers <joseph@codesourcery.com>
23 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24 products 4 * y and 2 * y where those would overflow.
25 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31 * math/libm-test.inc (remquo_test_data): Add more tests.
33 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
35 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36 [defined _COMPILING_NEWLIB].
37 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
38 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
40 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
41 [!defined __mips_isa_rev || __mips_isa_rev < 6].
43 2015-02-16 Torvald Riegel <triegel@redhat.com>
45 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
48 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
51 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
52 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
53 HOST_STACK_END_ADDR): Likewise.
55 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
57 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
58 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
59 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
61 2015-02-13 Roland McGrath <roland@hack.frob.com>
63 * sysdeps/generic/c++-types.data: New file.
64 * sysdeps/generic/ld.abilist: New file.
65 * sysdeps/generic/libBrokenLocale.abilist: New file.
66 * sysdeps/generic/libanl.abilist: New file.
67 * sysdeps/generic/libc.abilist: New file.
68 * sysdeps/generic/libcrypt.abilist: New file.
69 * sysdeps/generic/libdl.abilist: New file.
70 * sysdeps/generic/libm.abilist: New file.
71 * sysdeps/generic/libpthread.abilist: New file.
72 * sysdeps/generic/libresolv.abilist: New file.
73 * sysdeps/generic/librt.abilist: New file.
75 2015-02-13 Joseph Myers <joseph@codesourcery.com>
78 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
79 Compute absolute value of x as modified by fmod, not original
81 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
82 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
83 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
85 (remquo_test_data): Add more tests.
87 2015-02-13 Roland McGrath <roland@hack.frob.com>
89 * sysdeps/init_array/pt-crti.S: New file.
91 2015-02-13 Joseph Myers <joseph@codesourcery.com>
94 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
95 __builtin_fmaf instead of relying on contraction of a * b + c.
97 2015-02-12 J William Piggott <elseifthen@gmx.com>
100 * manual/time.texi: correct the zoneinfo path in the TZ Variable
103 2015-02-12 Joseph Myers <joseph@codesourcery.com>
106 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
107 __builtin_fma instead of relying on contraction of a * b + c.
109 2015-02-12 Roland McGrath <roland@hack.frob.com>
111 * Makeconfig (ASFLAGS): Add -Werror=undef.
112 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
113 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
114 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
116 * Makeconfig (after-link): New variable.
117 (+link-pie, +link-pie-tests): Use it.
118 (+link-static, +link-static-tests): Likewise.
119 (+link, +link-tests): Likewise.
120 * Makerules (build-module, build-module-asneeded): Likewise.
121 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
123 * elf/Makefile ($(objpfx)ld.so): Likewise.
125 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
128 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
129 both struct timeval and struct timespec.
131 2015-02-12 Joseph Myers <joseph@codesourcery.com>
134 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
136 (__ieee754_exp2l): Do not multiply small fractional parts by
138 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
140 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
141 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
142 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
143 * math/auto-libm-test-in: Add more tests of exp2.
144 * math/auto-libm-test-out: Regenerated.
146 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
148 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
151 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
153 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
156 2015-02-12 Andreas Schwab <schwab@suse.de>
159 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
160 Filter out elision flags from value returned in kind.
161 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
162 * nptl/tst-pthread-mutexattr.c: New file.
164 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
166 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
167 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
168 into gnu-gnu, and update comment to refer to abi-tags.
170 2015-02-11 Joseph Myers <joseph@codesourcery.com>
173 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
174 (__sincos): Set errno to EDOM for infinite argument.
175 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
176 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
177 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
178 (__sincosl): Set errno to EDOM for infinite argument.
179 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
180 (__sincosl): Set errno to EDOM for infinite argument.
181 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
182 (__sincosl): Set errno to EDOM for infinite argument.
183 * math/libm-test.inc (sincos_test_data): Test errno setting.
185 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
187 * string/strxfrm_l.c: Remove #define STRCMP.
188 * string/strcoll_l.c: Remove #define STRLEN.
189 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
190 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
192 2015-02-10 Joseph Myers <joseph@codesourcery.com>
194 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
195 * sysdeps/mips/mips32/sfp-machine.h: ... here.
196 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
197 * sysdeps/mips/mips64/Makefile: ... here.
198 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
199 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
200 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
201 * sysdeps/mips/mips64/sfp-machine.h: ... here.
202 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
203 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
204 * sysdeps/mips/mips64/n64/Implies: Likewise.
206 2015-02-10 Roland McGrath <roland@hack.frob.com>
208 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
209 <sys/time.h>, <string.h>, and <errno.h>.
210 (dest_offset, dest_address, value, zero): Remove unused variables.
211 (ldouble): Remove typedef.
212 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
213 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
215 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
216 (check): Function removed.
218 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
219 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
220 Don't call set_sigaction_FP and remove_sigaction_FP here.
221 (ldouble_test): Just use 'long double' as macro argument, no need for
222 the 'ldouble' typedef.
223 (do_test): Set up SIGFPE handler at start, using plain signal rather
224 than sigaction. Fix code style.
226 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
229 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
232 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
234 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
235 * sysdeps/powerpc/powerpc32/configure: Regenerated.
237 * sysdeps/powerpc/configure.ac: Remove file.
238 * sysdeps/powerpc/configure: Likewise.
240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
241 [sysdep_routines]: Remove wordcopy-power6 object.
242 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
243 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
244 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
245 (__memmove_ppc32): Likewise.
246 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
248 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
249 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
253 [sysdep_routines]: Remove wide chars objects.
254 [wcsmbs]: New rule for wide char objects.
256 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
257 Remove wordcopy-power6 obejct.
258 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
259 Use local call for wordcopy and memcpy symbols.
260 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
261 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
262 implementation for loader.
263 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
265 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
266 Remove wordcopy-power7 object.
267 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
268 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
269 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
270 (_wordcopy_fwd_dest_aligned): Likewise.
271 (_wordcopy_bwd_aligned): Likewise.
272 (_wordcopy_bwd_dest_aligned): Likewise.
274 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
275 Rewrite to call __memmove_ppc instead of include default
278 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
279 Remove wide chars objects.
280 [wcsmbs]: New rule for wide char objects.
282 2015-02-09 Andreas Schwab <schwab@suse.de>
285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
286 in terms of __O_DIRECTORY.
288 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
290 * time/getdate.c: Include <stdbool.h>.
291 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
293 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
296 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
298 Add ersatz _Static_assert on older C hosts
299 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
300 pre-C11 C platform that is not known to support _Static_assert.
302 2015-02-07 Richard Braun <rbraun@sceen.net>
304 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
306 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
308 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
310 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
311 priority against unexistent AIO_PRIO_DELTA_MAX.
312 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
314 * misc/fchflags.c (fchflags): Likewise.
315 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
316 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
317 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
318 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
319 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
321 [__USE_MISC] (chflags, fchflags): Declare functions.
322 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
323 EINVAL when nfds is greater than FD_SETSIZE.
324 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
325 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
327 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
328 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
329 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
331 * hurd/hurd/signal.h (_hurd_self_sigstate,
332 _hurd_critical_section_lock, _hurd_critical_section_unlock):
333 Explicit casts from void *.
334 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
335 * abi-tags: Rename gnu-gnu os into gnu.
338 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
339 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
340 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
341 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
342 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
343 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
346 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
347 duplicates ADDR->sun_path with sockaddr LEN limitation.
348 * sysdeps/mach/hurd/connect.c: Include <string.h>
349 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
350 * sysdeps/mach/hurd/sendmsg.c: Likewise.
351 * sysdeps/mach/hurd/sendto.c: Likewise.
352 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
353 implementing it by hand.
355 2015-02-06 Roland McGrath <roland@hack.frob.com>
357 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
359 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
362 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
364 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
365 Test SIGSETXID only if it's defined.
367 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
369 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
370 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
372 * nptl/tst-align2.c: Moved ...
373 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
374 * nptl/Makefile (tests): Remove tst-align2.
375 * sysdeps/unix/sysv/linux/Makefile
376 [$(subdir) = nptl] (tests): Add tst-align-clone.
377 * nptl/tst-getpid1.c: Moved ...
378 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
379 * nptl/tst-getpid2.c: Moved ...
380 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
381 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
382 * sysdeps/unix/sysv/linux/Makefile
383 [$(subdir) = nptl] (tests): ... here.
384 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
385 * sysdeps/unix/sysv/linux/Makefile
386 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
388 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
389 Drop trailing \n from perror argument. Use return rather than exit.
391 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
393 * nptl/tst-cancel21.c (do_test): Likewise.
394 * debug/tst-backtrace6.c: Include <signal.h> first thing.
395 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
396 [!SA_SIGINFO]: Make it a stub test.
398 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
399 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
401 * posix/tst-getlogin.c: Move to ...
402 * login/tst-getlogin.c: ... here.
403 * posix/Makefile (tests): Move tst-getlogin to ...
404 * login/Makefile (tests): ... here.
406 * libio/tst-atime.c (do_test): Move local variables SV and E
407 inside [ST_NOATIME] conditional.
409 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
411 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
413 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
414 (wait_code): New function replaces macro.
415 Call nanosleep rather than syscall.
417 * nptl/pt-system.c: Rewritten. Put everything under
418 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
419 Use IFUNC to redirect when possible.
421 * nptl/pt-longjmp.c: Rewritten. Put everything under
422 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
423 Use IFUNC to redirect when possible.
425 * nptl/pt-fork.c: Rewritten. Put everything under
426 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
427 Use IFUNC to redirect when possible.
428 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
430 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
431 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
432 unconditionally nowadays. This included the only reference to
433 __vdso_clock_gettime that appears outside libc proper.
434 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
435 Remove version set (containing only __vdso_clock_gettime).
436 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
437 Add attribute_hidden.
438 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
439 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
440 libc_hidden_data_def.
441 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
442 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
444 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
445 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
446 setrpcent, and getrpcport to ...
447 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
448 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
449 getrpcbynumber_r, and getrpcent_r to ...
450 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
451 * inet/getrpcbyname.c: Moved ...
452 * sunrpc/getrpcbyname.c: ... here.
453 * inet/getrpcbyname_r.c: Moved ...
454 * sunrpc/getrpcbyname_r.c: ... here.
455 * inet/getrpcbynumber.c: Moved ...
456 * sunrpc/getrpcbynumber.c: ... here.
457 * inet/getrpcbynumber_r.c: Moved ...
458 * sunrpc/getrpcbynumber_r.c: ... here.
459 * inet/getrpcent.c: Moved ...
460 * sunrpc/getrpcent.c: ... here.
461 * inet/getrpcent_r.c: Moved ...
462 * sunrpc/getrpcent_r.c: ... here.
463 * inet/Makefile (routines): Move those to ...
464 * sunrpc/Makefile (routines): ... here.
465 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
467 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
468 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
469 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
470 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
472 * elf/Makefile (routines): Include $(all-dl-routines), not just
474 (rtld-routines): Likewise. Use = rather than :=.
475 * sysdeps/aarch64/Makefile [$(subdir) = elf]
476 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
477 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
478 * sysdeps/arm/Makefile: Likewise.
479 * sysdeps/i386/Makefile: Likewise.
480 * sysdeps/x86_64/Makefile: Likewise.
481 * sysdeps/hppa/Makefile [$(subdir) = elf]
482 (sysdep_routines, sysdep-rtld-routines): Don't add
483 $(sysdep-dl-routines) to these.
484 * sysdeps/ia64/Makefile: Likewise.
485 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
486 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
487 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
488 Don't add dl-static to these; sysdep-dl-routines alone is enough.
489 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
490 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
491 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
492 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
493 * sysdeps/powerpc/Makefile [$(subdir) = elf]
494 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
495 these; sysdep-dl-routines alone is enough.
497 2015-02-06 Joseph Myers <joseph@codesourcery.com>
500 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
501 where multiplication results in zero and third argument is finite
503 * math/auto-libm-test-in: Add more tests of fma.
504 * math/auto-libm-test-out: Regenerated.
506 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
507 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
508 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
509 (_FP_CMP_EQ): Likewise.
510 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
512 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
513 extra argument CHECK_NAN. Redefine as wrapper around
516 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
518 * version.h (RELEASE): Set to "stable".
519 (VERSION): Set to "2.21"
520 * include/features.h (__GLIBC_MINOR__): Set to 21.
522 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
524 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
525 Paul Eggert <eggert@cs.ucla.edu>
528 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
529 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
530 size in bytes. Store needed elements in wpmax. Use needed size
531 in bytes for extend_alloca.
533 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
535 * manual/install.texi: Latest tested versions are GCC 4.9.2,
536 binutls 2.25, and texinfo 5.2.
537 * INSTALL: Regenerate.
538 * sysdeps/nios2/configure: Regenerate.
539 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
540 * manual/contrib.texi: Update.
564 * po/pt_BR.po: Update.
573 * po/zh_CN.po: Update.
574 * po/zh_TW.po: Update.
576 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
577 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
578 * sysdeps/hppa/dl-irel.h: Remove #warning.
579 * sysdeps/hppa/entry.h: Provide prototype for
580 __canonicalize_funcptr_for_compare and cast argument.
581 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
582 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
583 * sysdeps/hppa/sotruss-lib.c: New file.
584 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
585 (atomic_compare_and_exchange_val_acq): Use __typeof__.
586 (atomic_compare_and_exchange_bool_acq): Likewise.
587 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
588 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
590 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
591 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
592 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
594 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
596 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
597 called function in non-PIC case.
599 2015-01-31 David S. Miller <davem@davemloft.net>
601 * sysdeps/sparc/sparc32/bits/atomic.h
602 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
604 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
605 volatile register usage warnings from the compiler.
607 * sysdeps/sparc/nptl/sem_init.c: Delete.
608 * sysdeps/sparc/nptl/sem_post.c: Delete.
609 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
610 * sysdeps/sparc/nptl/sem_wait.c: Delete.
611 * sysdeps/sparc/sparc32/sem_init.c: New file.
612 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
613 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
614 padding explicitly initialized.
615 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
616 padding for in-semaphore spinlock.
617 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
618 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
619 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
620 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
621 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
622 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
623 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
624 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
626 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
627 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
629 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
633 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
634 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
636 (index_AVX_Fast_Unaligned_Load): Likewise.
637 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
638 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
639 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
640 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
641 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
642 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
643 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
644 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
645 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
647 2015-01-29 Andreas Schwab <schwab@suse.de>
649 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
651 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
654 * nscd/nscd_stat.c (send_stats): Initialize DATA.
656 2015-01-28 Martin Sebor <msebor@redhat.com>
658 * math/README.libm-test: Clarify. Add "How to read the test output."
660 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
662 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
665 2015-01-28 Joseph Myers <joseph@codesourcery.com>
667 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
668 (__HAVE_64B_ATOMICS): Define to 0.
670 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
673 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
674 value to set as new flag.
677 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
678 and use _ARCH_PPCSQ instead.
679 (__ieee754_sqrt): Likewise.
680 (__ieee754_sqrtf): Likewise.
681 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
682 _ARCH_PPCSQ is defined.
683 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
685 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
686 _ARCH_PPCSQ is defined.
687 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
689 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
691 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
693 * iconv/loop.c: Suppress array out of bound warning caused by GCC
696 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
698 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
699 Mark _retval as used.
700 (lll_futex_wake_unlock): Likewise.
701 (lll_futex_timed_wait_requeue_pi): Likewise.
703 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
704 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
707 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
710 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
711 (__bswap_64): Mark as __always_inline.
713 2015-01-25 Bram <bug_rh@spam.wizbit.be>
716 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
717 when none of the search directories exist.
719 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
722 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
723 power8 in .machine directive.
726 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
727 set dependency from opd value.
729 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
732 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
735 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
738 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
740 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
742 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
743 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
744 Replace 1UL with (uint64_t) 1.
745 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
748 2015-01-23 Roland McGrath <roland@hack.frob.com>
750 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
751 (if_freenameindex): Likewise.
753 * resource/getrlimit64.c: Add missing libc_hidden_def.
755 2015-01-22 Joseph Myers <joseph@codesourcery.com>
757 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
760 (_FP_TO_INT_ROUND): Likewise.
761 (_FP_FROM_INT): Likewise.
763 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
766 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
767 Make code racy and cancel safe.
769 2015-01-21 Carlos O'Donell <carlos@redhat.com>
771 * sysdeps/arm/unwind-resume.h: Fix copyright year.
772 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
775 * pwd/tst-getpw.c: Rewrite.
778 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
779 (modules-names): Add moddummy1 and moddummy2.
780 ($(objpfx)tst-rec-dlopen): Define.
781 * dlfcn/moddummy1.c: New file.
782 * dlfcn/moddummy2.c: New file.
783 * dlfcn/tst-rec-dlopen.c: New file.
784 * elf/dl-cache.c (_dl_load_cache_lookup):
785 Return char*. Copy result with alloca/strcpy/strdup.
786 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
787 returns char*. Free cached. If not saving realname
789 * elf/dl-open.c (dl_open_worker): Do not assert that
790 _r_debug->r_state is RT_CONSISTENT.
791 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
794 2015-01-21 Torvald Riegel <triegel@redhat.com>
795 Carlos O'Donell <carlos@redhat.com>
798 * nptl/sem_waitcommon.c: New file.
799 * nptl/sem_wait.c: Include sem_waitcommon.c.
800 (__sem_wait_cleanup, do_futex_wait): Remove.
801 (__new_sem_wait): Adapt.
802 (__new_sem_trywait): New function.
803 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
804 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
805 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
806 (sem_timedwait): Adapt.
807 * nptl/sem_post.c (__new_sem_post): Adapt.
808 (futex_wake): New function.
809 (__old_sem_post): Add release MO fence.
810 * nptl/sem_open.c (sem_open): Adapt.
811 * nptl/sem_init.c (__new_sem_init): Adapt.
812 (futex_private_if_supported): New function.
813 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
814 (__old_sem_getvalue): Add using previous code.
815 * sysdeps/nptl/internaltypes.h: Adapt.
816 * nptl/tst-sem13.c (do_test): Adapt.
817 * nptl/tst-sem11.c (main): Adapt.
818 * nptl/sem_trywait.c: Remove.
819 * nptl/DESIGN-sem.txt: Remove.
820 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
821 (gen-as-const-headers): Remove structsem.sym.
822 * nptl/structsem.sym: Remove.
823 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
824 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
825 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
826 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
827 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
828 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
829 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
830 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
831 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
832 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
833 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
834 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
835 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
836 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
837 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
838 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
839 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
840 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
841 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
842 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
843 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
844 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
846 2015-01-20 Carlos O'Donell <carlos@redhat.com>
848 * INSTALL: Regenerated.
850 * po/libc.pot: Regenerated.
852 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
853 Sandra Loosemore <sandra@codesourcery.com>
854 Andrew Jenner <andrew@codesourcery.com>
855 Joseph Myers <joseph@codesourcery.com>
856 Nathan Sidwell <nathan@codesourcery.com>
858 * NEWS: Mention new Nios II port.
859 * sysdeps/nios2/Implies: New file.
860 * sysdeps/nios2/Makefile: New file.
861 * sysdeps/nios2/Subdirs: New file.
862 * sysdeps/nios2/Versions: New file.
863 * sysdeps/nios2/__longjmp.S: New file.
864 * sysdeps/nios2/abort-instr.h: New file.
865 * sysdeps/nios2/backtrace.c: New file.
866 * sysdeps/nios2/bits/endian.h: New file.
867 * sysdeps/nios2/bits/fenv.h: New file.
868 * sysdeps/nios2/bits/link.h: New file.
869 * sysdeps/nios2/bits/setjmp.h: New file.
870 * sysdeps/nios2/bsd-_setjmp.S: New file.
871 * sysdeps/nios2/bsd-setjmp.S: New file.
872 * sysdeps/nios2/configure: New generated file.
873 * sysdeps/nios2/configure.ac: New file.
874 * sysdeps/nios2/crti.S: New file.
875 * sysdeps/nios2/crtn.S: New file.
876 * sysdeps/nios2/dl-init.c: New file.
877 * sysdeps/nios2/dl-machine.h: New file.
878 * sysdeps/nios2/dl-sysdep.h: New file.
879 * sysdeps/nios2/dl-tls.h: New file.
880 * sysdeps/nios2/dl-trampoline.S: New file.
881 * sysdeps/nios2/gccframe.h: New file.
882 * sysdeps/nios2/gmp-mparam.h: New file.
883 * sysdeps/nios2/jmpbuf-offsets.h: New file.
884 * sysdeps/nios2/jmpbuf-unwind.h: New file.
885 * sysdeps/nios2/ldsodefs.h: New file.
886 * sysdeps/nios2/libc-tls.c: New file.
887 * sysdeps/nios2/libm-test-ulps: New file.
888 * sysdeps/nios2/machine-gmon.h: New file.
889 * sysdeps/nios2/math-tests.h: New file.
890 * sysdeps/nios2/math_private.h: New file.
891 * sysdeps/nios2/memusage.h: New file.
892 * sysdeps/nios2/nptl/Makefile: New file.
893 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
894 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
895 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
896 * sysdeps/nios2/nptl/pthreaddef.h: New file.
897 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
898 * sysdeps/nios2/nptl/tls.h: New file.
899 * sysdeps/nios2/preconfigure: New file.
900 * sysdeps/nios2/s_fma.c: New file.
901 * sysdeps/nios2/s_fmaf.c: New file.
902 * sysdeps/nios2/setjmp.S: New file.
903 * sysdeps/nios2/sfp-machine.h: New file.
904 * sysdeps/nios2/sotruss-lib.c: New file.
905 * sysdeps/nios2/stackguard-macros.h: New file.
906 * sysdeps/nios2/stackinfo.h: New file.
907 * sysdeps/nios2/start.S: New file.
908 * sysdeps/nios2/sysdep.h: New file.
909 * sysdeps/nios2/tls-macros.h: New file.
910 * sysdeps/nios2/tst-audit.h: New file.
911 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
912 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
913 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
914 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
915 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
916 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
917 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
918 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
919 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
920 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
921 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
922 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
923 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
924 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
925 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
926 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
927 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
928 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
929 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
930 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
931 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
932 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
933 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
934 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
935 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
936 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
937 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
938 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
939 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
940 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
941 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
942 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
943 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
944 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
945 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
946 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
947 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
948 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
949 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
950 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
951 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
952 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
953 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
954 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
956 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
959 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
960 (getutent): Use weak_alias in non SHARED case
961 and default_symbol_version in SHARED case.
962 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
963 (getutent_r, pututline): Likewise.
964 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
966 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
967 (getutid_r): Likewise.
968 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
969 (getutline): Likewise.
970 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
971 (getutline_r): Likewise.
972 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
975 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
978 * sysdeps/s390/s390-32/memcmp.S
979 (memcmp_g5): Rename to __memcmp_g5.
980 * sysdeps/s390/s390-32/memcpy.S
981 (memcpy_g5): Rename to __memcpy_g5.
982 Jump to __memcpy_mvcle instead of memcpy_mvcle.
983 (memcpy_mvcle) Rename to __memcpy_mvcle.
984 * sysdeps/s390/s390-32/memset.S
985 (memset_g5): Rename to __memset_g5.
986 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
987 (IFUNC_RESOLVE): Prefix ifunc-resolve function
988 and use prefixed functions.
989 * sysdeps/s390/s390-32/multiarch/memcmp.S
990 (memcmp_z196): Rename to __memcmp_z196.
991 (memcmp_z10): Rename to __memcmp_z10.
992 (memcmp): Set alias to __memcmp_g5.
993 (bcmp): Set alias to __memcmp_g5.
994 * sysdeps/s390/s390-32/multiarch/memcpy.S
995 (memcpy_z196): Rename to __memcpy_z196.
996 Jump to __memcpy_mvcle instead of memcpy_mvcle.
997 (memcpy_z10): Rename to __memcpy_z10.
998 Jump to __memcpy_mvcle instead of memcpy_mvcle.
999 (memcpy): Set alias to __memcpy_g5.
1000 * sysdeps/s390/s390-32/multiarch/memset.S
1001 (memset_z196): Rename to __memset_z196.
1002 Jump to __memset_mvcle instead of memset_mvcle.
1003 (memset_z10): Rename to __memset_z10.
1004 Jump to __memset_mvcle instead of memset_mvcle.
1005 (memset_mvcle) Rename to __memset_mvcle.
1006 (memset): Set alias to __memset_g5.
1007 * sysdeps/s390/s390-64/memcmp.S
1008 (memcmp_z900): Rename to __memcmp_z900.
1009 * sysdeps/s390/s390-64/memcpy.S
1010 (memcpy_z900): Rename to __memcpy_z900.
1011 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1012 (memcpy_mvcle) Rename to __memcpy_mvcle.
1013 * sysdeps/s390/s390-64/memset.S
1014 (memset_z900): Rename to __memset_z900.
1015 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1016 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1017 and use prefixed functions.
1018 * sysdeps/s390/s390-64/multiarch/memcmp.S
1019 (memcmp_z196): Rename to __memcmp_z196.
1020 (memcmp_z10): Rename to __memcmp_z10.
1021 (memcmp): Set alias to __memcmp_z900.
1022 (bcmp): Set alias to __memcmp_z900.
1023 * sysdeps/s390/s390-64/multiarch/memcpy.S
1024 (memcpy_z196): Rename to __memcpy_z196.
1025 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1026 (memcpy_z10): Rename to __memcpy_z10.
1027 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1028 (memcpy): Set alias to __memcpy_z900.
1029 * sysdeps/s390/s390-64/multiarch/memset.S
1030 (memset_z196): Rename to __memset_z196.
1031 Jump to __memset_mvcle instead of memset_mvcle.
1032 (memset_z10): Rename to __memset_z10.
1033 Jump to __memset_mvcle instead of memset_mvcle.
1034 (memset_mvcle) Rename to __memset_mvcle.
1035 (memset): Set alias to __memset_z900.
1037 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1040 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1041 __fesetenv instead of fesetenv.
1043 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1045 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1048 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1050 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1053 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1054 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1055 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1056 strncmp-power8 object.
1057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1058 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1059 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1062 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1063 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1065 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1066 trailing byte check.
1068 2015-01-13 David S. Miller <davem@davemloft.net>
1070 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1072 2015-01-13 Roland McGrath <roland@hack.frob.com>
1074 * login/logout.c (logout): Use memset rather than bzero.
1075 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1076 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1077 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1078 (_gethtbyaddr): Likewise.
1079 * locale/programs/simple-hash.c (bcopy): Macro removed.
1081 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1084 Add strcmp-power8 object.
1085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1086 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1087 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1088 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1089 __strcmp_power8 implementation.
1090 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1093 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1094 Add strncpy-power8 and stpncpy-power8 objects.
1095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1096 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1098 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1099 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1100 __stpncpy_power8 implementation.
1101 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1102 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1103 __strncpy_power8 implementation.
1104 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1105 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1108 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1109 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1110 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1112 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1113 strncat-power8 object.
1114 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1115 __strcat_power8 implementation.
1116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1117 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1118 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1119 optimized strcat for power8.
1121 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1122 strcpy-power8 and stpcpy-power8 objects.
1123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1124 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1126 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1127 multiarch stpcpy implementation for POWER8.
1128 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1129 multiarch strcpy implementation for POWER8.
1130 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1131 __strcpy_power8 function.
1132 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1134 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1138 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1141 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1142 weights and rules. Use do_xfrm_cached if data fits in cache,
1143 do_xfrm otherwise. Moved former main loop to...
1144 * (do_xfrm_cached): New function.
1145 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1146 find_idx, find_position and stack_push.
1147 * (find_idx): New function.
1148 * (find_position): Likewise.
1149 * localedata/sort-test.sh: Added test run for do_xfrm.
1150 * localedata/xfrm-test.c (main): Added command line option
1151 -nocache to run the test with strings that are too large for
1154 2015-01-13 Torvald Riegel <triegel@redhat.com>
1156 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1157 variable to lll_futex_wake call, not the value itself.
1159 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1162 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1163 twom64. Adjust value to 0x1p-64L.
1164 (__scalblnl): Only return standard underflowing result for K <=
1165 -64 not K <= -63; adjust exponent for underflowing result by 64
1167 * math/libm-test.inc (scalbn_test_data): Add more tests.
1168 (scalbln_test_data): Likewise.
1171 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1173 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1175 * math/libm-test.inc (scalbn_test_data): Add more tests.
1176 (scalbln_test_data): Likewise.
1178 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1179 Stefani Seibold <stefani@seibold.net>
1181 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1182 (sysdep_routines): Add dl-vdso here, ...
1183 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1184 (sysdep_routines): ... not here.
1185 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1186 fallback when vDSO is not presented.
1187 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1188 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1189 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1190 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1191 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1192 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1193 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1194 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1195 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1197 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1198 fallback configurable symbol when vDSO is not available.
1199 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1200 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1201 be able to redefine fallback symbol when vDSO is not available.
1202 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1203 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1205 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1207 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1208 (TLS_INIT_TP): Add tm_capable initialization.
1209 (TLS_DEFINE_INIT_TP): Likewise.
1210 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1212 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1213 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1215 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1216 transactoion is lock elision is built and TCB tm_capable is set.
1217 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1219 (INTERNAL_SYSCALL_NCS): Likewise.
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1221 (INTERNAL_SYSCALL_NCS): Likewise.
1222 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1224 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1226 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1227 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1228 and remove it for 32 bits case.
1229 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1232 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1233 Disable lock elision with rdlocks if elision is not available.
1235 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1236 (sysdep_routines): Add lock elision objects.
1237 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1238 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1239 [pthread_mutex_t] (__elision): Add field.
1240 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1241 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1242 elision definitions for powerpc.
1243 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1244 implementation of lock elision for powerpc.
1245 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1246 implementation of timed lock elision for powerpc.
1247 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1248 implementation of trylock with lock elision for powerpc.
1249 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1250 implementaion of unlock for lock elision for powerpc.
1251 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1252 automatic enable lock elision for mutexes.
1253 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1254 transaction execution definitions for powerpc.
1255 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1257 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1258 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1259 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1260 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1263 2015-01-09 Roland McGrath <roland@hack.frob.com>
1265 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1266 for #include of <shm-directory.h>.
1268 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1270 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1271 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1273 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1276 * NEWS: Mention bug fix.
1277 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1278 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1279 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1281 2015-01-09 Torvald Riegel <triegel@redhat.com>
1283 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1285 2015-01-09 Torvald Riegel <triegel@redhat.com>
1287 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1289 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1291 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1292 pointer and cast to uintptr_t.
1294 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1296 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1298 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1300 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1302 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1305 2015-01-08 Roland McGrath <roland@hack.frob.com>
1307 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1308 <nptl/pthreadP.h> instead.
1309 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1311 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1313 [__SIGRTMIN] (init): Function removed.
1314 [__SIGRTMIN] (initialized): Variable removed.
1315 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1316 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1317 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1318 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1319 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1320 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1321 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1322 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1323 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1324 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1325 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1326 * sysdeps/nptl/allocrtsig.c: New file.
1327 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1328 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1329 * sysdeps/generic/testrtsig.h: File removed.
1331 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1332 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1334 * nptl/nptl-init.c (pthread_functions): Conditionalize
1335 .ptr__nptl_setxid initialization on [SIGSETXID].
1337 * sysdeps/nptl/sys/procfs.h: New file.
1338 * nptl_db/Makefile (headers): Add it.
1339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1341 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1342 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1343 * nptl/pthread_attr_setaffinity.c: Include it.
1344 * nptl/pthread_setattr_default_np.c: Likewise.
1345 * nptl/check-cpuset.h: New file.
1347 2015-01-08 Richard Henderson <rth@redhat.com>
1349 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1350 (CFLAGS-tst-execstack-prog.c): Likewise.
1351 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1353 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1354 Sandra Loosemore <sandra@codesourcery.com>
1355 Andrew Jenner <andrew@codesourcery.com>
1356 Joseph Myers <joseph@codesourcery.com>
1357 Nathan Sidwell <nathan@codesourcery.com>
1359 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1360 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1361 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1362 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1363 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1364 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1365 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1366 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1367 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1368 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1369 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1370 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1371 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1372 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1373 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1374 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1375 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1377 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1379 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1380 timespec struct member in syscall macro.
1381 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1382 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1383 first timeval struct member in syscall macro.
1384 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1386 2015-01-07 Joseph Myers <joseph@codesourcery.com>
1389 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1390 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1391 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1392 __feupdateenv and define as weak alias of __feupdateenv. Use
1394 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1396 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1397 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1398 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1399 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1401 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1402 __feupdateenv and define as weak alias of __feupdateenv. Use
1404 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1406 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1407 __feupdateenv and define as weak alias of __feupdateenv. Use
1409 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1411 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1412 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1413 (__feupdateenv): Likewise.
1414 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1415 __feupdateenv and define as weak alias of __feupdateenv. Use
1417 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1418 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1420 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1422 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1424 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1425 __feupdateenv instead of feupdateenv.
1426 (default_libc_feupdateenv_test): Likewise.
1427 (libc_feresetround_ctx): Likewise.
1429 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1431 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1434 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1436 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1437 COLL_SYM in a couple of places to avoid uninitialized variable
1438 wanings on tilegx gcc 4.8.2.
1440 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1442 * sysdeps/aarch64/strcpy.S: New file.
1443 * sysdeps/aarch64/stpcpy.S: New file.
1446 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1448 * sysdeps/aarch64/strrchr.S: New file.
1451 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
1454 * stdlib/setenv.c: Fix memory leak when setting large,
1457 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1460 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1461 and tabs from buffer before parsing fstab entry.
1462 * misc/tst-mntent.c (main): Add test for mount entry with
1463 trailing spaces and tabs.
1465 2015-01-06 Joseph Myers <joseph@codesourcery.com>
1468 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1469 * math/fesetround.c (fesetround): Rename to __fesetround and
1470 define as weak alias of __fesetround. Use libm_hidden_weak.
1471 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1472 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1473 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1474 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1475 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1476 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1477 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1478 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1479 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1480 __fesetround_inline.
1481 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1482 __fesetround_inline instead of __fesetround.
1483 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1484 __fesetround and define as weak alias of __fesetround. Use
1485 libm_hidden_weak. Call __fesetround_inline instead of
1487 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1488 __fesetround and define as weak alias of __fesetround. Use
1490 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1492 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1493 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1494 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1495 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1496 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1497 __fesetround and define as weak alias of __fesetround. Use
1499 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1500 __fesetround instead of fesetround.
1501 (default_libc_feholdexcept_setround): Likewise.
1502 (libc_feholdsetround_ctx): Likewise.
1503 (libc_feholdsetround_noex_ctx): Likewise.
1506 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1507 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1508 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1509 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1510 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1511 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1512 define as weak alias of __fesetenv. Use libm_hidden_weak.
1513 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1514 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1515 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1516 define as weak alias of __fesetenv. Use libm_hidden_weak.
1517 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1518 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1519 define as weak alias of __fesetenv. Use libm_hidden_weak.
1520 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1522 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1523 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1525 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1526 define as weak alias of __fesetenv. Use libm_hidden_weak.
1527 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1528 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1529 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1530 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1531 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1532 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1533 __fesetenv instead of fesetenv.
1534 (libc_feresetround_noex_ctx): Likewise.
1535 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1536 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1537 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1538 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1539 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1540 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1541 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1542 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1543 (__feupdateenv): Likewise.
1544 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1545 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1546 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1547 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1549 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1552 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1553 addresses have been freed.
1555 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1557 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1560 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
1562 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1563 Clean up check_pf allocation pattern. addresses
1565 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1567 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1568 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1569 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1570 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1571 * nptl/pthread_join.c (pthread_join): Likewise.
1572 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1573 * sysdeps/posix/waitid.c (__waitid): Likewise.
1574 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1575 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1576 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1577 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1578 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1580 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1581 (__libc_pread64): Likewise.
1582 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1583 (__libc_pwrite): Likewise.
1584 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1585 (__libc_pwrite64): Likewsie.
1586 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1587 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1588 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1589 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1590 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1591 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1592 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1596 (__libc_pread64): Likewise.
1597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1600 (__libc_pwrite64): Likewise.
1601 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1602 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1603 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1604 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1605 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1606 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1607 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1608 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1609 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1610 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1611 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1612 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1613 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1614 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1615 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1616 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1619 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1621 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1622 (CFLAGS-test-double.c): Likewise.
1623 (CFLAGS-test-ldouble.c): Likewise.
1624 (CPPFLAGS-test-ifloat.c): Likewise.
1625 (CPPFLAGS-test-idouble.c): Likewise.
1626 (CPPFLAGS-test-ildoubl.c): Likewise.
1627 (CFLAGS-test-test-fenv.c): Remove variable.
1628 (CFLAGS-test-misc.c): Likewise.
1630 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1633 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1634 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1635 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1636 CLOCKS_PER_SEC == 1000000.
1637 * time/clocktest.c (main): Replace %ld with %jd and cast to
1640 2015-01-05 Roland McGrath <roland@hack.frob.com>
1642 * sysdeps/generic/unwind-resume.h: New file.
1643 * sysdeps/gnu/unwind-resume.c: Include it.
1644 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1645 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1647 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1648 global rather than static.
1649 (_Unwind_Resume): Update user.
1650 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1651 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1652 rather than static. Add __attribute__ ((cold)).
1653 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1654 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1655 * sysdeps/arm/arm-unwind-resume.S: New file.
1656 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1657 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1658 * sysdeps/arm/Makefile [$(subdir) = csu]
1659 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1660 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1661 Add rt-arm-unwind-resume.
1663 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1664 Add pt-arm-unwind-resume.
1665 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1666 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1668 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1671 * include/fenv.h (__feholdexcept): Declare. Use
1673 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1674 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1675 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1676 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1677 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1678 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1679 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1680 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1681 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1682 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1683 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1684 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1685 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1686 (feholdexcept): Likewise.
1687 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1688 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1689 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1690 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1691 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1692 __feholdexcept instead of feholdexcept.
1693 (default_libc_feholdexcept_setround): Likewise.
1695 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1697 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1698 to avoid using stl/str to align destination.
1700 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1702 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1704 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1707 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1708 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1709 Define as weak alias not strong alias.
1711 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1713 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1714 bltzal with addiupc.
1715 (RTLD_START): Ditto.
1717 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1719 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1720 for __vdso_* functions in declarations.
1721 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1723 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1724 INTERNAL_VSYSCALL): Use struct return types to check for error.
1726 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1727 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1728 function with cast from llround().
1729 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1730 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1733 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1736 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1737 Define as weak alias not strong alias.
1740 * ctype/ctype-c99.c: New file. isblank implementation moved from
1742 * ctype/ctype-extn.c: ... here.
1743 (__isblank_l): Move to ...
1744 * ctype/ctype-c99_l.c: ... here. New file.
1745 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1746 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1748 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1749 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1750 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1751 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1752 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1755 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1756 (posix_fadvise64): Define as weak alias not strong alias.
1757 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1758 (posix_fallocate64): Likewise.
1759 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1761 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1762 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1763 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1764 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1765 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1767 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1770 * NEWS: Mention bug fix.
1771 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1772 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1773 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1774 (HOST_STACK_END_ADDR): Likewise.
1776 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1779 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1780 * math/fegetround.c (fegetround): Rename to __fegetround and
1781 define as weak alias of __fegetround. Use libm_hidden_weak.
1782 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1783 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1784 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1785 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1786 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1787 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1788 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1789 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1790 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1791 Undefine after rather than before function definition; use
1792 parentheses around function name in definition.
1793 (__fegetround): Also undefine macro after function definition.
1794 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1795 __fegetround and define as weak alias of __fegetround. Use
1796 libm_hidden_weak. Do not undefine as macro.
1797 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1799 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1800 __fegetround and define as weak alias of __fegetround. Use
1802 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1803 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1804 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1805 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1806 __fegetround and define as weak alias of __fegetround. Use
1808 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1809 __fegetround instead of fegetround.
1812 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1813 Condition macro definition on [__USE_MISC].
1816 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1817 (struct sigaction): Change type of sa_flags field to int.
1820 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1821 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1824 * nptl/version.c (banner): Use single year in copyright notice.
1826 * NEWS: Update copyright dates.
1827 * catgets/gencat.c (print_version): Likewise.
1828 * csu/version.c (banner): Likewise.
1829 * debug/catchsegv.sh: Likewise.
1830 * debug/pcprofiledump.c (print_version): Likewise.
1831 * debug/xtrace.sh (do_version): Likewise.
1832 * elf/ldconfig.c (print_version): Likewise.
1833 * elf/ldd.bash.in: Likewise.
1834 * elf/pldd.c (print_version): Likewise.
1835 * elf/sotruss.sh: Likewise.
1836 * elf/sprof.c (print_version): Likewise.
1837 * iconv/iconv_prog.c (print_version): Likewise.
1838 * iconv/iconvconfig.c (print_version): Likewise.
1839 * locale/programs/locale.c (print_version): Likewise.
1840 * locale/programs/localedef.c (print_version): Likewise.
1841 * login/programs/pt_chown.c (print_version): Likewise.
1842 * malloc/memusage.sh (do_version): Likewise.
1843 * malloc/memusagestat.c (print_version): Likewise.
1844 * malloc/mtrace.pl: Likewise.
1845 * manual/libc.texinfo: Likewise.
1846 * nptl/version.c (banner): Likewise.
1847 * nscd/nscd.c (print_version): Likewise.
1848 * nss/getent.c (print_version): Likewise.
1849 * nss/makedb.c (print_version): Likewise.
1850 * posix/getconf.c (main): Likewise.
1851 * scripts/test-installation.pl: Likewise.
1852 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1854 2015-01-02 Will Newton <will.newton@linaro.org>
1856 * sysdeps/arm/armv7/configure: Removed.
1857 * sysdeps/arm/armv7/configure.ac: Likewise.
1859 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1861 * All files with FSF copyright notices: Update copyright dates
1862 using scripts/update-copyrights.
1863 * intl/plural.c: Regenerated.
1864 * locale/programs/charmap-kw.h: Likewise.
1865 * locale/programs/locfile-kw.h: Likewise.
1867 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1869 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1871 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1874 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1875 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1876 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1877 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1878 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1879 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1880 define as weak alias of __fegetenv. Use libm_hidden_weak.
1881 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1882 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1883 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1884 define as weak alias of __fegetenv. Use libm_hidden_weak.
1885 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1886 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1887 define as weak alias of __fegetenv. Use libm_hidden_weak.
1888 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1890 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1891 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1893 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1894 define as weak alias of __fegetenv. Use libm_hidden_weak.
1895 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1896 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1897 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1898 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1899 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1900 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1901 __fegetenv instead of fegetenv.
1902 (libc_feholdsetround_noex_ctx): Likewise.
1904 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1906 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1907 (Elf_MIPS_ABIFlags_v0): New structure.
1908 (EF_MIPS_FP64): Define.
1909 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1910 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1911 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1912 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1913 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1914 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1915 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1916 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1917 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1918 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1919 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1920 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1921 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1922 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1923 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1924 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1925 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1926 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1927 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1928 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1929 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1930 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1932 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1934 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1935 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1936 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1937 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1938 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1939 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1940 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1941 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1942 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1943 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1944 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1945 record the current FP ABI extension.
1946 (mips-mode-switch): Define to show if kernel headers support mode
1948 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1949 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1950 supported SYSV ABI version to 3.
1951 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1954 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1955 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1957 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1959 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1961 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1963 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1964 __fegetround and redefine to call __fegetround. Remove condition
1965 on [!__NO_MATH_INLINES].
1966 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1968 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1969 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1971 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1972 instead of <fenv_libc.h>.
1973 (__llrintl): Call fegetround instead of __fegetround.
1974 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1975 instead of <fenv_libc.h>.
1976 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1977 (__lrintl): Call fegetround instead of __fegetround.
1978 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1979 instead of <fenv_libc.h>.
1980 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1981 (__rintl): Call fegetround instead of __fegetround.
1983 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1985 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1988 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1991 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1992 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1993 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1995 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1997 * sysdeps/i386/tls-macros.h: Include <features.h>.
1998 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2002 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2003 define for GCC >= 5.0.
2005 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2007 * math/test-fenv.c (test_single_exception, set_single_exc,
2008 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2009 feexcp_mask_test, feenable_test, fe_single_test): Add
2010 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2011 case where they are not used.
2012 * math/libm-test.inc: Likewise.
2013 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2014 unused in the absence of FP rounding/exception support.
2015 * stdio-common/tst-printf-round.c: Likewise.
2016 * stdlib/tst-strtod-round.c: Likewise.
2017 * stdlib/tst-strtod-underflow.c: Likewise.
2019 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2022 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2023 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2024 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2025 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2027 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2028 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2029 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2031 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2032 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2034 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2036 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2037 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2038 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2040 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2042 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2043 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2044 (__feraiseexcept): Likewise.
2045 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2046 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2048 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2049 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2051 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2052 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2053 Use libm_hidden_def.
2054 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2056 (feraiseexcept): Define as weak not strong alias. Use
2058 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2059 New inline function. Factored out of ...
2060 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2061 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2062 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2064 * math/w_acos.c (__acos): Likewise.
2065 * math/w_asin.c (__asin): Likewise.
2066 * math/w_ilogb.c (__ilogb): Likewise.
2067 * math/w_j0.c (y0): Likewise.
2068 * math/w_j1.c (y1): Likewise.
2069 * math/w_jn.c (yn): Likewise.
2070 * math/w_log.c (__log): Likewise.
2071 * math/w_log10.c (__log10): Likewise.
2072 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2073 * sysdeps/aarch64/fpu/math_private.h
2074 (libc_feupdateenv_test_aarch64): Likewise.
2075 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2076 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2077 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2078 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2079 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2080 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2081 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2082 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2083 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2084 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2086 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2089 * io/test-utime.c (main): Replace %ld with %jd and cast to
2091 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2092 * nptl/tst-mutex5.c: Include <stdint.h>.
2093 (do_test): Replace %ld with %jd and cast to intmax_t.
2094 * posix/tst-regex.c (run_test): Likewise.
2095 (run_test_backwards): Likewise.
2096 * rt/tst-clock.c: Include <stdint.h>.
2097 (clock_test): Replace %ld with %jd and cast to intmax_t.
2098 * rt/tst-cpuclock1.c: Include <stdint.h>.
2099 (do_test): Replace %lu with %ju and cast to uintmax_t.
2100 * rt/tst-cpuclock2.c: Include <stdint.h>.
2101 (do_test): Replace %lu with %ju and cast to uintmax_t.
2102 * rt/tst-mqueue1.c: Include <stdint.h>.
2103 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2104 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2106 * rt/tst-mqueue4.c (do_test): Likewise.
2107 * rt/tst-timer4.c: Include <stdint.h>.
2108 (check_ts): Replace %ld with %jd and cast to intmax_t.
2109 (do_test): Likewise.
2110 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2111 and cast to intmax_t.
2112 * sysdeps/pthread/tst-timer.c (main): Likewise.
2113 * time/clocktest.c (main): Likewise.
2114 * time/tst-posixtz.c (do_test): Likewise.
2115 * timezone/tst-timezone.c (main): Likewise.
2117 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2118 H.J. Lu <hongjiu.lu@intel.com>
2120 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2121 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2122 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2123 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2124 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2125 version if bit_Fast_Unaligned_Load is set.
2126 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2127 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2128 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2129 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2130 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2131 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2133 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2134 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2135 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2137 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2138 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2139 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2140 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2142 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2144 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2145 instead of #if to avoid a Wundef warning.
2146 * stdlib/tst-limits.c (do_test): Likewise.
2148 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2149 parallel other exception macros.
2150 (fegetenv): Convert from macro to extern inline so that it applies
2151 retroactively to inline functions already seen by the compiler.
2152 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2154 * posix/Makefile (before-compile): Use $(objpfx) for
2155 posix-conf-vars-def.h.
2157 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2159 * posix/getconf.c (main): Use size_t for type of I.
2160 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2163 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2164 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2165 * posix/posix-envs.def: Likewise.
2166 * sysdeps/posix/sysconf.c: Likewise.
2167 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2168 (specs): Remove array.
2169 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2172 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2173 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2174 (__sysconf): Use CONF_IS_* macros.
2176 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2177 ($(objpfx)posix-conf-vars-def.h): New target.
2178 * posix/posix-conf-vars.list: New file.
2179 * posix/posix-conf-vars.h: New file.
2180 * posix/confstr.c: Include posix-conf-vars.h.
2181 (confstr): Use CONF_IS_* macros.
2182 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2184 * scripts/gen-posix-conf-vars.awk: New file.
2186 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2188 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2189 fegetround): Add no-op macros to avoid linknamespace issues.
2191 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2192 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2194 * sysdeps/unix/sysv/linux/tile/sysdep.h
2195 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2196 assembly-specific section to avoid a redefinition warning.
2198 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2199 long before casting to pointer to avoid a cast warning.
2201 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2203 * sysdeps/tile/tilegx/Implies: New file.
2205 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2207 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2209 2014-12-23 Florian Weimer <fweimer@redhat.com>
2211 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2213 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2215 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2217 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2218 <kernel-features.h>.
2219 (__utimes) [__NR_utimes]: Make code unconditional.
2220 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2221 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2222 (__ASSUME_UTIMES): Do not undefine.
2223 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2224 (__ASSUME_UTIMES): Likewise.
2225 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2226 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2227 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2228 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2230 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2232 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2234 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2237 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2238 alias to weak alias for j0l, y0l.
2239 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2240 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2243 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2246 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2248 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2249 to zero if not already defined.
2251 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2254 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2255 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2256 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2257 (char *) casts added.
2258 * sysdeps/ieee754/k_standardf.c: New file.
2259 * sysdeps/ieee754/k_standardl.c: Likewise.
2260 * math/Makefile (libm-support): Remove k_standard.
2261 (libm-calls): Add k_standard.
2263 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2265 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2266 Optimize to avoid an unnecessary FPCR read.
2268 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2270 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2271 Optimize to reduce FPCR/FPSR accesses.
2273 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2275 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2276 Call libc_fetestexcept_aarch64.
2278 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2280 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2281 Call libc_fesetround_aarch64.
2283 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2286 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2287 (__bind): Do not define as weak alias.
2288 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2290 (__getsockname): Do not define as weak alias.
2292 2014-12-22 Will Newton <will.newton@linaro.org>
2294 * manual/install.texi: Document that we require bison 2.7
2296 * INSTALL: Regenerate.
2297 * configure.ac: Use AC_CHECK_PROG_VER instead of
2298 AC_PATH_PROG when checking for bison and check for
2299 version 2.7 or above.
2300 * configure: Regenerate.
2302 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2305 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2306 * sysdeps/tile/ffsll.c (ffsll): To here.
2308 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2310 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2312 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2314 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2316 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2317 hidden ___tls_get_addr.
2318 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2319 hidden __tls_get_addr.
2320 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2321 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2324 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2326 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2329 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2331 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2332 from "call _dl_init@PLT".
2333 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2335 2014-12-21 Anders Kaseorg <andersk@mit.edu>
2337 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2340 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2342 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2344 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2347 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2350 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2352 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2354 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2355 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2356 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2357 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2358 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2360 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2362 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2363 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2364 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2365 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2366 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2368 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2370 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
2372 * string/strncat.c (STRNCAT): Simplify implementation.
2374 2014-12-19 David S. Miller <davem@davemloft.net>
2376 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2377 access the quad as both a long double and as a series of 4 words.
2379 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2380 link_map->l_info array access.
2382 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2384 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2386 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2387 * math/atest-exp2.c (TIMEOUT): Likewise.
2388 * math/atest-sincos.c (TIMEOUT): Likewise.
2390 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2392 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2393 -Wno-error with -fno-builtin-lround.
2395 2014-12-19 Torvald Riegel <triegel@redhat.com>
2397 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2398 Contains futex constants and functions moved over from ...
2399 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2400 <lowlevellock-futex.h>.
2401 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2402 (lll_timedwait_tid): Add comments and parentheses around macro
2405 2014-12-19 Torvald Riegel <triegel@redhat.com>
2407 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2408 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2409 (__lll_private_flag): Remove.
2410 (lll_futex_wait): Likewise.
2411 (lll_futex_timed_wait): Likewise.
2412 (lll_futex_wake): Likewise.
2413 (lll_futex_requeue): Likewise.
2414 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2415 (__lll_timedwait_tid): Spell out argument names.
2416 (lll_timedwait_tid): Add comments and parentheses around macro
2418 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2419 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2421 2014-12-19 Torvald Riegel <triegel@redhat.com>
2423 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2424 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2425 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2426 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2427 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2428 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2429 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2430 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2431 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2432 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2433 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2434 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2435 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2436 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2437 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2438 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2439 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2440 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2441 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2443 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2445 * sysdeps/x86_64/x32/Makefile: New file.
2447 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2449 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2450 1L with (mp_limb_t) 1.
2452 2014-12-17 Roland McGrath <roland@hack.frob.com>
2454 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2455 * nptl/libc_pthread_init.c: ... here.
2456 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2457 * nptl/register-atfork.c: ... here.
2459 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2460 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2461 Use assert_perror to check its return value.
2462 (__gai_create_helper_thread): Likewise.
2464 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2466 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2468 2014-12-17 Joseph Myers <joseph@codesourcery.com>
2471 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2473 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2475 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2477 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2479 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2480 (profil_counter): Likewise.
2481 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2482 (profil_counter): Likewise.
2483 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2485 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2487 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2488 (profil_counter): Likewise.
2489 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2491 [!__profil_counter] (profil_counter): Define as weak alias of
2493 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2494 (profil_counter): Rename to __profil_counter.
2495 [!__profil_counter] (profil_counter): Define as weak alias of
2497 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2498 (profil_counter): Rename to __profil_counter.
2499 [!__profil_counter] (profil_counter): Define as weak alias of
2501 * sysdeps/posix/profil.c: Update comment referring to
2503 (__profil): Use __profil_counter instead of profil_counter.
2504 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2505 __profil_counter. Use __profil_counter_ushort and
2506 __profil_counter_uint in definitions.
2507 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2508 instead of profil_counter_uint and profil_counter_ushort.
2511 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2512 define as weak alias of __inet_makeaddr.
2513 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2514 as weak alias of __inet_addr.
2515 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2516 as weak alias of __inet_pton. Use libc_hidden_weak.
2517 * include/arpa/inet.h (__inet_pton): Declare. Use
2519 (inet_makeaddr): Don't use libc_hidden_proto.
2520 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2521 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2522 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2523 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2525 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2526 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2528 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
2530 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2532 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2534 * stdio-common/bug-vfprintf-nargs.c (do_test):
2535 Cast value to intptr_t to avoid format warning
2536 for usage with PRIdPTR printing macro.
2538 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2540 * libio/tst-widetext.c (do_test):
2541 Use format type %td instead of %Zd for ptrdiff_t
2542 in order to avoid format warning.
2544 2014-12-17 Andreas Schwab <schwab@suse.de>
2546 * nscd/mem.c (gc): Add size_t cast to match printf format.
2548 2014-12-16 Roland McGrath <roland@hack.frob.com>
2550 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2551 (init): Apply PTR_MANGLE to pointers before storing them.
2552 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2555 2014-12-16 Joseph Myers <joseph@codesourcery.com>
2558 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2559 define as weak alias of __memrchr.
2560 (__memrchr): Do not define as strong alias of memrchr.
2561 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2563 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2564 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2565 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2568 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2569 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2570 (if_indextoname): Rename to __if_indextoname and define as weak
2571 alias of __if_indextoname. Use libc_hidden_weak.
2572 (if_freenameindex): Rename to __if_freenameindex and define as
2573 weak alias of __if_freenameindex.
2574 (if_nameindex): Rename to __if_nameindex and define as weak alias
2576 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2577 __if_nametoindex and define as weak alias of __if_nametoindex.
2578 Use libc_hidden_weak.
2579 (if_freenameindex): Rename to __if_freenameindex and define as
2580 weak alias of __if_freenameindex.
2581 (if_nameindex): Rename to __if_nameindex and define as weak alias
2583 (if_indextoname): Rename to __if_indextoname and define as weak
2584 alias of __if_indextoname. Use libc_hidden_weak.
2585 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2586 __if_nametoindex and define as weak alias of __if_nametoindex.
2587 Use libc_hidden_weak.
2588 (if_freenameindex): Rename to __if_freenameindex and define as
2589 weak alias of __if_freenameindex. Use libc_hidden_weak.
2590 (if_nameindex_netlink): Use __if_freenameindex instead of
2592 (if_nameindex): Rename to __if_nameindex and define as weak alias
2593 of __if_nameindex. Use libc_hidden_weak.
2594 (if_indextoname): Rename to __if_indextoname and define as weak
2595 alias of __if_indextoname. Use libc_hidden_weak.
2596 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2598 [!_ISOMAC] (__if_freenameindex): Likewise.
2599 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2601 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2603 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2604 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2605 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2606 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2607 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2608 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2609 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2611 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2613 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2614 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2616 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2618 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2619 subscript above bounds'
2621 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2624 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
2626 * libio/tst-fopenloc.c: Use test-skeleton.c.
2628 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2629 (entry): Rename to ITEM.
2630 (do_test, comp): Adjust.
2632 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2634 2014-12-16 Torvald Riegel <triegel@redhat.com>
2636 * string/tester.c: Include <libc-internal.h>.
2637 (test_memset): Ignore -Wmemset-transposed-args.
2639 2014-12-16 Torvald Riegel <triegel@redhat.com>
2641 * misc/tst-mntent2.c (do_test): Fix warning.
2643 2014-12-16 Torvald Riegel <triegel@redhat.com>
2645 * elf/tst-unique4lib.cc(a): Mark as used.
2647 2014-12-16 Florian Weimer <fweimer@redhat.com>
2650 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2653 2014-12-16 Allan McRae <allan@archlinux.org>
2655 * stdio-common/Makefile (tests): Re-add bug26.
2657 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
2660 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2663 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2665 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2666 (__lll_lock_wait): Likewise.
2667 (__lll_timedlock_wait): Likewise.
2668 (__lll_timedwait_tid): Likewise.
2669 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2670 (__lll_robust_timedlock_wait): Likewise.
2671 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2672 (lll_cond_trylock): Likewise.
2673 (__lll_lock): Likewise.
2674 (__lll_robust_lock): Likewise.
2675 (__lll_cond_lock): Likewise.
2676 (lll_robust_cond_lock): Likewise.
2677 (__lll_timedlock): Likewise.
2678 (__lll_robust_timedlock): Likewise.
2679 (__lll_unlock): Likewise.
2680 (__lll_robust_unlock): Likewise.
2681 (lll_wait_tid): Likewise.
2682 (lll_timedwait_tid): Likewise.
2684 2014-12-15 Torvald Riegel <triegel@redhat.com>
2686 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2688 2014-12-15 Torvald Riegel <triegel@redhat.com>
2690 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2692 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2694 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2695 * stdio-common/tst-sprintf.c: Likewise.
2697 2014-12-15 Torvald Riegel <triegel@redhat.com>
2699 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2701 2014-12-15 Jeff Law <law@redhat.com>
2704 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2705 on the heap. (CVE-2012-3406)
2706 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2707 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2708 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2710 2014-12-15 Will Newton <will.newton@linaro.org>
2712 * manual/install.texi: Bump required version of texinfo
2714 * INSTALL: Regenerated.
2715 * configure.ac: Check for makeinfo version 4.7 and above.
2716 * configure: Regenerated.
2718 2014-12-12 Roland McGrath <roland@hack.frob.com>
2720 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2721 PREFIX, string constant to insert between directory and name.
2722 * sysdeps/posix/shm_open.c: Update caller.
2723 * sysdeps/posix/shm_unlink.c: Likewise.
2724 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2725 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2726 (SEM_SHM_PREFIX): New macro.
2727 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2728 [$(have-thread-library) = no].
2729 * nptl/Makefile (libpthread-routines): Add shm-directory.
2730 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2731 * sysdeps/nptl/shm-directory.h: New file.
2732 * sysdeps/posix/shm-directory.c
2733 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2734 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2735 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2737 (__where_is_shmfs): Function removed.
2738 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2740 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2742 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2744 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2745 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2746 unconditional for use inside libpthread.
2747 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2749 2014-12-12 Roland McGrath <roland@hack.frob.com>
2751 * nptl/pthread_getaffinity.c: New file.
2752 * nptl/pthread_setaffinity.c: New file.
2753 * nptl/pthread_getname.c: New file.
2754 * nptl/pthread_setname.c: New file.
2756 * nptl/pthread_create.c (START_THREAD_DEFN)
2757 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2759 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2760 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2762 * resolv/res_send.c (send_vc): Disable warning resplen may
2763 be used uninitialized.
2765 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2768 (ATTR_NULL): New define checks ATTR against NULL.
2769 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2770 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2772 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2776 (mem2mem_check): Revert my previous change.
2777 (malloc_check_get_size): Revert my previous change.
2778 (mem2chunk_check): Revert my previous change.
2780 2014-12-11 Roland McGrath <roland@hack.frob.com>
2782 * sysdeps/posix/shm-directory.c: New file.
2783 * sysdeps/posix/shm-directory.h: New file.
2784 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2785 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2786 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2787 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2788 Transmute EPERM to EACCES.
2789 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2791 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2792 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2794 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2796 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2797 pointer and cast to uintptr_t.
2798 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2799 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2800 Add cast to avoid warning.
2801 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2803 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2805 * nptl/semaphore.h: Move to ...
2806 * sysdeps/pthread/semaphore.h: ... here.
2807 * Makefile (installed-headers): Change nptl/semaphore.h to
2808 sysdeps/pthread/semaphore.h.
2810 2014-12-11 Roland McGrath <roland@hack.frob.com>
2812 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2813 generated error format strings.
2815 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2816 -Wformat-extra-args warnings for scanf formats.
2817 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2818 test of zero-length format (duh).
2819 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2820 corner-case scanf format test.
2821 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2822 generated fprintf format string.
2823 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2824 corner-case sprintf format tests.
2825 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2826 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2827 -Wformat-extra-args warnings throughout.
2828 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2829 (CFLAGS-scanf4.c): Likewise.
2830 (CFLAGS-scanf7.c): Likewise.
2831 (CFLAGS-tst-sprintf.c): Likewise.
2832 (CFLAGS-tst-printf.c): Likewise.
2833 (CFLAGS-tst-printfsz.c): Likewise.
2835 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2837 * include/cpio.h: New file.
2838 * include/fmtmsg.h: Likewise.
2840 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2841 corresponding format argument to size_t.
2842 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2844 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2845 corresponding format argument to size_t.
2846 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2848 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2849 corresponding format argument to size_t.
2850 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2851 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2852 (CFLAGS-tst-mbswcs2.c): Likewise.
2853 (CFLAGS-tst-mbswcs3.c): Likewise.
2854 (CFLAGS-tst-mbswcs4.c): Likewise.
2855 (CFLAGS-tst-mbswcs5.c): Likewise.
2856 (CFLAGS-tst-trans.c): Likewise
2858 2014-12-11 Roland McGrath <roland@hack.frob.com>
2860 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2861 rather than assuming they won't contain any '%'s.
2863 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2865 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2866 inhibit_loop_to_libcall to avoid recursive calls.
2867 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2868 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2870 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2872 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2875 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2877 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2878 integer value instead of boolean.
2880 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2882 * malloc/malloc.c: Fix powerof2 check.
2884 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2886 * locale/programs/locfile.h (maybe_swap_uint32):
2887 Remove inline and add unused attribute.
2889 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2891 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2892 Truncating assembler expression to a .long expression.
2894 2014-12-11 Andreas Schwab <schwab@suse.de>
2896 * elf/rtld.c (struct map_args): Constify str member.
2897 (do_preload): Constify fname argument.
2899 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2901 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2902 constants definition.
2904 2014-12-11 Andreas Schwab <schwab@suse.de>
2907 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2908 FORCE_ELISION instead of DO_ELISION.
2909 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2911 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2914 * iconvdata/gconv-modules: Remove duplicate entry.
2916 2014-12-11 Will Newton <will.newton@linaro.org>
2918 Merge gettext 0.19.3 into intl/.
2920 This involves a number of cosmetic changes to comments
2921 and ANSI function definitions and prototypes throughout
2922 all the files. The gettext copyright header is used but
2923 with the date ranges taken from the glibc copy.
2925 * NEWS: Add gettext merge to 2.21.
2926 * intl/bindtextdom.c: Switch to gettext copyright.
2927 Use ANSI definitions and prototypes.
2928 Use gl_* locking primitives rather than __libc_* ones.
2929 Use __builtin_expect rather than __glibc_likely/unlikely.
2930 * intl/dcgettext.c: Switch to gettext copyright.
2931 Use ANSI definitions and prototypes.
2932 * intl/dcigettext.c: Switch to gettext copyright.
2933 Use ANSI definitions and prototypes.
2934 (INTDIV0_RAISES_SIGFPE): New define.
2935 Use gl_* locking primitives rather than __libc_* ones.
2936 Include eval-plural.h instead of plural-eval.c.
2937 Use __builtin_expect rather than __glibc_likely/unlikely.
2938 * intl/dcngettext.c: Switch to gettext copyright.
2939 Use ANSI definitions and prototypes.
2940 * intl/dgettext.c: Likewise.
2941 * intl/dngettext.c: Likewise.
2942 * intl/plural-eval.c: Renamed to...
2943 * intl/eval-plural.h: ...this.
2944 * intl/explodename.c: Switch to gettext copyright.
2945 Use ANSI definitions and prototypes.
2946 (_nl_explode_name): Use strchr instead of __rawmemchr.
2947 * intl/finddomain.c: Switch to gettext copyright.
2948 Use ANSI definitions and prototypes.
2949 Use gl_* locking primitives rather than __libc_* ones.
2950 (_nl_find_domain): Use malloc rather than alloca for
2951 allocation of temporary locale name.
2952 * intl/gettext.c: Switch to gettext copyright.
2953 Use ANSI definitions and prototypes.
2954 * intl/gettextP.h: Switch to gettext copyright.
2955 Use ANSI definitions and prototypes.
2956 Use gl_* locking primitives rather than __libc_* ones.
2957 * intl/gmo.h: Switch to gettext copyright.
2958 (struct sysdep_string): Move struct segment_pair outside of
2960 * intl/hash-string.c: Use ANSI definitions and prototypes.
2961 * intl/hash-string.h: Switch to gettext copyright.
2962 Use ANSI definitions and prototypes.
2963 * intl/l10nflist.c: Switch to gettext copyright.
2964 Use ANSI definitions and prototypes.
2965 (_nl_normalize_codeset): Avoid integer overflow.
2966 * intl/loadinfo.h: Switch to gettext copyright.
2967 Use ANSI definitions and prototypes.
2968 (LIBINTL_DLL_EXPORTED): New define.
2969 (PATH_SEPARATOR): New define.
2970 * intl/loadmsgcat.c: Switch to gettext copyright.
2971 * intl/localealias.c: Switch to gettext copyright.
2972 Use ANSI definitions and prototypes.
2973 (_nl_expand_alias): Use PATH_SEPARATOR.
2974 * intl/ngettext.c: Switch to gettext copyright.
2975 Use ANSI definitions and prototypes.
2976 * intl/plural-exp.c: Likewise.
2977 * intl/plural-exp.h: Switch to gettext copyright.
2978 Use ANSI definitions and prototypes.
2979 (struct expression): Move definition of enum operator outside
2980 of struct definition.
2981 * intl/plural.c: Regenerate.
2982 * intl/plural.y: Switch to gettext copyright.
2983 Use ANSI definitions and prototypes.
2985 * intl/textdomain.c: Switch to gettext copyright.
2986 Use ANSI definitions and prototypes.
2987 Use gl_* locking primitives rather than __libc_* ones.
2989 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2991 * debug/warning-nop.c: Add used atrribute.
2993 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2995 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2997 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2998 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2999 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3001 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3002 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3005 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3006 Undefine after defining function. Define as weak alias of
3007 __wcschr. Use libc_hidden_weak.
3008 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3009 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3010 (libc_hidden_def): Also define __GI___wcschr alias.
3011 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3012 __wcschr and define as weak alias of __wcschr.
3013 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3015 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3016 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3017 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3018 libc_hidden_weak. Do not use libc_hidden_def.
3019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3020 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3021 __GI___wcschr alias.
3022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3023 [IS_IN (libc)] (wcschr): Define as macro expanding to
3025 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3026 [IS_IN (libc)] (__wcschr_power6): Likewise.
3027 [IS_IN (libc)] (__wcschr_power7): Likewise.
3028 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3030 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3032 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3033 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3034 __wcschr and define as weak alias of __wcschr. Use
3035 libc_hidden_builtin_def.
3036 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3037 as weak alias of __wcschr. Use libc_hidden_weak.
3038 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3040 * time/era.c (_nl_init_era_entries): Likewise.
3041 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3043 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3044 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3046 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3048 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3049 format for long int variable.
3051 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3054 * manual/search.texi: (Array Sort Function): Remove claim how to make
3057 2014-12-10 Andreas Schwab <schwab@suse.de>
3060 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3061 user-controlled locks.
3063 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3065 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3068 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3070 * configure.ac (--disable-werror): New configure option.
3071 (enable_werror): New AC_SUBST.
3072 * configure: Regenerated.
3073 * config.make.in (enable-werror): New variable.
3074 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3076 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3077 * manual/install.texi (Configuring and compiling): Document
3079 * INSTALL: Regenerated.
3080 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3081 (CFLAGS-tst-chk2.c): Likewise.
3082 (CFLAGS-tst-chk3.c): Likewise.
3083 (CFLAGS-tst-chk4.cc): Likewise.
3084 (CFLAGS-tst-chk5.cc): Likewise.
3085 (CFLAGS-tst-chk6.cc): Likewise.
3086 (CFLAGS-tst-lfschk1.c): Likewise.
3087 (CFLAGS-tst-lfschk2.c): Likewise.
3088 (CFLAGS-tst-lfschk3.c): Likewise.
3089 (CFLAGS-tst-lfschk4.cc): Likewise.
3090 (CFLAGS-tst-lfschk5.cc): Likewise.
3091 (CFLAGS-tst-lfschk6.cc): Likewise.
3093 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3094 (main): Disable -Wdeprecated-declarations around calls to
3095 register_printf_function.
3097 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3098 (do_test): Disable -Wdiv-by-zero around some calls to
3099 fwrite_unlocked and fread_unlocked.
3101 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3102 (DIAG_POP_NEEDS_COMMENT): Likewise.
3103 (_DIAG_STR1): Likewise.
3104 (_DIAG_STR): Likewise.
3105 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3106 * stdio-common/bug21.c: Include <libc-internal.h>.
3107 (do_test): Disable -Wformat around call to sscanf.
3108 * stdio-common/scanf14.c: Include <libc-internal.h>.
3109 (main): Disable -Wformat around some calls to scanf functions.
3111 2014-12-09 Torvald Riegel <triegel@redhat.com>
3113 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3115 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3117 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3118 stack variable alignment.
3120 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3123 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3124 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3125 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3126 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3127 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3128 __getrlimit instead of getrlimit.
3129 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3130 __gettimeofday instead of gettimeofday.
3131 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3133 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3135 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3136 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3138 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3139 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3141 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3143 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3144 for wide-character tests.
3146 2014-12-04 Roland McGrath <roland@hack.frob.com>
3148 * io/openat64.c: #include <libc-internal.h>
3149 (__openat64): Prototypify. Use ignore_value on MODE.
3150 * io/openat.c: Likewise.
3151 * misc/reboot.c: #include <libc-internal.h>
3152 (reboot): Prototypify. Use ignore_value on HOWTO.
3153 * misc/ptrace.c: #include <libc-internal.h>
3154 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3156 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3158 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3159 XPG4, UNIX98 and XOPEN2K.
3160 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3162 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3164 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3166 * libio/fileops.c: Use ISO C style for function definitions.
3167 * libio/iofopen.c: Likewise.
3168 * libio/wfileops.c: Likewise.
3171 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3173 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3174 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3175 (fgets_func): Function pointer to fgets and fgetws.
3176 (do_ftell_test): Add test to verify ftell value after read
3178 (do_test): Set fgets_func.
3180 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3181 O_TRUNC flag for w and w+ modes.
3182 (do_rewind_test): Likewise.
3183 (do_ftell_test): Likewise.
3184 (do_write_test): Likewise.
3187 * libio/fileops.c (do_ftell): Seek only when there are
3189 * libio/wfileops.c (do_ftell_wide): Likewise.
3190 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3192 (do_one_test): Call it.
3194 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3196 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3197 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3198 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3200 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3201 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3202 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3204 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3206 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3208 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3211 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3212 as weak alias of __getifaddrs. Use libc_hidden_weak.
3213 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3214 __freeifaddrs. Use libc_hidden_weak.
3215 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3216 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3217 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3218 __freeifaddrs. Use libc_hidden_weak.
3219 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3220 __getifaddrs and define as weak alias of __getifaddrs. Use
3222 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3223 __freeifaddrs. Use libc_hidden_weak.
3224 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3226 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3227 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3229 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3232 * sysdeps/mips/start.S (__start): Use indirect jump to call
3235 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3237 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3239 * nptl/tst-mutex1.c: Include <stdbool.h>.
3240 [!ATTR] (ATTR_NULL): New macro.
3241 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3242 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3243 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3245 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3249 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3250 Change conditional to [__USE_MISC].
3253 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3255 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3257 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3259 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3261 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3262 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3263 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3264 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3265 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3266 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3267 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3268 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3269 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3271 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3273 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3275 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3276 Remove strpbrk objects.
3277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3278 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3279 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3280 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3281 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3282 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3284 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3285 Remove strcspn objects.
3286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3287 (__libc_ifunc_impl_list): Remove strcspn implementation.
3288 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3289 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3290 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3291 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3293 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3294 Remove strspn objetcs.
3295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3296 (__libc_ifunc_impl_list): Remove strspn implementation.
3297 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3298 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3299 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3300 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3302 2014-12-01 James Lemke <jwlemke@codesourcery.com>
3306 (mem2mem_check): Add a terminator to the chain of checking blocks.
3307 (malloc_check_get_size): Use it here.
3308 (mem2chunk_check): Ditto.
3310 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3312 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3313 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3315 2014-11-29 Carlos O'Donell <carlos@redhat.com>
3317 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3319 * nptl/nptl-init.c: Include libc-internal.h.
3320 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3322 * elf/ldconfig.c (search_dir): Expand comment.
3324 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3326 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3328 (linknamespace-symlist-stdlibs-tests): Likewise.
3329 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3330 instead of $(objpfx)symlist-stdlibs.
3331 (linknamespace-libs-isoc): New variable.
3332 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3333 (linknamespace-libs-ISO): New variable.
3334 (linknamespace-libs-ISO99): Likewise.
3335 (linknamespace-libs-ISO11): Likewise.
3336 (linknamespace-libs-XPG3): Likewise.
3337 (linknamespace-libs-XPG4): Likewise.
3338 (linknamespace-libs-POSIX): Likewise.
3339 (linknamespace-libs-UNIX98): Likewise.
3340 (linknamespace-libs-XOPEN2K): Likewise.
3341 (linknamespace-libs-POSIX2008): Likewise.
3342 (linknamespace-libs-XOPEN2K8): Likewise.
3343 ($(objpfx)symlist-stdlibs): Replace by
3344 $(linknamespace-symlist-stdlibs-tests). Use
3345 $(linknamespace-libs-$*) as set of libraries.
3346 ($(linknamespace-header-tests)): Update dependencies. Use
3347 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3348 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3349 * conform/linknamespace.pl: Remove comment about considering
3350 definitions of symbols from irrelevant libraries.
3352 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3355 * elf/dl-tls.c: Include <atomic.h>.
3356 (oom): Remove #ifdef SHARED/#endif.
3357 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3358 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3359 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3361 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3362 * nptl/Makefile (tests): Add tst-stack4.
3363 (modules-names): Add tst-stack4mod.
3364 ($(objpfx)tst-stack4): New.
3365 (tst-stack4mod.sos): Likewise.
3366 ($(objpfx)tst-stack4.out): Likewise.
3367 ($(tst-stack4mod.sos)): Likewise.
3369 * nptl/tst-stack4.c: New file.
3370 * nptl/tst-stack4mod.c: Likewise.
3372 2014-11-27 J. Brown <jb999@gmx.de>
3374 * sysdeps/x86/bits/string.h: Add recent CPUs.
3376 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3378 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3381 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3384 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3387 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3389 * nscd/connections.c: Include libc-internal.h because of macro
3392 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3394 * string/bits/string3.h (__warn_memset_zero_len): Don't
3395 declare for gcc newer than 5.0.
3396 (memset): Don't test for zero-length __LEN for gcc newer than
3399 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3401 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3402 size_t for %zu format.
3404 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3405 difference, not %ju.
3407 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3409 * include/libc-internal.h (ignore_value): New macro.
3410 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3413 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3416 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3417 pthread_cleanup_push to void *.
3419 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3424 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3425 instead of 1L << 52.
3427 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3428 * libio/bug-rewind2.c (do_test): Likewise.
3430 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3431 * debug/test-strcpy_chk-ifunc.c: Likewise.
3432 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3433 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3434 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3435 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3436 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3437 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3438 * Rules [$(multi-arch) = no] (tests): Do not filter out
3440 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3441 * debug/Makefile (tests-ifunc): Remove variable.
3442 (tests): Do not add $(tests-ifunc).
3443 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3444 (tests): Do not add $(tests-ifunc).
3445 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3446 [TEST_IFUNC]: Remove conditionals.
3447 * string/test-string.h (TEST_IFUNC): Remove macro.
3448 [TEST_IFUNC]: Remove conditionals.
3450 * string/test-strchr.c [!WIDE] (L): New macro.
3451 [WIDE] (L): Likewise.
3452 (check1): Use CHAR instead of char. Use L on string and character
3455 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3457 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3459 * sysdeps/powerpc/bits/atomic.h
3460 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3461 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3462 (atomic_exchange_and_add_acq): Likewise.
3463 (atomic_exchange_and_add_rel): Likewise.
3464 * sysdeps/powerpc/powerpc32/bits/atomic.h
3465 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3466 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3467 * sysdeps/powerpc/powerpc64/bits/atomic.h
3468 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3469 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3471 2014-11-26 Torvald Riegel <triegel@redhat.com>
3473 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3474 Change synchronization of __sched_fifo_min_prio and
3475 __sched_fifo_max_prio.
3476 * nptl/pthread_mutexattr_getprioceiling.c
3477 (pthread_mutexattr_getprioceiling): Likewise.
3478 * nptl/pthread_mutexattr_setprioceiling.c
3479 (pthread_mutexattr_setprioceiling): Likewise.
3480 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3481 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3484 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3486 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3489 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3491 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3492 third argument const.
3494 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3496 fnmatch: work around GCC compiler warning bug with uninit var
3497 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3498 This works around a bug with x86-64 GCC 4.9.2 and earlier
3499 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3500 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3501 used uninitialized in this function [-Wmaybe-uninitialized]".
3503 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3505 * posix/bug-regex31.c (main): Return RES not 0.
3507 2014-11-25 Anton Blanchard <anton@samba.org>
3509 * sysdeps/powerpc/bits/atomic.h
3510 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3512 2014-11-24 Sterling Augustine <saugustine@google.com>
3514 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3516 2014-11-24 Ryan Cumming <etaoins@gmail.com>
3519 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3521 2014-11-24 Joseph Myers <joseph@codesourcery.com>
3524 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3525 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3527 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3528 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3530 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3532 * string/strncpy.c (strncpy): Improve performance by using memset.
3534 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3536 * string/strcpy.c (strcpy):
3537 Improve performance by using strlen and memcpy.
3539 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
3541 * string/strcoll_l.c (get_next_seq): __always_inline.
3542 * string/strcoll_l.c (do_compare): __always_inline.
3544 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3546 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3548 * include/mqueue.h: Likewise.
3549 * include/stdlib.h: Likewise.
3551 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3552 (get_null_defines): Adjust.
3553 * sunrpc/Makefile: Adjust comment.
3554 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3555 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3556 (CFLAGS-interp.c): Likewise.
3557 (CFLAGS-ldconfig.c): Likewise.
3558 (CPPFLAGS-.os): Likewise.
3559 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3560 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3561 * extra-modules.mk (extra-modules.mk): Likewise.
3562 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3563 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3564 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3565 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3566 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3567 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3568 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3569 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3570 * iconvdata/Makefile (CPPFLAGS): Likewise.
3571 (cpp-srcs-left): Add libof for all iconvdata routines.
3572 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3573 * include/assert.h: Likewise.
3574 * include/ctype.h: Likewise.
3575 * include/errno.h: Likewise.
3576 * include/libc-symbols.h: Likewise.
3577 * include/math.h: Likewise.
3578 * include/netdb.h: Likewise.
3579 * include/resolv.h: Likewise.
3580 * include/stdio.h: Likewise.
3581 * include/stdlib.h: Likewise.
3582 * include/string.h: Likewise.
3583 * include/sys/stat.h: Likewise.
3584 * include/wctype.h: Likewise.
3585 * intl/l10nflist.c: Likewise.
3586 * libidn/idn-stub.c: Likewise.
3587 * libio/libioP.h: Likewise.
3588 * nptl/libc_multiple_threads.c: Likewise.
3589 * nptl/pthreadP.h: Likewise.
3590 * posix/regex_internal.h: Likewise.
3591 * resolv/res_hconf.c: Likewise.
3592 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3593 * sysdeps/arm/memmove.S: Likewise.
3594 * sysdeps/arm/sysdep.h: Likewise.
3595 * sysdeps/generic/_itoa.h: Likewise.
3596 * sysdeps/generic/symbol-hacks.h: Likewise.
3597 * sysdeps/gnu/errlist.awk: Likewise.
3598 * sysdeps/gnu/errlist.c: Likewise.
3599 * sysdeps/i386/i586/memcpy.S: Likewise.
3600 * sysdeps/i386/i586/memset.S: Likewise.
3601 * sysdeps/i386/i686/memcpy.S: Likewise.
3602 * sysdeps/i386/i686/memmove.S: Likewise.
3603 * sysdeps/i386/i686/mempcpy.S: Likewise.
3604 * sysdeps/i386/i686/memset.S: Likewise.
3605 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3606 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3607 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3608 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3609 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3610 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3611 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3612 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3613 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3614 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3615 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3616 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3617 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3618 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3619 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3620 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3622 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3623 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3627 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3628 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3629 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3630 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3633 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3636 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3638 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3639 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3640 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3641 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3642 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3643 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3644 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3645 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3646 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3647 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3648 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3649 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3650 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3651 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3652 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3653 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3654 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3655 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3656 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3657 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3658 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3659 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3660 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3661 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3662 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3663 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3664 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3665 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3666 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3667 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3668 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3669 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3670 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3671 * sysdeps/posix/closedir.c: Likewise.
3672 * sysdeps/posix/opendir.c: Likewise.
3673 * sysdeps/posix/readdir.c: Likewise.
3674 * sysdeps/posix/rewinddir.c: Likewise.
3675 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3676 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3677 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3678 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3679 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3680 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3681 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3682 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3683 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3684 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3685 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3686 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3687 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3688 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3689 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3690 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3691 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3692 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3693 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3694 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3695 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3696 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3697 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3698 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3699 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3700 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3701 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3702 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3703 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3710 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3711 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3712 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3713 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3714 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3715 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3716 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3717 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3718 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3719 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3720 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3721 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3722 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3723 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3724 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3725 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3726 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3727 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3728 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3729 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3730 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3731 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3732 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3733 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3734 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3735 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3736 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3737 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3738 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3739 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3740 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3741 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3742 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3743 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3744 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3745 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3746 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3747 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3748 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3749 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3750 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3751 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3752 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3753 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3754 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3755 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3756 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3757 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3758 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3759 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3760 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3761 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3762 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3763 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3764 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3765 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3766 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3767 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3769 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3770 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3771 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3772 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3773 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3774 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3775 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3776 * sysdeps/unix/alpha/sysdep.S: Likewise.
3777 * sysdeps/unix/alpha/sysdep.h: Likewise.
3778 * sysdeps/unix/make-syscalls.sh: Likewise.
3779 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3780 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3781 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3782 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3783 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3784 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3785 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3786 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3787 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3788 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3789 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3790 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3791 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3792 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3793 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3794 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3795 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3796 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3797 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3798 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3799 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3800 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3801 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3802 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3803 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3804 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3805 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3808 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3809 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3810 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3812 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3813 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3817 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3818 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3819 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3820 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3821 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3822 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3823 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3826 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3829 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3830 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3831 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3832 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3833 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3834 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3835 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3837 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3838 * sysdeps/x86_64/memcpy.S: Likewise.
3839 * sysdeps/x86_64/memmove.c: Likewise.
3840 * sysdeps/x86_64/memset.S: Likewise.
3841 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3842 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3843 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3844 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3845 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3846 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3847 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3848 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3849 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3850 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3851 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3852 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3853 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3854 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3855 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3856 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3857 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3858 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3859 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3860 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3861 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3862 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3863 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3864 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3865 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3866 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3867 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3868 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3869 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3870 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3871 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3872 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3873 * sysdeps/x86_64/strcmp.S: Likewise.
3875 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3877 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3878 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3879 * elf/rtld-Rules: Likewise.
3880 * elf/setup-vdso.h: Likewise.
3881 * include/assert.h: Likewise.
3882 * include/bits/stdlib-float.h: Likewise.
3883 * include/errno.h: Likewise.
3884 * include/sys/stat.h: Likewise.
3885 * include/unistd.h: Likewise.
3886 * sysdeps/aarch64/setjmp.S: Likewise.
3887 * sysdeps/alpha/setjmp.S: Likewise.
3888 * sysdeps/arm/__longjmp.S: Likewise.
3889 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3890 * sysdeps/arm/setjmp.S: Likewise.
3891 * sysdeps/arm/sysdep.h: Likewise.
3892 * sysdeps/generic/_itoa.h: Likewise.
3893 * sysdeps/generic/dl-sysdep.h: Likewise.
3894 * sysdeps/generic/ldsodefs.h: Likewise.
3895 * sysdeps/i386/dl-tls.h: Likewise.
3896 * sysdeps/i386/setjmp.S: Likewise.
3897 * sysdeps/m68k/setjmp.c: Likewise.
3898 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3899 * sysdeps/mach/hurd/opendir.c: Likewise.
3900 * sysdeps/posix/getcwd.c: Likewise.
3901 * sysdeps/posix/opendir.c: Likewise.
3902 * sysdeps/posix/profil.c: Likewise.
3903 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3904 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3905 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3906 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3907 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3908 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3909 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3910 * sysdeps/s390/dl-tls.h: Likewise.
3911 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3912 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3913 * sysdeps/sh/sh3/setjmp.S: Likewise.
3914 * sysdeps/sh/sh4/setjmp.S: Likewise.
3915 * sysdeps/unix/alpha/sysdep.h: Likewise.
3916 * sysdeps/unix/arm/sysdep.S: Likewise.
3917 * sysdeps/unix/i386/sysdep.S: Likewise.
3918 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3919 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3920 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3921 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3923 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3924 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3925 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3926 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3927 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3928 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3929 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3930 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3933 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3934 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3935 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3936 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3937 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3938 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3941 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3942 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3943 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3945 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3946 * sysdeps/x86_64/setjmp.S: Likewise.
3948 * include/math.h: Use IS_IN instead of IS_IN_libm.
3949 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3961 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3962 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3969 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3970 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3971 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3972 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3973 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3974 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3975 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3976 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3977 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3978 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3979 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3980 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3981 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3992 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3993 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3994 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3995 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3996 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3997 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4003 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4004 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4005 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4006 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4007 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4008 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4009 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4010 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4011 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4012 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4013 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4014 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4015 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4016 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4018 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4020 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4021 * nptl/pthreadP.h: Likewise.
4022 * nptl_db/structs.def: Likewise.
4023 * sysdeps/arm/sysdep.h: Likewise.
4024 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4025 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4026 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4027 * sysdeps/unix/alpha/sysdep.h: Likewise.
4028 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4029 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4030 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4031 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4032 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4033 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4034 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4035 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4036 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4037 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4038 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4039 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4040 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4041 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4046 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4049 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4050 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4051 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4052 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4053 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4055 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4056 * nptl/pthreadP.h: Likewise.
4057 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4058 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4059 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4060 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4061 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4062 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4063 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4064 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4065 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4066 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4067 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4068 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4073 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4074 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4075 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4078 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4079 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4080 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4082 * dlfcn/dladdr.c: Use IS_IN.
4083 * dlfcn/dladdr1.c: Likewise.
4084 * dlfcn/dlclose.c: Likewise.
4085 * dlfcn/dlerror.c: Likewise.
4086 * dlfcn/dlinfo.c: Likewise.
4087 * dlfcn/dlmopen.c: Likewise.
4088 * dlfcn/dlopen.c: Likewise.
4089 * dlfcn/dlsym.c: Likewise.
4090 * dlfcn/dlvsym.c: Likewise.
4092 * include/ifaddrs.h: Use IS_IN.
4093 * inet/check_pf.c: Likewise.
4094 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4095 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4097 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4099 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4100 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4102 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4103 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4106 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4108 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4109 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4110 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4111 * include/libc-symbols.h (IS_IN_LIB): New macro.
4112 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4113 * include/netdb.h: Likewise.
4114 * include/stap-probe.h: Remove all uses of IN_LIB.
4116 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4117 instead of IN_MODULE.
4118 * include/libc-symbols.h (IN_MODULE): Define using
4120 (PASTE_NAME, PASTE_NAME1): New macros.
4121 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4123 (STAP_PROBE_ASM): Likewise.
4125 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4127 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4128 __mach_init in dlopened libc.
4130 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4132 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4133 * sysdeps/arm/preconfigure: Regenerate.
4135 2014-11-21 Roland McGrath <roland@hack.frob.com>
4137 * nptl/pthread_create.c (__pthread_create_2_1): Set
4138 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4139 when copying values from IATTR into PD.
4141 2014-11-21 Will Newton <will.newton@linaro.org>
4142 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4144 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4145 Refactor inline-asm. Also add comment.
4147 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4148 ElfW macro instead of hardcoded Elf64 types.
4149 (la_aarch64_gnu_pltenter): Likewise.
4150 * sysdeps/aarch64/dl-machine.h
4151 (elf_machine_runtime_setup): Use ElfW(Addr).
4153 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4154 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4155 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4156 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4157 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4158 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4159 (R_AARCH64_TLS_DTPMOD): This.
4160 (R_AARCH64_TLS_DTPREL64): Rename to ...
4161 (R_AARCH64_TLS_DTPREL): This.
4162 (R_AARCH64_TLS_TPREL64): Rename to ...
4163 (R_AARCH64_TLS_TPREL): This.
4164 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4165 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4166 R_AARCH64_TLS_TPREL64.
4167 (elf_machine_rela): Likewise.
4169 2014-11-21 Torvald Riegel <triegel@redhat.com>
4171 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4172 by setting it to 0. 64b atomics are not supported currently.
4174 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4177 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4178 search domain names.
4180 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4184 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4186 * posix/tst-getaddrinfo5.c: New.
4187 * posix/Makefile (tests): Add it.
4189 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4193 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4194 after parsing line but before break_if_match.
4195 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4196 if there is a protocol mismatch.
4198 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4200 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4201 because the potential race is on the user-supplied stream.
4203 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4205 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4206 string literal if not passed a buffer.
4207 * manual/job.texi (ctermid): Update reasoning, note deviation
4208 from posix, suggest mtasurace when not passed a buffer, for
4209 future non-preliminary safety notes.
4211 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4213 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4214 of not passing it a buffer.
4215 Reported by Peng Haitao.
4217 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4219 * manual/Makefile ($(objpfx)stamp-summary): Require
4220 check-safety.sh to pass.
4221 * manual/check-safety.sh: Wish for verification that every
4222 @deftypefn and @deftypefun is followed by a @safety remark.
4224 2014-11-20 Roland McGrath <roland@hack.frob.com>
4226 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4228 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4229 PTHREAD_CANCEL_ASYNCHRONOUS.
4230 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4233 * nptl/default-sched.h: New file.
4234 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4235 * nptl/pthread_create.c: Include it.
4236 (__pthread_create_2_1): Use collect_default_sched instead of making
4237 Linux syscalls here directly.
4239 2014-11-20 Torvald Riegel <triegel@redhat.com>
4241 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4242 __pthread_once): Use C11 atomics.
4244 2014-11-20 Torvald Riegel <triegel@redhat.com>
4246 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4248 2014-11-20 Torvald Riegel <triegel@redhat.com>
4250 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4251 atomic_thread_fence_acquire, atomic_thread_fence_release,
4252 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4253 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4254 atomic_compare_exchange_weak_relaxed,
4255 atomic_compare_exchange_weak_acquire,
4256 atomic_compare_exchange_weak_release,
4257 atomic_exchange_acquire, atomic_exchange_release,
4258 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4259 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4260 atomic_fetch_and_acquire,
4261 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4263 2014-11-20 Torvald Riegel <triegel@redhat.com>
4265 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4266 USE_ATOMIC_COMPILER_BUILTINS): Define.
4267 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4268 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4269 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4270 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4271 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4272 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4273 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4274 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4275 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4276 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4277 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4278 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4279 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4280 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4281 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4282 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4283 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4284 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4285 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4286 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4287 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4288 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4289 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4290 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4291 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4292 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4293 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4294 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4295 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4296 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4297 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4298 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4299 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4300 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4301 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4302 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4303 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4304 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4305 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4306 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4308 2014-11-19 Roland McGrath <roland@hack.frob.com>
4310 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4311 the sched_priority value here. It was already checked when the user
4312 called pthread_attr_setschedparam.
4314 * nptl/tst-bad-schedattr.c: New file.
4315 * nptl/Makefile (tests): Add it.
4317 2014-11-19 Carlos O'Donell <carlos@redhat.com>
4318 Florian Weimer <fweimer@redhat.com>
4319 Joseph Myers <joseph@codesourcery.com>
4320 Adam Conrad <adconrad@0c3.net>
4321 Andreas Schwab <schwab@suse.de>
4322 Brooks <bmoses@google.com>
4325 * wordexp-test.c (__dso_handle): Add prototype.
4326 (__register_atfork): Likewise.
4327 (__app_register_atfork): New function.
4328 (registered_forks): New global.
4329 (register_fork): New function.
4330 (test_case): Add 3 new tests for WRDE_CMDSUB.
4331 (main): Call __app_register_atfork.
4332 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4333 fork count is non-zero fail the test.
4334 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4336 (parse_dollars): Remove check for WRDE_NOCMD.
4337 (parse_dquote): Likewise.
4339 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4341 * Makeconfig (built-modules): List non-library modules to be
4343 (module-cppflags): Include libc-modules.h for
4344 everything except shlib-versions.v.i.
4346 (before-compile): Add libc-modules.h.
4347 ($(common-objpfx)libc-modules.h,
4348 $(common-objpfx)libc-modules.stmp): New targets.
4349 (common-generated): Add libc-modules.h and libc-modules.stmp.
4350 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4351 * include/libc-symbols.h: Don't include libc-modules.h.
4352 * include/libc-modules.h: Remove file.
4353 * scripts/gen-libc-modules.awk: New script to generate
4355 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4356 Depend on libc-modules.stmp.
4358 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4360 * Makeconfig (in-module): Get value of libof set for the
4362 (CPPFLAGS): Use $(in-module).
4363 * Makerules: Don't suffix routine names for nonlib.
4364 * include/libc-modules.h: New file.
4365 * include/libc-symbols.h: Include libc-modules.h
4366 (IS_IN): New macro to replace IS_IN_* macros.
4367 * elf/Makefile: Set libof-* for each routine.
4368 * elf/rtld-Rules: Likewise.
4369 * extra-modules.mk: Likewise.
4370 * iconv/Makefile: Likewise.
4371 * iconvdata/Makefile: Likewise.
4372 * locale/Makefile: Likewise.
4373 * malloc/Makefile: Likewise.
4374 * nss/Makefile: Likewise.
4375 * sysdeps/gnu/Makefile: Likewise.
4376 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4377 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4378 * sysdeps/s390/s390-64/Makefile: Likewise.
4379 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4380 CPPFLAGS for nscd instead of nonlib.
4382 2014-11-18 Roland McGrath <roland@hack.frob.com>
4384 * nptl/createthread.c: New file.
4386 * nptl/createthread.c: Moved ...
4387 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4389 * nptl/createthread.c: Add proper top-line comment.
4390 (do_clone): Folded into ...
4391 (create_thread): ... here. Take new arguments STOPPED_START and
4392 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4393 increment __nptl_threads, do event-reporting logic, do
4394 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4395 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4396 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4397 just send SIGCANCEL.
4398 * nptl/pthread_create.c: Forward-declare create_thread before
4399 including createthread.c.
4400 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4401 declaration, and new macro START_THREAD_SELF to replace argument.
4402 Remove return statement.
4403 (report_thread_creation): New function.
4404 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4405 synchronization logic, and __nptl_nthreads increment here, around
4406 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4407 PD->parent_cancelhandling here, before create_thread. When
4408 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4409 __deallocate_stack, and ENOMEM translation here.
4411 2014-11-18 Joseph Myers <joseph@codesourcery.com>
4414 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4415 (mptwo): Rename to __mptwo.
4416 (__inv): Use __mptwo instead of mptwo.
4417 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4418 (mptwo): Rename to __mptwo.
4419 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4420 of mpone and __mptwo instead of mptwo.
4421 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4424 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4425 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4426 of mpone and __mptwo instead of mptwo.
4427 (__mpranred): Use __mpone instead of mpone.
4428 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4430 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4431 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4432 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4433 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4434 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4435 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4436 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4437 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4438 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4439 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4440 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4441 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4442 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4443 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4444 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4445 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4446 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4447 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4448 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4450 2014-11-18 Tom de Vries <tom@codesoucery.com>
4452 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4453 replace BSD Handler xref with BSD Signal Handling.
4455 2014-11-17 Richard Henderson <rth@redhat.com>
4457 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4458 (_FP_PACK_RAW_2): Remove.
4459 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4460 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4461 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4462 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4463 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4464 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4465 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4466 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4467 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4468 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4469 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4470 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4471 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4472 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4473 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4474 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4476 2014-11-14 Roland McGrath <roland@hack.frob.com>
4478 * signal/signal.h [__USE_MISC]
4479 (struct sigvec): Remove type.
4480 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4481 (sigvec): Remove declaration.
4482 * sysdeps/posix/sigvec.c: Moved ...
4483 * signal/sigvec.c: ... here, replacing old file.
4484 (struct sigvec): New type, copied from old signal.h definition.
4485 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4486 (__sigvec): Convert definition to prototype.
4487 (sigvec): Replace weak_alias with compat_symbol.
4488 * signal/Versions (libc: GLIBC_2.21): New version set.
4489 * include/signal.h: Remove __sigvec declaration.
4490 * sysdeps/unix/bsd/sigvec.c: Remove file.
4491 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4492 * manual/signal.texi (BSD Handler): Remove subsection.
4493 Move siginterrupt up to ...
4494 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4495 (Blocking in BSD): Fold subsection into its parent.
4496 * NEWS: Mention sigvec removal.
4498 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4500 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4501 (DLA_FMS): Make definition conditional only on [__FMA4__].
4502 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4505 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4506 Make definition conditional only on [PROF].
4507 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4509 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4510 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4512 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4514 * include/signal.h (__sigpause): Move declaration above call to
4516 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4518 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4519 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4521 2014-11-14 David S. Miller <davem@davemloft.net>
4523 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4524 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4526 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4528 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4529 * configure: Regenerated.
4530 * manual/install.texi (Tools for Compilation): Document a
4531 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4532 compiler verified to work.
4533 * INSTALL: Regenerated.
4535 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4536 redeclare with asm name.
4537 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4538 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4539 including <string.h>.
4540 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4541 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4542 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4543 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4544 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4545 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4546 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4548 2014-11-13 Joseph Myers <joseph@codesourcery.com>
4550 * stdlib/strtol.c (__strtol): Use prototype definition.
4553 * stdlib/strtol.c (SYM__): New macro.
4555 (__strtol): Likewise.
4556 (strtol): Rename to __strtol and define as weak alias of
4557 __strtol. Use libc_hidden_weak.
4559 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4561 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4562 Use numbered labels in inline assembly.
4564 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4566 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4567 Add setjmp LIBC_PROBE.
4568 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4570 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4571 Add longjmp, longjmp_target LIBC_PROBE.
4572 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4575 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4577 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4578 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4579 to get rid of unused variable warning.
4581 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4583 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4584 Check for unwind_backtrace == NULL only in SHARED case.
4585 (__backchain_backtrace): Compile only in SHARED case.
4586 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4588 (__backchain_backtrace): Declare as static.
4590 2014-11-12 Roland McGrath <roland@hack.frob.com>
4592 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4593 (__libc_multiple_threads_ptr): Variable moved ...
4594 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4596 2014-11-12 Joseph Myers <joseph@codesourcery.com>
4598 * conform/GlibcConform.pm: New file.
4599 * conform/conformtest.pl: Use GlibcConform module.
4600 * conform/linknamespace.pl: New file.
4601 * conform/list-header-symbols.pl: Likewise.
4602 * conform/Makefile (linknamespace-symlists-base): New variable.
4603 (linknamespace-symlists-tests): Likewise.
4604 (linknamespace-header-base): Likewise.
4605 (linknamespace-header-tests): Likewise.
4606 (tests-special): Add new tests.
4607 ($(linknamespace-symlists-tests)): New rule.
4608 (linknamespace-libs): New variable.
4609 ($(objpfx)symlist-stdlibs): New rule.
4610 ($(linknamespace-header-tests)): Likewise.
4611 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4612 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4613 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4614 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4615 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4616 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4617 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4618 (test-xfail-ISO/math.h/linknamespace): Likewise.
4619 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4620 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4621 (test-xfail-ISO/time.h/linknamespace): Likewise.
4622 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4623 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4624 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4625 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4626 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4627 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4628 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4629 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4630 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4631 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4632 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4633 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4634 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4635 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4636 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4637 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4638 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4639 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4640 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4641 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4642 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4643 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4644 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4645 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4646 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4647 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4648 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4649 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4650 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4651 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4652 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4653 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4654 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4655 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4656 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4657 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4658 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4659 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4660 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4661 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4662 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4663 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4664 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4665 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4666 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4667 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4668 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4669 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4670 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4671 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4672 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4673 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4674 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4675 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4676 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4677 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4678 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4679 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4680 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4681 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4682 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4683 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4684 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4685 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4686 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4687 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4688 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4689 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4690 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4691 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4692 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4693 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4694 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4695 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4696 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4697 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4698 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4699 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4700 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4701 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4702 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4703 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4704 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4705 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4706 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4707 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4708 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4709 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4710 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4711 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4712 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4713 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4714 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4715 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4716 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4717 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4718 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4719 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4720 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4721 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4722 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4723 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4724 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4725 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4726 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4727 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4728 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4729 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4730 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4731 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4732 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4733 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4734 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4735 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4736 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4737 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4738 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4739 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4740 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4741 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4742 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4743 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4744 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4745 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4746 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4747 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4748 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4749 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4750 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4751 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4752 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4753 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4754 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4755 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4756 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4757 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4758 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4759 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4760 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4761 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4762 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4763 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4764 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4765 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4766 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4767 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4768 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4769 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4770 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4771 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4774 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4778 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4779 (memmem): Rename to __memmem and define as weak alias of
4780 __memmem. Use libc_hidden_weak.
4781 (__memmem): Use libc_hidden_def.
4782 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4783 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4787 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4788 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4789 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4790 and define as weak alias of __fgets_unlocked. Use
4792 (__fgets_unlocked): Use libc_hidden_def.
4793 * include/stdio.h (__fgets_unlocked): Declare. Use
4795 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4796 __fgets_unlocked instead of fgets_unlocked.
4797 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4798 (GET_NPROCS_CONF_PARSER): Likewise.
4799 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4800 (GET_NPROCS_CONF_PARSER): Likewise.
4803 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4804 weak alias of __wmemset. Use libc_hidden_weak.
4805 (__wmemset): Use libc_hidden_def.
4806 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4807 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4811 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4812 with asm name __mempcpy.
4813 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4816 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4817 and define as weak alias of __rawmemchr.
4818 (__rawmemchr): Do not define as strong alias of rawmemchr.
4821 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4823 (qsort): Call __qsort_r instead of qsort_r.
4824 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4825 (__qsort_r): Declare. Call libc_hidden_proto.
4826 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4828 * nscd/gai.c (__qsort_r): Define to qsort_r.
4829 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4830 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4831 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4834 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4835 define as weak alias of __malloc_info.
4838 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4839 as weak alias of __rewinddir. Don't use libc_hidden_def.
4840 (__rewinddir): Use libc_hidden_def.
4841 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4842 as weak alias of __rewinddir. Don't use libc_hidden_def.
4843 (__rewinddir): Use libc_hidden_def.
4844 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4845 weak alias of __rewinddir. Don't use libc_hidden_def.
4846 (__rewinddir): Use libc_hidden_def.
4847 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4848 (__rewinddir): Use libc_hidden_proto.
4849 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4851 (__getcwd): Use __rewinddir instead of rewinddir.
4854 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4855 alias of __fileno. Use libc_hidden_weak.
4856 (__fileno): Use libc_hidden_def.
4857 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4858 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4860 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4862 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4863 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4865 (fread_unlocked): Don't use libc_hidden_ver.
4866 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4867 and define as weak alias of __fread_unlocked. Don't use
4869 (__fread_unlocked): Use libc_hidden_def.
4870 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4871 (ftello): Don't use libc_hidden_proto.
4872 (__ftello): Declare. Use libc_hidden_proto.
4873 (fread_unlocked): Don't use libc_hidden_proto.
4874 (__fread_unlocked): Declare. Use libc_hidden_proto.
4875 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4876 and __ftello instead of fileno, fread_unlocked and ftello.
4878 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4880 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4882 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4884 (_dl_start_user): Likewise.
4885 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4887 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4888 Siddhesh Poyarekar <siddhesh@redhat.com>
4890 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4891 Move argv and envp down instead of moving argc up.
4892 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4894 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4897 * test-skeleton.c (main): Return successful if one of
4898 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4899 * string/tst-strcoll-overflow.c: Define expected status.
4901 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4904 * locale/iso-639.def: Define Bhili and Tulu language codes.
4906 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4908 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4910 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4913 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4915 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4917 * configure.ac: Updated check of minimal required version to
4919 * manual/install.texi (Tools for Compilation): Updated version
4921 * configure: Regenerated.
4922 * INSTALL: Likewise.
4924 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4926 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4929 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4931 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4932 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4933 (__waitpid): Don't define as alias. Use libc_hidden_def not
4935 (waitpid): Define as alias of __waitpid.
4936 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4938 (__waitpid): Don't define as alias. Use libc_hidden_def not
4940 (waitpid): Define as alias of __waitpid.
4941 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4942 __libc_waitpid alias.
4943 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4944 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4946 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4947 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4948 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4950 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4952 (__waitpid): Don't define as alias. Use libc_hidden_def not
4954 (waitpid): Define as alias of __waitpid.
4956 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4958 * manual/llio.texi: Add comment that write safety has been
4961 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4962 (localplt-build-dso): Add elf/ld.so.
4963 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4964 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4967 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4972 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4973 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4974 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4975 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4976 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4977 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4978 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4979 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4980 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4981 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4984 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4987 * include/libc-symbols.h (INTUSE): Remove macro.
4989 (INTVARDEF): Likewise.
4990 (_INTVARDEF): Likewise.
4991 (INTDEF2): Likewise.
4992 (INTVARDEF2): Likewise.
4993 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4994 rtld_hidden_def instead of INTVARDEF.
4995 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4996 (_dl_starting_up_internal): Remove declaration.
4997 (_dl_starting_up): Use rtld_hidden_proto.
4998 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5000 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5001 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5003 * elf/dl-writev.h (_dl_writev): Likewise.
5004 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5005 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5006 _dl_starting_up_internal.
5008 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5010 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5013 2014-11-05 Will Newton <will.newton@linaro.org>
5015 * benchtests/Makefile: (bench-malloc): Add malloc thread
5016 scalability benchmark.
5017 * benchtests/bench-malloc-threads.c: New file.
5019 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5021 * sysdeps/aarch64/strchrnul.S: New file.
5023 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5025 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5027 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5029 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5031 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5033 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5035 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5038 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5040 * catgets/test-gencat.c: Use test-skeleton.c.
5041 * catgets/tst-catgets.c: Likewise.
5042 * csu/tst-empty.c: Likewise.
5043 * elf/tst-audit2.c: Likewise.
5044 * elf/tst-global1.c: Likewise.
5045 * elf/tst-pathopt.c: Likewise.
5046 * elf/tst-piemod1.c: Likewise.
5047 * elf/tst-tls10.c: Likewise.
5048 * elf/tst-tls11.c: Likewise.
5049 * elf/tst-tls12.c: Likewise.
5050 * gnulib/tst-gcc.c: Likewise.
5051 * iconvdata/tst-e2big.c: Likewise.
5052 * iconvdata/tst-loading.c: Likewise.
5053 * iconv/tst-iconv1.c: Likewise.
5054 * iconv/tst-iconv2.c: Likewise.
5055 * inet/test-inet6_opt.c: Likewise.
5056 * inet/tst-gethnm.c: Likewise.
5057 * inet/tst-network.c: Likewise.
5058 * inet/tst-ntoa.c: Likewise.
5059 * intl/tst-codeset.c: Likewise.
5060 * intl/tst-gettext2.c: Likewise.
5061 * intl/tst-gettext3.c: Likewise.
5062 * intl/tst-ngettext.c: Likewise.
5063 * intl/tst-translit.c: Likewise.
5064 * io/test-stat.c: Likewise.
5065 * libio/test-fmemopen.c: Likewise.
5066 * libio/tst-freopen.c: Likewise.
5067 * libio/tst-sscanf.c: Likewise.
5068 * libio/tst-ungetwc1.c: Likewise.
5069 * libio/tst-ungetwc2.c: Likewise.
5070 * libio/tst-widetext.c: Likewise.
5071 * localedata/tst-ctype.c: Likewise.
5072 * localedata/tst-digits.c: Likewise.
5073 * localedata/tst-leaks.c: Likewise.
5074 * localedata/tst-mbswcs1.c: Likewise.
5075 * localedata/tst-mbswcs2.c: Likewise.
5076 * localedata/tst-mbswcs3.c: Likewise.
5077 * localedata/tst-mbswcs4.c: Likewise.
5078 * localedata/tst-mbswcs5.c: Likewise.
5079 * localedata/tst-setlocale.c: Likewise.
5080 * localedata/tst-trans.c: Likewise.
5081 * localedata/tst-wctype.c: Likewise.
5082 * localedata/tst-xlocale1.c: Likewise.
5083 * login/tst-grantpt.c: Likewise.
5084 * malloc/tst-calloc.c: Likewise.
5085 * malloc/tst-malloc.c: Likewise.
5086 * malloc/tst-mallocstate.c: Likewise.
5087 * malloc/tst-mcheck.c: Likewise.
5088 * malloc/tst-mtrace.c: Likewise.
5089 * malloc/tst-obstack.c: Likewise.
5090 * math/atest-exp2.c: Likewise.
5091 * math/atest-exp.c: Likewise.
5092 * math/atest-sincos.c: Likewise.
5093 * math/test-matherr.c: Likewise.
5094 * math/test-misc.c: Likewise.
5095 * math/test-powl.c: Likewise.
5096 * math/tst-definitions.c: Likewise.
5097 * misc/tst-dirname.c: Likewise.
5098 * misc/tst-efgcvt.c: Likewise.
5099 * misc/tst-fdset.c: Likewise.
5100 * misc/tst-hsearch.c: Likewise.
5101 * misc/tst-mntent2.c: Likewise.
5102 * nptl/tst-sem7.c: Likewise.
5103 * nptl/tst-sem8.c: Likewise.
5104 * nptl/tst-sem9.c: Likewise.
5105 * nss/test-netdb.c: Likewise.
5106 * posix/tst-fnmatch.c: Likewise.
5107 * posix/tst-getlogin.c: Likewise.
5108 * posix/tst-gnuglob.c: Likewise.
5109 * posix/tst-mmap.c: Likewise.
5110 * pwd/tst-getpw.c: Likewise.
5111 * resolv/tst-inet_ntop.c: Likewise.
5112 * rt/tst-timer.c: Likewise.
5113 * stdio-common/test-fseek.c: Likewise.
5114 * stdio-common/test-popen.c: Likewise.
5115 * stdio-common/test-vfprintf.c: Likewise.
5116 * stdio-common/tst-cookie.c: Likewise.
5117 * stdio-common/tst-fileno.c: Likewise.
5118 * stdio-common/tst-gets.c: Likewise.
5119 * stdio-common/tst-obprintf.c: Likewise.
5120 * stdio-common/tst-perror.c: Likewise.
5121 * stdio-common/tst-sprintf2.c: Likewise.
5122 * stdio-common/tst-sprintf3.c: Likewise.
5123 * stdio-common/tst-sprintf.c: Likewise.
5124 * stdio-common/tst-swprintf.c: Likewise.
5125 * stdio-common/tst-tmpnam.c: Likewise.
5126 * stdio-common/tst-unbputc.c: Likewise.
5127 * stdio-common/tst-wc-printf.c: Likewise.
5128 * stdlib/tst-environ.c: Likewise.
5129 * stdlib/tst-fmtmsg.c: Likewise.
5130 * stdlib/tst-limits.c: Likewise.
5131 * stdlib/tst-rand48-2.c: Likewise.
5132 * stdlib/tst-rand48.c: Likewise.
5133 * stdlib/tst-random2.c: Likewise.
5134 * stdlib/tst-random.c: Likewise.
5135 * stdlib/tst-strtol.c: Likewise.
5136 * stdlib/tst-strtoll.c: Likewise.
5137 * stdlib/tst-tls-atexit.c: Likewise.
5138 * stdlib/tst-xpg-basename.c: Likewise.
5139 * string/test-ffs.c: Likewise.
5140 * string/tst-bswap.c: Likewise.
5141 * string/tst-inlcall.c: Likewise.
5142 * string/tst-strtok.c: Likewise.
5143 * string/tst-strxfrm.c: Likewise.
5144 * sysdeps/x86_64/tst-audit10.c: Likewise.
5145 * sysdeps/x86_64/tst-audit3.c: Likewise.
5146 * sysdeps/x86_64/tst-audit4.c: Likewise.
5147 * sysdeps/x86_64/tst-audit5.c: Likewise.
5148 * time/tst-ftime_l.c: Likewise.
5149 * time/tst-getdate.c: Likewise.
5150 * time/tst-mktime3.c: Likewise.
5151 * time/tst-mktime.c: Likewise.
5152 * time/tst-posixtz.c: Likewise.
5153 * time/tst-strptime2.c: Likewise.
5154 * time/tst-strptime3.c: Likewise.
5155 * wcsmbs/tst-btowc.c: Likewise.
5156 * wcsmbs/tst-mbrtowc.c: Likewise.
5157 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5158 * wcsmbs/tst-wchar-h.c: Likewise.
5159 * wcsmbs/tst-wcpncpy.c: Likewise.
5160 * wcsmbs/tst-wcrtomb.c: Likewise.
5161 * wcsmbs/tst-wcsnlen.c: Likewise.
5162 * wcsmbs/tst-wcstof.c: Likewise.
5164 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5167 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5169 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5171 (_dl_mcount): Use rtld_hidden_proto.
5172 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5174 * elf/rtld.c (_rtld_global_ro): Likewise.
5177 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5178 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5179 of _dl_init_internal.
5180 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5181 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5182 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5183 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5184 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5185 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5186 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5187 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5188 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5189 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5190 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5191 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5192 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5193 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5194 * sysdeps/tile/dl-start.S (_start): Likewise.
5195 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5196 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5199 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5200 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5201 (rtld_progname): Make macro definition unconditional.
5202 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5204 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5205 (dl_main): Likewise.
5206 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5207 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5208 instead of _dl_argv_internal.
5209 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5210 __GI__dl_argv instead of INTUSE(_dl_argv).
5211 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5212 __GI__dl_argv instead of _dl_argv_internal.
5214 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5215 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5217 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5218 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5220 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5221 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5223 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5224 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5226 2014-11-04 Andreas Schwab <schwab@suse.de>
5228 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5230 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5232 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5233 mtvsrd instruction in binary form.
5235 2014-11-03 Andreas Schwab <schwab@suse.de>
5238 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5239 for less than MB_LEN_MAX use a local buffer of that size.
5240 * libio/tst-fputws.c: New file.
5241 * libio/Makefile (tests): Add tst-fputws.
5243 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5245 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5246 the size of the fpu_fr.fpu_dregs[] array.
5248 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5250 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5251 (__nanosleep): Do not define as alias.
5252 (nanosleep): Define as alias of __nanosleep.
5253 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5254 __libc_nanosleep name.
5256 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5258 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5259 install.texi in comment.
5261 2014-10-31 Torvald Riegel <triegel@redhat.com>
5263 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5264 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5265 ... add here and use lwsync or sync ...
5266 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5267 ... and add here using lwsync.
5269 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5271 * elf/dl-machine-reject-phdr.h: New file.
5272 * elf/dl-load.c: #include that.
5273 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5274 if that returned true.
5276 2014-10-31 Roland McGrath <roland@hack.frob.com>
5279 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5280 gen-as-const-headers chunk. Add a big scare comment after the last
5281 safe place to touch before-compile.
5283 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5285 * manual/install.texi (Tools for Compilation): Update autoconf
5286 version requirements.
5287 * INSTALL: Regenerated.
5289 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5290 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5291 (__libc_pselect): Likewise.
5294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5299 2014-10-31 Torvald Riegel <triegel@redhat.com>
5301 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5302 correct barrier instruction.
5303 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5305 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5308 2014-10-30 Roland McGrath <roland@hack.frob.com>
5310 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5311 after defining inlines. Instead, just use parens to defeat macro
5312 expansion of __isctype in its declaration.
5314 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5316 * include/sys/uio.h (__libc_readv): Remove declaration.
5317 (__libc_writev): Likewise.
5318 * misc/readv.c (__libc_readv): Rename to __readv.
5319 (__readv): Do not define as alias.
5320 (readv): Define as alias of __readv.
5321 * misc/writev.c (__libc_writev): Rename to __writev.
5322 (__writev): Do not define as alias.
5323 (writev): Define as alias of __writev.
5324 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5325 (__readv): Do not define as alias.
5326 (readv): Define unconditionally as alias of __readv.
5327 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5328 (__writev): Do not define as alias.
5329 (writev): Define unconditionally as alias of __writev.
5330 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5332 (writev): Do not define __libc_writev name.
5334 2014-10-30 Roland McGrath <roland@hack.frob.com>
5336 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5337 (convert_charseq): New function, broken out of ...
5338 (use_from_charmap): ... here. Call it.
5339 (use_to_charmap): Use convert_charseq and free instead of duplicating
5340 its code with a variable-length stack struct.
5342 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5344 * include/fcntl.h (__libc_creat): Remove declaration.
5345 * io/creat.c (__libc_creat): Rename to creat.
5346 (creat): Do not define as alias.
5347 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5348 of creat instead of __libc_creat.
5349 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5351 (creat): Do not define as alias.
5352 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5354 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5359 2014-10-29 Carlos O'Donell <carlos@redhat.com>
5361 * manual/llio.texi: Add comments discussing why write() may be
5362 considered MT-unsafe on Linux.
5364 2014-10-28 Carlos O'Donell <carlos@redhat.com>
5366 * dl-load.c (local_strdup): Remove.
5367 (expand_dynamic_string_token): Use __strdup.
5368 (decompose_rpath): Likewise.
5369 (_dl_map_object): Likewise.
5371 2014-10-28 Joseph Myers <joseph@codesourcery.com>
5374 * sysdeps/generic/unwind-dw2-fde.c
5375 (__register_frame_info_bases_internal): Do not declare.
5376 (__register_frame_info_table_bases_internal): Likewise.
5377 (__deregister_frame_info_bases_internal): Likewise.
5378 (__register_frame_info_bases): Declare and use hidden_proto before
5379 definition. Use hidden_def instead of INTDEF.
5380 (__register_frame_info_table_bases): Likewise.
5381 (__deregister_frame_info_bases): Likewise.
5382 (__register_frame_info): Do not use INTUSE.
5383 (__register_frame): Likewise.
5384 (__register_frame_info_table): Likewise.
5385 (__register_frame_table): Likewise.
5386 (__deregister_frame_info): Likewise.
5387 (__deregister_frame): Likewise.
5389 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5391 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5392 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5394 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5396 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5399 2014-10-27 Joseph Myers <joseph@codesourcery.com>
5402 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5403 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5404 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5405 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5406 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5407 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5408 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5409 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5410 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5411 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5412 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5414 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5416 (setfsuid): Likewise.
5417 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5418 (setfsuid): Likewise.
5419 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5420 (setfsuid): Likewise.
5421 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5423 (setfsuid): Likewise.
5424 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5425 (setfsuid): Likewise.
5426 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5428 (setfsuid): Likewise.
5430 2014-10-27 Andreas Schwab <schwab@suse.de>
5433 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5434 check for Slow_SSE4_2 feature bit.
5435 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5436 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5437 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5438 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5440 2014-10-24 Roland McGrath <roland@hack.frob.com>
5442 * configure.ac: Validate compiler version with a empirical test of
5443 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5445 * configure: Regenerated.
5447 * inet/htons.c (htons): Prototypify.
5448 * inet/htonl.c (htonl): Likewise.
5450 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5452 * string/strncat.c (strncat): Improve performance by using strlen.
5454 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5456 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5458 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5460 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5461 Call libc_fetestexcept_aarch64.
5463 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5465 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5466 Call libc_feholdexcept_aarch64.
5468 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5470 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5471 Call get_rounding_mode.
5473 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5475 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5478 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5480 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5483 2014-10-24 Joseph Myers <joseph@codesourcery.com>
5486 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5487 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5488 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5489 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5490 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5491 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5492 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5493 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5494 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5495 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5496 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5497 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5498 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5499 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5500 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5501 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5502 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5503 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5504 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5505 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5506 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5507 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5508 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5509 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5510 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5511 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5512 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5513 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5514 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5515 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5516 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5517 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5518 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5519 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5520 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5521 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5522 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5523 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5524 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5525 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5526 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5528 (geteuid): Likewise.
5531 (getresgid): Likewise.
5532 (getresuid): Likewise.
5533 (getgroups): Likewise.
5534 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5535 (geteuid): Likewise.
5538 (getresgid): Likewise.
5539 (getresuid): Likewise.
5540 (getgroups): Likewise.
5541 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5542 (geteuid): Likewise.
5545 (getresgid): Likewise.
5546 (getresuid): Likewise.
5547 (getgroups): Likewise.
5548 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5550 (geteuid): Likewise.
5553 (getresgid): Likewise.
5554 (getresuid): Likewise.
5555 (getgroups): Likewise.
5556 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5557 (geteuid): Likewise.
5560 (getresgid): Likewise.
5561 (getresuid): Likewise.
5562 (getgroups): Likewise.
5563 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5565 (geteuid): Likewise.
5568 (getgroups): Likewise.
5571 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5572 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5573 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5574 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5575 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5576 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5577 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5578 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5579 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5580 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5581 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5582 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5583 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5585 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5588 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5592 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5595 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5600 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5602 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5605 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5607 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5610 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5612 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5613 Remove unused include.
5615 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5617 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5618 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5619 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5620 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5622 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5623 Helge Deller <deller@gmx.de>
5626 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5627 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5628 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5630 2014-10-23 Joseph Myers <joseph@codesourcery.com>
5633 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5634 Remove macro definition.
5635 (__ashrdi3_v_glibc20): Likewise.
5636 (__lshrdi3_v_glibc20): Likewise.
5637 (__cmpdi2_v_glibc20): Likewise.
5638 (__ucmpdi2_v_glibc20): Likewise.
5639 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5640 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5641 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5642 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5643 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5644 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5646 2014-10-22 Roland McGrath <roland@hack.frob.com>
5648 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5649 old GNU extension [0] syntax.
5650 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5651 alloca rather than an array member with variable length.
5652 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5653 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5654 (parse_opt): ... here. Likewise use alloca there.
5655 Validate the -i argument before checking for rootness.
5656 (send_shutdown): New function, broken out of ...
5657 (parse_opt): ... here.
5659 2014-10-22 Roland McGrath <roland@hack.frob.com>
5661 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5662 macro to get at the _rt_local_ro field.
5663 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5664 ([PIC] case) or _dl_hwcap ([!PIC] case).
5665 * sysdeps/arm/setjmp.S: Likewise.
5667 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5668 * sysdeps/arm/configure.ac: New check to define it.
5669 * sysdeps/arm/configure: Regenerated.
5670 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5671 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5672 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5673 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5674 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5675 Use move/movt pair instead of a load.
5676 (LDST_GLOBAL): Macro removed.
5677 (LDR_GLOBAL): New macro replaces it.
5678 (LDR_HIDDEN): New macro.
5679 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5680 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5682 * setjmp/tst-setjmp-static.c: New file.
5683 * setjmp/Makefile (tests): Add it.
5684 (tests-static): New variable.
5686 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5689 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5691 2014-10-21 Joseph Myers <joseph@codesourcery.com>
5694 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5696 2014-10-21 Roland McGrath <roland@hack.frob.com>
5698 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5700 2014-10-20 Roland McGrath <roland@hack.frob.com>
5702 * io/fts.c (dirent_not_directory): New function.
5703 (fts_build): Call it.
5705 2014-10-20 Roland McGrath <roland@hack.frob.com>
5707 * nptl/version.c (__nptl_main): Use normal __write rather than
5709 (banner): Update copyright years.
5711 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5713 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5714 * nptl/pthread_cond_timedwait.c: Likewise.
5715 * nptl/pthread_mutex_timedlock.c: Likewise.
5716 * nptl/sem_timedwait.c: Likewise.
5718 * sysdeps/nptl/bits/libc-lock.h
5719 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5720 (__libc_lock_init_recursive): Return void, not 0.
5721 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5722 (__libc_rwlock_init): Likewise.
5723 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5725 2014-10-20 Torvald Riegel <triegel@redhat.com>
5728 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5729 (__pthread_once_slow): ... here.
5730 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5731 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5733 2014-10-20 Torvald Riegel <triegel@redhat.com>
5736 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5737 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5738 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5739 * nptl/pthread_once.c (__pthread_once): Likewise.
5742 2014-10-20 Joseph Myers <joseph@codesourcery.com>
5745 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5747 (writev): Use __libc_writev as strong name.
5748 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5749 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5751 2014-10-17 Roland McGrath <roland@hack.frob.com>
5753 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5755 * sysdeps/i386/nptl/tls.h
5756 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5757 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5759 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5760 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5761 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5762 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5763 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5764 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5766 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5767 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5769 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5771 (__pthread_mutex_init): ... here. Call it.
5772 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5773 Conditionalize PI cases on [__NR_futex].
5774 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5775 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5776 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5778 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5779 conditional on [SIGSETXID].
5780 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5781 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5782 is defined. Likewise for SIGSETXID.
5783 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5784 Conditionalize definitions on [SIGSETXID].
5785 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5786 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5787 unblocking on [SIGCANCEL].
5789 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5790 [__NR_set_robust_list].
5792 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5794 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5795 (do_compare): Likewise.
5797 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5800 * string/strcoll_l.c: Don't include stdio.h.
5801 (coll_seq): Remove members idxarr and rulearr.
5802 (get_next_seq_cached): Remove function.
5803 (get_next_seq): Likewise.
5804 (get_next_seq_nocache): Rename to get_next_seq.
5805 (do_compare): Remove function.
5806 (do_compare_nocache): Rename to do_compare.
5807 (STRCOLL): Remove weight and rules cache.
5809 2014-10-16 Roland McGrath <roland@hack.frob.com>
5811 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5812 * sysdeps/arm/sfp-machine.h: ... to here.
5813 * sysdeps/arm/Implies: Remove arm/soft-fp.
5815 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5817 * conform/data/sys/utsname.h-data (*_t): Allow.
5818 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5819 [POSIX] (WEXITED): Do not expect constant.
5820 [POSIX] (WSTOPPED): Likewise.
5821 [POSIX] (WNOHANG): Likewise.
5822 [POSIX] (WNOWAIT): Likewise.
5823 [POSIX] (siginfo_t): Do not expect type or elements.
5824 [POSIX] (pid_t): Do not expect type.
5825 [POSIX] (signal.h): Do not allow header.
5826 [POSIX] (sys/resource.h): Likewise.
5827 [POSIX] (si_*): Do not allow pattern.
5828 [POSIX] (W*): Likewise.
5829 [POSIX] (P_*): Likewise.
5830 [POSIX] (BUS_*): Likewise.
5831 [POSIX] (CLD_*): Likewise.
5832 [POSIX] (FPE_*): Likewise.
5833 [POSIX] (ILL_*): Likewise.
5834 [POSIX] (POLL_*): Likewise.
5835 [POSIX] (SEGV_*): Likewise.
5836 [POSIX] (SI_*): Likewise.
5837 [POSIX] (TRAP_*): Likewise.
5838 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5841 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5844 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5845 infinite loop when __recvmsg returns 0.
5847 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5849 * CANCEL-FCT-WAIVE: Remove file.
5850 * CANCEL-FILE-WAIVE: Likewise.
5853 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5854 instead of INTVARDEF.
5855 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5856 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5857 rtld_hidden_data_def instead of INTVARDEF.
5858 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5859 * elf/dl-deps.c (expand_dst): Likewise.
5860 * elf/dl-load.c (_dl_dst_count): Likewise.
5861 (_dl_dst_substitute): Likewise.
5862 (decompose_rpath): Likewise.
5863 (_dl_init_paths): Likewise.
5864 (open_path): Likewise.
5865 (_dl_map_object): Likewise.
5866 * elf/rtld.c (dl_main): Likewise.
5867 (process_dl_audit): Likewise.
5868 (process_envvars): Likewise.
5869 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5871 (__libc_enable_secure): Use rtld_hidden_proto.
5873 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5876 (add_path): New function broken out of _dl_rtld_di_serinfo.
5877 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5879 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5881 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5882 parentheses around macro arguments.
5883 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5884 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5885 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5886 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5887 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5888 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5889 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5890 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5891 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5892 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5893 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5894 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5895 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5896 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5897 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5898 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5899 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5900 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5901 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5902 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5903 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5904 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5905 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5906 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5907 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5908 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5909 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5910 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5911 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5912 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5913 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5914 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5915 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5916 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5917 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5918 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5920 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5921 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5922 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5923 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5924 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5925 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5926 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5927 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5928 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5929 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5930 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5931 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5932 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5933 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5934 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5935 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5936 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5937 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5938 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5939 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5940 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5941 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5942 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5943 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5944 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5945 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5946 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5947 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5948 (_FP_FRAC_SRS_1): Likewise.
5949 (_FP_FRAC_CLZ_1): Likewise.
5950 (_FP_MUL_MEAT_1_imm): Likewise.
5951 (_FP_MUL_MEAT_1_wide): Likewise.
5952 (_FP_MUL_MEAT_1_hard): Likewise.
5953 (_FP_SQRT_MEAT_1): Likewise.
5954 (_FP_FRAC_ASSEMBLE_1): Likewise.
5955 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5956 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5957 (__FP_CLZ_2): Likewise.
5958 (_FP_MUL_MEAT_2_wide): Likewise.
5959 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5960 (_FP_MUL_MEAT_2_gmp): Likewise.
5961 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5962 (_FP_SQRT_MEAT_2): Likewise.
5963 (_FP_FRAC_ASSEMBLE_2): Likewise.
5964 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5965 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5966 (_FP_FRAC_CLZ_4): Likewise.
5967 (_FP_MUL_MEAT_4_wide): Likewise.
5968 (_FP_MUL_MEAT_4_gmp): Likewise.
5969 (_FP_SQRT_MEAT_4): Likewise.
5970 (_FP_FRAC_ASSEMBLE_4): Likewise.
5971 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5972 * soft-fp/op-common.h (_FP_CMP): Likewise.
5973 (_FP_CMP_EQ): Likewise.
5974 (_FP_CMP_UNORD): Likewise.
5975 (_FP_TO_INT): Likewise.
5976 (_FP_FROM_INT): Likewise.
5977 [!__FP_CLZ] (__FP_CLZ): Likewise.
5978 (_FP_DIV_HELP_imm): Likewise.
5979 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5981 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5982 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5983 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5984 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5985 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5986 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5987 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5988 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5989 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5990 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5991 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5992 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5993 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5994 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5995 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5996 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5997 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5998 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5999 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6000 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6001 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6002 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6003 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6004 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6005 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6006 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6007 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6008 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6009 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6010 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6011 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6012 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6013 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6014 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6015 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6016 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6017 (FP_UNPACK_RAW_SP): Likewise.
6018 (FP_PACK_RAW_S): Likewise.
6019 (FP_PACK_RAW_SP): Likewise.
6020 (FP_UNPACK_S): Likewise.
6021 (FP_UNPACK_SP): Likewise.
6022 (FP_UNPACK_SEMIRAW_S): Likewise.
6023 (FP_UNPACK_SEMIRAW_SP): Likewise.
6024 (FP_PACK_S): Likewise.
6025 (FP_PACK_SP): Likewise.
6026 (FP_PACK_SEMIRAW_S): Likewise.
6027 (FP_PACK_SEMIRAW_SP): Likewise.
6028 (_FP_SQRT_MEAT_S): Likewise.
6029 (FP_CMP_S): Likewise.
6030 (FP_CMP_EQ_S): Likewise.
6031 (FP_CMP_UNORD_S): Likewise.
6032 (FP_TO_INT_S): Likewise.
6033 (FP_FROM_INT_S): Likewise.
6035 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6037 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6038 (FP_EX_INVALID_IMZ): Likewise.
6039 (FP_EX_INVALID_IMZ_FMA): Likewise.
6040 (FP_EX_INVALID_ISI): Likewise.
6041 (FP_EX_INVALID_ZDZ): Likewise.
6042 (FP_EX_INVALID_IDI): Likewise.
6043 (FP_EX_INVALID_SQRT): Likewise.
6044 (FP_EX_INVALID_CVI): Likewise.
6045 (FP_EX_INVALID_VC): Likewise.
6046 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6047 "invalid" exceptions.
6048 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6049 (_FP_ADD_INTERNAL): Likewise.
6050 (_FP_MUL): Likewise.
6051 (_FP_FMA): Likewise.
6052 (_FP_DIV): Likewise.
6053 (_FP_CMP_CHECK_NAN): Likewise.
6054 (_FP_SQRT): Likewise.
6055 (_FP_TO_INT): Likewise.
6056 (FP_EXTEND): Likewise.
6058 2014-10-09 Allan McRae <allan@archlinux.org>
6060 * po/fr.po: Update French translation from translation project.
6062 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6065 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6067 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6068 (__cxa_atexit): Use libc_hidden_proto.
6069 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6072 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6074 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6075 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6076 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6077 [!_ISOMAC] (__iswctype_internal): Likewise.
6078 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6079 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6081 (fcntl): Remove __fcntl_internal alias.
6082 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6083 __connect_internal alias.
6084 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6087 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6088 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6090 (_FP_CHECK_FLUSH_ZERO): New macro.
6091 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6092 (_FP_CMP): Likewise.
6093 (_FP_CMP_EQ): Likewise.
6094 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6096 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6097 (FP_TRUNC): Likewise.
6099 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6100 treated as invalid conversion, not as normal exponent.
6102 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6103 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6104 (_FP_CMP_EQ): Likewise.
6105 (_FP_CMP_UNORD): Likewise.
6106 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6107 (FP_CMP_EQ_D): Likewise.
6108 (FP_CMP_UNORD_D): Likewise.
6109 * soft-fp/extended.h (FP_CMP_E): Likewise.
6110 (FP_CMP_EQ_E): Likewise.
6111 (FP_CMP_UNORD_E): Likewise.
6112 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6113 (FP_CMP_EQ_Q): Likewise.
6114 (FP_CMP_UNORD_Q): Likewise.
6115 * soft-fp/single.h (FP_CMP_S): Likewise.
6116 (FP_CMP_EQ_S): Likewise.
6117 (FP_CMP_UNORD_S): Likewise.
6118 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6119 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6120 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6121 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6122 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6123 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6124 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6125 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6126 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6127 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6128 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6129 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6130 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6132 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6134 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6135 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6137 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6139 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6140 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6141 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6142 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6144 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6146 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6147 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6149 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6151 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6152 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6153 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6154 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6157 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6158 a subnormal result, set the underflow exception if trapping on
6159 underflow is enabled.
6160 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6161 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6162 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6164 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6165 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6166 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6167 * soft-fp/extendxftf2.c (__extendxftf2): Use
6168 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6170 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6171 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6172 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6173 FP_HANDLE_EXCEPTIONS.
6174 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6175 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6176 FP_HANDLE_EXCEPTIONS.
6177 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6178 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6179 FP_HANDLE_EXCEPTIONS.
6180 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6181 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6182 FP_HANDLE_EXCEPTIONS.
6184 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6187 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6188 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6190 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6191 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6193 (__adjtimex): Define using libc_hidden_ver.
6194 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6196 (ntp_gettime): Call __adjtimex directly.
6197 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6199 (ntp_gettimex): Call __adjtimex directly.
6200 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6201 __adjtimex_internal alias.
6203 2014-10-08 Roland McGrath <roland@hack.frob.com>
6206 * nscd/nscd.c (more_help): Rewrite list of tables collection
6207 using xstrdup and asprintf.
6209 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6211 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6212 Roland McGrath <roland@hack.frob.com>
6214 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6215 (do_lookup_unique): ... local function 'enter' here; update callers.
6217 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6219 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6220 compat_symbol calls on [SHARED].
6221 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6222 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6224 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6225 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6226 (oldsetrlimit): Remove.
6227 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6229 (lchown): New syscall entry.
6230 (oldsetrlimit): Remove.
6231 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6232 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6233 (oldsetrlimit): Remove.
6234 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6237 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6238 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6239 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6240 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6241 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6242 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6244 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6249 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6251 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6252 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6253 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6254 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6255 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6257 (__old_sem_post): Likewise.
6259 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6261 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6262 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6263 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6264 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6265 Use INLINE_VSYSCALL macro.
6266 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6267 __vdso_clock_gettime.
6268 * sysdeps/unix/sysv/linux/tile/init-first.c
6269 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6270 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6271 __vdso_clock_gettime.
6273 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6274 to set up frame more cleanly.
6276 * sysdeps/tile/memcmp.c: New file.
6278 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6280 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6281 * sysdeps/tile/tilegx/strcasestr.c: New file.
6282 * sysdeps/tile/tilegx/strnlen.c: New file.
6283 * sysdeps/tile/tilegx/strstr.c: New file.
6285 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6287 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
6289 * nptl/tst-setuid3.c: Write errors to stdout.
6291 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6294 (preload): New functions broken out of _dl_map_object_deps.
6295 (_dl_map_object_deps): Remove a nested function. Update call sites.
6297 2014-10-01 Joseph Myers <joseph@codesourcery.com>
6300 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6301 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6303 2014-10-01 Steve Ellcey <sellcey@mips.com>
6305 * sysdeps/mips/strcmp.S: New.
6307 2014-09-30 Joseph Myers <joseph@codesourcery.com>
6310 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6312 (mkdirat): Likewise.
6313 (readlinkat): Likewise.
6314 (renameat): Likewise.
6315 (symlinkat): Likewise.
6316 (unlinkat): Likewise.
6317 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6318 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6319 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6320 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6321 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6322 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6323 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6325 2014-09-30 Will Newton <will.newton@linaro.org>
6327 * math/math.h: Define long double math functions if
6328 _LIBC_TEST is defined.
6329 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6331 * localedata/Makefile: Move assignment to tests-special
6332 into an ifdef testing run-built-tests.
6333 * timezone/Makefile: Likewise.
6335 2014-09-29 Joseph Myers <joseph@codesourcery.com>
6337 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6338 with $(BASH) not $(SHELL).
6340 2014-09-29 Carlos O'Donell <carlos@redhat.com>
6341 Matthew LeGendre <legendre1@llnl.gov>
6344 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6347 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6349 * stdio-common/printf_fp.c
6350 (hack_digit): New function, broken out of ...
6351 (__printf_fp): ... local function here. Update call sites.
6352 hack_digit now takes an additional parameter that is a pointer
6353 to a struct of the referenced locals. Those locals moved inside
6354 the struct and references updated.
6356 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6358 * aclocal.m4: Require autoconf 2.69.
6359 * configure: Regenerated.
6360 * sysdeps/aarch64/configure: Likewise.
6361 * sysdeps/alpha/configure: Likewise.
6362 * sysdeps/arm/armv7/configure: Likewise.
6363 * sysdeps/arm/configure: Likewise.
6364 * sysdeps/ia64/configure: Likewise.
6365 * sysdeps/mach/configure: Likewise.
6366 * sysdeps/mips/configure: Likewise.
6367 * sysdeps/s390/configure: Likewise.
6368 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6371 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6373 * sysdeps/ia64/configure.ac: Likewise.
6375 2014-09-26 Joseph Myers <joseph@codesourcery.com>
6377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6378 specify symbol version for ld.so. Do not include entry for
6380 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6381 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6382 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6385 * Makeconfig [$(build-shared) = yes]
6386 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6388 [$(build-shared) = yes && $(soversions.mk-done) = t]
6389 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6390 [$(build-shared) = yes && $(soversions.mk-done) = t]
6391 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6393 [$(build-shared) = yes && $(soversions.mk-done) = t]
6394 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6396 [$(build-shared) = yes && $(soversions.mk-done) = t]
6397 (common-generated): Don't append gnu/lib-names.h and
6398 gnu/lib-names.stmp here.
6399 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6400 (lib-names-h-abi): New variable.
6401 [$(build-shared) = yes && $(soversions.mk-done) = t]
6402 (lib-names-stmp-abi): Likewise.
6403 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6404 abi-variants] (before-compile): Append
6405 $(common-objpfx)$(lib-names-h-abi).
6406 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6407 abi-variants] (common-generated): Append gnu/lib-names.h.
6408 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6409 abi-variants] (install-others-nosubdir): Depend on
6410 $(inst_includedir)/$(lib-names-h-abi).
6411 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6412 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6413 [$(build-shared) = yes && $(soversions.mk-done) = t]
6414 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6415 [$(build-shared) = yes && $(soversions.mk-done) = t]
6416 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6417 [$(build-shared) = yes && $(soversions.mk-done) = t]
6418 (common-generated): Append $(lib-names-h-abi) and
6419 $(lib-names-stmp-abi).
6420 * scripts/lib-names.awk: Do not handle multi being set.
6421 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6423 (abi-lp64_be-ld-soname): Likewise.
6424 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6426 (abi-hard-ld-soname): Likewise.
6427 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6428 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6430 (abi-o32_hard-ld-soname): Likewise.
6431 (abi-o32_soft_2008-ld-soname): Likewise.
6432 (abi-o32_hard_2008-ld-soname): Likewise.
6433 (abi-n32_soft-ld-soname): Likewise.
6434 (abi-n32_hard-ld-soname): Likewise.
6435 (abi-n32_soft_2008-ld-soname): Likewise.
6436 (abi-n32_hard_2008-ld-soname): Likewise.
6437 (abi-n64_soft-ld-soname): Likewise.
6438 (abi-n64_hard-ld-soname): Likewise.
6439 (abi-n64_soft_2008-ld-soname): Likewise.
6440 (abi-n64_hard_2008-ld-soname): Likewise.
6441 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6443 (abi-64-v2-ld-soname): Likewise.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6446 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6448 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6450 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6452 (abi-64-ld-soname): Likewise.
6453 (abi-x32-ld-soname): Likewise.
6454 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6456 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6458 2014-09-23 Joseph Myers <joseph@codesourcery.com>
6461 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6462 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6463 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6464 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6465 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6466 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6467 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6468 syscall entry for GLIBC_2.2 symbol version.
6469 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6472 (setrlimit): Likewise.
6473 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6476 2014-09-23 Will Newton <will.newton@linaro.org>
6478 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6479 _LINUX_ARM_SYSDEP_H include guard too.
6480 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6483 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6485 * sysdeps/unix/sysv/linux/eventfd.c:
6486 Make first argument unsigned.
6487 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6488 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6490 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
6492 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6493 * socket/sys/socket.h: Likewise
6494 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6496 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6498 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6500 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
6502 * time/tst-ftime.c: New test.
6503 * time/Makefile (tests): Add tst-ftime.
6505 2014-09-17 Joseph Myers <joseph@codesourcery.com>
6507 * soft-fp/extended.h: Fix comment formatting.
6508 * soft-fp/op-1.h: Likewise.
6509 * soft-fp/op-2.h: Likewise.
6510 * soft-fp/op-4.h: Likewise.
6511 * soft-fp/op-8.h: Likewise.
6512 * soft-fp/op-common.h: Likewise.
6513 * soft-fp/soft-fp.h: Likewise.
6515 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6517 2014-09-16 Joseph Myers <joseph@codesourcery.com>
6520 * Makeconfig (soversions-default-setname): Remove variable.
6521 ($(common-objpfx)soversions.i): Don't pass default_setname to
6523 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6524 oldest_abi to abi-versions.awk.
6525 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6526 * config.make.in (oldest-abi): Remove variable.
6527 * configure.ac (--enable-oldest-abi): Remove configure option.
6528 * configure: Regenerated.
6529 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6531 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6532 * scripts/soversions.awk: Do not handle default_setname variable.
6533 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6535 * sysdeps/mach/hurd/configure: Regenerated.
6536 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6538 * sysdeps/unix/sysv/linux/configure: Regenerated.
6540 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6542 * elf/Makefile (CFLAGS-interp.c): Remove.
6543 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6545 * elf/interp.c: Include generated runtime-linker.h
6547 * Makerules (lib%.so): Don't include $(+interp) in
6549 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6550 * dlfcn/eval.c: Remove file.
6552 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6556 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6560 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6562 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6563 Jakub Jelinek <jakub@redhat.com>
6566 * libio/stdio.h: Check definition of __fortify_function
6567 instead of __extern_always_inline to include bits/stdio2.h.
6568 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6569 check if __extern_always_inline is defined.
6570 [__USE_MISC || __USE_XOPEN]: Likewise.
6571 [__USE_ISOC99] Likewise.
6572 * misc/sys/cdefs.h (__fortify_function): Define only if
6573 __extern_always_inline is defined.
6574 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6575 __extern_always_inline and __extern_inline only for g++-4.3
6576 and newer or a compatible gcc.
6578 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6581 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6582 last change to handle zero prefix length.
6584 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6586 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6589 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6592 2014-09-13 Allan McRae <allan@archlinux.org>
6594 * po/ru.po: Update Russian translation from translation project.
6596 2014-09-12 Roland McGrath <roland@hack.frob.com>
6598 * locale/programs/locale.c (show_locale_vars): Inline local function
6599 into its sole call site. Clean up some style nits.
6600 (print_item): New function, broken out of ...
6601 (show_info): ... local function here. Clean up style nits.
6603 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6605 (set_class_defaults): ... local function set_default here.
6606 Define set_default as a macro locally to pass constant parameters.
6607 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6608 rather than a shared local.
6610 * stdlib/rpmatch.c (try): New function, broken out of ...
6611 (rpmatch): ... local function here. Also, prototypify definition.
6613 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6615 * scripts/soversions.awk: Do not handle configuration names.
6616 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6617 vendor and os variables to soversions.awk.
6618 * configure.ac: Do not modify gnu-* host_os.
6619 * configure: Regenerated
6620 * shlib-versions: Remove first column with configuration names.
6621 * nptl/shlib-versions: Likewise.
6622 * nptl_db/shlib-versions: Likewise.
6623 * sysdeps/hppa/shlib-versions: Likewise.
6624 * sysdeps/m68k/shlib-versions: Likewise.
6625 * sysdeps/mach/hurd/shlib-versions: Likewise.
6626 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6627 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6628 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6629 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6630 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6631 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6632 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6633 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6636 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6637 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6638 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6639 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6640 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6641 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6642 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6643 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6646 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6649 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6651 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6653 * shlib-versions: Remove OS-specific entries. Moved to files in
6655 * sysdeps/mach/hurd/shlib-versions: New file.
6656 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6658 * nptl/shlib-versions: Remove architecture-specific entries.
6659 Moved to files in sysdeps.
6660 * shlib-versions: Likewise.
6661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6663 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6664 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6665 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6666 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6668 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6669 (UDP_NO_CHECK6_RX): Likewise.
6671 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6673 * sysdeps/posix/sysconf.c (__sysconf): Spell
6674 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6676 2014-08-12 Florian Weimer <fweimer@redhat.com>
6678 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6680 * iconv/Versions (__gconv_transliterate): Export for use from
6682 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6683 (struct __gconv_trans_data, __gconv_trans_fct,
6684 __gconv_trans_context_fct, __gconv_trans_query_fct,
6685 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6687 (struct __gconv_step_data): Remove __trans member.
6688 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6689 longer hidden. Remove unused trans_data argument.
6690 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6691 (__gconv_translit_find): Remove declaration.
6692 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6694 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6695 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6696 trans_data argument. Add hidden definition.
6697 (__gconv_translit_find): Remove.
6698 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6699 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6700 * iconv/skeleton.c: Remove transliteration initialization.
6701 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6702 __gconv_step_data initialization.
6703 * libio/iofwide.c (__libio_translit_): Remove.
6704 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6705 * wcsmbs/btowc.c (__btowc): Likewise.
6706 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6707 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6708 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6709 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6710 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6711 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6712 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6713 * wcsmbs/wctob.c (wctob): Likewise.
6715 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6718 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6719 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6721 * sysdeps/x86/Makefile: Adjust.
6723 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6724 Roland McGrath <roland@hack.frob.com>
6726 * locale/weight.h: Add include guard.
6727 (findidx): Make static rather than auto; take new parameters
6728 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6729 * locale/weightwc.h: Likewise.
6730 * posix/fnmatch_loop.c
6731 (FCT): Change type of EXTRA from int32_t to wint_t.
6732 Don't include either header inside the function.
6733 Call FINDIDX rather than findidx, and pass new arguments.
6734 #undef FINDIDX at the end of the file.
6735 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6736 FINDIDX before including fnmatch_loop.c for the non-wide version.
6737 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6738 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6739 for the wide version.
6740 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6741 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6742 Pass new arguments to findidx.
6743 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6744 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6745 Don't #include it inside the function. Pass new arguments to findidx.
6746 * posix/regex_internal.h
6747 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6748 (re_string_elem_size_at): Don't #include it inside the function.
6749 Pass new arguments to findidx.
6750 * string/strcoll_l.c: #include WEIGHT_H at top level.
6751 (get_next_seq): Don't #include it inside the function.
6752 Pass new arguments to findidx.
6753 (get_next_seq_nocache): Likewise.
6754 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6755 (STRXFRM): Don't #include it inside the function.
6756 Pass new arguments to findidx.
6758 2014-09-11 Florian Weimer <fweimer@redhat.com>
6761 * malloc/malloc.c (unlink): Turn asserts into a call to
6764 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
6767 * libio/wfileops (do_ftell_wide): Free OUT.
6769 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6771 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6773 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6776 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6777 group if the current group is empty.
6779 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6781 * benchtests/bench-memset.c (test_main): Add more test from size
6782 from 32 to 512 bytes.
6783 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6784 Add POWER8 memset object.
6785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6786 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6787 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6789 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6791 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6792 multiarch POWER8 memset optimization.
6793 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6794 POWER8 memset optimization.
6796 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6797 Remove bzero multiarch objects.
6798 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6799 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6800 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6801 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6803 [__bzero]: Redefine to specific name.
6804 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6805 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6806 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6808 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6809 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6811 2014-09-10 Florian Weimer <fweimer@redhat.com>
6813 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6814 warnings into errors.
6816 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6817 __cxa_thread_atexit_impl prototype.
6819 2014-09-09 Steve Ellcey <sellcey@mips.com>
6821 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6822 Fix capitalization of error message.
6824 2014-09-09 Steve Ellcey <sellcey@mips.com>
6826 * sysdeps/mips/preconfigure: Modify ABI tests.
6828 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6830 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6832 2014-09-07 Roland McGrath <roland@hack.frob.com>
6833 Carlos O'Donell <carlos@systemhalted.org>
6835 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6836 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6837 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6838 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6839 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6840 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6841 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6842 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6843 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6844 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6845 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6846 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6847 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6848 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6849 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6850 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6851 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6852 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6853 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6854 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6855 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6856 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6857 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6858 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6859 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6860 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6861 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6862 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6863 Deconditionalize the code that was previously under [RESET_PID].
6864 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6865 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6866 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6867 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6870 2014-09-08 Allan McRae <allan@archlinux.org>
6872 * version.h (RELEASE): Set to "development".
6873 (VERSION): Set to "2.20.90"
6875 2014-09-07 Allan McRae <allan@archlinux.org
6877 * version.h (RELEASE): Set to "stable".
6878 (VERSION): Set to "2.20"
6879 * include/features.h (__GLIBC_MINOR__): Set to 20.
6881 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6884 * po/ko.po: Update Korean translation from translation project.
6886 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6889 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6890 macro for handling signed relocations.
6892 2014-09-03 Florian Weimer <fweimer@redhat.com>
6895 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6896 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6898 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6899 * iconvdata/ibm935.c (BODY): Likewise.
6900 * iconvdata/ibm937.c (BODY): Likewise.
6901 * iconvdata/ibm939.c (BODY): Likewise.
6902 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6904 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6906 * iconvdata/run-iconv-test.sh: New test loop for checking for
6909 2014-09-02 Khem Raj <raj.khem@gmail.com>
6911 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6914 2014-09-01 Allan McRae <allan@archlinux.org>
6916 * po/eo.po: Update Esperanto translation from translation project.
6918 * po/ca.po: Update Catalan translation from translation project.
6920 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6922 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6925 2014-08-27 Mark Wielaard <mjw@redhat.com>
6928 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6929 to call set_thread_area instead of hand written asm.
6930 (__NR_set_thread_area): Removed define.
6931 (TLS_FLAG_WRITABLE): Likewise.
6932 (__ASSUME_SET_THREAD_AREA): Remove check.
6933 (TLS_EBX_ARG): Remove define.
6934 (TLS_LOAD_EBX): Likewise.
6936 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6938 Simplify atomicity of socket creation in bind.
6940 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6941 looking up the name after linking the file.
6943 2014-08-27 Allan McRae <allan@archlinux.org>
6945 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6947 2014-08-26 Florian Weimer <fweimer@redhat.com>
6950 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6951 trans_compare, open_translit, __gconv_translit_find):
6952 Remove module loading code.
6954 2014-08-26 Allan McRae <allan@archlinux.org>
6956 * po/vi.po: Update Vietnamese translation from translation project.
6958 * po/uk.po: Update Ukrainian translation from translation project.
6960 * po/fr.po: Update French translation from translation project.
6962 * po/ru.po: Update Russian translation from translation project.
6964 * po/pl.po: Update Polish translation from translation project.
6966 * po/cs.po: Update Czech translation from translation project.
6968 * po/de.po: Update German translation from translation project.
6970 * po/bg.po: Update Bulgarian translation from translation project.
6972 * po/sv.po: Update Sweedish translation from translation project.
6974 * po/nl.po: Update Dutch translation from translation project.
6976 * po/es.po: Update Spanish translation from translation project.
6978 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6980 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6982 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6983 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6984 (CPPFLAGS-iconvconfig): Likewise.
6985 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6987 * include/libc-symbols.h: Remove unnecessary check for
6989 * nptl/pthreadP.h: Likewise.
6990 * sysdeps/aarch64/setjmp.S: Likewise.
6991 * sysdeps/alpha/setjmp.S: Likewise.
6992 * sysdeps/arm/sysdep.h: Likewise.
6993 * sysdeps/i386/setjmp.S: Likewise.
6994 * sysdeps/m68k/setjmp.c: Likewise.
6995 * sysdeps/posix/getcwd.c: Likewise.
6996 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6997 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6998 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6999 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7000 * sysdeps/sh/sh3/setjmp.S: Likewise.
7001 * sysdeps/sh/sh4/setjmp.S: Likewise.
7002 * sysdeps/unix/alpha/sysdep.h: Likewise.
7003 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7004 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7005 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7006 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7009 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7010 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7011 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7012 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7014 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7016 * sysdeps/x86_64/setjmp.S: Likewise.
7018 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7021 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7023 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7024 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7026 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7028 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7031 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7032 and __x86_64__ when disabling x87 inline functions.
7034 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7037 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7038 asm statement with __cpuid_count.
7040 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7042 * configure.ac: Change __ehdr_start code to dereference the struct.
7043 Run readelf on the output to look for relocations.
7044 * configure: Regenerated.
7046 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7049 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7051 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7053 2014-08-12 Roland McGrath <roland@hack.frob.com>
7055 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7057 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7060 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7061 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7063 2014-08-12 Sean Anderson <seanga2@gmail.com>
7065 * malloc/malloc.c: Fix typo in comment.
7067 2014-08-09 Allan McRae <allan@archlinux.org>
7069 * Regenerate libc.po.
7071 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7073 * intl/tst-gettext2.sh: Check every lang file for creation.
7075 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7077 * sysdeps/aarch64/fpu/math_private.h
7078 (libc_feholdsetround_noex_aarch64_ctx): New function.
7080 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7082 * sysdeps/arm/armv6/strcpy.S (strcpy):
7083 Fix performance issue in misaligned cases.
7085 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7087 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7088 Move definition from termios.h.
7089 (struct termio): Likewise.
7090 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7091 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7092 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7093 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7095 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7096 Move definition to ioctl-types.h
7097 (struct termio): Likewise.
7098 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7099 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7100 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7101 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7104 2014-08-05 Richard Henderson <rth@redhat.com>
7106 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7108 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7110 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7111 Use __feraiseexcept.
7112 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7113 Protect libm symbols with IS_IN_libm.
7115 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7117 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7119 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7121 2014-08-04 Will Newton <will.newton@linaro.org>
7123 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7126 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7128 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7129 variants for each function.
7131 2014-08-04 Roland McGrath <roland@hack.frob.com>
7133 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7135 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7136 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7138 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7139 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7140 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7141 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7142 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7143 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7144 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7145 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7146 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7147 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7148 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7149 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7150 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7151 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7152 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7153 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7154 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7155 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7156 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7157 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7158 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7159 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7160 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7161 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7162 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7163 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7164 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7165 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7166 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7167 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7168 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7169 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7170 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7171 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7172 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7173 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7174 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7175 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7176 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7177 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7178 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7179 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7180 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7181 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7182 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7183 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7184 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7185 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7186 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7187 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7188 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7189 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7190 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7192 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7193 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7195 2014-08-04 Roland McGrath <roland@hack.frob.com>
7197 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7198 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7199 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7200 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7201 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7202 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7204 2014-08-04 Roland McGrath <roland@hack.frob.com>
7206 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7207 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7208 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7209 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7211 2014-08-04 Roland McGrath <roland@hack.frob.com>
7213 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7214 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7215 (__libc_vfork): Define function under this name.
7216 (__vfork): Define as an alias.
7217 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7218 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7220 2014-08-04 Roland McGrath <roland@hack.frob.com>
7222 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7223 that was previously under [RESET_PID].
7224 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7226 2014-08-04 Andreas Schwab <schwab@suse.de>
7228 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7230 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7232 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7235 2014-08-01 Roland McGrath <roland@hack.frob.com>
7237 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7239 2014-08-01 Richard Henderon <rth@redhat.com>
7241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7242 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7243 typo in exact zero test.
7244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7245 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7246 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7248 2014-08-01 Roland McGrath <roland@hack.frob.com>
7250 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7251 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7252 * sysdeps/arm/sysdep.h: ... here.
7253 [!__ASSEMBLER__]: Include <stdint.h>.
7255 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7257 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7258 (HAVE_WCTYPE_H): Likewise.
7259 (HAVE_ISWCTYPE): Likewise.
7260 (ENABLE_NLS): Likewise.
7261 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7262 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7264 * posix/regex_internal.c: Check if DEBUG is defined and is
7267 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7268 (HAVE_MBSRTOWCS): Likewise.
7269 * posix/fnmatch.c: Include string.h unconditionally.
7271 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7273 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7276 2014-07-31 Roland McGrath <roland@hack.frob.com>
7278 * sysdeps/generic/safe-fatal.h: New file.
7279 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7280 * nptl/forward.c: Include it.
7281 (__pthread_unwind): Use __safe_fatal as default action, rather
7282 than a bogus use of INTERNAL_SYSCALL that could never work.
7284 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7285 * configure.ac (libc_cv_builtin_trap): New test.
7286 * configure: Regenerated.
7287 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7288 (ABORT_INSTRUCTION): Define using __builtin_trap.
7290 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7291 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7292 * sysdeps/nptl/nptl-signals.h: New file.
7293 * nptl/pthreadP.h: Include <nptl-signals.h>.
7295 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7297 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7298 (ONE_DIRECTION): Define.
7299 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7300 (ONE_DIRECTION): Define.
7301 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7302 (ONE_DIRECTION): Define.
7304 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7306 * sysdeps/s390/Makefile: Delete file.
7307 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7308 * sysdeps/s390/__longjmp.c: Delete file.
7309 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7310 Remove fields __flags and __reserved.
7311 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7313 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7314 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7315 * sysdeps/s390/rtld-setjmp.S: Likewise.
7316 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7317 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7318 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7319 * sysdeps/s390/s390-32/setjmp.S: ... here.
7321 (__sigsetjmp): Remove setting __flags field.
7322 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7323 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7324 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7325 * sysdeps/s390/s390-64/setjmp.S: ... here.
7327 (__sigsetjmp): Remove setting __flags field.
7328 * sysdeps/s390/setjmp.S: Delete file.
7329 * sysdeps/s390/sigjmp.c: Likewise.
7330 * sysdeps/s390/v1-longjmp.c: Likewise.
7331 * sysdeps/s390/v1-setjmp.h: Likewise.
7332 * sysdeps/s390/v1-sigjmp.c: Likewise.
7333 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7334 Remove v1-longjmp_chk.
7335 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7336 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7337 Include debug/longjmp_chk.c and add versioning.
7338 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7339 Include nptl/pt-longjmp.c and add versioning.
7340 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7341 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7342 Include __longjmp.c.
7343 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7345 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7346 (__getcontext): Remove setting __flags field.
7348 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7349 Don't restore upper high grps.
7350 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7352 (__swapcontext): Remove setting uc_flags field.
7353 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7355 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7356 Include __longjmp.c.
7357 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7359 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7360 (__getcontext): Remove setting __flags field.
7362 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7363 (__swapcontext): Remove setting uc_flags field.
7364 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7365 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7366 Remove fields uc_high_gprs and __reserved.
7367 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7368 New file with reverted content.
7369 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7370 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7372 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7375 2014-07-31 Andreas Schwab <schwab@suse.de>
7377 * config.h.in (HAVE_IFUNC): Define to 0.
7378 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7381 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7384 memmove-avx-unaligned, memcpy-avx-unaligned and
7385 mempcpy-avx-unaligned.
7386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7387 Add tests for AVX memcpy functions.
7388 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7389 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7391 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7392 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7394 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7395 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7397 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7398 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7399 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7401 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7404 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7407 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
7410 * manual/llio.texi: Add section about open file description locks.
7411 * manual/examples/ofdlocks.c: Example of open file description
7413 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7414 F_OFD_SETLK, and F_OFD_SETLKW.
7416 2014-07-23 Allan McRae <allan@archlinux.org>
7418 * po/es.po: Update Spanish translation from translation project.
7420 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7422 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7424 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7427 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7428 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7429 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7431 2014-07-17 Joseph Myers <joseph@codesourcery.com>
7434 * math/fesetenv.c (__fesetenv)
7435 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7436 * math/feupdateenv.c (__feupdateenv)
7437 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7439 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7440 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7441 (__ASSUME_SOCKETCALL): Do not define.
7443 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7444 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7445 (__ASSUME_SOCKETCALL): Do not define.
7446 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7447 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7448 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7449 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7450 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7451 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7452 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7453 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7455 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7456 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7457 (__ASSUME_SOCKETCALL): Do not define.
7458 (__ASSUME_IPC64): Define unconditionally.
7459 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7460 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7461 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7462 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7463 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7464 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7465 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7468 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7469 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7470 (__ASSUME_SOCKETCALL): Do not define.
7471 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7472 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7473 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7474 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7475 (__ASSUME_REQUEUE_PI): Define unconditionally.
7476 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7477 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7478 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7479 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7480 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7481 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7483 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7484 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7485 (__ASSUME_SOCKETCALL): Do not define.
7486 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7487 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7488 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7489 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7490 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7491 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7493 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7494 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7495 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7496 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7497 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7498 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7499 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7500 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7501 (__ASSUME_GETCPU_SYSCALL): Likewise.
7503 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7504 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7505 cases for individual architectures.
7506 * sysdeps/gnu/configure: Regenerated.
7507 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7508 LIBC_SLIBDIR_RTLDDIR.
7509 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7510 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7511 LIBC_SLIBDIR_RTLDDIR.
7512 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7514 LIBC_SLIBDIR_RTLDDIR.
7515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7517 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7518 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7520 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7521 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7523 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7524 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7525 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7526 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7528 * sysdeps/aarch64/shlib-versions: Move to ...
7529 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7530 * sysdeps/alpha/shlib-versions: Move to ...
7531 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7532 * sysdeps/arm/shlib-versions: Move to ...
7533 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7534 * sysdeps/hppa/shlib-versions: Move all contents except for
7535 libgcc_s entry to ...
7536 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7538 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7539 * sysdeps/ia64/shlib-versions: Move to ...
7540 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7542 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7543 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7544 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7545 * sysdeps/microblaze/shlib-versions: Move to ...
7546 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7547 * sysdeps/mips/shlib-versions: Move to ...
7548 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7550 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7551 * sysdeps/tile/shlib-versions: Move to ...
7552 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7553 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7555 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7556 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7558 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7560 2014-07-17 Will Newton <will.newton@linaro.org>
7562 * sysdeps/arm/bits/atomic.h
7563 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7564 (__arch_compare_and_exchange_bool_16_int): Likewise.
7565 (__arch_compare_and_exchange_bool_64_int): Likewise.
7567 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7568 into an #else block.
7570 2014-07-16 Roland McGrath <roland@hack.frob.com>
7572 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7573 just Linux configurations. Test empirically that the compiler sets
7574 __ARM_EABI__, rather than using the tuple to decide.
7575 * sysdeps/arm/preconfigure: Regenerated.
7576 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7577 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7578 contents appended ...
7579 * sysdeps/arm/configure.ac: ... here.
7580 * sysdeps/arm/configure: Regenerated.
7582 2014-07-15 Roland McGrath <roland@hack.frob.com>
7584 * nptl/pthread_kill.c: New file.
7585 * nptl/pthread_sigmask.c: New file.
7586 * nptl/pthread_sigqueue.c: New file.
7588 * sysdeps/nptl/lowlevellock.h: New file.
7589 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7590 * sysdeps/nptl/lowlevellock-futex.h: New file.
7592 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7593 Remove dead declarations.
7595 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7597 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7598 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7600 * sysdeps/x86_64/configure.ac: Likewise.
7601 * sysdeps/i386/configure: Regenerated.
7602 * sysdeps/x86_64/configure: Likewise.
7603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7604 memset-avx2 only if config-cflags-avx2 is yes.
7605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7606 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7608 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7609 only if HAVE_AVX2_SUPPORT is defined.
7610 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7612 2014-07-14 Alan Modra <amodra@gmail.com>
7615 * elf/elf.h (DT_PPC64_NUM): Correct value.
7616 * NEWS: Add to fixed bug list.
7618 2014-07-13 Jim Meyering <meyering@fb.com>
7621 regex: don't deref NULL upon heap allocation failure
7622 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7623 failure in one more place.
7624 To trigger the segfault, configure grep -with-included-regex,
7625 build it, and run these commands:
7626 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7628 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7630 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7632 2014-07-11 Richard Henderson <rth@redhat.com>
7634 * sysdeps/aarch64/libm-test-ulps: Update.
7636 2014-07-10 Florian Weimer <fweimer@redhat.com>
7639 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7640 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7641 (__nptl_setxid): Initialize error member. Call
7642 __nptl_setxid_error.
7643 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7644 * nptl/descr.h (struct xid_command): Add error member.
7645 * nptl/tst-setuid3.c: New file.
7646 * nptl/Makefile (tests): Add it.
7648 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7650 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7652 (__lll_trylock): Use __lll_base_trylock.
7653 (__lll_cond_trylock): Likewise.
7655 2014-07-10 Roland McGrath <roland@hack.frob.com>
7657 * nptl/pthread_create.c (start_thread): Use atomic_or and
7658 lll_futex_wake directly rather than lll_robust_dead.
7659 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7660 (lll_robust_dead): Macro removed.
7661 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7662 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7663 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7664 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7665 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7666 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7667 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7668 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7669 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7670 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7671 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7672 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7673 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7674 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7675 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7677 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7678 Use atomic_compare_and_exchange_val_acq directly rather than
7680 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7681 (__lll_robust_trylock, lll_robust_trylock): Removed.
7682 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7683 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7684 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7685 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7686 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7687 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7688 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7689 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7690 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7691 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7692 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7693 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7694 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7695 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7697 2014-07-02 Florian Weimer <fweimer@redhat.com>
7699 * manual/locale.texi (Locale Names): New section documenting
7700 locale name syntax. Adjust menu and node chaining accordingly.
7701 (Choosing Locale): Reference Locale Names, Locale Categories.
7702 Mention setting LC_ALL=C. Reflect that name syntax is now
7704 (Locale Categories): New section title. Reference Locale Names.
7705 LC_ALL is an environment variable, but not a category.
7706 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7707 description, now in Locale Name. Reference that section. Locale
7708 name syntax is now documented.
7710 2014-07-02 Florian Weimer <fweimer@redhat.com>
7713 * locale/findlocale.c (name_present, valid_locale_name): New
7715 (_nl_find_locale): Use the loc_name variable to store name
7716 candidates. Call name_present and valid_locale_name to check and
7717 validate locale names. Return an error if the locale is invalid.
7719 2014-07-02 Florian Weimer <fweimer@redhat.com>
7721 * locale/setlocale.c (setlocale): Use strdup for allocating
7722 composite name copy.
7724 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7726 Sync up with gnulib.
7727 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7728 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7729 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7730 and _GL_ARG_NONNULL.
7731 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7732 [!_LIBC]: Include code for Windows and Cygwin.
7733 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7734 Include prototype for int strerror_r.
7735 [!_LIBC] (is_open): New function.
7736 (flush_stdout): New function.
7737 (print_errno_message): Use it.
7739 (error_at_line): Likewise.
7740 (error_tail) Add function attribute macros. Use
7743 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7745 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7747 * io/ftw.c: Include sys/param.h unconditionally.
7749 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7752 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7754 (freecache): New function to free CACHE on exit.
7756 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7759 2014-07-09 David S. Miller <davem@davemloft.net>
7761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7763 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7764 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7765 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7766 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7767 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7768 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7769 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7770 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7771 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7772 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7773 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7774 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7775 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7777 2014-07-09 Andreas Schwab <schwab@suse.de>
7779 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7781 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7782 (do_test): Likewise.
7784 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7786 2014-07-09 Will Newton <will.newton@linaro.org>
7788 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7789 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7790 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7791 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7792 * sysdeps/hppa/start.S (_start): Likewise.
7794 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7796 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7798 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7801 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7803 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7804 after checking that it is non-NULL.
7806 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7808 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7810 * sysdeps/powerpc/memmove.c: Remove file.
7811 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7812 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7813 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7814 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7815 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7816 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7817 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7818 string memmove instead of removed powerpc one.
7820 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7821 [weak_alias]: Fix compiler warning due trailing data.
7822 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7823 [weak_alias]: Likewise.
7824 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7825 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7827 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7828 (__libc_ifunc_impl_list): Add memmove functions.
7830 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7832 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7834 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7836 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7838 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7840 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7842 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7844 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7846 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7848 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7850 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7852 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7854 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7856 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7858 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7860 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7862 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7864 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7867 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7869 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7870 to avoid alignment traps in non-cacheable memory.
7871 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7875 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7876 file: multiarch power7 memmove.
7877 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7878 multiarch default memmove.
7879 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7880 multiarch memove for powerpc32/power4.
7882 * string/bcopy.c: Use full path to include memmove.c.
7883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7885 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7886 bcopy for powerpc64.
7887 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7888 bcopy for powerpc64.
7889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7890 and memmove implementations.
7891 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7892 optimized multiarch memmove for POWER7/powerpc64.
7893 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7894 default multiarch memmove for powerpc64.
7895 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7896 multiarch for powerpc64.
7897 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7898 for POWER7/powerpc64.
7899 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7900 memmove for POWER7/powerpc64.
7902 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7905 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7906 __ELF_NATIVE_CLASS equal to 64.
7908 2014-07-07 Roland McGrath <roland@hack.frob.com>
7910 * sysdeps/nptl/lowlevellock.h: File removed.
7912 * NEWS: NPTL is no longer an add-on!
7913 * nptl/internaltypes.h: Moved ...
7914 * sysdeps/nptl/internaltypes.h: ... here.
7915 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7916 * sysdeps/nptl/fork.c: Likewise.
7917 * sysdeps/nptl/gai_misc.h: Likewise.
7918 * sysdeps/nptl/librt-cancellation.c: Likewise.
7919 * sysdeps/nptl/jmp-unwind.c: Likewise.
7920 * sysdeps/nptl/setxid.h: Likewise.
7921 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7922 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7923 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7924 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7925 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7926 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7927 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7928 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7929 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7930 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7931 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7932 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7933 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7934 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7935 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7936 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7937 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7938 * nptl/Makeconfig: Moved ...
7939 * sysdeps/nptl/Makeconfig: ... here.
7940 * nptl/configure: File removed.
7941 * nptl/ANNOUNCE: File removed.
7942 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7943 * sysdeps/unix/sysv/linux/configure: Regenerated.
7945 * nptl/Makefile (routines): Add libc_pthread_init,
7946 libc_multiple_threads, register-atfork and unregister-atfork.
7947 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7948 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7949 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7950 pthread-pi-defines.sym, structsem.sym.
7951 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7952 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7953 [$(subdir) = nptl] (tests): Add tst-setgetname.
7954 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7955 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7956 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7957 [!LIBC_SIGACTION]: Remove aliases.
7958 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7959 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7960 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7961 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7962 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7963 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7964 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7965 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7966 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7967 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7968 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7969 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7970 __libc_allocate_rtsig_private.
7971 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7972 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7973 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7974 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7975 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7976 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7977 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7978 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7979 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7980 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7981 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7982 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7983 * nptl/internaltypes.h: ... here.
7984 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7985 * sysdeps/nptl/jmp-unwind.c: ... here.
7986 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7987 * nptl/libc-lowlevellock.c: ... here.
7988 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7989 * nptl/libc_multiple_threads.c: ... here.
7990 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7991 * nptl/libc_pthread_init.c: ... here.
7992 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7993 * nptl/lowlevelbarrier.sym: ... here.
7994 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7995 * nptl/lowlevelcond.sym: ... here.
7996 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7997 * nptl/lowlevellock.c: ... here.
7998 * nptl/lowlevellock.h: Moved ...
7999 * sysdeps/nptl/lowlevellock.h: ... here.
8000 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8001 * nptl/lowlevelrobustlock.c: ... here.
8002 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8003 * nptl/lowlevelrobustlock.sym: ... here.
8004 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8005 * nptl/lowlevelrwlock.sym: ... here.
8006 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8007 * nptl/pt-fork.c: ... here.
8008 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8009 * nptl/pthread-pi-defines.sym: ... here.
8010 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8011 * nptl/pthread_attr_getaffinity.c: ... here.
8012 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8013 * nptl/pthread_attr_setaffinity.c: ... here.
8014 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8015 * nptl/pthread_mutex_cond_lock.c: ... here.
8016 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8018 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8019 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8020 * nptl/pthread_once.c: ... here, replacing old file.
8021 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8022 * nptl/pthread_yield.c: ... here.
8023 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8024 * nptl/register-atfork.c: ... here.
8025 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8026 * nptl/sem_post.c: ... here.
8027 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8028 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8029 * nptl/sem_timedwait.c: ... here.
8030 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8031 * nptl/sem_trywait.c: ... here.
8032 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8033 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8034 * nptl/sem_wait.c: ... here.
8035 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8036 * nptl/structsem.sym: ... here.
8037 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8038 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8039 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8040 * nptl/unregister-atfork.c: ... here.
8041 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8042 * nptl/unwindbuf.sym: ... here.
8043 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8044 * sysdeps/nptl/fork.c: ... here.
8045 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8046 * sysdeps/nptl/fork.h: ... here.
8047 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8048 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8049 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8050 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8051 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8052 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8053 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8054 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8055 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8056 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8057 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8058 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8059 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8060 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8061 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8062 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8063 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8064 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8065 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8066 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8067 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8068 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8069 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8070 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8071 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8072 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8073 * sysdeps/unix/sysv/linux/raise.c: ... here.
8074 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8075 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8076 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8077 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8078 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8079 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8080 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8081 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8082 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8083 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8084 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8085 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8086 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8087 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8088 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8090 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8092 * sysdeps/generic/memcopy.h: Add comment for
8093 MEMCPY_OK_FOR_FWD_MEMMOVE.
8095 2014-07-04 Will Newton <will.newton@linaro.org>
8097 * string/memchr.c: Merge from gnulib.
8098 [_LIBC]: Remove conditionals.
8099 (__ptr_t): Remove define.
8100 (LONG_MAX_32_BITS): Likewise.
8101 (LONG_MAX): Likewise.
8102 (MEMCHR): Use ANSI prototype and optimize algorithm.
8104 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8106 2014-07-03 Roland McGrath <roland@hack.frob.com>
8108 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8109 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8111 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8112 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8113 in a bare environment with no <stdlib.h> installed.
8114 * sysdeps/nptl/configure: Regenerated.
8116 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8118 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8119 AC_EGREP_CPP for kernel header checks, so they only succeed if
8120 including <linux/version.h> actually works right.
8121 * sysdeps/unix/sysv/linux/configure: Regenerated.
8123 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8124 value so it's not diagnosed as unused.
8126 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8127 thing) with "ifeq ($(subdir),rt)".
8129 2014-07-03 Richard Henderson <rth@redhat.com>
8131 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8132 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8133 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8135 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8136 (math_force_eval): New.
8138 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8139 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8141 * sysdeps/alpha/fpu/s_round.c: Remove file.
8142 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8144 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8145 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8146 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8147 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8148 (_dl_start, print_statistics): Likewise.
8149 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8150 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8152 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8153 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8154 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8155 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8156 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8157 (HP_SMALL_TIMING_AVAIL): Define.
8158 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8159 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8160 (HP_SMALL_TIMING_AVAIL): Define.
8161 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8162 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8164 * sysdeps/aarch64/hp-timing.h: New file.
8166 * sysdeps/generic/hp-timing.h: Remove dead comment.
8167 * sysdeps/generic/hp-timing-common.h: New file.
8168 * sysdeps/alpha/hp-timing.h: Include it.
8169 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8170 * sysdeps/i386/i686/hp-timing.h: Likewise.
8171 * sysdeps/ia64/hp-timing.h: Likewise.
8172 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8173 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8174 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8175 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8176 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8177 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8180 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8181 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8182 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8183 * elf/rtld.c (_dl_start_final): Likewise.
8184 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8185 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8186 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8187 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8188 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8189 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8190 (HP_TIMING_DIFF_INIT): Remove.
8191 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8192 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8193 (HP_TIMING_DIFF_INIT): Remove.
8194 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8195 * sysdeps/i386/i686/hp-timing.c: Remove file.
8196 * sysdeps/x86_64/hp-timing.c: Remove file.
8197 * sysdeps/ia64/hp-timing.c: Remove file.
8198 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8199 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8200 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8201 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8203 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8204 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8205 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8206 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8207 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8208 (HP_TIMING_ACCUM): Remove.
8209 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8210 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8211 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8213 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8214 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8215 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8216 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8217 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8218 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8219 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8220 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8222 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8224 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8226 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8228 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8230 Sync up with gettext.
8231 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8232 [_MSC_VER]: Include malloc.h
8233 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8234 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8235 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8236 TEMP_FAILURE_RETRY. Cast return of alloca.
8237 [!_LIBC] Call gl_rwlock_init.
8238 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8240 2014-07-02 Roland McGrath <roland@hack.frob.com>
8242 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8243 before checking its value.
8245 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8247 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8249 * debug/memcpy_chk.c: Don't include pagecopy.h.
8250 * debug/mempcpy_chk.c: Likewise.
8251 * string/memcpy.c: Likewise.
8252 * string/memmove.c: Likewise.
8253 * sysdeps/powerpc/memmove.c: Likewise.
8254 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8255 definition of PAGE_COPY_FWD_MAYBE here...
8256 * sysdeps/generic/pagecopy.h: ... from here.
8257 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8259 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8260 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8262 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8266 (__libc_ifunc_impl_list): Likewise.
8267 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8268 multiarch strcat for PPC64.
8269 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8270 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8272 2014-07-02 Roland McGrath <roland@hack.frob.com>
8274 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8276 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8278 * intl/loadmsgcat.c: Remove declaration of
8279 get_sysdep_segment_value.
8280 (get_sysdep_segment_value): Use ISO C style.
8281 (_nl_load_domain): Use ISO C style. Get rid of redundant
8282 semicolon. Fix typo and formatting in comment.
8283 (_nl_unload_domain): Use ISO C style.
8285 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8287 2014-07-02 Will Newton <will.newton@linaro.org>
8289 * malloc/obstack.c: Merge from gnulib master.
8290 [HAVE_CONFIG_H]: Remove conditional code.
8291 [!_LIBC]: Include config.h.
8292 [!ELIDE_CODE]: Don't include inttypes.h, include
8293 stdint.h unconditionally.
8294 (print_and_abort): Mark as _Noreturn.
8295 (_obstack_allocated_p): Mark as __attribute_pure__.
8296 (obstack_free): Rename to __obstack_free.
8297 [!__attribute__]: Remove conditional code.
8298 * malloc/obstack.h: Merge from gnulib master.
8299 [__cplusplus]: Move conditional down.
8300 [!__attribute_pure__]: Define __attribute_pure__ here
8301 if it is not already defined.
8302 (_obstack_memory_used): Mark as __attribute_pure__.
8303 [!__obstack_free]: Define as obstack_free.
8304 [__GNUC__]: Remove check for ancient NeXT gcc.
8306 2014-07-02 Will Newton <will.newton@linaro.org>
8307 Paul Eggert <eggert@cs.ucla.edu>
8309 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8311 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8313 * resolv/gethnamaddr.c: Add comment warning that the file is
8316 2014-07-01 Carlos O'Donell <carlos@redhat.com>
8318 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8321 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8322 entry for aio_cancel and aio_cancel64.
8323 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8324 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8325 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8326 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8327 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8328 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8329 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8330 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8331 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8332 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8333 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8334 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8335 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8337 2014-07-01 Roland McGrath <roland@hack.frob.com>
8339 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8340 * nptl/pthread_mutex_lock.c: Likewise.
8341 * nptl/pthread_mutex_timedlock.c: Likewise.
8342 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8344 2014-07-01 Richard henderson <rth@redhat.com>
8346 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8347 (__isnan, __isnanl): Remove.
8348 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8350 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8352 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8354 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8356 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8358 * resolv/nss_dns/dns-host.c (getanswer_r)
8359 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8361 2014-07-01 Joseph Myers <joseph@codesourcery.com>
8363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8364 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8366 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8367 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8369 2014-07-01 Roland McGrath <roland@hack.frob.com>
8371 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8372 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8374 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8375 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8377 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8378 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8380 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8381 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8383 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8384 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8385 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8386 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8388 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8389 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8390 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8391 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8392 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8394 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8396 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8397 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8398 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8399 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8400 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8401 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8402 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8403 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8404 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8405 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8406 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8407 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8408 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8409 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8410 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8411 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8412 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8413 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8414 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8415 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8417 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8418 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8419 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8420 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8421 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8422 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8423 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8424 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8426 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8428 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8429 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8430 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8433 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8437 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8439 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8440 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8442 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8444 * sysdeps/arm/libm-test-ulps: Regenerated.
8446 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8447 Roland McGrath <roland@hack.frob.com>
8449 * test-skeleton.c (signal_handler): Kill the whole process group
8450 before killing the child individually.
8451 (main): Report any failure on `setpgid'.
8453 2014-06-30 Roland McGrath <roland@hack.frob.com>
8455 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8456 from _TLS_H to _ARM_NPTL_TLS_H.
8457 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8458 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8460 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8463 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8464 (__expm1l): Return argument unchanged when small but not
8467 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8469 (_FP_UNPACK_RAW_1_P): Likewise.
8470 (_FP_PACK_RAW_1): Likewise.
8471 (_FP_PACK_RAW_1_P): Likewise.
8472 (_FP_MUL_MEAT_1_wide): Likewise.
8473 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8474 (_FP_MUL_MEAT_1_hard): Likewise.
8475 (_FP_DIV_MEAT_1_imm): Likewise.
8476 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8477 (_FP_DIV_MEAT_1_udiv): Likewise.
8478 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8479 (_FP_UNPACK_RAW_2): Likewise.
8480 (_FP_UNPACK_RAW_2_P): Likewise.
8481 (_FP_PACK_RAW_2): Likewise.
8482 (_FP_PACK_RAW_2_P): Likewise.
8483 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8484 (_FP_MUL_MEAT_2_wide): Likewise.
8485 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8486 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8487 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8488 (_FP_MUL_MEAT_2_gmp): Likewise.
8489 (_FP_DIV_MEAT_2_udiv): Likewise.
8490 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8491 (_FP_FRAC_SRL_4): Likewise.
8492 (_FP_FRAC_SRST_4): Likewise.
8493 (_FP_FRAC_SRS_4): Likewise.
8494 (_FP_UNPACK_RAW_4): Likewise.
8495 (_FP_UNPACK_RAW_4_P): Likewise.
8496 (_FP_PACK_RAW_4): Likewise.
8497 (_FP_PACK_RAW_4_P): Likewise.
8498 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8499 (_FP_MUL_MEAT_4_wide): Likewise.
8500 (_FP_MUL_MEAT_4_gmp): Likewise.
8501 (umul_ppppmnnn): Likewise.
8502 (_FP_DIV_MEAT_4_udiv): Likewise.
8503 (__FP_FRAC_ADD_4): Likewise.
8504 (__FP_FRAC_SUB_3): Likewise.
8505 (__FP_FRAC_SUB_4): Likewise.
8506 (__FP_FRAC_DEC_3): Likewise.
8507 (__FP_FRAC_DEC_4): Likewise.
8508 (__FP_FRAC_ADDI_4): Likewise.
8509 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8510 (_FP_FRAC_SRL_8): Likewise.
8511 (_FP_FRAC_SRS_8): Likewise.
8513 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8515 (FP_UNPACK_RAW_EP): Likewise.
8516 (FP_PACK_RAW_E): Likewise.
8517 (FP_PACK_RAW_EP): Likewise.
8518 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8519 (_FP_ISSIGNAN): Likewise.
8520 (_FP_ADD_INTERNAL): Likewise.
8521 (_FP_FMA): Likewise.
8522 (_FP_CMP): Likewise.
8523 (_FP_SQRT): Likewise.
8524 (_FP_TO_INT): Likewise.
8525 (_FP_FROM_INT): Likewise.
8526 (FP_EXTEND): Likewise.
8527 (_FP_DIV_MEAT_N_loop): Likewise.
8529 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8531 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8534 2014-06-29 Joseph Myers <joseph@codesourcery.com>
8537 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8538 result with correct sign in case of exponents that produce
8539 overflow except for X very close to 1.
8541 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8543 mktime: merge #if/#ifdef usage from glibc
8544 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8545 as that works with both Glibc's and Gnulib's style.
8546 See thread starting at Siddhesh Poyarekar's bug report at:
8547 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8549 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8551 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8552 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8553 * sysdeps/tile/tilegx/memmove.c: Remove file.
8555 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8557 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8558 abi-name definition.
8559 * scripts/soversions.awk: Do not handle or generate ABI lines.
8560 * shlib-versions: Remove ABI entries.
8561 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8562 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8564 2014-06-27 Roland McGrath <roland@hack.frob.com>
8566 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8567 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8568 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8569 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8570 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8571 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8572 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8574 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8576 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8577 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8579 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8580 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8581 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8582 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8583 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8584 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8585 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8586 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8587 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8588 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8590 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8591 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8592 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8593 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8594 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8597 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8600 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8601 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8602 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8603 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8605 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8606 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8607 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8608 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8609 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8610 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8611 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8612 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8614 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8615 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8616 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8619 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8620 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8622 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8623 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8624 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8625 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8627 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8629 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8630 Identical file removed.
8631 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8633 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8634 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8635 Identical file removed.
8636 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8637 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8638 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8640 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8641 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8642 Identical file removed.
8643 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8644 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8645 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8646 Identical file removed.
8647 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8648 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8649 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8650 Identical file removed.
8651 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8652 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8653 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8654 Identical file removed.
8655 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8657 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8658 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8659 Identical file removed.
8660 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8662 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8663 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8664 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8665 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8666 Identical file removed.
8667 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8669 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8671 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8672 Identical file removed.
8673 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8675 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8676 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8677 Identical file removed.
8678 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8680 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8681 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8682 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8683 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8684 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8685 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8687 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8688 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8689 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8691 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8692 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8693 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8694 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8695 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8697 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
8700 * nscd/nscd.c (monitor_child): Return exit status of child
8701 instead of return value from wait syscall.
8703 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8705 * configure.ac (libc_commonpagesize): Remove variable.
8706 (libc_relro_required): Likewise.
8707 (libc_cv_z_relro): Remove configure test.
8708 * configure: Regenerated.
8709 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8711 (libc_relro_required): Likewise.
8712 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8713 (libc_relro_required): Likewise.
8714 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8715 (libc_relro_required): Likewise.
8716 * sysdeps/arm/preconfigure: Regenerated.
8717 * sysdeps/ia64/preconfigure: Remove file.
8718 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8720 (libc_relro_required): Likewise.
8724 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8725 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8726 recompute overflowing results in original rounding mode.
8727 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8728 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8729 recompute overflowing results in original rounding mode.
8730 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8731 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8732 recompute overflowing results in original rounding mode.
8733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8734 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8735 recompute overflowing results in original rounding mode.
8736 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8737 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8738 recompute overflowing results in original rounding mode.
8739 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8740 (libc_feholdsetround_ctx): New macro.
8741 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8742 * sysdeps/i386/fpu/libm-test-ulps: Update.
8743 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8745 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8747 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8748 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8749 corresponding .cpsetup call.
8751 2014-06-26 Roland McGrath <roland@hack.frob.com>
8753 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8754 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8755 * sysdeps/arm/Makefile [$(subdir) = csu]
8756 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8757 (static-only-routines): Add aeabi_read_tp here.
8758 (shared-only-routines): Add libc-aeabi_read_tp here.
8759 (CFLAGS-libc-start.c): Add -fexceptions here.
8760 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8761 (sysdep_routines, static-only-routines, shared-only-routines):
8762 Don't add to these here.
8763 (CFLAGS-libc-start.c): Likewise.
8765 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8766 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8767 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8768 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8769 * sysdeps/arm/Makefile [$(subdir) = rt]
8770 (librt-sysdep_routines, librt-shared-only-routines):
8771 Append rt-aeabi_unwind_cpp_pr1 here.
8772 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8773 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8774 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8775 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8776 Append nptl-aeabi_unwind_cpp_pr1 here.
8777 (tests): Filter out tst-cleanupx4 here.
8778 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8779 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8780 Don't do those here.
8782 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8784 * scripts/list-sources.sh: Do not handle ports specially.
8786 2014-06-26 Roland McGrath <roland@hack.frob.com>
8788 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8789 * sysdeps/arm/feupdateenv.c: Likewise.
8791 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8793 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8795 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8796 trailing whitespace removed.
8797 * scripts/config.guess: Update to version 2014-03-23.
8798 * scripts/config.sub: Update to version 2014-05-01
8799 * scripts/install-sh: Update to version 2013-12-25.23.
8800 * scripts/move-if-change: Update from gnulib.
8802 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8804 * debug/memmove_chk.c: Remove pagecopy.h include.
8806 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8808 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8809 identical to gnulib mktime.
8811 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8813 * configure.ac: Do not test for machine being rs6000. Do not test
8815 * configure: Regenerated.
8817 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8819 * configure: Regenerated.
8820 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8821 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8822 Remove configure test.
8823 * sysdeps/arm/configure: Regenerated.
8824 * sysdeps/nptl/configure.ac: Do not check
8825 libc_cv_asm_cfi_directives.
8826 * sysdeps/nptl/configure: Regenerated.
8827 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8828 * sysdeps/x86_64/nptl/configure: Remove generated file.
8829 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8831 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8833 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8835 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8836 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8837 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8840 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8841 instead of whether it is defined.
8842 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8843 * sysdeps/hppa/dl-machine.h: Likewise.
8844 * sysdeps/ia64/dl-machine.h: Likewise.
8845 * sysdeps/m68k/dl-machine.h: Likewise.
8846 * sysdeps/microblaze/dl-machine.h: Likewise.
8847 * sysdeps/mips/dl-machine.: Likewise.
8848 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8849 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8850 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8851 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8852 * sysdeps/sh/dl-machine.h: Likewise.
8853 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8854 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8855 * sysdeps/tile/dl-machine.h: Likewise.
8856 * sysdeps/x86_64/dl-machine.h: Likewise.
8858 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8860 (verify_persistent_db): Likewise.
8862 2014-06-26 Roland McGrath <roland@hack.frob.com>
8864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8865 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8867 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8870 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8873 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8875 Identical file removed.
8876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8877 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8879 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8881 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8883 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8885 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8888 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8890 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8892 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8895 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8897 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8899 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8901 Identical file removed.
8902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8903 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8905 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8908 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8911 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8913 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8915 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8917 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8919 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8922 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8925 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8927 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8930 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8932 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8934 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8936 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8937 * sysdeps/unix/sysv/linux/s390/Versions
8938 (libpthread: GLIBC_2.19): New version set.
8939 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8940 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8941 (librt: GLIBC_2.3.3): New version set.
8942 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8943 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8944 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8945 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8946 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8947 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8948 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8949 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8950 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8951 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8952 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8953 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8954 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8955 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8956 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8957 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8958 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8959 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8960 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8961 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8962 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8963 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8964 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8965 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8966 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8968 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8970 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8971 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8972 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8973 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8974 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8976 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8977 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8978 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8979 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8980 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8981 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8982 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8983 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8984 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8985 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8986 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8988 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8989 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8990 (__libc_vfork): Define the function under this name.
8991 [!NOT_IN_libc] (__vfork): Make this an alias.
8992 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8993 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8994 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8995 (__libc_vfork): Define the function under this name.
8996 [!NOT_IN_libc] (__vfork): Make this an alias.
8997 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8998 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8999 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9000 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9001 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9002 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9004 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9005 code that was previously under [RESET_PID].
9006 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9007 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9008 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9010 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9011 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9012 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9013 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9014 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9015 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9016 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9017 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9018 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9019 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9020 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9022 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9023 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9024 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9025 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9026 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9027 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9028 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9029 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9030 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9031 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9032 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9033 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9034 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9035 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9036 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9037 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9038 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9039 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9040 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9041 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9042 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9043 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9044 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9045 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9046 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9047 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9048 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9049 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9050 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9052 2014-06-25 Roland McGrath <roland@hack.frob.com>
9054 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9055 that was previously under [RESET_PID].
9056 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9058 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9060 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9061 not undefine and redefine.
9062 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9063 [O_CLOEXEC]: Make code unconditional.
9064 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9065 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9066 <kernel-features.h>.
9067 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9068 conditional variable definition.
9069 (shm_open) [O_CLOEXEC]: Make code unconditional.
9070 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9073 * configure.ac (USE_REGPARMS): Don't define here.
9074 * configure: Regenerated.
9075 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9076 * sysdeps/i386/configure: Regenerated.
9078 * nptl/createthread.c: Don't include kernel-features.h.
9079 * nptl/pthread_cancel.c: Likewise.
9080 * nptl/pthread_condattr_setclock.c: Likewise.
9081 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9082 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9083 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9084 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9085 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9086 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9087 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9088 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9089 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9090 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9091 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9092 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9093 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9094 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9095 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9096 * nscd/gai.c: Likewise.
9097 * nss/nss_db/db-open.c: Likewise.
9098 * sysdeps/generic/ldsodefs.h: Likewise.
9099 * sysdeps/sh/nptl/tls.h: Likewise.
9100 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9101 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9102 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9103 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9104 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9105 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9106 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9107 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9108 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9109 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9110 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9111 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9112 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9113 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9114 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9115 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9116 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9117 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9118 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9119 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9120 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9121 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9122 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9123 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9124 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9125 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9126 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9127 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9128 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9129 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9130 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9131 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9132 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9133 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9134 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9135 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9136 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9137 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9138 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9139 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9140 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9141 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9142 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9143 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9144 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9145 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9146 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9147 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9148 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9149 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9150 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9151 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9152 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9153 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9154 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9155 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9156 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9157 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9180 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9181 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9182 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9183 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9184 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9185 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9186 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9187 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9188 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9189 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9190 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9191 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9192 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9193 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9194 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9195 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9196 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9197 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9198 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9199 * sysdeps/unix/sysv/linux/system.c: Likewise.
9200 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9201 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9202 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9203 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9204 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9205 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9206 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9208 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9209 * configure: Regenerated.
9210 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9212 * configure.ac (base_machine): Do not set specially for particular
9214 * configure: Regenerated.
9215 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9216 settings from configure.ac.
9217 * sysdeps/i386/preconfigure: New file.
9218 * sysdeps/s390/preconfigure: Likewise.
9219 * sysdeps/sh/preconfigure: Likewise.
9220 * sysdeps/sparc/preconfigure: Likewise.
9222 2014-06-25 Roland McGrath <roland@hack.frob.com>
9224 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9225 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9226 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9227 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9228 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9229 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9230 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9231 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9232 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9233 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9234 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9235 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9236 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9237 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9238 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9239 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9240 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9241 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9242 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9244 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9245 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9246 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9247 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9248 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9249 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9250 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9251 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9252 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9253 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9254 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9255 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9256 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9257 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9258 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9259 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9260 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9261 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9262 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9263 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9264 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9265 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9266 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9267 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9268 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9269 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9270 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9271 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9272 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9273 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9274 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9275 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9276 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9277 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9278 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9279 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9280 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9281 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9284 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9286 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9289 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9292 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9294 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9297 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9299 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9301 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9303 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9306 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9309 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9311 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9314 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9316 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9318 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9320 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9322 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9325 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9328 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9330 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9333 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9335 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9337 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9339 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9342 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9345 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9347 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9350 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9352 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9354 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9356 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9358 * timezone/checktab.awk: Update from tzcode 2014e.
9359 * timezone/private.h: Likewise.
9360 * timezone/tzfile.h: Likewise.
9361 * timezone/zdump.c: Likewise.
9362 * timezone/zic.c: Likewise.
9364 * sysdeps/unix/sysv/linux/kernel-features.h
9365 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9366 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9367 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9368 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9369 Remove conditional code.
9371 2014-06-25 Will Newton <will.newton@linaro.org>
9373 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9374 (_dl_arm_cap_flags): Add HWCAP2 values.
9375 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9376 (_DL_HWCAP_COUNT): Increase to 37.
9377 (_DL_HWCAP_LAST): New define.
9378 (_DL_HWCAP2_LAST): New define.
9379 (_dl_procinfo): Add support for printing
9381 (_dl_string_hwcap): Use _dl_hwcap_string.
9383 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9387 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9389 * README: Do not mention ports directory.
9391 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9393 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9394 <kernel-features.h>.
9395 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9396 conditional variable definition.
9397 (__futimes): Update comment.
9398 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9399 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9402 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9403 arguments close to 0.
9404 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9406 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9408 * math/auto-libm-test-in: Add more tests of exp10.
9409 * math/auto-libm-test-out: Regenerated.
9410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9412 * sysdeps/unix/sysv/linux/kernel-features.h
9413 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9414 * sysdeps/unix/sysv/linux/readv.c: Do not include
9415 <kernel-features.h>.
9416 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9417 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9418 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9420 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9422 * sysdeps/unix/sysv/linux/writev.c: Do not include
9423 <kernel-features.h>.
9424 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9425 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9426 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9428 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9431 2014-06-25 Will Newton <will.newton@linaro.org>
9433 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9434 comment changes throughout the file. Remove checks
9435 for HAVE_*_H definitions that are not required.
9436 (__gen_tempname): Call abort if an unknown kind value is
9439 2014-06-25 Andreas Schwab <schwab@suse.de>
9442 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9443 scalbln, scalblnf, scalblnl in libc.
9445 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9448 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9449 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9450 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9452 2014-06-24 Roland McGrath <roland@hack.frob.com>
9454 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9455 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9456 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9457 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9459 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9460 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9462 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9463 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9464 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9465 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9466 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9467 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9468 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9469 * sysdeps/x86/bits/semaphore.h: ... here.
9470 * sysdeps/x86/nptl/elide.h: Moved ...
9471 * sysdeps/x86/elide.h: ... here.
9472 * sysdeps/x86_64/nptl/Implies: File removed.
9473 * sysdeps/i386/nptl/Implies: File removed.
9475 2014-06-24 Joseph Myers <joseph@codesourcery.com>
9478 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9479 return the argument for normal arguments with exponent below -64.
9480 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9482 * math/auto-libm-test-in: Add another test of expm1.
9483 * math/auto-libm-test-out: Regenerated.
9486 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9487 calling __erfcl for arguments at least 16.
9488 * math/auto-libm-test-in: Add more tests of erf.
9489 * math/auto-libm-test-out: Regenerated.
9491 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9492 individual architectures.
9493 * sysdeps/unix/sysv/linux/configure: Regenerated.
9494 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9495 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9496 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9497 (ldd_rewrite_script): Define variable.
9498 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9503 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9504 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9505 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9506 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9507 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9508 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9509 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9510 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9512 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9515 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9516 Rename member __data.d to __data.__elision_data.
9518 2014-06-24 Wilco <wdijkstr@arm.com>
9520 * NEWS: Add 16918 to fixed bug list.
9522 2014-06-24 Wilco <wdijkstr@arm.com>
9524 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9526 2014-06-24 Wilco <wdijkstr@arm.com>
9528 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9529 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9530 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9531 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9532 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9533 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9534 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9537 2014-06-24 Wilco <wdijkstr@arm.com>
9539 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9541 2014-06-24 Wilco <wdijkstr@arm.com>
9543 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9544 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9545 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9546 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9548 2014-06-24 Wilco <wdijkstr@arm.com>
9551 * sysdeps/arm/feupdateenv.c (feupdateenv):
9552 Rewrite to reduce FPSCR accesses and fix return value.
9554 2014-06-24 Wilco <wdijkstr@arm.com>
9556 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9557 Optimize to avoid unnecessary FPSCR writes.
9558 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9559 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9560 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9561 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9563 2014-06-24 Wilco <wdijkstr@arm.com>
9565 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9566 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9567 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9568 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9569 Call libc_fetestexcept_vfp.
9570 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9571 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9572 __SOFTFP__ ifdef so that they can be built for softfp.
9574 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9576 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9577 argument type signed char.
9579 * Makerules (check-abi): Dump diff of symlist if the test
9582 2014-06-23 Roland McGrath <roland@hack.frob.com>
9584 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9587 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9588 Remove unused variable ST.
9590 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9594 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9595 small arguments before calling __expm1.
9596 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9597 small arguments before calling __expm1f.
9598 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9599 small arguments before calling __expm1l.
9600 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9602 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9603 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9604 spurious underflow for some cosh tests.
9605 * math/auto-libm-test-out: Regenerated.
9606 * sysdeps/i386/fpu/libm-test-ulps: Update.
9609 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9610 (__ieee754_y1): Set errno if return value overflows.
9611 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9612 (__ieee754_y1f): Set errno if return value overflows.
9613 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9614 (__ieee754_y1l): Set errno if return value overflows.
9615 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9616 (__ieee754_y1l): Set errno if return value overflows.
9617 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9618 * math/auto-libm-test-out: Regenerated.
9620 * math/gen-auto-libm-tests.c: Document use of
9621 ignore-zero-inf-sign.
9622 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9623 (input_flags): Add ignore-zero-inf-sign.
9624 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9625 * math/gen-libm-test.pl (generate_testfile): Handle
9626 ignore-zero-inf-sign.
9627 * math/auto-libm-test-in: Mark some cpow tests with
9628 ignore-zero-inf-sign and some with xfail-rounding.
9629 * math/auto-libm-test-out: Regenerated.
9630 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9631 * sysdeps/i386/fpu/libm-test-ulps: Update.
9632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9635 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9636 overflowing or underflowing operations take place with sign of
9638 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9639 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9640 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9641 (__ieee754_pow): Recompute overflowing and underflowing results in
9642 original rounding mode.
9643 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9644 (__powl_helper): Allow negative argument X and scale negated value
9645 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9646 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9647 overflowing or underflowing operations take place with sign of
9649 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9651 * math/auto-libm-test-in: Add more tests of pow.
9652 * math/auto-libm-test-out: Regenerated.
9653 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9654 (pow_tonearest_test_data): Remove.
9655 (pow_test_tonearest): Likewise.
9656 (pow_towardzero_test_data): Likewise.
9657 (pow_test_towardzero): Likewise.
9658 (pow_downward_test_data): Likewise.
9659 (pow_test_downward): Likewise.
9660 (pow_upward_test_data): Likewise.
9661 (pow_test_upward): Likewise.
9662 (main): Don't call removed functions.
9663 * sysdeps/i386/fpu/libm-test-ulps: Update.
9664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9666 2014-06-23 Roland McGrath <roland@hack.frob.com>
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9842 2014-06-23 Will Newton <will.newton@linaro.org>
9843 Wilco <wdijkstr@arm.com>
9845 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9846 implementation. Include get-rounding-mode.h.
9847 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9848 [!libc_feholdsetround_noex_ctx]: Define
9849 libc_feholdsetround_noex_ctx.
9850 [!libc_feholdsetround_noexf_ctx]: Define
9851 libc_feholdsetround_noexf_ctx.
9852 [!libc_feholdsetround_noexl_ctx]: Define
9853 libc_feholdsetround_noexl_ctx.
9854 (libc_feholdsetround_ctx): New function.
9855 (libc_feresetround_ctx): New function.
9856 (libc_feholdsetround_noex_ctx): New function.
9857 (libc_feresetround_noex_ctx): New function.
9859 2014-06-23 Roland McGrath <roland@hack.frob.com>
9861 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9862 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9863 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9864 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9865 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9866 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9868 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9869 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9870 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9871 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9872 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9873 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9874 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9875 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9876 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9877 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9878 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9880 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9882 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9883 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9884 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9885 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9886 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9888 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9889 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9890 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9891 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9892 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9893 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9894 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9897 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9898 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9900 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9901 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9902 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9903 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9905 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9906 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9907 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9908 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9909 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9910 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9911 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9912 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9913 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9914 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9916 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9918 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9919 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9920 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9921 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9922 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9923 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9924 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9925 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9926 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9927 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9928 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9929 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9930 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9932 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9933 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9934 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9935 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9936 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9939 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9940 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9941 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9942 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9943 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9945 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9946 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9947 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9948 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9949 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9950 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9951 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9952 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9954 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9955 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9956 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9957 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9958 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9959 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9960 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9961 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9962 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9963 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9964 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9966 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9970 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9974 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9977 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9978 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9979 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9980 (IPV6_PMTUDISC_INTERFACE): Likewise.
9981 (IPV6_PMTUDISC_OMIT): Likewise.
9983 2014-06-23 Andreas Schwab <schwab@suse.de>
9985 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9986 Remove unused errout label.
9988 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9990 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9991 macro: hardware supports Vector Crypto instructions.
9993 2014-06-23 Will Newton <will.newton@linaro.org>
9995 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9996 rather than __builtin_expect.
9998 * elf/dl-lookup.c (undefined_msg): Remove variable.
9999 (_dl_lookup_symbol_x): Replace undefined_msg with string
10002 * elf/dl-lookup.c (do_lookup_unique): New function.
10003 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10004 to a separate function.
10006 2014-06-23 Andreas Schwab <schwab@suse.de>
10009 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10010 before reading the next line.
10012 2014-06-23 Will Newton <will.newton@linaro.org>
10014 * test-skeleton.c (signal_handler): Use printf and %m
10015 rather than perror. Use printf rather than fprintf to
10016 stderr. Use puts rather than fputs to stderr.
10019 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10021 * nscd/nscd.c (thread_info_t): Remove typedef.
10022 (thread_info): Remove variable.
10024 2014-06-21 Allan McRae <allan@archlinux.org>
10026 * NEWS: Mention CVE-2014-4043.
10028 2014-06-20 Roland McGrath <roland@hack.frob.com>
10030 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10031 * nptl/smp.h: ... here.
10033 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10035 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10036 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10037 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10038 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10040 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10041 * nptl/stack-aliasing.h: New file.
10042 * sysdeps/i386/i686/stack-aliasing.h: New file.
10043 * sysdeps/i386/i686/nptl/Makefile: File removed.
10044 * sysdeps/x86_64/stack-aliasing.h: New file.
10045 * sysdeps/x86_64/nptl/Makefile
10046 (CFLAGS-pthread_create.c): Variable removed.
10048 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10049 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10051 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10052 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10055 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10057 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10058 (__ASSUME_SIGFRAME_V2): Remove macro.
10059 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10060 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10061 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10062 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10063 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10064 Declare as function. Remove conditional macro definitions.
10065 (__default_rt_sa_restorer): Likewise.
10066 (__default_sa_restorer_v1): Remove declaration.
10067 (__default_sa_restorer_v2): Likewise.
10068 (__default_rt_sa_restorer_v1): Likewise.
10069 (__default_rt_sa_restorer_v2): Likewise.
10070 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10071 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10072 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10074 2014-06-20 Roland McGrath <roland@hack.frob.com>
10076 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10077 (libpthread-routines): Add sysdep.
10078 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10079 * sysdeps/unix/sysv/linux/sparc/Versions
10080 (libpthread: GLIBC_2.3.3): New version set.
10081 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10082 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10083 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10084 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10085 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10086 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10088 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10089 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10090 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10091 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10092 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10093 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10094 * sysdeps/sparc/nptl/sem_init.c: ... here.
10095 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10096 * sysdeps/sparc/nptl/sem_post.c: ... here.
10097 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10098 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10099 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10100 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10101 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10102 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10103 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10104 (libpthread-routines): Add cpu_relax.
10105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10107 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10108 (librt: GLIBC_2.3.3): New version set.
10109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10110 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10111 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10112 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10115 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10118 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10120 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10122 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10124 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10126 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10129 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10133 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10137 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10141 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10145 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10149 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10152 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10158 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10160 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10163 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10165 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10167 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10169 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10171 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10172 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10173 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10174 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10175 * nscd/nscd.c: Likewise.
10176 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10177 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10178 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10179 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10181 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10182 <kernel-features.h>.
10183 (init_mq_netlink): Remove conditional have_sock_cloexec
10184 definitions. Remove code conditional on have_sock_cloexec < 0.
10185 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10186 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10187 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10188 <kernel-features.h>.
10189 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10190 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10192 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10195 Add tests for memset_chk and memset.
10197 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10200 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10203 * elf/tst-dl-iter-static.c: New file.
10204 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10206 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10209 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10211 * sysdeps/unix/sysv/linux/kernel-features.h
10212 (__ASSUME_F_GETOWN_EX): Remove macro.
10213 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10214 <kernel-features.h>.
10215 (miss_F_GETOWN_EX): Remove variable or macro.
10216 (do_fcntl): Do not check miss_F_GETOWN_EX.
10217 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10219 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10222 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10223 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10225 * sysdeps/unix/sysv/linux/kernel-features.h
10226 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10227 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10228 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10229 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10231 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10234 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10235 Fix calculation of the symbol's value.
10236 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10237 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10238 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10239 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10240 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10241 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10242 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10243 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10244 (modules-names): Add `tst-armtlsdescmod',
10245 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10246 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10247 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10248 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10249 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10250 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10251 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10252 ($(objpfx)tst-armtlsdescloc): New dependency.
10253 ($(objpfx)tst-armtlsdescextnow): Likewise.
10254 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10255 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10256 TLS scheme support.
10257 * sysdeps/arm/configure: Regenerate.
10259 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10261 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10262 (__atfct_seterrno_2): Likewise.
10263 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10264 <kernel-features.h>.
10265 (__ASSUME_ATFCTS): Do not undefine and redefine.
10266 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10267 (__have_atfcts): Remove conditional definition.
10268 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10269 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10270 unreachable if [__ASSUME_ATFCTS].
10271 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10272 not undefine and redefine.
10273 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10274 <kernel-features.h>.
10275 (faccessat) [__NR_faccessat]: Make code unconditional.
10276 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10277 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10278 <kernel-features.h>.
10279 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10280 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10281 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10282 <kernel-features.h>.
10283 (fchownat) [__NR_fchownat]: Make code unconditional.
10284 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10285 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10286 <kernel-features.h>.
10287 (futimesat) [__NR_futimesat]: Make code unconditional.
10288 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10289 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10290 <kernel-features.h>.
10291 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10292 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10293 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10294 <kernel-features.h>.
10295 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10296 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10297 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10298 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10299 <kernel-features.h>.
10300 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10301 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10302 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10303 <kernel-features.h>.
10304 (linkat) [__NR_linkat]: Make code unconditional.
10305 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10306 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10307 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10308 <kernel-features.h>.
10309 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10310 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10311 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10312 <kernel-features.h>.
10313 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10314 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10315 * sysdeps/unix/sysv/linux/openat.c: Do not include
10316 <kernel-features.h>.
10317 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10318 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10319 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10320 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10321 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10322 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10323 <kernel-features.h>.
10324 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10325 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10326 result of INLINE_SYSCALL directly, not via int variable.
10327 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10328 <kernel-features.h>.
10329 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10330 (renameat) [__NR_renameat]: Make code unconditional.
10331 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10332 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10333 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10334 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10335 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10336 (__ASSUME_ATFCTS): Do not undefine and redefine.
10337 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10338 <kernel-features.h>.
10339 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10340 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10341 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10342 <kernel-features.h>.
10343 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10344 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10345 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10346 (__ASSUME_ATFCTS): Do not undefine and redefine.
10347 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10348 <kernel-features.h>.
10349 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10350 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10351 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10352 <kernel-features.h>.
10353 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10354 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10356 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10358 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10360 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10363 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10364 constructed tree before returning error.
10365 * posix/bug-regexp36.c: Expand test case.
10367 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10370 * math/libm-test.inc (scalbln_test_date):
10371 Add errno expectations.
10372 * math/w_scalblnf.c: New File.
10373 Add wrapper which checks for setting errno to ERANGE.
10374 Add weak_alias for corresponding scalbln function.
10375 * math/w_scalbln.c: Likewise.
10376 * math/w_scalblnl.c: Likewise.
10377 * math/Makefile (libm-calls): Add w_scalbln.
10378 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10379 Remove weak_alias for corresponding scalbln function.
10380 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10382 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10383 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10384 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10385 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10386 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10387 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10388 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10389 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10390 Remove long_double_symbol for scalblnl function in libm, libc.
10391 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10392 Add wrapper which checks for setting errno to ERANGE.
10393 Add long_double_symbol for scalblnl function in libm, libc.
10394 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10395 Remove long_double_symbol for scalblnl in libm.
10396 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10397 Add wrapper which checks for setting errno to ERANGE.
10398 Add long_double_symbol for scalblnl function in libm.
10399 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10400 Do not use wrapper because of own implementation.
10402 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10404 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10405 3 bytes for __pad1 for x32.
10406 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10408 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10409 H.J. Lu <hongjiu.lu@intel.com>
10411 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10412 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10413 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10414 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10415 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10417 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10420 * posix/regcomp.c (parse_expression): Deallocate partially
10421 constructed tree before returning error.
10422 * posix/Makefile.c (tests): Add bug-regex36.
10423 (generated): Add bug-regex36.mtrace.
10424 (tests-special): Add $(objpfx)bug-regex36-mem.out
10425 (bug-regex36-ENV): New variable.
10426 ($(objpfx)bug-regex36-mem.out): New rule.
10427 * posix/bug-regex36.c: New file.
10429 2014-06-19 Will Newton <will.newton@linaro.org>
10431 * malloc/malloc.c (systrim): If extra is zero then return
10434 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10436 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10438 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
10440 * sysdeps/aarch64/strchr.S: New file.
10442 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10445 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10446 from arguments -2 or below.
10447 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10448 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10450 2014-06-18 Andreas Schwab <schwab@suse.de>
10453 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10454 of a bracket expr not to run off the end of the string.
10455 * posix/Makefile (tests): Add tst-fnmatch3.
10456 * posix/tst-fnmatch3.c: New file.
10458 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10460 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10461 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10462 [$(cross-compiling) = no]: Likewise.
10463 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10464 [$(cross-compiling) = no]: Likewise.
10466 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10469 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10470 double, adjusted for any remainder from the high double.
10471 * math/libm-test.inc (nearbyint): Add tests.
10474 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10476 * nptl/sysdeps/powerpc/Makefile: Moved ...
10477 * sysdeps/powerpc/nptl/Makefile: ... here.
10478 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10479 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10480 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10481 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10482 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10483 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10484 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10485 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10486 * nptl/sysdeps/powerpc/tls.h: Moved ...
10487 * sysdeps/powerpc/nptl/tls.h: ... here.
10489 2014-06-16 Joseph Myers <joseph@codesourcery.com>
10492 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10493 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10494 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10495 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10496 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10497 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10498 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10499 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10500 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10502 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10504 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10506 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10508 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10511 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10514 2014-06-16 Florian Weimer <fweimer@redhat.com>
10517 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10518 non-executed part of the test.
10520 2014-06-16 Andreas Schwab <schwab@suse.de>
10522 * string/bits/string2.h (strdup, strndup): Update feature guard.
10524 2014-06-14 David S. Miller <davem@davemloft.net>
10526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10528 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10530 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10531 that was previously under [RESET_PID].
10532 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10534 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10535 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10536 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10537 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10538 (__libc_vfork): New strong alias.
10539 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10541 2014-06-14 Andi Kleen <ak@linux.intel.com>
10543 * sysdeps/generic/elide.h: New file.
10545 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10547 * Makefile (installed-headers): Adjust path of pthread.h header.
10549 2014-06-13 Roland McGrath <roland@hack.frob.com>
10551 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10552 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10553 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10554 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10556 * nptl/sysdeps/s390/Makefile: Moved ...
10557 * sysdeps/s390/nptl/Makefile: ... here.
10558 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10559 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10560 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10561 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10562 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10563 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10564 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10565 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10566 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10567 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10568 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10569 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10570 * nptl/sysdeps/s390/tls.h: Moved ...
10571 * sysdeps/s390/nptl/tls.h: ... here.
10573 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10574 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10576 2014-06-13 David S. Miller <davem@davemloft.net>
10578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10581 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10585 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10586 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10587 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10588 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10589 Remove RESET_PID cpp guards.
10590 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10591 Remove RESET_PID cpp guards.
10592 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10594 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10596 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10599 2014-06-13 Andi Kleen <ak@linux.intel.com>
10601 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10602 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10603 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10604 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10605 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10606 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10607 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10608 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10609 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10610 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10611 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10612 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10613 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10614 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10615 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10616 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10617 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10618 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10619 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10620 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10622 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10623 (pthread_rwlock_rdlock): Add elision.
10624 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10625 (pthread_rwlock_wrlock): Add elision.
10626 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10627 (pthread_rwlock_trywrlock): Add elision.
10628 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10629 (pthread_rwlock_tryrdlock): Add elision.
10630 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10631 (pthread_rwlock_tryrdlock): Add elision unlock.
10632 * nptl/sysdeps/pthread/pthread.h:
10633 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10634 (PTHREAD_RWLOCK_INITIALIZER,
10635 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10636 Handle new elision field.
10637 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10638 * sysdeps/arm/nptl/bits/pthreadtypes.h
10639 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10640 * sysdeps/sh/nptl/bits/pthreadtypes.h
10641 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10642 * sysdeps/tile/nptl/bits/pthreadtypes.h
10643 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10644 * sysdeps/a/nptl/bits/pthreadtypes.h
10645 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10646 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10647 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10648 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10649 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10650 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10651 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10652 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10653 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10654 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10655 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10656 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10658 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10660 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10662 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10663 (elision_init): Set try_xbegin to zero when no RTM.
10664 * sysdeps/x86/nptl/bits/pthreadtypes.h
10665 (pthread_rwlock_t): Change __pad1 to __rwelision.
10666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10668 2014-06-13 Andi Kleen <ak@linux.intel.com>
10670 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10671 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10672 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10673 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10675 2014-06-13 Meador Inge <meadori@codesourcery.com>
10678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10679 that the cached result has been set before returning it.
10681 2014-06-12 Roland McGrath <roland@hack.frob.com>
10683 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10684 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10685 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10686 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10687 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10688 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10690 * nptl/sysdeps/sparc/Makefile: Moved ...
10691 * sysdeps/sparc/nptl/Makefile: ... here.
10692 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10693 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10694 * nptl/sysdeps/sparc/tls.h: Moved ...
10695 * sysdeps/sparc/nptl/tls.h: ... here.
10696 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10697 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10698 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10699 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10700 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10701 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10702 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10703 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10704 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10705 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10706 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10707 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10708 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10709 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10710 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10711 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10712 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10713 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10715 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10716 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10718 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10719 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10721 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10722 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10725 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10727 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10728 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10730 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10731 (struct list_links): Type removed.
10732 (struct thread_node, struct timer_node): Replace struct list_links
10733 with struct list_head.
10734 (list_unlink_ip): Likewise.
10735 * sysdeps/pthread/timer_routines.c
10736 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10737 (list_append, list_insbefore): Likewise.
10738 (list_init): Function removed.
10739 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10740 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10741 * sysdeps/pthread/Makefile: ... here, new file.
10743 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10744 * sysdeps/nptl/Implies: ... here.
10745 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10746 * nptl/sysdeps/pthread/list.h: Moved ...
10747 * include/list.h: ... here.
10748 * nptl/sysdeps/pthread/createthread.c: Moved ...
10749 * nptl/createthread.c: ... here.
10750 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10751 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10752 * nptl/pt-longjmp.c: ... here.
10753 * nptl/sysdeps/pthread/Makefile: Moved ...
10754 * sysdeps/nptl/Makefile: ... here.
10755 * nptl/sysdeps/pthread/Subdirs: Moved ...
10756 * sysdeps/nptl/Subdirs: ... here.
10757 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10758 * sysdeps/nptl/aio_misc.h: ... here.
10759 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10760 * sysdeps/nptl/bits/libc-lock.h: ... here.
10761 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10762 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10763 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10764 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10765 * nptl/sysdeps/pthread/configure: Moved ...
10766 * sysdeps/nptl/configure: ... here.
10767 * nptl/sysdeps/pthread/configure.ac: Moved ...
10768 * sysdeps/nptl/configure.ac: ... here.
10769 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10770 * sysdeps/nptl/gai_misc.h: ... here.
10771 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10772 * sysdeps/nptl/librt-cancellation.c: ... here.
10773 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10774 * sysdeps/nptl/malloc-machine.h: ... here.
10775 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10776 * sysdeps/nptl/pthread-functions.h: ... here.
10777 * nptl/sysdeps/pthread/pthread.h: Moved ...
10778 * sysdeps/nptl/pthread.h: ... here.
10779 * nptl/sysdeps/pthread/setxid.h: Moved ...
10780 * sysdeps/nptl/setxid.h: ... here.
10781 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10782 * sysdeps/nptl/sigfillset.c: ... here.
10783 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10784 * sysdeps/nptl/tcb-offsets.h: ... here.
10785 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10786 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10787 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10788 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10789 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10790 * sysdeps/pthread/allocalim.h: ... here.
10791 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10792 * sysdeps/pthread/bits/sigthread.h: ... here.
10793 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10794 * sysdeps/pthread/flockfile.c: ... here.
10795 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10796 * sysdeps/pthread/ftrylockfile.c: ... here.
10797 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10798 * sysdeps/pthread/funlockfile.c: ... here.
10799 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10800 * sysdeps/pthread/posix-timer.h: ... here.
10801 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10802 * sysdeps/pthread/timer_create.c: ... here.
10803 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10804 * sysdeps/pthread/timer_delete.c: ... here.
10805 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10806 * sysdeps/pthread/timer_getoverr.c: ... here.
10807 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10808 * sysdeps/pthread/timer_gettime.c: ... here.
10809 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10810 * sysdeps/pthread/timer_routines.c: ... here.
10811 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10812 * sysdeps/pthread/timer_settime.c: ... here.
10813 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10814 * sysdeps/pthread/tst-timer.c: ... here.
10815 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10816 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10818 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10819 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10821 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10822 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10823 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10824 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10825 Update #include target.
10826 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10827 * sysdeps/i386/i686/nptl/Makefile: ... here.
10828 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10829 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10830 Update #include target.
10831 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10832 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10833 * nptl/sysdeps/i386/Makefile: Moved ...
10834 * sysdeps/i386/nptl/Makefile: ... here.
10835 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10836 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10837 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10838 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10839 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10840 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10841 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10842 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10843 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10844 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10845 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10846 * nptl/sysdeps/i386/tls.h: Moved ...
10847 * sysdeps/i386/nptl/tls.h: ... here.
10849 * sysdeps/sh/Makefile [$(subdir) = csu]
10850 (gen-as-const-headers): Add tcb-offsets.sym.
10851 * nptl/sysdeps/sh/Makefile: File removed.
10852 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10853 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10854 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10855 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10856 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10857 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10858 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10859 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10860 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10861 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10862 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10863 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10864 * nptl/sysdeps/sh/tls.h: Moved ...
10865 * sysdeps/sh/nptl/tls.h: ... here.
10866 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10867 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10868 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10869 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10870 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10871 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10872 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10873 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10874 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10875 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10876 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10877 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10878 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10879 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10880 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10881 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10882 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10883 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10884 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10885 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10886 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10887 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10888 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10889 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10890 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10892 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10893 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10895 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10896 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10897 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10898 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10899 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10900 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10901 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10902 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10903 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10904 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10905 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10906 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10907 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10908 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10909 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10910 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10911 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10912 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10913 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10915 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10917 * posix/spawn_faction_addopen.c: Include string.h.
10919 2014-06-11 Roland McGrath <roland@hack.frob.com>
10921 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10922 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10923 * nptl/sysdeps/x86_64/Makefile: Moved ...
10924 * sysdeps/x86_64/nptl/Makefile: ... here.
10925 * nptl/sysdeps/x86_64/configure: Moved ...
10926 * sysdeps/x86_64/nptl/configure: ... here.
10927 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10928 * sysdeps/x86_64/nptl/configure.ac: ... here.
10929 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10930 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10931 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10932 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10933 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10934 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10935 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10936 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10937 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10938 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10939 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10940 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10941 * nptl/sysdeps/x86_64/tls.h: Moved ...
10942 * sysdeps/x86_64/nptl/tls.h: ... here.
10943 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10944 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10945 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10946 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10948 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10950 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10954 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10956 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10958 [POSIX] (off_t): Likewise.
10959 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10960 [POSIX] (S_ISBLK): Require macro.
10961 [POSIX] (S_ISCHR): Likewise.
10962 [POSIX] (S_ISDIR): Likewise.
10963 [POSIX] (S_ISFIFO): Likewise.
10964 [POSIX] (S_ISREG): Likewise.
10965 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10967 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10969 [POSIX] (time_t): Likewise.
10970 [POSIX] (timer_t): Likewise.
10972 2014-06-11 Florian Weimer <fweimer@redhat.com>
10975 * posix/spawn_int.h (struct __spawn_action): Make the path string
10976 non-const to support deallocation.
10977 * posix/spawn_faction_addopen.c
10978 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10979 * posix/spawn_faction_destroy.c
10980 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10981 path in all spawn_do_open actions.
10982 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10983 posix_spawn_file_actions_addopen.
10985 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10987 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10988 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10989 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10990 conditional code always true.
10991 (__libc_vfork): New alias.
10993 2014-06-11 Roland McGrath <roland@hack.frob.com>
10995 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10996 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10998 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11000 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11001 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11003 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11004 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11006 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11007 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11009 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11011 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11012 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11013 multiarch strcmp for PPC64.
11014 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11015 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11017 multiarch optimizations.
11018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11019 (__libc_ifunc_impl_list): Likewise.
11021 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11023 * benchtests/scripts/validate_benchout.py: New script.
11024 * benchtests/Makefile (bench-func): Call it.
11025 * benchtests/scripts/benchout.schema.json: New file.
11027 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11029 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11030 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11031 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11032 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11033 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11034 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11035 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11036 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11037 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11038 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11039 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11040 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11041 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11042 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11043 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11044 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11148 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11149 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11150 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11151 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11152 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11154 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11156 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11157 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11158 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11159 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11160 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11161 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11162 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11163 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11164 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11165 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11167 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11170 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11173 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11175 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11178 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11180 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11181 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11182 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11183 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11184 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11186 2014-06-10 Wilco <wdijkstr@arm.com>
11188 * math/test-fenv-return.c: New file.
11189 * math/Makefile: Add new test test-fenv-return.
11191 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11194 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11195 when x - 1 is zero.
11196 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11197 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11198 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11199 0.0L for an argument of 1.0L.
11200 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11202 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11203 value when x - 1 is zero.
11204 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11205 * sysdeps/i386/fpu/libm-test-ulps: Update.
11206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11208 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11211 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11213 2014-06-09 Roland McGrath <roland@hack.frob.com>
11215 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11216 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11218 2014-06-09 Roland McGrath <roland@hack.frob.com>
11220 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11221 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11223 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11224 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11226 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11227 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11229 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11230 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11232 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11233 if not already defined.
11234 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11235 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11236 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11237 (TLS_INIT_TP): Use it.
11238 (TLS_DEFINE_INIT_TP): New macro.
11239 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11241 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11243 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11245 [POSIX] (IXANY): Likewise.
11246 [POSIX] (OLCUC): Likewise.
11247 [POSIX || POSIX2008] (CBAUD): Do not allow.
11248 [POSIX || POSIX2008] (DEFECHO): Likewise.
11249 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11250 [POSIX || POSIX2008] (ECHOKE): Likewise.
11251 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11252 [POSIX || POSIX2008] (EXTA): Likewise.
11253 [POSIX || POSIX2008] (EXTB): Likewise.
11254 [POSIX || POSIX2008] (FLUSHO): Likewise.
11255 [POSIX || POSIX2008] (LOBLK): Likewise.
11256 [POSIX || POSIX2008] (PENDIN): Likewise.
11257 [POSIX || POSIX2008] (SWTCH): Likewise.
11258 [POSIX || POSIX2008] (VDISCARD): Likewise.
11259 [POSIX || POSIX2008] (VDSUSP): Likewise.
11260 [POSIX || POSIX2008] (VLNEXT): Likewise.
11261 [POSIX || POSIX2008] (VREPRINT): Likewise.
11262 [POSIX || POSIX2008] (VSTATUS): Likewise.
11263 [POSIX || POSIX2008] (VWERASE): Likewise.
11264 (B*): Change to B[0123456789]*.
11265 * conform/data/time.h-data [POSIX || UNIX98]
11266 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11267 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11268 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11269 [POSIX] (tm_*): Do not allow.
11271 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11273 * Makefile (install): Don't set LANGUAGE.
11274 * Makefile.in (install): Likewise.
11275 * assert/Makefile (test-assert-ENV): Remove variable.
11276 (test-assert-perr-ENV): Likewise.
11277 * elf/Makefile (neededtest4-ENV): Likewise.
11278 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11279 [$(cross-compiling) = no]: Don't set LANGUAGE.
11280 * io/ftwtest-sh (LANG): Remove variable.
11281 * libio/Makefile (tst-widetext-ENV): Likewise.
11282 * manual/install.texi (Running make install): Don't refer to
11283 environment settings for make install.
11284 * INSTALL: Regenerated.
11285 * nptl/tst-tls6.sh: Don't set LANG.
11286 * posix/globtest.sh (LANG): Remove variable.
11287 * string/Makefile (tester-ENV): Likewise.
11288 (inl-tester-ENV): Likewise.
11289 (noinl-tester-ENV): Likewise.
11290 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11291 [$(cross-compiling) = no]: Don't set LANGUAGE.
11292 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11293 without explicit environment settings.
11295 2014-06-06 Roland McGrath <roland@hack.frob.com>
11297 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11298 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11299 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11300 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11302 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11304 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11305 other files in the crypt directory.
11306 * crypt/crypt.c: Remove duplicate includes.
11307 * crypt/crypt-entry.c: Likewise.
11308 * crypt/crypt_util.c: Likewise.
11310 2014-06-06 Joseph Myers <joseph@codesourcery.com>
11312 * Makeconfig (run-program-env): New variable.
11313 (run-program-prefix-before-env): Likewise.
11314 (run-program-prefix-after-env): Likewise.
11315 (run-program-prefix): Define in terms of new variables.
11316 (built-program-cmd-before-env): New variable.
11317 (built-program-cmd-after-env): Likewise.
11318 (built-program-cmd): Define in terms of new variables.
11319 (test-program-prefix-before-env): New variable.
11320 (test-program-prefix-after-env): Likewise.
11321 (test-program-prefix): Define in terms of new variables.
11322 (test-program-cmd-before-env): New variable.
11323 (test-program-cmd-after-env): Likewise.
11324 (test-program-cmd): Define in terms of new variables.
11325 * Rules (make-test-out): Use $(run-program-env).
11326 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11327 (help): Do not mention environment variables. Mention
11328 --timeoutfactor option.
11329 (timeoutfactor): New variable.
11330 (blacklist_exports): Remove function.
11331 (exports): Remove variable.
11332 (command): Do not include ${exports}.
11333 * manual/install.texi (Configuring and compiling): Do not mention
11334 test wrappers preserving environment variables. Mention that last
11335 assignment to a variable must take precedence.
11336 * INSTALL: Regenerated.
11337 * benchtests/Makefile (run-bench): Use $(run-program-env).
11338 * catgets/Makefile ($(objpfx)test1.cat): Use
11339 $(built-program-cmd-before-env), $(run-program-env) and
11340 $(built-program-cmd-after-env).
11341 ($(objpfx)test2.cat): Do not specify environment variables
11343 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11344 $(run-program-env) and $(built-program-cmd-after-env).
11345 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11346 $(run-program-env) and $(test-program-cmd-after-env).
11347 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11349 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11350 run_program_env and test_program_cmd_after_env arguments.
11351 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11352 * elf/tst-pathopt.sh: Use run_program_env argument.
11353 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11354 $(test-wrapper-env) and $(run-program-env).
11355 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11356 run_program_env arguments.
11357 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11358 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11359 $(test-program-prefix-before-env), $(run-program-env) and
11360 $(test-program-prefix-after-env).
11361 ($(objpfx)tst-gettext2.out): Likewise.
11362 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11363 run_program_env and test_program_prefix_after_env arguments.
11364 * intl/tst-gettext2.sh: Likewise.
11365 * intl/tst-gettext4.sh: Do not set environment variables
11367 * intl/tst-gettext6.sh: Likewise.
11368 * intl/tst-translit.sh: Likewise.
11369 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11370 $(test-program-prefix-before-env), $(run-program-env) and
11371 $(test-program-prefix-after-env).
11372 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11373 run_program_env and test_program_prefix_after_env arguments.
11374 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11375 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11376 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11377 explicitly with each use of ${test_wrapper_env}.
11378 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11379 $(test-program-prefix-before-env), $(run-program-env) and
11380 $(test-program-prefix-after-env).
11381 * posix/tst-getconf.sh: Do not set environment variables
11383 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11384 run_program_env and test_program_prefix_after_env arguments.
11385 * stdio-common/tst-printf.sh: Do not set environment variables
11387 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11388 $(test-program-prefix-before-env), $(run-program-env) and
11389 $(test-program-prefix-after-env).
11390 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11391 run_program_env and test_program_prefix_after_env arguments.
11392 Split $test calls into $test_pre and $test.
11393 * timezone/Makefile (build-testdata): Use
11394 $(built-program-cmd-before-env), $(run-program-env) and
11395 $(built-program-cmd-after-env).
11397 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11399 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11400 strlen for non SHARED builds.
11402 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11404 * nptl/allocatestack.c (check_list): Inlined function...
11405 (__reclaim_stacks): ... here.
11407 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11410 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11413 2014-06-05 Joseph Myers <joseph@codesourcery.com>
11415 * Rules (make-test-out): Include
11416 LOCPATH=$(common-objpfx)localedata in default environment.
11417 * debug/Makefile (tst-chk1-ENV): Remove variable.
11418 (tst-chk2-ENV): Likewise.
11419 (tst-chk3-ENV): Likewise.
11420 (tst-chk4-ENV): Likewise.
11421 (tst-chk5-ENV): Likewise.
11422 (tst-chk6-ENV): Likewise.
11423 (tst-lfschk1-ENV): Likewise.
11424 (tst-lfschk2-ENV): Likewise.
11425 (tst-lfschk3-ENV): Likewise.
11426 (tst-lfschk4-ENV): Likewise.
11427 (tst-lfschk5-ENV): Likewise.
11428 (tst-lfschk6-ENV): Likewise.
11429 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11430 (tst-iconv7-ENV): Likewise.
11431 * intl/Makefile (LOCPATH-ENV): Likewise.
11432 (tst-codeset-ENV): Likewise.
11433 (tst-gettext3-ENV): Likewise.
11434 (tst-gettext5-ENV): Likewise.
11435 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11436 (tst-fopenloc-ENV): Likewise.
11437 (tst-fgetws-ENV): Remove variable.
11438 (tst-ungetwc1-ENV): Likewise.
11439 (tst-ungetwc2-ENV): Likewise.
11440 (bug-ungetwc2-ENV): Likewise.
11441 (tst-swscanf-ENV): Likewise.
11442 (bug-ftell-ENV): Likewise.
11443 (tst-fgetwc-ENV): Likewise.
11444 (tst-fseek-ENV): Likewise.
11445 (tst-ftell-partial-wide-ENV): Likewise.
11446 (tst-ftell-active-handler-ENV): Likewise.
11447 (tst-ftell-append-ENV): Likewise.
11448 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11449 (tst-regexloc-ENV): Likewise.
11450 (bug-regex1-ENV): Likewise.
11451 (tst-regex-ENV): Likewise.
11452 (tst-regex2-ENV): Likewise.
11453 (bug-regex5-ENV): Likewise.
11454 (bug-regex6-ENV): Likewise.
11455 (bug-regex17-ENV): Likewise.
11456 (bug-regex18-ENV): Likewise.
11457 (bug-regex19-ENV): Likewise.
11458 (bug-regex20-ENV): Likewise.
11459 (bug-regex22-ENV): Likewise.
11460 (bug-regex23-ENV): Likewise.
11461 (bug-regex25-ENV): Likewise.
11462 (bug-regex26-ENV): Likewise.
11463 (bug-regex30-ENV): Likewise.
11464 (bug-regex32-ENV): Likewise.
11465 (bug-regex33-ENV): Likewise.
11466 (bug-regex34-ENV): Likewise.
11467 (bug-regex35-ENV): Likewise.
11468 (tst-rxspencer-ENV): Likewise.
11469 (tst-rxspencer-no-utf8-ENV): Likewise.
11470 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11471 (tst-sscanf-ENV): Likewise.
11472 (tst-swprintf-ENV): Likewise.
11473 (tst-swscanf-ENV): Likewise.
11474 (test-vfprintf-ENV): Likewise.
11475 (scanf13-ENV): Likewise.
11476 (bug14-ENV): Likewise.
11477 (tst-grouping-ENV): Likewise.
11478 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11479 (tst-strtod3-ENV): Likewise.
11480 (tst-strtod4-ENV): Likewise.
11481 (tst-strtod5-ENV): Likewise.
11482 (testmb2-ENV): Likewise./
11483 * string/Makefile (tst-strxfrm-ENV): Likewise.
11484 (tst-strxfrm2-ENV): Likewise.
11485 (bug-strcoll1-ENV): Likewise.
11486 (test-strcasecmp-ENV): Likewise.
11487 (test-strncasecmp-ENV): Likewise.
11488 * time/Makefile (tst-strptime-ENV): Likewise.
11489 (tst-ftime_l-ENV): Likewise.
11490 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11491 (tst-mbrtowc-ENV): Likewise.
11492 (tst-wcrtomb-ENV): Likewise.
11493 (tst-mbrtowc2-ENV): Likewise.
11494 (tst-c16c32-1-ENV): Likewise.
11495 (tst-mbsnrtowcs-ENV): Likewise.
11497 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11499 * manual/resource.texi (How to get information about the memory
11500 subsystem?): Fix typo.
11501 Reported by Peon de la Parra Ivan <peon@keba.com>
11503 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11506 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11507 (pthread_spin_lock): Branch out of spin loop to proper location.
11508 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11509 (pthread_spin_lock): Likewise.
11511 * nptl/tst-spin4.c: New test.
11512 * nptl/Makefile (tests): Add tst-spin4.
11514 2014-06-03 Andreas Schwab <schwab@suse.de>
11517 * resolv/res_send.c (send_dg): Reload file descriptor after
11520 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11522 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11524 2014-06-03 Richard Henderson <rth@redhat.com>
11526 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11527 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11528 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11529 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11530 in the SAVE_PID block.
11531 (__libc_vfork): New alias.
11532 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11534 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11535 child in registers, not on the stack. Remove RESET_PID conditionals.
11536 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11538 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11540 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11542 2014-06-03 Wilco <wdijkstr@arm.com>
11544 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11545 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11546 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11547 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11548 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11551 2014-06-03 Wilco <wdijkstr@arm.com>
11553 * sysdeps/aarch64/fpu/math_private.h
11554 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11555 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11556 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11557 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11560 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11562 * crypt/crypt-private.h: Include ufc-crypt.h.
11563 (__b64_from_24bit): Declare extern.
11564 * crypt/crypt_util.c(__b64_from_24bit): New function.
11565 (b64t): New static const variable.
11566 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11567 (b64t): Remove variable.
11568 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11569 * crypt/sha256-crypt.c: Include crypt-private.h.
11570 (b64t): Remove variable.
11571 (__sha256_crypt_r): Remove b64_from_24bit and replace
11572 with __b64_from_24bit.
11573 * crypt/sha512-crypt.c: Likewise.
11575 2014-06-02 Roland McGrath <roland@hack.frob.com>
11577 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11578 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11579 Label the code __libc_vfork rather than __vfork.
11580 [!NOT_IN_libc] (vfork): Define as weak alias.
11581 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11582 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11583 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11585 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11587 * malloc/malloc.c (malloc_info): Fix format specifier for
11590 2014-06-02 Wilco <wdijkstr@arm.com>
11592 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11595 2014-06-02 Wilco <wdijkstr@arm.com>
11598 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11599 Rewrite to reduce FPCR/FPSR accesses.
11601 2014-06-01 David S. Miller <davem@davemloft.net>
11603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11605 2014-05-31 David S. Miller <davem@davemloft.net>
11607 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11608 to occur in round to nearest mode when |x| >= 2.0
11610 2014-05-30 Richard Henderson <rth@twiddle.net>
11612 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11613 (PSEUDO_RET_NOERRNO): Remove.
11614 (ret): Don't redefine.
11615 (ret_NOERRNO): Define in terms of ret.
11616 (ret_ERRVAL): Likewise.
11618 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11619 use of PSEUDO_RET; perform the error check directly.
11621 2014-05-30 Marko Myllynen <myllynen@redhat.com>
11623 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11626 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11628 * malloc/malloc (malloc_info): Fix formatting.
11630 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11631 Roland McGrath <roland@hack.frob.com>
11633 * malloc/malloc (malloc_info): Also print mmapped statistics.
11635 2014-05-30 Roland McGrath <roland@hack.frob.com>
11637 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11638 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11640 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
11642 * malloc/malloc.c (malloc_info): Inline mi_arena.
11644 2014-05-29 Richard Henderson <rth@twiddle.net>
11646 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11647 Remove comma before expanding ASM_ARGS_##nr.
11648 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11649 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11651 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11652 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11653 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11654 (ASM_ARGS_1): Add leading comma.
11656 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11657 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11658 to __errno_location.
11659 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11660 Remove the expected plt for __errno_location.
11662 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11663 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11666 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11667 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11668 it and break it down.
11669 (DOCARGS_0, DOCARGS_1): Do nothing.
11670 (DOCARGS_2): Update to store into the new stack frame.
11671 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11672 (UNDOCARGS_1): Update to restore from the new stack frame.
11673 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11674 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11676 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11677 (SINGLE_THREAD_P): New parameter for result regno.
11678 (PSEUDO): Update to match; use cbz instead of beq.
11680 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11681 Use ENTRY to define the _nocancel entry point. Share the syscall
11682 and syscall error check paths with the cancel path.
11685 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11686 whitespace; tabs before and after asm mnemonics.
11688 2014-05-29 Eric Wong <normalperson@yhbt.net>
11691 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11692 Call fstat64 or stat64 internally, depending on arguments passed.
11693 Replace stat buffer argument with file descriptor argument.
11694 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11695 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11696 Pass fd to __internal_statvfs instead of calling fstat64.
11697 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11698 Pass fd to __internal_statvfs64 instead of calling fstat64.
11699 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11700 Pass -1 to __internal_statvfs instead of calling stat64.
11701 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11702 Pass -1 to __internal_statvfs64 instead of calling stat64.
11704 2014-05-28 Roland McGrath <roland@hack.frob.com>
11706 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11707 that was previously under [RESET_PID].
11708 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11710 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11711 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11713 2014-05-27 Roland McGrath <roland@hack.frob.com>
11715 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11717 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11718 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11720 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
11722 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11724 2014-05-27 Andreas Schwab <schwab@suse.de>
11726 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11728 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11729 * elf/rtld.c (init_tls, dl_main): Likewise.
11730 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11731 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11732 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11733 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11734 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11735 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11736 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11737 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11738 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11739 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11740 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11741 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11742 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11743 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11744 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11745 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11746 * sysdeps/generic/tls.h: Update description.
11748 2014-05-27 Will Newton <will.newton@linaro.org>
11751 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11752 and restore r2 rather than just restoring.
11754 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11757 * libio/tst-ftell-append.c: New test case.
11758 * libio/Makefile (tests): Add test case.
11759 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11761 * libio/wfileops.c (do_ftell_wide): Likewise.
11763 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11767 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11771 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11772 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11773 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11774 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11775 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11776 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11777 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11780 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11783 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11784 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11785 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11786 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11787 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11789 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11790 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11792 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11794 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11796 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11797 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11798 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11800 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11801 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11802 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11803 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11805 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11808 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11811 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11814 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11818 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11826 conditional [RESET_PID].
11827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11828 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11830 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11835 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11836 (__libc_vfork): New strong alias.
11837 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11839 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11844 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11845 (__libc_vfork): New strong alias.
11846 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11848 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11851 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11853 * malloc/malloc.c (mi_arena): New function.
11854 (malloc_info): Remove nested function mi_arena. Call non-nosted
11857 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11859 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11861 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11862 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11863 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11864 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11865 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11866 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11867 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11869 2014-05-26 Andreas Schwab <schwab@suse.de>
11872 * locale/programs/repertoire.c (repertoire_read): Add slash
11873 between I18NPATH element and file name.
11874 * locale/programs/locfile.c (locfile_read): Likewise.
11876 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11878 * nptl/pthread_mutexattr_settype.c
11879 (__pthread_mutexattr_settype):
11880 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11882 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11884 * nptl/tst-mutex5 (do_test):
11885 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11887 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11889 * benchtests/README: Document 'init' directive.
11890 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11892 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11893 (parse_file): Recognize 'init' directive.
11895 2014-05-26 Kyle McMartin <kyle@redhat.com>
11898 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11899 alignment of struct pthread.
11901 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11904 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11905 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11906 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11907 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11909 2014-05-25 Richard Henderson <rth@twiddle.net>
11911 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11912 (SINGLE_THREAD_P_PIC): Remove.
11913 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11914 (SINGLE_THREAD_P_PIC): Remove.
11916 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11917 branch to syscall error ...
11918 (PSEUDO): ... here.
11919 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11920 from __local_syscall_error to .Lsyscall_error.
11921 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11922 (SYSCALL_ERROR): Update label name.
11924 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11925 Do not use DOARGS/UNDOARGS.
11926 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11927 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11928 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11929 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11930 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11932 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11935 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11936 define if !NOT_IN_libc.
11937 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11938 define with non-default symbol versions.
11940 2014-05-23 Richard Henderson <rth@twiddle.net>
11942 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11943 (vfork, __vfork): Define via compat_symbol.
11945 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11946 [!HAVE_IFUNC] (vfork_compat): Remove.
11947 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11949 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11952 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11953 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11956 2014-05-23 Richard Henderson <rth@twiddle.net>
11958 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11959 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11960 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11961 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11963 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11964 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11965 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11966 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11967 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11968 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11969 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11970 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11971 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11972 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11973 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11974 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11975 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11976 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11977 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11978 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11979 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11980 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11981 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11982 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11983 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11984 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11985 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11986 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11987 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11988 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11989 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11990 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11991 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11992 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11993 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11994 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11995 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11996 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11997 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11998 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11999 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12000 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12001 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12002 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12003 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12004 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12005 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12006 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12007 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12008 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12009 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12010 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12011 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12012 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12013 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12014 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12015 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12016 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12017 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12018 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12020 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12021 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12022 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12023 before exiting on error.
12024 (__libc_vfork): New strong alias.
12025 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12026 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12028 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12029 that was previously under [RESET_PID].
12030 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12032 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12034 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12037 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12038 value when x - 1 is zero.
12039 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12040 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12041 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12042 0.0L for an argument of 1.0L.
12043 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12045 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12046 value when x - 1 is zero.
12047 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12048 * sysdeps/i386/fpu/libm-test-ulps: Update.
12049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12051 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12053 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12054 alphasort and versionsort.
12056 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12058 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12060 [copysignf]: Likewise.
12062 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12064 * crypt/md5-crypt.c: Fix formatting.
12066 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12068 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12069 (b64_from_24bit): New function.
12071 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12073 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12074 libc_hidden_builtin_def to ifunc.
12075 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12076 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12078 2014-05-21 Roland McGrath <roland@hack.frob.com>
12080 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12081 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12083 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12085 * nscd/Depend (linuxthreads): Remove.
12087 * resolv/Depend (linuxthreads): Remove.
12088 * rt/Depend (linuxthreads): Remove.
12090 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12091 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12092 $(common-objpfx)elf/.
12093 (link-libc-before-gnulib): Likewise.
12094 (elfobjdir): Remove variable.
12095 * Makefile (install): Use $(elf-objpfx) instead of
12096 $(common-objpfx)elf/.
12097 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12099 (link-libc-deps): Likewise.
12100 ($(common-objpfx)libc.so): Likewise.
12101 ($(common-objpfx)linkobj/libc.so): Likewise.
12102 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12103 instead of $(common-objpfx)elf/.
12104 (symbolic-link-list): Likewise.
12105 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12106 [$(cross-compiling) = no]: Likewise.
12107 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12109 (static-gnulib-arch): Likewise.
12110 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12111 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12112 $(common-objpfx)elf/.
12114 2014-05-21 Richard Henderson <rth@redhat.com>
12116 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12117 (SINGLE_THREAD_P): Use the correct width load. Fold
12118 into the ldr offset.
12120 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12121 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12123 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12125 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12126 (libgcc_s_resume): Use __attribute_used__.
12127 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12130 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12132 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12133 optimization when used with float constants.
12135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12137 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12140 * locale/nl_langinfo_l.c: Make direct reference to every
12141 _nl_current_CATEGORY symbol.
12142 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12143 (tests-static): Add tst-langinfo-static.
12144 (tests-special): Add tst-langinfo-static.out.
12145 ($(objpfx)tst-langinfo.out): Redirect output.
12146 ($(objpfx)tst-langinfo-static.out): New.
12147 * localedata/tst-langinfo.sh: Send output to stdout.
12148 * localedata/tst-langinfo-static.c: New file.
12151 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12152 when the shift amount is modulo the limb size.
12154 2014-05-20 Richard Henderson <rth@redhat.com>
12157 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12158 Change type of sa_flags from unsigned int to int.
12161 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12163 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12165 2014-05-20 Will Newton <will.newton@linaro.org>
12167 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12168 Test the return value of the system call in the nocancel case.
12170 2014-05-20 Will Newton <will.newton@linaro.org>
12171 Yvan Roux <yvan.roux@linaro.org>
12173 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12174 #include of asm/ptrace.h.
12175 (PTRACE_GET_THREAD_AREA): Remove #undef.
12176 (PTRACE_GETHBPREGS): Likewise.
12177 (PTRACE_SETHBPREGS): Likewise.
12178 (struct user_regs_struct): New structure.
12179 (struct user_fpsimd_struct): New structure.
12180 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12181 #include of asm/ptrace.h and second #include of sys/user.h.
12182 (PTRACE_GET_THREAD_AREA): Remove #undef.
12183 (PTRACE_GETHBPREGS): Likewise.
12184 (PTRACE_SETHBPREGS): Likewise.
12185 (ELF_NGREG): Use new struct user_regs_struct.
12186 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12188 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12190 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12191 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12193 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12197 membar to avoid block loads/stores to overlap previous stores.
12199 2014-05-17 Richard Henderson <rth@redhat.com>
12201 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12202 Create the __##syscall_name##_nocancel entry point.
12203 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12204 Remove; let the sysdep-cancel.h code create it.
12206 2014-05-17 David S. Miller <davem@davemloft.net>
12208 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12209 Protect with __USE_GNU.
12210 (TIOCSET_TEMPT): Likewise.
12211 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12212 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12213 these are already provided in bits/ioctl-types.h
12215 2014-05-16 Roland McGrath <roland@hack.frob.com>
12217 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12218 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12220 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12221 Use wait4 regardless of [__NR_waitpid].
12223 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12226 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12227 (_FP_NANSIGN_Q): Set the quiet bit.
12229 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12231 * benchtests/Makefile
12232 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12233 not $(common-objpfx)math/libm.so.
12234 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12235 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12236 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12237 $(common-objpfx)dlfcn/libdl.so.
12238 ($(objpfx)tst-audit8): Depend on $(libm), not
12239 $(common-objpfx)math/libm.so.
12240 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12241 not $(common-objpfx)dlfcn/libdl.so.
12243 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12244 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12245 [$(build-shared) = yes].
12246 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12247 $(common-objpfx)nptl/libpthread.so.
12248 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12249 $(common-objpfx)math/libm.so$(libm.so-version) or
12250 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12251 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12252 $(common-objpfx)dlfcn/libdl.so.
12253 * setjmp/Makefile (link-libm): Remove variable.
12254 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12255 * stdio-common/Makefile (link-libm): Remove variable.
12256 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12257 * stdlib/Makefile (link-libm): Remove variable.
12258 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12259 ($(objpfx)tst-strtod-round): Likewise.
12260 ($(objpfx)tst-tininess): Likewise.
12261 ($(objpfx)tst-strtod-underflow): Likewise.
12262 ($(objpfx)tst-strtod6): Likewise.
12263 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12264 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12265 $(common-objpfx)dlfcn/libdl.so.
12267 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12269 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12270 BSD terminal modes definitions.
12272 2014-05-16 Roland McGrath <roland@hack.frob.com>
12274 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12275 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12277 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12278 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12279 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12280 Don't do #include_next.
12281 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12282 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12283 Don't do #include_next.
12284 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12285 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12286 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12287 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12289 2014-05-16 Allan McRae <allan@archlinux.org>
12291 * po/sv.po: Update Swedish translation from translation project.
12293 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12296 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12299 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12300 errno if the TIOCGPTN ioctl fails with an error different than
12302 * login/tst-ptsname.c: New file.
12303 * login/Makefile (tests): Add tst-ptsname.
12306 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12309 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12313 herrno to return EAI_AGAIN.
12315 2014-05-14 Roland McGrath <roland@hack.frob.com>
12317 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12318 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12319 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12320 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12321 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12322 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12323 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12324 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12325 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12326 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12327 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12328 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12329 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12330 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12331 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12332 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12333 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12334 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12335 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12336 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12337 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12338 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12339 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12340 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12341 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12342 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12343 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12344 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12345 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12346 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12348 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12350 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12353 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12355 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12357 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12359 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12361 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12363 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12365 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12367 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12369 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12371 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12373 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12375 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12377 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12379 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12382 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12384 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12386 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12388 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12390 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12392 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12394 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12396 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12398 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12400 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12403 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12405 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12407 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12408 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12409 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12410 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12411 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12412 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12413 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12414 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12415 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12416 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12417 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12418 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12419 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12420 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12421 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12422 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12423 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12424 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12425 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12426 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12427 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12428 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12429 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12430 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12431 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12432 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12433 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12434 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12435 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12436 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12437 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12439 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12440 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12442 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12443 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12444 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12445 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12446 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12449 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12450 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12452 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12453 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12455 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12456 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12458 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12459 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12460 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12461 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12463 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12464 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12465 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12466 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12467 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12468 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12469 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12470 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12472 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12473 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12475 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12477 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12478 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12480 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12481 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12483 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12485 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12487 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12488 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12489 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12490 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12491 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12492 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12494 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12495 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12497 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12498 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12500 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12501 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12503 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12504 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12505 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12506 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12508 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12509 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12510 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12511 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12512 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12513 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12514 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12515 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12517 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12520 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12522 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12523 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12524 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12525 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12526 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12530 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12532 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12533 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12534 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12535 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12536 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12537 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12538 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12539 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12540 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12541 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12543 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12544 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12546 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12549 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12550 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12552 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12553 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12554 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12555 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12556 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12557 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12559 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12560 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12561 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12562 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12563 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12564 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12565 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12568 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12569 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12571 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12573 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12574 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12575 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12576 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12577 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12579 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12581 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12583 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12584 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12585 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12586 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12587 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12588 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12589 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12590 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12591 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12592 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12593 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12595 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12596 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12598 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12599 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12601 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12602 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12603 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12604 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12605 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12606 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12607 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12608 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12609 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12610 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12611 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12612 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12613 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12614 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12615 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12616 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12617 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12618 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12620 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12621 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12622 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12623 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12625 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12626 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12627 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12628 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12629 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12630 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12631 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12632 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12634 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12635 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12637 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12639 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12640 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12641 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12642 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12643 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12644 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12645 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12646 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12647 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12648 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12649 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12650 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12651 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12652 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12653 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12655 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12656 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12657 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12658 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12659 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12661 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12662 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12663 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12664 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12665 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12666 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12667 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12668 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12669 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12670 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12672 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12675 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12676 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12677 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12678 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12679 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12680 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12681 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12682 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12683 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12684 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12685 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12686 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12687 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12688 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12689 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12693 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12697 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12701 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12709 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12710 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12711 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12712 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12714 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12715 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12716 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12717 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12718 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12719 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12720 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12721 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12722 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12723 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12725 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12726 that was previously under [RESET_PID].
12727 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12728 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12729 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12731 * sysdeps/i386/nptl/Implies: New file.
12732 * sysdeps/x86_64/nptl/Implies: New file.
12733 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12734 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12735 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12736 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12738 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12739 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12740 (__libc_vfork): New strong alias.
12741 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12742 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12744 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12745 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12746 (__libc_vfork): New strong alias.
12747 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12748 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12750 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12751 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12752 (__libc_vfork): New strong alias.
12753 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12754 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12755 * nptl/pt-vfork.c: New file.
12756 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12757 (libpthread: GLIBC_2.20): New version set (empty).
12759 2014-05-14 Will Newton <will.newton@linaro.org>
12761 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12764 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12767 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12768 arguments with exponent 65 or above.
12769 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12770 arguments 0x1p113L or above.
12771 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12772 to arguments 0x1p107L or above.
12773 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12774 positive arguments with exponent 65 or above.
12775 * math/auto-libm-test-in: Add more tests of log1p.
12776 * math/auto-libm-test-out: Regenerated.
12779 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12780 non-finite arguments is +0.
12781 * math/s_cacosf.c (__cacosf): Likewise.
12782 * math/s_cacosl.c (__cacosl): Likewise.
12783 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12784 * sysdeps/i386/fpu/libm-test-ulps: Update.
12785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12788 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12790 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12791 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12792 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12793 for explicit high bit of mantissa when testing for argument equal
12795 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12796 * sysdeps/i386/fpu/libm-test-ulps: Update.
12797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12800 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12801 (__erf): Scale by 16 instead of 8 in potentially underflowing
12802 case. Ensure exception if result actually underflows.
12803 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12804 (__erff): Scale by 16 instead of 8 in potentially underflowing
12805 case. Ensure exception if result actually underflows.
12806 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12807 (efx8): Remove variable.
12808 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12809 case. Ensure exception if result actually underflows.
12810 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12811 (efx8): Remove variable.
12812 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12813 case. Ensure exception if result actually underflows.
12814 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12815 (efx8): Remove variable.
12816 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12817 case. Ensure exception if result actually underflows.
12818 * math/auto-libm-test-in: Add more tests of erf.
12819 * math/auto-libm-test-out: Regenerated.
12821 2014-05-14 Andreas Schwab <schwab@suse.de>
12823 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12824 Remove code conditionalized on USE___THREAD.
12826 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12827 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12830 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12832 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12833 Define unconditionally.
12834 (__ASSUME_O_CLOEXEC): Likewise.
12835 (__ASSUME_SOCK_CLOEXEC): Likewise.
12836 (__ASSUME_IN_NONBLOCK): Likewise.
12837 (__ASSUME_PIPE2): Likewise.
12838 (__ASSUME_EVENTFD2): Likewise.
12839 (__ASSUME_SIGNALFD4): Likewise.
12840 (__ASSUME_DUP3): Likewise.
12841 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12842 (__ASSUME_DUP3): Do not define.
12843 (__ASSUME_EVENTFD2): Likewise.
12844 (__ASSUME_IN_NONBLOCK): Likewise.
12845 (__ASSUME_O_CLOEXEC): Likewise.
12846 (__ASSUME_PIPE2): Likewise.
12847 (__ASSUME_SIGNALFD4): Likewise.
12848 (__ASSUME_SOCK_CLOEXEC): Likewise.
12849 (__ASSUME_UTIMES): Undefine.
12850 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12851 (__ASSUME_UTIMES): Do not define.
12852 (__ASSUME_O_CLOEXEC): Likewise.
12853 (__ASSUME_SOCK_CLOEXEC): Likewise.
12854 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12855 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12857 (__ASSUME_PIPE2): Likewise.
12858 (__ASSUME_EVENTFD2): Likewise.
12859 (__ASSUME_SIGNALFD4): Likewise.
12860 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12861 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12863 (__ASSUME_EVENTFD2): Likewise.
12864 (__ASSUME_SIGNALFD4): Likewise.
12865 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12866 (__ASSUME_32BITUIDS): Likewise.
12867 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12868 (__ASSUME_IPC64): Likewise.
12869 (__ASSUME_ST_INO_64_BIT): Likewise.
12870 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12871 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12872 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12873 (__ASSUME_UTIMES): Do not define.
12874 (__ASSUME_PSELECT): Likewise.
12875 (__ASSUME_PPOLL): Likewise.
12876 (__ASSUME_O_CLOEXEC): Likewise.
12877 (__ASSUME_SOCK_CLOEXEC): Likewise.
12878 (__ASSUME_IN_NONBLOCK): Likewise.
12879 (__ASSUME_PIPE2): Likewise.
12880 (__ASSUME_EVENTFD2): Likewise.
12881 (__ASSUME_SIGNALFD4): Likewise.
12882 (__ASSUME_DUP3): Likewise.
12883 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12884 (__ASSUME_UTIMES): Likewise.
12885 (__ASSUME_O_CLOEXEC): Likewise.
12886 (__ASSUME_SOCK_CLOEXEC): Likewise.
12887 (__ASSUME_IN_NONBLOCK): Likewise.
12888 (__ASSUME_PIPE2): Likewise.
12889 (__ASSUME_EVENTFD2): Likewise.
12890 (__ASSUME_SIGNALFD4): Likewise.
12891 (__ASSUME_DUP3): Likewise.
12892 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12893 (__ASSUME_UTIMES): Likewise.
12894 (__ASSUME_O_CLOEXEC): Likewise.
12895 (__ASSUME_SOCK_CLOEXEC): Likewise.
12896 (__ASSUME_IN_NONBLOCK): Likewise.
12897 (__ASSUME_PIPE2): Likewise.
12898 (__ASSUME_EVENTFD2): Likewise.
12899 (__ASSUME_SIGNALFD4): Likewise.
12900 (__ASSUME_DUP3): Likewise.
12901 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12903 (__ASSUME_UTIMES): Likewise.
12904 (__ASSUME_EVENTFD2): Likewise.
12905 (__ASSUME_SIGNALFD4): Likewise.
12906 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12907 (__ASSUME_O_CLOEXEC): Likewise.
12908 (__ASSUME_SOCK_CLOEXEC): Likewise.
12909 (__ASSUME_IN_NONBLOCK): Likewise.
12910 (__ASSUME_PIPE2): Likewise.
12911 (__ASSUME_EVENTFD2): Likewise.
12912 (__ASSUME_SIGNALFD4): Likewise.
12913 (__ASSUME_DUP3): Likewise.
12914 (__ASSUME_UTIMES): Undefine.
12916 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12917 feclearexcept. Remove symbol versioning code.
12918 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12919 symbol versioning code.
12920 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12921 symbol versioning code.
12922 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12923 feupdateenv. Remove symbol versioning code.
12924 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12925 fegetexceptflag. Remove symbol versioning code.
12926 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12927 fesetexceptflag. Remove symbol versioning code.
12928 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12929 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12930 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12931 (__posix_fadvise64_l32): Remove prototype.
12932 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12935 2014-05-13 Roland McGrath <roland@hack.frob.com>
12937 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12938 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12939 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12940 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12942 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12944 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12945 current working directory
12947 2014-05-13 Roland McGrath <roland@hack.frob.com>
12949 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12950 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12951 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12952 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12953 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12954 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12955 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12956 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12957 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12958 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12959 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12960 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12961 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12962 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12963 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12964 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12965 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12966 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12967 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12968 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12969 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12970 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12971 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12972 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12973 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12974 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12975 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12976 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12977 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12978 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12979 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12980 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12981 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12982 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12983 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12984 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12985 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12986 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12987 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12988 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12989 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12990 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12992 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12993 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12995 * sysdeps/unix/sysv/linux/arm/Makefile
12996 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12997 Add rt-aeabi_unwind_cpp_pr1.
12998 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12999 Add nptl-aeabi_unwind_cpp_pr1.
13000 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13001 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13002 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13003 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13004 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13005 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13007 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13008 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13009 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13010 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13012 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13013 Deconditionalize the code that was previously under [RESET_PID].
13014 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13016 * sysdeps/generic/exit-thread.h: New file.
13017 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13018 * include/unistd.h (__exit_thread): Remove declaration.
13019 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13020 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13021 * csu/libc-start.c: Include <exit-thread.h>.
13022 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13023 * nptl/pthread_create.c: Include <exit-thread.h>.
13024 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13025 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13026 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13027 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13028 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13029 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13030 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13031 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13032 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13033 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13034 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13035 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13036 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13037 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13038 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13039 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13040 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13042 2014-05-13 Andreas Schwab <schwab@suse.de>
13044 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13046 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13048 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13049 (__ASSUME_UTIMES): Do not condition on kernel version.
13050 (__ASSUME_PSELECT): Define unconditionally.
13051 (__ASSUME_PPOLL): Likewise.
13052 (__ASSUME_ATFCTS): Likewise.
13053 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13054 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13055 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13056 (__ASSUME_UTIMENSAT): Define unconditionally.
13057 (__ASSUME_PRIVATE_FUTEX): Likewise.
13058 (__ASSUME_FALLOCATE): Likewise.
13059 (__ASSUME_O_CLOEXEC): Likewise.
13060 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13061 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13062 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13063 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13064 (__ASSUME_IN_NONBLOCK): Likewise.
13065 (__ASSUME_PIPE2): Likewise.
13066 (__ASSUME_EVENTFD2): Likewise.
13067 (__ASSUME_SIGNALFD4): Likewise.
13068 (__ASSUME_DUP3): Likewise.
13069 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13070 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13071 (__ASSUME_AT_RANDOM): Likewise.
13072 (__ASSUME_PREADV): Likewise.
13073 (__ASSUME_PWRITEV): Likewise.
13074 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13075 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13076 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13077 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13078 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13079 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13080 (__ASSUME_O_CLOEXEC): Define unconditionally.
13081 (__ASSUME_PSELECT): Do not undefine conditionally.
13082 (__ASSUME_PPOLL): Likewise.
13083 (__ASSUME_ATFCTS): Likewise.
13084 (__ASSUME_SET_ROBUST_LIST): Likewise.
13085 (__ASSUME_UTIMENSAT): Likewise.
13086 (__ASSUME_FDATASYNC): Define unconditionally.
13087 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13088 (__ASSUME_SIGFRAME_V2): Likewise.
13089 )__ASSUME_EVENTFD2): Likewise.
13090 (__ASSUME_SIGNALFD4): Likewise.
13091 (__ASSUME_PSELECT): Do not undefine conditionally.
13092 (__ASSUME_PPOLL): Likewise.
13093 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13094 (__ASSUME_PSELECT): Define unconditionally.
13095 (__ASSUME_PPOLL): Likewise.
13096 (__ASSUME_O_CLOEXEC): Likewise.
13097 (__ASSUME_SOCK_CLOEXEC): Likewise.
13098 (__ASSUME_IN_NONBLOCK): Likewise.
13099 (__ASSUME_PIPE2): Likewise.
13100 (__ASSUME_EVENTFD2): Likewise.
13101 (__ASSUME_SIGNALFD4): Likewise.
13102 (__ASSUME_DUP3): Likewise.
13103 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13104 (__ASSUME_O_CLOEXEC): Likewise.
13105 (__ASSUME_SOCK_CLOEXEC): Likewise.
13106 (__ASSUME_IN_NONBLOCK): Likewise.
13107 (__ASSUME_PIPE2): Likewise.
13108 (__ASSUME_EVENTFD2): Likewise.
13109 (__ASSUME_SIGNALFD4): Likewise.
13110 (__ASSUME_DUP3): Likewise.
13111 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13112 (__ASSUME_EVENTFD2): Likewise.
13113 (__ASSUME_SIGNALFD4): Likewise.
13114 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13116 2014-05-12 Andreas Schwab <schwab@suse.de>
13119 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13120 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13121 than maximum RPC packet size.
13122 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13123 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13124 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13125 (_nss_nis_getservbyport_r): Likewise.
13127 2014-05-12 Will Newton <will.newton@linaro.org>
13129 * malloc/Makefile (tests): Add tst-mallopt.
13130 * malloc/tst-mallopt.c: New file.
13132 2014-05-09 Roland McGrath <roland@hack.frob.com>
13134 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13135 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13137 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13139 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13140 (tst-tlsmod6.so): Likewise.
13142 2014-05-09 Roland McGrath <roland@hack.frob.com>
13144 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13146 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13149 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13150 and <dl-procinfo.h>.
13151 (__fegetenv): Save SSE state in envp->__eip if supported.
13152 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13153 envp->__eip if supported.
13154 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13155 and <dl-procinfo.h>.
13156 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13157 __data_offset and __data_selector in environment to 0. Set SSE
13158 state if supported.
13159 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13161 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13163 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13165 2014-05-09 Will Newton <will.newton@linaro.org>
13167 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13168 and libc_relro_required for ARM.
13169 * sysdeps/arm/preconfigure: Regenerate.
13171 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13172 Stefan Liebler <stli@linux.vnet.ibm.com>
13174 * config.make.in (enable-lock-elision): New Makefile variable.
13175 * configure.ac: Likewise.
13176 * configure: Regenerate.
13177 * sysdeps/s390/configure.ac:
13178 Add check for gcc transactions support.
13179 * sysdeps/s390/configure: Regenerate.
13180 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13181 Build elision files if enabled.
13182 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13183 Add lock elision support for s390.
13184 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13185 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13186 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13187 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13188 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13189 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13190 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13192 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13194 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13196 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13198 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13199 (__lll_timedlock_elision, __lll_lock_elision)
13200 (__lll_unlock_elision, __lll_trylock_elision)
13201 (lll_timedlock_elision, lll_lock_elision)
13202 (lll_unlock_elision, lll_trylock_elision): Add.
13203 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13204 (pthread_mutex_t): Add lock elision support for s390.
13206 2014-05-14 Wilco <wdijkstr@arm.com>
13208 * sysdeps/arm/fclrexcpt.c: Cleanup.
13209 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13210 * sysdeps/arm/feenablxcpt.c: Cleanup.
13211 * sysdeps/arm/fegetenv.c: Cleanup.
13212 * sysdeps/arm/fegetexcept.c: Cleanup.
13213 * sysdeps/arm/fegetround.c: Cleanup.
13214 * sysdeps/arm/feholdexcpt.c: Cleanup.
13215 * sysdeps/arm/fesetenv.c: Cleanup.
13216 * sysdeps/arm/fesetround.c: Cleanup.
13217 * sysdeps/arm/feupdateenv.c: Cleanup.
13218 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13219 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13220 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13221 * sysdeps/arm/ftestexcept.c: Cleanup.
13222 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13223 * sysdeps/arm/setfpucw.c: Cleanup.
13225 2014-05-09 Will Newton <will.newton@linaro.org>
13227 * sysdeps/arm/armv7/strcmp.S: New file.
13228 * NEWS: Mention addition of ARMv7 optimized strcmp.
13230 2014-05-08 Roland McGrath <roland@hack.frob.com>
13232 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13233 look for %.ac rather than %.in.
13235 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13236 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13237 * sysdeps/mach/hurd/configure: Regenerated.
13238 * sysdeps/unix/sysv/linux/configure: Regenerated.
13240 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13242 2014-05-07 Steve Ellcey <sellcey@mips.com>
13245 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13249 2014-05-07 Andreas Schwab <schwab@suse.de>
13251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13252 when skipping over non-matching result from nscd.
13254 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13257 * nptl/sockperf.c (client): Check socket return value.
13260 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13261 nscd security class.
13263 2014-05-06 Roland McGrath <roland@hack.frob.com>
13265 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13266 * sysdeps/arm/unwind.h: ... here.
13268 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13271 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13274 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13276 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13277 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13278 multiarch strncpy for PPC64.
13279 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13280 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13282 multiarch optimizations.
13283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13284 (__libc_ifunc_impl_list): Likewise.
13285 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13286 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13287 multiarch stpncpy for PPC64.
13288 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13289 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13291 2014-05-06 Andreas Schwab <schwab@suse.de>
13294 * gmon/mcount.c (_MCOUNT_DECL): Use
13295 atomic_compare_and_exchange_bool_acq instead of
13296 catomic_compare_and_exchange_bool_acq.
13298 2014-05-05 Roland McGrath <roland@hack.frob.com>
13300 * elf/Makefile (others, install-bin): Remove pldd.
13301 (pldd-modules): Variable removed.
13302 ($(objpfx)pldd): Target removed.
13303 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13304 (others, install-bin): Append pldd here.
13305 ($(objpfx)pldd): New target.
13307 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13308 to 0, so the first #if test emitted later doesn't see it undefined.
13309 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13310 * sysdeps/gnu/errlist.c: Regenerated.
13312 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13315 [libc_hidden_builtin_def]: Define to empty value.
13316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13317 [libc_hidden_builtin_def]: Likewise.
13318 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13319 [libc_hidden_builtin_def]: Likewise.
13320 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13321 [libc_hidden_builtin_def]: Likewise.
13322 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13323 __redirect_memcpy and define ifunc as default hidden symbol.
13324 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13325 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13327 2014-05-04 Adam Conrad <adconrad@0c3.net>
13329 * locale/iso-4217.def: Reintroduce XDR currency.
13331 2014-05-04 Allan McRae <allan@archlinux.org>
13333 * po/eo.po: Update Esperanto translation from translation project.
13335 2014-05-02 Carlos O'Donell <carlos@redhat.com>
13337 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13338 and FEATURE_INDEX_MAX to 1.
13339 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13341 2014-05-01 Steve Ellcey <sellcey@mips.com>
13343 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13344 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13345 * iconvdata/big5.c (ONE_DIRECTION): Define.
13346 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13347 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13348 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13349 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13350 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13351 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13352 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13353 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13354 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13355 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13356 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13357 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13358 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13359 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13360 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13361 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13362 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13363 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13364 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13365 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13366 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13367 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13368 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13369 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13370 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13371 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13372 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13373 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13374 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13375 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13376 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13377 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13378 * iconvdata/johab.c (ONE_DIRECTION): Define.
13379 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13380 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13381 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13382 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13383 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13384 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13385 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13386 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13387 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13388 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13390 2014-05-01 Roland McGrath <roland@hack.frob.com>
13392 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13393 (_IO_JUMPS_OFFSET): Define to 0.
13395 * nptl/sysdeps/pthread/bits/libc-lock.h
13396 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13397 (__libc_lock_define_initialized_recursive): Always define using
13398 initializer. Modern compilers treat uninitialized (implicit zero) and
13399 explicit zero initializers the same (i.e. put the datum in bss).
13401 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13403 * nscd/nscd-client.h: Include <string.h>.
13405 2014-05-01 David S. Miller <davem@davemloft.net>
13408 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13409 multiple zero bytes exist at the end of a string.
13410 Reported by Aurelien Jarno <aurelien@aurel32.net>
13412 * string/test-strcmp.c (check): Add explicit test for situations where
13413 there are multiple zero bytes after the first.
13415 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13418 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13419 when compiling wprintf.
13420 * stdio-common/tstdiomisc.c (t3): New function.
13423 2014-05-01 Steve Ellcey <sellcey@mips.com>
13425 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13426 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13427 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13428 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13430 2014-05-01 Steve Ellcey <sellcey@mips.com>
13432 * stdlib/longlong.h: Updated from GCC.
13434 2014-05-01 Will Newton <will.newton@linaro.org>
13435 Bernard Ogden <bernie.ogden@linaro.org>
13437 * NEWS: Update fixed bug list.
13440 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13442 2014-04-30 David S. Miller <davem@davemloft.net>
13444 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13445 (libc_feholdexcept_setround_sparc_ctx): New function.
13446 (libc_fesetenv_sparc_ctx): Likewise.
13447 (libc_feupdateenv_sparc_ctx): Likewise.
13448 (libc_feholdsetround_sparc_ctx): Likewise.
13449 (libc_feholdexcept_setround_ctx): Define.
13450 (libc_feholdexcept_setroundf_ctx): Likewise.
13451 (libc_feholdexcept_setroundl_ctx): Likewise.
13452 (libc_fesetenv_ctx): Likewise.
13453 (libc_fesetenvf_ctx): Likewise.
13454 (libc_fesetenvl_ctx): Likewise.
13455 (libc_feupdateenv_ctx): Likewise.
13456 (libc_feupdateenvf_ctx): Likewise.
13457 (libc_feupdateenvl_ctx): Likewise.
13458 (libc_feresetround_ctx): Likewise.
13459 (libc_feresetroundf_ctx): Likewise.
13460 (libc_feresetroundl_ctx): Likewise.
13461 (libc_feholdsetround_ctx): Likewise.
13462 (libc_feholdsetroundf_ctx): Likewise.
13463 (libc_feholdsetroundl_ctx): Likewise.
13465 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13466 with __USE_GNU instead of XOPEN cpp guards.
13468 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13471 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13472 with XOPEN cpp guards.
13474 2014-04-30 Julian Brown <julian@codesourcery.com>
13477 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13480 2014-04-30 Joseph Myers <joseph@codesourcery.com>
13483 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13485 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13486 * sysdeps/unix/sysv/linux/configure: Regenerated.
13487 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13488 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13489 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13490 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13491 * README: Update reference to required Linux kernel version.
13492 * manual/install.texi (Linux): Update reference to required Linux
13493 kernel headers version.
13494 * INSTALL: Regenerated.
13496 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13498 [POSIX] (limits.h): Likewise.
13499 [POSIX] (math.h): Likewise.
13500 [POSIX] (sys/wait.h): Likewise.
13501 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13503 [POSIX] (stddef.h): Do not allow header inclusion.
13505 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13507 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13509 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13511 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13512 Return immediately after lll_futex_wake.
13514 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13517 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13519 (datahead_init_pos): Call datahead_init_common early.
13520 (datahead_init_neg): Likewise.
13522 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13523 datahead_init_neg): New functions.
13524 * nscd/aicache.c (addhstaiX): Use them.
13525 * nscd/grpcache.c (cache_addgr): Likewise.
13526 * nscd/hstcache.c (cache_addhst): Likewise.
13527 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13528 * nscd/netgroupcache.c (do_notfound): Likewise.
13529 (addgetnetgrentX): Likewise.
13530 (addinnetgrX): Likewise.
13531 * nscd/pwdcache.c (cache_addpw): Likewise.
13532 * nscd/servicescache.c (cache_addserv): Likewise.
13534 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13535 Atsushi Onoe <atsushi@onoe.org>
13540 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13541 one response is valid.
13542 * resolv/res_send.c (send_dg): Check for validity of other
13543 response if the current response is a referral.
13545 2014-04-29 Steve Ellcey <sellcey@mips.com>
13547 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13549 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13552 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13553 Always divide by positive zero when computing -Inf result.
13554 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13555 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13557 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13559 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13560 FPSCR if value do not change.
13561 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13562 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13563 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13564 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13565 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13566 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13569 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13571 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13572 * sysdeps/unix/sysv/linux/hppa: Move directory from
13573 ports/systeps/unix/sysv/linux/hppa.
13574 * README: Update listing for hppa-*-linux-gnu.
13576 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
13579 * manual/stdio.texi (Hook functions): Fix types of stream hook
13582 * socket/sys/socket.h: Fix typo in comment.
13584 2014-04-28 Wilco <wdijkstr@arm.com>
13586 * sysdeps/arm/fenv_private.h: New file.
13587 * sysdeps/arm/math_private.h: New file.
13588 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13590 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13592 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13594 (La_x86_64_retval): Likewise.
13596 2014-04-24 Ian Bolton <ian.bolton@arm.com>
13598 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13599 fpsr if value didn't change.
13600 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13601 to fpcr if value didn't change.
13602 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13603 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13604 fpsr or fpcr if value didn't change.
13605 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13606 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13607 fpcr if value didn't change.
13608 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13609 to fpsr if value didn't change.
13611 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13613 * nptl/tst-sem3.c: Use test-skeleton.c
13614 (main): Rename to do_test. Use return instead of
13616 * nptl/tst-sem4.c: Use test-skeleton.c
13617 (main): Rename to do_test.
13619 2014-04-22 David S. Miller <davem@davemloft.net>
13621 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13622 (struct sigaction): New struct member __glibc_reserved0, change
13623 type of sa_flags to int.
13625 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13627 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13628 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13630 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13632 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13633 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13635 2014-04-22 Will Newton <will.newton@linaro.org>
13636 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13638 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13639 (__longjmp): Add longjmp and longjmp_target SystemTap
13641 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13642 (__sigsetjmp): Add setjmp SystemTap probe.
13644 2014-04-17 Carlos O'Donell <carlos@redhat.com>
13646 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13647 match manual order.
13649 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13651 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13653 * sysdeps/powerpc/fpu/fenv_private.h
13654 (libc_feholdexcept_setroundl_ctx): Define to
13655 libc_feholdexcept_setround_ppc_ctx.
13656 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13657 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13658 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13659 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13661 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13663 * sysdeps/aarch64/math-tests.h: New file.
13665 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13667 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13670 Check and set bit_AVX2_Usable.
13671 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13673 (bit_AVX2): Likewise.
13674 (index_AVX2_Usable): Likewise.
13675 (CPUID_AVX2): Likewise.
13676 (HAS_AVX2): Likewise.
13678 2014-04-17 Will Newton <will.newton@linaro.org>
13680 * manual/setjmp.texi (System V contexts): Add note that
13681 calling setcontext on a context created by a call to a
13682 signal handler is undefined. Update text to note that
13683 setcontext from a signal handler is possible but not
13687 * stdlib/tst-setcontext.c: Include signal.h.
13688 (main): Check that the signal stack before and
13689 after swapcontext is the same.
13691 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13692 Re-implement to restore registers in user code and avoid
13693 rt_sigreturn system call.
13695 2014-04-17 Wilco <wdijkstr@arm.com>
13697 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13698 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13699 * math/test-fenv.c: Skip exception trap tests on targets which only
13700 support non-stop mode.
13702 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13703 Wilco Dijkstra <wilco.dijkstra@arm.com>
13705 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13706 (libc_feholdsetround_aarch64_ctx)
13707 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13708 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13709 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13710 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13711 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13712 (libc_feresetround_noexl_ctx): Define.
13714 2014-04-16 Richard Henderson <rth@redhat.com>
13716 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13718 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13721 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13722 const from the non-libc, non-ldso copy.
13724 * sysdeps/alpha/libm-test-ulps: Regenerate.
13726 2014-04-16 Ian Bolton <ian.bolton@arm.com>
13727 Wilco Dijkstra <wilco.dijkstra@arm.com>
13729 * sysdeps/aarch64/fpu/math_private.h: New file.
13731 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13733 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13735 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13738 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13739 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13740 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13741 Intel MPX bound registers before _dl_profile_fixup.
13742 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13743 registers after _dl_profile_fixup. Save and restore bound
13744 registers bnd0/bnd1 when calling _dl_call_pltexit.
13745 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13746 (LR_BND_OFFSET): Likewise.
13747 (LRV_BND0_OFFSET): Likewise.
13748 (LRV_BND1_OFFSET): Likewise.
13750 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13752 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13754 * sysdeps/mach/hurd/i386/tls.h: ... here.
13755 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13756 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13759 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13761 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13763 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13765 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13767 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13770 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13771 * sysdeps/s390/configure: Regenerate.
13774 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13775 Set round-to-nearest internally to reduce error accumulation.
13777 2014-04-16 Alan Modra <amodra@gmail.com>
13781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13782 * math/libm-test.inc (frexp_test_data): Add tests.
13783 * NEWS: Update fixed bug list.
13785 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13787 * benchtests/Makefile: Depend on libraries in build directory.
13788 (bench-math): Separate out math tests.
13789 (bench-pthread): Separate out pthread tests.
13790 (bench): Include math and pthread tests.
13792 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13795 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13796 _dl_debug_initialize.
13798 * configure.ac: Remove SELinux header check.
13799 * configure: Regenerate.
13800 * nscd/selinux.c (perms): Array of const char* to permission names.
13801 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13802 default policy. Call string_to_security_class and string_to_av_perm to
13803 translate strings. Enforce default policy and call avs_has_perm with
13804 results of translated strings.
13806 2014-04-13 David S. Miller <davem@davemloft.net>
13808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13810 2014-04-12 Allan McRae <allan@archlinux.org>
13813 * manual/string.texi (Collation Functions): Fix qsort argument
13815 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13817 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13819 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13820 Make the test a no-op if there are no exceptions defined.
13822 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13824 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13825 enable-hardcoded-path-in-tests
13827 2014-04-11 Will Newton <will.newton@linaro.org>
13829 * benchtests/Makefile (extra-objs): Add json-lib.o.
13830 (bench-func): Tidy up JSON output.
13831 * benchtests/bench-skeleton.c: Include json-lib.h.
13832 (main): Use JSON library functions to do output of
13834 * benchtests/bench-timing-type.c (main): Output the
13835 timing type simply, leaving formatting to the user.
13836 * benchtests/json-lib.c: New file.
13837 * benchtests/json-lib.h: Likewise.
13839 2014-04-11 Torvald Riegel <triegel@redhat.com>
13842 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13843 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13844 memory barriers. Add comments.
13845 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13846 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13847 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13848 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13849 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13850 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13852 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13854 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13855 * sysdeps/s390/s390-64/configure.ac: ... this ...
13856 * sysdeps/s390/configure.ac: ... to here.
13857 * sysdeps/s390/s390-32/configure: Delete file.
13858 * sysdeps/s390/s390-64/configure: Delete file.
13859 * sysdeps/s390/configure: Regenerate.
13861 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13863 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13865 2014-04-11 Will Newton <will.newton@linaro.org>
13867 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13868 to zero if it is not defined elsewhere. (mtrim): Test
13869 the value of MALLOC_DEBUG with #if rather than #ifdef.
13871 2014-04-10 Torvald Riegel <triegel@redhat.com>
13873 * benchtests/pthread_once-inputs: New file.
13874 * benchtests/pthread_once-source.c: New file.
13875 * benchtests/README: Update documentation.
13877 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13878 H.J. Lu <hongjiu.lu@intel.com>
13881 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13882 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13883 * sysdeps/x86_64/configure: Regenerated.
13884 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13886 (REGISTER_SAVE_RAX): Likewise.
13887 (REGISTER_SAVE_RCX): Likewise.
13888 (REGISTER_SAVE_RDX): Likewise.
13889 (REGISTER_SAVE_RSI): Likewise.
13890 (REGISTER_SAVE_RDI): Likewise.
13891 (REGISTER_SAVE_R8): Likewise.
13892 (REGISTER_SAVE_R9): Likewise.
13893 (REGISTER_SAVE_BND0): Likewise.
13894 (REGISTER_SAVE_BND1): Likewise.
13895 (REGISTER_SAVE_BND2): Likewise.
13896 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13897 bound registers when calling _dl_fixup.
13899 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13901 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13902 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13904 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13905 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13906 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13907 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13908 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13909 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13910 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13912 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13915 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13916 pathconf(_PC_NAME_MAX).
13918 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13920 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13921 Remove macro usage.
13922 (__PTHREAD_SPINS): Move definition to ...
13923 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13924 (__PTHREAD_SPINS): ... here.
13925 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13926 (__PTHREAD_SPIN): Likewise.
13927 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13928 (__PTHREAD_SPIN): Likewise.
13929 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13930 (__PTHREAD_SPIN): Likewise.
13931 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13932 (__PTHREAD_SPIN): Likewise.
13933 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13934 (__PTHREAD_SPIN): Likewise.
13935 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13936 (__PTHREAD_SPIN): Likewise.
13937 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13938 (__PTHREAD_SPIN): Likewise.
13939 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13940 (__PTHREAD_SPIN): Likewise.
13941 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13942 (__PTHREAD_SPIN): Likewise.
13943 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13944 (__PTHREAD_SPIN): Likewise.
13945 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13946 (__PTHREAD_SPIN): Likewise.
13947 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13948 (__PTHREAD_SPIN): Likewise.
13950 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13951 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13952 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13953 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13955 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13956 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13957 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13958 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13959 correct imply path.
13960 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13961 strlen symbol for non multi-arch builds.
13962 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13963 missing hidden_def and weak_alias.
13965 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13967 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13969 2014-04-07 Will Newton <will.newton@linaro.org>
13971 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13972 and contents. [!_LIBC] Remove #ifndef and contents.
13973 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13974 * string/memccpy.c (__memccpy): Use ANSI prototype.
13975 * string/memfrob.c (memfrob): Likewise.
13976 * string/strcoll.c (STRCOLL): Likewise.
13977 * string/strlen.c (strlen): Likewise.
13978 * string/strtok.c (STRTOK): Likewise.
13979 * string/strcat.c: Remove unused #include of memcopy.h.
13980 (strcat): Use ANSI prototype.
13981 * string/strchr.c: Remove unused #include of memcopy.h.
13982 (strchr): Use ANSI prototype.
13983 * string/strcmp.c: Remove unused #include of memcopy.h.
13984 (strcmp): Use ANSI prototype.
13985 * string/strcpy.c: Remove unused #include of memcopy.h.
13986 (strcpy): Use ANSI prototype.
13988 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13990 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13991 * config.make.in (config-extra-cppflags): Set it from
13992 libc_extra_cppflags.
13993 * configure.ac (libc_extra_cflags): Make it accumulate over
13994 configure fragments.
13995 (libc_extra_cppflags): New flag.
13996 * configure. Regenerate.
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13998 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13999 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14003 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14004 result for FE_DOWNWARD rounding mode.
14005 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14009 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14011 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14012 in function argument name.
14014 2014-04-03 David Svoboda <svoboda@cert.org>
14017 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14020 2014-04-03 Roland McGrath <roland@hack.frob.com>
14022 * elf/dl-unmap-segments.h: New file.
14023 * sysdeps/generic/ldsodefs.h
14024 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14025 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14026 * elf/dl-fptr.c: Likewise.
14027 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14028 * sysdeps/aarch64/tlsdesc.c: Likewise.
14029 * sysdeps/arm/tlsdesc.c: Likewise.
14030 * sysdeps/i386/tlsdesc.c: Likewise.
14031 * sysdeps/tile/dl-runtime.c: Likewise.
14032 * sysdeps/x86_64/tlsdesc.c: Likewise.
14033 * elf/dl-load.h: New file.
14034 * elf/dl-load.c: Include it.
14035 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14036 Macros moved to dl-load.h.
14037 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14038 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14039 Use _dl_unmap_segments in place of __munmap.
14040 Break out segment-mapping loop into ...
14041 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14043 2014-04-03 Will Newton <will.newton@linaro.org>
14045 * elf/dl-lookup.c (do_lookup_x): Remove comment
14046 referring to nested function and move variable
14047 declarations down to before first use.
14049 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14053 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14055 * math/s_catanf.c (__catanf): Likewise.
14056 * math/s_catanh.c (__catanh): Likewise.
14057 * math/s_catanhf.c (__catanhf): Likewise.
14058 * math/s_catanhl.c (__catanhl): Likewise.
14059 * math/s_catanl.c (__catanl): Likewise.
14060 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14061 by positive zero when computing -Inf result.
14062 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14063 (catanh_test): Likewise.
14064 * sysdeps/i386/fpu/libm-test-ulps: Update.
14065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14068 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14069 instead of using underflowing value in computing result.
14070 * math/s_clog10.c (__clog10): Likewise.
14071 * math/s_clog10f.c (__clog10f): Likewise.
14072 * math/s_clog10l.c (__clog10l): Likewise.
14073 * math/s_clogf.c (__clogf): Likewise.
14074 * math/s_clogl.c (__clogl): Likewise.
14075 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14076 (clog10_test): Likewise.
14077 * sysdeps/i386/fpu/libm-test-ulps: Update.
14078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14080 2014-04-02 Alan Modra <amodra@gmail.com>
14083 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14084 output when value is near a power of two. Use int64_t for lx and
14085 remove casts. Use decimal rather than hex exponent constants.
14086 Don't use long double multiplication when double will suffice.
14087 * math/libm-test.inc (nextafter_test_data): Add tests.
14088 * NEWS: Add 16739 and 16786 to bug list.
14090 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14092 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14094 2014-04-01 Will Newton <will.newton@linaro.org>
14096 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14097 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14099 2014-04-01 Florian Weimer <fweimer@redhat.com>
14102 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14103 * nptl/tst-setuid2.c: New file.
14104 * nptl/Makefile (xtests): Add tst-setuid2.
14106 2014-04-01 Alan Modra <amodra@gmail.com>
14109 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14111 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14115 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14116 set errno as appropriate.
14117 * math/w_scalbf.c (__scalbf): Likewise.
14118 * math/w_scalbl.c (__scalbl): Likewise.
14119 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14120 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14121 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14122 Add more NaN tests.
14125 * math/w_atan2.c: Include <errno.h>.
14126 (__atan2): Set errno for result underflowing to zero.
14127 * math/w_atan2f.c: Include <errno.h>.
14128 (__atan2f): Set errno for result underflowing to zero.
14129 * math/w_atan2l.c: Include <errno.h>.
14130 (__atan2l): Set errno for result underflowing to zero.
14131 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14133 * math/auto-libm-test-out: Regenerated.
14135 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14137 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14138 Encode instruction correctly in little endian.
14139 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14141 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14143 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14145 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14148 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14151 * sysdeps/unix/sysv/linux/kernel-features.h
14152 [__sparc__ && !__arch64__ && !__sparc_v9__]
14153 (__ASSUME_SET_ROBUST_LIST): Do not define.
14154 [__sparc__ && !__arch64__ && !__sparc_v9__]
14155 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14156 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14158 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14159 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14160 (__ASSUME_REQUEUE_PI): Likewise.
14161 (__ASSUME_SET_ROBUST_LIST): Likewise.
14162 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14163 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14165 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14166 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14168 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14170 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14172 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14173 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14175 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14176 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14180 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14181 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14182 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14184 2014-03-31 Will Newton <will.newton@linaro.org>
14186 * benchtests/Makefile (bench): Add ffs and ffsll to list
14188 * benchtests/ffs-inputs: New file.
14189 * benchtests/ffsll-inputs: Likewise.
14191 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14194 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14195 too large before casting to int.
14196 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14197 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14198 * math/libm-test.inc (scalb_test_data): Add more tests.
14200 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14202 * benchtests/Makefile (DETAILED_OPT): New make option.
14203 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14205 * benchtests/bench-skeleton.c: Include stdbool.h.
14206 (main): Store and print timings per input.
14207 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14208 member to each argument value.
14209 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14210 (_print_arg_data): Initialize per-input timing to 0.
14212 * benchtests/Makefile (timing-type): New binary.
14213 (bench-clean): Also remove bench-timing-type.
14214 (bench): New target for timing-type.
14215 (bench-func): Print output in JSON format.
14216 * benchtests/bench-skeleton.c (main): Print output in JSON
14218 * benchtests/bench-timing-type.c: New file.
14219 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14220 (TIMING_PRINT_STATS): Remove.
14221 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14224 * benchtests/bench-modf.c: Remove.
14225 * benchtests/modf-inputs: New inputs file.
14227 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14230 * math/s_clog10.c (M_PI_LOG10E): New macro.
14231 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14232 imaginary parts are 0.
14233 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14234 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14235 imaginary parts are 0.
14236 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14237 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14238 imaginary parts are 0.
14239 * math/libm-test.inc (clog10_test_data): Update expected results
14240 for when real and imaginary parts are 0.
14242 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14244 * elf/dl-load.c: Finish conversion of __builtin_expect into
14245 __glibc_{un}likely.
14247 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14251 1+x for argument with exponent below -67.
14252 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14254 * math/auto-libm-test-in: Add more tests of exp.
14255 * math/auto-libm-test-out: Regenerated.
14257 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14260 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14261 (nscd_getnetgrent): Use it.
14264 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14267 2014-03-27 Andi Kleen <ak@linux.intel.com>
14269 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14270 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14271 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14272 (lll_robust_unlock): Remove out of line section. Use cfi
14274 (LLL_STUB_UNWIND_INFO*): Remove.
14275 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14276 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14277 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14278 (lll_robust_unlock): Remove out of line section. Use cfi
14280 (LLL_STUB_UNWIND_INFO*): Remove.
14282 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14285 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14288 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14290 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14292 2014-03-26 Joseph Myers <joseph@codesourcery.com>
14295 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14297 * math/test-fenv-preserve.c: New file.
14298 * math/Makefile (tests): Add test-fenv-preserve.
14300 2014-03-26 Will Newton <will.newton@linaro.org>
14302 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14304 2014-03-25 Roland McGrath <roland@hack.frob.com>
14306 * scripts/versionlist.awk: Partition the version sets and emit all
14307 GLIBC_* (sorted) before all others (sorted).
14309 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14311 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14312 GLIBC_2.2.5 version.
14314 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14316 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14319 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14324 2014-03-25 Andreas Schwab <schwab@suse.de>
14326 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14327 label to be used after in6ailist is initialized.
14329 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14331 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14332 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14334 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14338 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14340 (fp_formats): Update initializers.
14341 (init_fp_formats): Initialize new field.
14342 (output_for_one_input_case): Allow underflow for results up to
14344 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14345 * math/auto-libm-test-in: Don't mark some underflows from asin and
14347 * math/auto-libm-test-out: Regenerated.
14348 * sysdeps/i386/fpu/libm-test-ulps: Update.
14349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14351 2014-03-25 Andreas Schwab <schwab@suse.de>
14353 * libio/Makefile (tst-ftell-partial-wide-ENV)
14354 (tst-ftell-active-handler-ENV): Define.
14356 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14358 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14360 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14362 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14364 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14366 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14367 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14368 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14370 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14373 * elf/dl-load.c (open_verify): Add mode parameter.
14374 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14375 (open_path): Change from boolean 'secure' to complete flag 'mode'
14376 (_dl_map_object): Adjust.
14377 * elf/Makefile (tests): Add tst-dlopen-aout.
14378 * elf/tst-dlopen-aout.c: New test.
14380 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14383 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14384 (struct stat): Rename member pad0 to __glibc_reserved0.
14387 * sysdeps/s390/s390-32/bits/wordsize.h
14388 (__WORDSIZE32_SIZE_ULONG): New define.
14389 * sysdeps/s390/s390-64/bits/wordsize.h
14390 (__WORDSIZE32_SIZE_ULONG): Likewise.
14391 * sysdeps/generic/stdint.h (SIZE_MAX):
14392 Define as UL if __WORDSIZE32_SIZE_ULONG.
14395 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14396 (__glibc_reserved0): New variable.
14397 (sa_flags): Change type to int.
14399 * posix/Makefile (before-compile): Use += before-compile instead
14402 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14403 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14405 2014-03-20 Andreas Schwab <schwab@suse.de>
14408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14409 non-matching result from nscd.
14411 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14413 * scripts/bench.py: Moved to ...
14414 * benchtests/scripts/bench.py: ... here.
14415 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14417 2014-03-24 Andreas Schwab <schwab@suse.de>
14420 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14421 alloca_account and account alloca use for struct in6ailist.
14423 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14426 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14427 rounding mode to recompute results that overflow to infinity or
14429 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14431 * math/auto-libm-test-out: Regenerated.
14432 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14433 (ccosh_test): Likewise.
14434 (csin_test_data): Use plus_oflow.
14435 (csin_test): Use ALL_RM_TEST.
14436 (csinh_test_data): Use plus_oflow.
14437 (csinh_test): Use ALL_RM_TEST.
14438 * sysdeps/i386/fpu/libm-test-ulps: Update.
14439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14441 2014-03-21 Joseph Myers <joseph@codesourcery.com>
14443 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14444 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14445 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14448 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14449 when x - 1 is zero.
14450 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14451 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14452 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14453 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14455 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14456 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14458 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14459 * sysdeps/i386/fpu/libm-test-ulps: Update.
14460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14462 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14464 * scripts/bench.pl: Remove file.
14465 * scripts/bench.py: New benchmark script.
14466 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14467 * benchtests/README: Mention python dependency.
14468 * scripts/pylintrc: New file.
14469 * scripts/pylint: New file.
14471 * bits/mathdef.h: Use #ifdef instead of #if.
14472 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14473 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14474 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14475 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14476 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14477 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14479 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14480 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14482 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14484 and strpbrk-ppc64 objects.
14485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14486 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14487 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14488 multiarch strpbrk for POWER7.
14489 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14490 multiarch strpbrk for PPC64.
14491 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14493 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14494 strpbrk for POWER7.
14496 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14498 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14499 (atan_test): Likewise.
14500 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14501 (atanh_test): Use ALL_RM_TEST.
14502 (atan2_test_data): Likewise.
14503 (cabs_test): Likewise.
14504 (cacosh_test): Likewise.
14505 (carg_test): Likewise.
14506 (casin_test): Likewise.
14507 (casinh_test): Likewise.
14508 (cbrt_test): Likewise.
14509 (csqrt_test): Likewise.
14510 (erf_test): Likewise.
14511 (erfc_test): Likewise.
14512 (pow10_test): Likewise.
14513 (exp2_test): Likewise.
14514 (hypot_test): Likewise.
14515 (j0_test): Likewise.
14516 (j1_test): Likewise.
14517 (lgamma_test): Likewise.
14518 (gamma_test): Likewise.
14519 (sincos_test): Likewise.
14520 (tanh_test): Likewise.
14521 (y0_test): Likewise.
14522 (y1_test): Likewise.
14523 * sysdeps/i386/fpu/libm-test-ulps: Update.
14524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14526 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14528 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14530 and strcspn-ppc64 objects.
14531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14532 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14533 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14534 multiarch strcspn for POWER7.
14535 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14536 multiarch strcspn for PPC64.
14537 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14539 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14540 strcspn for POWER7.
14542 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14544 * math/gen-libm-test.pl (generate_testfile): Expect only function
14545 name as argument to AUTO_TESTS_* and pass results for all rounding
14546 modes to parse_args.
14547 (parse_auto_input): Separate inputs of automatic tests from
14548 outputs before storing in %auto_tests.
14549 * math/libm-test.inc (acos_test_data): Update call to
14551 (acos_test): Use ALL_RM_TEST.
14552 (acos_tonearest_test_data): Remove.
14553 (acos_test_tonearest): Likewise.
14554 (acos_towardzero_test_data): Likewise.
14555 (acos_test_towardzero): Likewise.
14556 (acos_downward_test_data): Likewise.
14557 (acos_test_downward): Likewise.
14558 (acos_upward_test_data): Likewise.
14559 (acos_test_upward): Likewise.
14560 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14561 (asin_test_data): Likewise.
14562 (asin_test): Use ALL_RM_TEST.
14563 (asin_tonearest_test_data): Remove.
14564 (asin_test_tonearest): Likewise.
14565 (asin_towardzero_test_data): Likewise.
14566 (asin_test_towardzero): Likewise.
14567 (asin_downward_test_data): Likewise.
14568 (asin_test_downward): Likewise.
14569 (asin_upward_test_data): Likewise.
14570 (asin_test_upward): Likewise.
14571 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14572 (atan_test_data): Likewise.
14573 (atanh_test_data): Likewise.
14574 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14575 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14576 (carg_test_data): Likewise.
14577 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14578 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14579 (ccosh_test_data): Likewise.
14580 (cexp_test_data): Likewise.
14581 (clog_test_data): Likewise.
14582 (clog10_test_data): Likewise.
14583 (cos_test_data): Update call to AUTO_TESTS_f_f.
14584 (cos_test): Use ALL_RM_TEST.
14585 (cos_tonearest_test_data): Remove.
14586 (cos_test_tonearest): Likewise.
14587 (cos_towardzero_test_data): Likewise.
14588 (cos_test_towardzero): Likewise.
14589 (cos_downward_test_data): Likewise.
14590 (cos_test_downward): Likewise.
14591 (cos_upward_test_data): Likewise.
14592 (cos_test_upward): Likewise.
14593 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14594 (cosh_test): Use ALL_RM_TEST.
14595 (cosh_tonearest_test_data): Remove.
14596 (cosh_test_tonearest): Likewise.
14597 (cosh_towardzero_test_data): Likewise.
14598 (cosh_test_towardzero): Likewise.
14599 (cosh_downward_test_data): Likewise.
14600 (cosh_test_downward): Likewise.
14601 (cosh_upward_test_data): Likewise.
14602 (cosh_test_upward): Likewise.
14603 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14604 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14605 (ctan_test_data): Likewise.
14606 (ctan_test): Use ALL_RM_TEST.
14607 (ctan_tonearest_test_data): Remove.
14608 (ctan_test_tonearest): Likewise.
14609 (ctan_towardzero_test_data): Likewise.
14610 (ctan_test_towardzero): Likewise.
14611 (ctan_downward_test_data): Likewise.
14612 (ctan_test_downward): Likewise.
14613 (ctan_upward_test_data): Likewise.
14614 (ctan_test_upward): Likewise.
14615 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14616 (ctanh_test): Use ALL_RM_TEST.
14617 (ctanh_tonearest_test_data): Remove.
14618 (ctanh_test_tonearest): Likewise.
14619 (ctanh_towardzero_test_data): Likewise.
14620 (ctanh_test_towardzero): Likewise.
14621 (ctanh_downward_test_data): Likewise.
14622 (ctanh_test_downward): Likewise.
14623 (ctanh_upward_test_data): Likewise.
14624 (ctanh_test_upward): Likewise.
14625 (erf_test_data): Update call to AUTO_TESTS_f_f.
14626 (erfc_test_data): Likewise.
14627 (exp_test_data): Likewise.
14628 (exp_test): Use ALL_RM_TEST.
14629 (exp_tonearest_test_data): Remove.
14630 (exp_test_tonearest): Likewise.
14631 (exp_towardzero_test_data): Likewise.
14632 (exp_test_towardzero): Likewise.
14633 (exp_downward_test_data): Likewise.
14634 (exp_test_downward): Likewise.
14635 (exp_upward_test_data): Likewise.
14636 (exp_test_upward): Likewise.
14637 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14638 (exp10_test): Use ALL_RM_TEST.
14639 (exp10_tonearest_test_data): Remove.
14640 (exp10_test_tonearest): Likewise.
14641 (exp10_towardzero_test_data): Likewise.
14642 (exp10_test_towardzero): Likewise.
14643 (exp10_downward_test_data): Likewise.
14644 (exp10_test_downward): Likewise.
14645 (exp10_upward_test_data): Likewise.
14646 (exp10_test_upward): Likewise.
14647 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14648 (expm1_test_data): Likewise.
14649 (expm1_test): Use ALL_RM_TEST.
14650 (expm1_tonearest_test_data): Remove.
14651 (expm1_test_tonearest): Likewise.
14652 (expm1_towardzero_test_data): Likewise.
14653 (expm1_test_towardzero): Likewise.
14654 (expm1_downward_test_data): Likewise.
14655 (expm1_test_downward): Likewise.
14656 (expm1_upward_test_data): Likewise.
14657 (expm1_test_upward): Likewise.
14658 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14659 (fma_test): Use ALL_RM_TEST.
14660 (fma_towardzero_test_data): Remove.
14661 (fma_test_towardzero): Likewise.
14662 (fma_downward_test_data): Likewise.
14663 (fma_test_downward): Likewise.
14664 (fma_upward_test_data): Likewise.
14665 (fma_test_upward): Likewise.
14666 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14667 (j0_test_data): Update call to AUTO_TESTS_f_f.
14668 (j1_test_data): Likewise.
14669 (jn_test_data): Update call to AUTO_TESTS_if_f.
14670 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14671 (log_test_data): Update call to AUTO_TESTS_f_f.
14672 (log10_test_data): Likewise.
14673 (log1p_test_data): Likewise.
14674 (log2_test_data): Likewise.
14675 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14676 (pow_tonearest_test_data): Likewise.
14677 (sin_test_data): Update call to AUTO_TESTS_f_f.
14678 (sin_test): Use ALL_RM_TEST.
14679 (sin_tonearest_test_data): Remove.
14680 (sin_test_tonearest): Likewise.
14681 (sin_towardzero_test_data): Likewise.
14682 (sin_test_towardzero): Likewise.
14683 (sin_downward_test_data): Likewise.
14684 (sin_test_downward): Likewise.
14685 (sin_upward_test_data): Likewise.
14686 (sin_test_upward): Likewise.
14687 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14688 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14689 (sinh_test): Use ALL_RM_TEST.
14690 (sinh_tonearest_test_data): Remove.
14691 (sinh_test_tonearest): Likewise.
14692 (sinh_towardzero_test_data): Likewise.
14693 (sinh_test_towardzero): Likewise.
14694 (sinh_downward_test_data): Likewise.
14695 (sinh_test_downward): Likewise.
14696 (sinh_upward_test_data): Likewise.
14697 (sinh_test_upward): Likewise.
14698 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14699 (sqrt_test): Use ALL_RM_TEST.
14700 (sqrt_tonearest_test_data): Remove.
14701 (sqrt_test_tonearest): Likewise.
14702 (sqrt_towardzero_test_data): Likewise.
14703 (sqrt_test_towardzero): Likewise.
14704 (sqrt_downward_test_data): Likewise.
14705 (sqrt_test_downward): Likewise.
14706 (sqrt_upward_test_data): Likewise.
14707 (sqrt_test_upward): Likewise.
14708 (tan_test_data): Update call to AUTO_TESTS_f_f.
14709 (tan_test): Use ALL_RM_TEST.
14710 (tan_tonearest_test_data): Remove.
14711 (tan_test_tonearest): Likewise.
14712 (tan_towardzero_test_data): Likewise.
14713 (tan_test_towardzero): Likewise.
14714 (tan_downward_test_data): Likewise.
14715 (tan_test_downward): Likewise.
14716 (tan_upward_test_data): Likewise.
14717 (tan_test_upward): Likewise.
14718 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14719 (tgamma_test_data): Likewise.
14720 (y0_test_data): Likewise.
14721 (y1_test_data): Likewise.
14722 (yn_test_data): Update call to AUTO_TESTS_if_f.
14723 (main): Do not call removed functions.
14725 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14727 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14728 (ldexp_test_data): Remove.
14729 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14731 (scalb_test): Use ALL_RM_TEST.
14733 2014-03-19 Andreas Schwab <schwab@suse.de>
14735 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14737 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14740 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14741 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14742 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14743 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14744 (__ASSUME_PREADV): Undefine.
14745 (__ASSUME_PWRITEV): Likewise.
14747 2014-03-18 Roland McGrath <roland@hack.frob.com>
14749 * bits/mman-linux.h: Add comment about non-Linux use.
14750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14751 bits/mman-linux.h resting place.
14753 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14754 * bits/mman-linux.h: ... here.
14756 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14758 * conform/conformtest.pl: Add standard definition when calling C
14759 preprocessor on data files.
14760 (checknamespace): Remove unused variable.
14762 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14764 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14765 minus_oflow, plus_uflow and minus_uflow in expected results.
14766 * math/libm-test.inc (scalbn_test_data): Add more tests of
14767 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14769 (scalbn_test): Use ALL_RM_TEST.
14770 (scalbln_test_data): Add more tests of negative arguments. Use
14771 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14772 (scalbln_test): Use ALL_RM_TEST.
14774 2014-03-18 Roland McGrath <roland@hack.frob.com>
14776 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14778 2014-03-18 Will Newton <will.newton@linaro.org>
14780 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14781 inaccurate comment.
14783 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14785 * Makerules [!subdir] (check-abi): Exit with error status if a
14788 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14790 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14791 for rint. Include results for all rounding modes.
14792 (nearbyint_test): Use ALL_RM_TEST.
14793 (rint_test_data): Include all tests used for nearbyint.
14795 2014-03-17 Will Newton <will.newton@linaro.org>
14797 * nptl/sysdeps/pthread/pthread.h: Revert previous
14800 * sysdeps/generic/ldsodefs.h: Revert previous
14803 * libio/genops.c: Revert previous change.
14804 * libio/libioP.h: Likewise.
14805 * stdio-common/vfprintf.c: Likewise.
14807 * sysdeps/generic/math_private.h: Revert previous
14810 * sysdeps/generic/math_private.h: Check whether
14811 HAVE_RM_CTX is defined with #ifdef rather
14814 * argp/argp-fmtstream.h: Check whether
14815 __STRICT_ANSI__ is defined with #ifdef rather
14817 * argp/argp.h: Likewise.
14819 * libio/genops.c: Check whether
14820 _IO_JUMPS_OFFSET is defined with #ifdef rather
14822 * libio/libioP.h: Likewise.
14823 * stdio-common/vfprintf.c: Likewise.
14825 * sysdeps/generic/ldsodefs.h: Check whether
14826 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14829 * nptl/sysdeps/pthread/pthread.h: Check
14830 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14833 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14835 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14837 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14841 * libio/fileops.c (_IO_file_open): Seek to end of file but
14842 don't cache the offset.
14843 (get_file_offset): Remove function.
14844 (do_ftell): Use cached offset when available.
14845 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14846 don't cache the offset.
14847 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14849 (do_one_test): Call it.
14850 (do_ftell_test): Fix up expected old offset for a+ mode.
14851 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14854 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14855 up test status with function return status.
14856 (do_write_test): Likewise.
14857 (do_append_test): Likewise.
14859 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14860 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14863 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14865 * math/gen-libm-test.pl (parse_args): Handle results specified for
14866 each rounding mode separately.
14867 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14868 tests and results from lrint_tonearest_test_data,
14869 lrint_towardzero_test_data, lrint_downward_test_data and
14870 lrint_upward_test_data.
14871 (lrint_test): Use ALL_RM_TEST.
14872 (lrint_tonearest_test_data): Remove.
14873 (lrint_test_tonearest): Likewise.
14874 (lrint_towardzero_test_data): Likewise.
14875 (lrint_test_towardzero): Likewise.
14876 (lrint_downward_test_data): Likewise.
14877 (lrint_test_downward): Likewise.
14878 (lrint_upward_test_data): Likewise.
14879 (lrint_test_upward): Likewise.
14880 (llrint_test_data): Merge in per-rounding-mode tests and results
14881 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14882 llrint_downward_test_data and llrint_upward_test_data.
14883 (llrint_test): Use ALL_RM_TEST.
14884 (llrint_tonearest_test_data): Remove.
14885 (llrint_test_tonearest): Likewise.
14886 (llrint_towardzero_test_data): Likewise.
14887 (llrint_test_towardzero): Likewise.
14888 (llrint_downward_test_data): Likewise.
14889 (llrint_test_downward): Likewise.
14890 (llrint_upward_test_data): Likewise.
14891 (llrint_test_upward): Likewise.
14892 (rint_test_data): Merge in per-rounding-mode tests and results
14893 from rint_tonearest_test_data, rint_towardzero_test_data,
14894 rint_downward_test_data and rint_upward_test_data. Add
14895 per-rounding-mode results for tests not in those arrays.
14896 (rint_test): Use ALL_RM_TEST.
14897 (rint_tonearest_test_data): Remove.
14898 (rint_test_tonearest): Likewise.
14899 (rint_towardzero_test_data): Likewise.
14900 (rint_test_towardzero): Likewise.
14901 (rint_downward_test_data): Likewise.
14902 (rint_test_downward): Likewise.
14903 (rint_upward_test_data): Likewise.
14904 (rint_test_upward): Likewise.
14905 (main): Don't call removed functions.
14907 2014-03-14 Roland McGrath <roland@hack.frob.com>
14909 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14910 "Compiled on ..." crapola. It is anti-useful.
14912 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14914 * scripts/evaluate-test.sh: Handle fourth argument to determine
14915 whether test run should stop on failure.
14916 * Makeconfig (stop-on-test-failure): New variable.
14917 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14918 $(stop-on-test-failure).
14919 * Makefile (tests): Give a summary of results from testing and
14920 exit with failure status if they include an ERROR or FAIL.
14921 (xtests): Likewise.
14922 * manual/install.texi (Configuring and compiling): Mention
14923 stop-on-test-failure=y.
14924 * INSTALL: Regenerated.
14926 2014-03-14 Roland McGrath <roland@hack.frob.com>
14928 * scripts/versionlist.awk: New file.
14929 * Makerules [$(build-shared) = yes]
14930 (postclean-generated): Add Versions.def, not Versions.def.v and
14932 ($(common-objpfx)Versions.def.v.i): Target removed.
14933 ($(common-objpfx)Versions.def): New target.
14934 ($(common-objpfx)Versions.all): Depend on that rather that
14935 $(common-objpfx)Versions.def.v.
14936 * Versions.def: File removed.
14938 * Makeconfig (+gccwarn): Add -Wundef.
14939 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14940 a dl-sysdep.h breaking its contract.
14941 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14942 * include/stackinfo.h: New file.
14943 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14944 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14945 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14946 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14947 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14948 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14949 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14950 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14951 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14952 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14953 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14954 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14955 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14956 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14957 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14959 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14962 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14964 * math/libm-test.inc (round_test_data): Add more tests.
14967 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14969 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14972 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14974 * math/libm-test.inc (ceil_test_data): Add more tests.
14976 * math/libm-test.inc (trunc_test_data): Add more tests related to
14979 2014-03-14 Roland McGrath <roland@hack.frob.com>
14981 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14982 with #if rather than #ifdef.
14983 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14985 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14987 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14988 first. Disable AVX-512 GCC support if assembler doesn't support
14990 * sysdeps/x86_64/configure: Regenerated.
14992 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14994 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14995 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14996 (__old_pthread_attr_setstack): Likewise.
14997 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14998 [!_STACK_GROWS_DOWN]: Likewise.
15000 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15002 * config.make.in (have-bash2): Delete.
15003 * configure.ac (libc_cv_have_bash2): Delete.
15004 * configure: Regenerate.
15005 * elf/Makefile (common-ldd-rewrite): Rename to ...
15006 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15007 (sh-ldd-rewrite): Delete.
15008 (bash-ldd-rewrite): Delete.
15009 (have-bash2): Delete checks.
15010 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15013 * config.make.in (have-ksh): Delete.
15015 * configure.ac (libc_cv_have_ksh): Delete.
15016 * configure: Regenerate.
15018 * elf/Makefile: Delete $(have-ksh) check.
15019 ($(objpfx)sotruss): Change KSH to BASH.
15020 * elf/sotruss.ksh: Rename to ...
15021 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15022 function style to match POSIX. Drop ksh vim mode setting.
15024 * manual/time.texi (Specifying the Time Zone with TZ): Change
15025 Tuesday to Thursday.
15027 * debug/tst-longjmp_chk2.c: Update header comment.
15028 (stackoverflow_handler): Add comment. Call assert on pass value.
15030 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15033 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15034 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15035 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15036 (La_x86_64_vector): Add zmm.
15037 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15038 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15039 ($(objpfx)tst-audit10): New target.
15040 ($(objpfx)tst-audit10.out): Likewise.
15041 (tst-audit10-ENV): New.
15042 (AVX512-CFLAGS): Likewise.
15043 (CFLAGS-tst-audit10.c): Likewise.
15044 (CFLAGS-tst-auditmod10a.c): Likewise.
15045 (CFLAGS-tst-auditmod10b.c): Likewise.
15046 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15047 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15048 * sysdeps/x86_64/configure: Regenerated.
15049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15050 AVX-512 zmm register support.
15051 (_dl_x86_64_save_sse): Likewise.
15052 (_dl_x86_64_restore_sse): Likewise.
15053 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15054 size vector registers.
15055 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15056 (ZMM_SIZE): Likewise.
15057 * sysdeps/x86_64/tst-audit10.c: New file.
15058 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15059 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15061 2014-03-13 Roland McGrath <roland@hack.frob.com>
15063 * configure.ac (HAVE_EHDR_START): New check.
15064 * configure: Regenerated.
15065 * config.h.in (HAVE_EHDR_START): New #undef.
15066 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15067 assuming the lowest-addressed segment maps the start of the file.
15069 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15071 * INSTALL: Regenerated.
15073 2014-03-13 Will Newton <will.newton@linaro.org>
15075 * manual/setjmp.texi (System V contexts): Improve
15076 clarity and grammar of documentation.
15078 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15081 * elf/Makefile (tests): Add tst-pie2.
15082 (tests-pie): Add tst-pie2.
15083 * elf/tst-pie2.c: New file.
15084 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15086 * elf/rtld.c (map_doit): Load executable as lt_executable.
15087 (dl_main): Likewise.
15089 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15092 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15093 (__ASSUME_PSELECT): Undefine.
15095 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15098 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15099 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15101 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15102 selector for static builds.
15104 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15107 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15110 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15112 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15113 IFUNC selector for static builds.
15115 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15117 * sysdeps/mips/math_private.h [__mips_hard_float]
15118 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15119 libc_feresetround_mips_ctx.
15120 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15121 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15122 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15125 * math/s_nextafter.c (__nextafter): Do not return value from
15126 overflowing computation.
15127 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15128 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15129 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15131 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15133 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15134 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15136 2014-03-11 Roland McGrath <roland@hack.frob.com>
15138 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15139 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15140 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15141 the new mov targetting sp.
15143 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15146 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15147 Define it for static builds as well.
15148 (NO_BZERO_IMPL): Likewise.
15150 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15152 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15153 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15154 multiarch strspn for PPC64.
15155 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15156 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15158 (__libc_ifunc_impl_list): Likewise.
15159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15160 multiarch optimizations
15161 * string/strspn.c (strspn): Using macro to redefine symbol name.
15163 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15164 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15166 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15167 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15168 multiarch strncat for PPC64.
15169 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15170 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15172 (__libc_ifunc_impl_list): Likewise.
15173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15174 multiarch optimizations
15176 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15179 * nscd/nscd.service: Make service type forking.
15181 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15183 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15184 sign in non default rounding modes.
15185 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15187 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15189 * math/libm-test.inc (ALL_RM_TEST): New macro.
15190 (ceil_test): Use ALL_RM_TEST.
15191 (cimag_test): Likewise.
15192 (conj_test): Likewise.
15193 (copysign_test): Likewise.
15194 (cproj_test): Likewise.
15195 (creal_test): Likewise.
15196 (fabs_test): Likewise.
15197 (floor_test): Likewise.
15198 (fmax_test): Likewise.
15199 (fmin_test): Likewise.
15200 (fmod_test): Likewise.
15201 (fpclassify_test): Likewise.
15202 (frexp_test): Likewise.
15203 (ilogb_test): Likewise.
15204 (isfinite_test): Likewise.
15205 (finite_test): Likewise.
15206 (isgreater_test): Likewise.
15207 (isgreaterequal_test): Likewise.
15208 (isinf_test): Likewise.
15209 (isless_test): Likewise.
15210 (islessequal_test): Likewise.
15211 (islessgreater_test): Likewise.
15212 (isnan_test): Likewise.
15213 (isnormal_test): Likewise.
15214 (issignaling_test): Likewise.
15215 (isunordered_test): Likewise.
15216 (logb_test): Likewise.
15217 (logb_downward_test_data): Remove.
15218 (logb_test_downward): Likewise.
15219 (lround_test): Use ALL_RM_TEST.
15220 (llround_test): Likewise.
15221 (modf_test): Likewise.
15222 (nexttoward_test): Likewise.
15223 (remainder_test): Likewise.
15224 (drem_test): Likewise.
15225 (remainder_tonearest_test_data): Likewise.
15226 (remainder_test_tonearest): Likewise.
15227 (drem_test_tonearest): Likewise.
15228 (remainder_towardzero_test_data): Likewise.
15229 (remainder_test_towardzero): Likewise.
15230 (drem_test_towardzero): Likewise.
15231 (remainder_downward_test_data): Likewise.
15232 (remainder_test_downward): Likewise.
15233 (drem_test_downward): Likewise.
15234 (remainder_upward_test_data): Likewise.
15235 (remainder_test_upward): Likewise.
15236 (drem_test_upward): Likewise.
15237 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15238 (round_test): Use ALL_RM_TEST.
15239 (signbit_test): Likewise.
15240 (trunc_test): Likewise.
15241 (significand_test): Likewise.
15242 (main): Don't call removed functions.
15244 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15247 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15248 || __USE_XOPEN2K8].
15249 (ILL_ILLOPN): Likewise.
15250 (ILL_ILLADR): Likewise.
15251 (ILL_ILLTRP): Likewise.
15252 (ILL_PRVOPC): Likewise.
15253 (ILL_PRVREG): Likewise.
15254 (ILL_COPROC): Likewise.
15255 (ILL_BADSTK): Likewise.
15256 (FPE_INTDIV): Likewise.
15257 (FPE_INTOVF): Likewise.
15258 (FPE_FLTDIV): Likewise.
15259 (FPE_FLTOVF): Likewise.
15260 (FPE_FLTUND): Likewise.
15261 (FPE_FLTRES): Likewise.
15262 (FPE_FLTINV): Likewise.
15263 (FPE_FLTSUB): Likewise.
15264 (SEGV_MAPERR): Likewise.
15265 (SEGV_ACCERR): Likewise.
15266 (BUS_ADRALN): Likewise.
15267 (BUS_ADRERR): Likewise.
15268 (BUS_OBJERR): Likewise.
15269 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15270 (TRAP_TRACE): Likewise.
15271 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15273 (CLD_KILLED): Likewise.
15274 (CLD_DUMPED): Likewise.
15275 (CLD_TRAPPED): Likewise.
15276 (CLD_STOPPED): Likewise.
15277 (CLD_CONTINUED): Likewise.
15278 (POLL_IN): Likewise.
15279 (POLL_OUT): Likewise.
15280 (POLL_MSG): Likewise.
15281 (POLL_ERR): Likewise.
15282 (POLL_PRI): Likewise.
15283 (POLL_HUP): Likewise.
15284 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15286 (ILL_ILLOPN): Likewise.
15287 (ILL_ILLADR): Likewise.
15288 (ILL_ILLTRP): Likewise.
15289 (ILL_PRVOPC): Likewise.
15290 (ILL_PRVREG): Likewise.
15291 (ILL_COPROC): Likewise.
15292 (ILL_BADSTK): Likewise.
15293 (FPE_INTDIV): Likewise.
15294 (FPE_INTOVF): Likewise.
15295 (FPE_FLTDIV): Likewise.
15296 (FPE_FLTOVF): Likewise.
15297 (FPE_FLTUND): Likewise.
15298 (FPE_FLTRES): Likewise.
15299 (FPE_FLTINV): Likewise.
15300 (FPE_FLTSUB): Likewise.
15301 (SEGV_MAPERR): Likewise.
15302 (SEGV_ACCERR): Likewise.
15303 (BUS_ADRALN): Likewise.
15304 (BUS_ADRERR): Likewise.
15305 (BUS_OBJERR): Likewise.
15306 (BUS_MCEERR_AR): Likewise.
15307 (BUS_MCEERR_AO): Likewise.
15308 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15309 (TRAP_TRACE): Likewise.
15310 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15312 (CLD_KILLED): Likewise.
15313 (CLD_DUMPED): Likewise.
15314 (CLD_TRAPPED): Likewise.
15315 (CLD_STOPPED): Likewise.
15316 (CLD_CONTINUED): Likewise.
15317 (POLL_IN): Likewise.
15318 (POLL_OUT): Likewise.
15319 (POLL_MSG): Likewise.
15320 (POLL_ERR): Likewise.
15321 (POLL_PRI): Likewise.
15322 (POLL_HUP): Likewise.
15323 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15324 (ILL_ILLOPN): Likewise.
15325 (ILL_ILLADR): Likewise.
15326 (ILL_ILLTRP): Likewise.
15327 (ILL_PRVOPC): Likewise.
15328 (ILL_PRVREG): Likewise.
15329 (ILL_COPROC): Likewise.
15330 (ILL_BADSTK): Likewise.
15331 (FPE_INTDIV): Likewise.
15332 (FPE_INTOVF): Likewise.
15333 (FPE_FLTDIV): Likewise.
15334 (FPE_FLTOVF): Likewise.
15335 (FPE_FLTUND): Likewise.
15336 (FPE_FLTRES): Likewise.
15337 (FPE_FLTINV): Likewise.
15338 (FPE_FLTSUB): Likewise.
15339 (SEGV_MAPERR): Likewise.
15340 (SEGV_ACCERR): Likewise.
15341 (BUS_ADRALN): Likewise.
15342 (BUS_ADRERR): Likewise.
15343 (BUS_OBJERR): Likewise.
15344 (BUS_MCEERR_AR): Likewise.
15345 (BUS_MCEERR_AO): Likewise.
15346 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15347 (TRAP_TRACE): Likewise.
15348 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15350 (CLD_KILLED): Likewise.
15351 (CLD_DUMPED): Likewise.
15352 (CLD_TRAPPED): Likewise.
15353 (CLD_STOPPED): Likewise.
15354 (CLD_CONTINUED): Likewise.
15355 (POLL_IN): Likewise.
15356 (POLL_OUT): Likewise.
15357 (POLL_MSG): Likewise.
15358 (POLL_ERR): Likewise.
15359 (POLL_PRI): Likewise.
15360 (POLL_HUP): Likewise.
15361 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15363 (ILL_ILLOPN): Likewise.
15364 (ILL_ILLADR): Likewise.
15365 (ILL_ILLTRP): Likewise.
15366 (ILL_PRVOPC): Likewise.
15367 (ILL_PRVREG): Likewise.
15368 (ILL_COPROC): Likewise.
15369 (ILL_BADSTK): Likewise.
15370 (ILL_BADIADDR): Likewise.
15371 (ILL_BREAK): Likewise.
15372 (FPE_INTDIV): Likewise.
15373 (FPE_INTOVF): Likewise.
15374 (FPE_FLTDIV): Likewise.
15375 (FPE_FLTOVF): Likewise.
15376 (FPE_FLTUND): Likewise.
15377 (FPE_FLTRES): Likewise.
15378 (FPE_FLTINV): Likewise.
15379 (FPE_FLTSUB): Likewise.
15380 (FPE_DECOVF): Likewise.
15381 (FPE_DECDIV): Likewise.
15382 (FPE_DECERR): Likewise.
15383 (FPE_INVASC): Likewise.
15384 (FPE_INVDEC): Likewise.
15385 (SEGV_MAPERR): Likewise.
15386 (SEGV_ACCERR): Likewise.
15387 (SEGV_PSTKOVF): Likewise.
15388 (BUS_ADRALN): Likewise.
15389 (BUS_ADRERR): Likewise.
15390 (BUS_OBJERR): Likewise.
15391 (BUS_MCEERR_AR): Likewise.
15392 (BUS_MCEERR_AO): Likewise.
15393 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15394 (TRAP_TRACE): Likewise.
15395 (TRAP_BRANCH): Likewise.
15396 (TRAP_HWBKPT): Likewise.
15397 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15399 (CLD_KILLED): Likewise.
15400 (CLD_DUMPED): Likewise.
15401 (CLD_TRAPPED): Likewise.
15402 (CLD_STOPPED): Likewise.
15403 (CLD_CONTINUED): Likewise.
15404 (POLL_IN): Likewise.
15405 (POLL_OUT): Likewise.
15406 (POLL_MSG): Likewise.
15407 (POLL_ERR): Likewise.
15408 (POLL_PRI): Likewise.
15409 (POLL_HUP): Likewise.
15410 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15411 (ILL_ILLOPN): Likewise.
15412 (ILL_ILLADR): Likewise.
15413 (ILL_ILLTRP): Likewise.
15414 (ILL_PRVOPC): Likewise.
15415 (ILL_PRVREG): Likewise.
15416 (ILL_COPROC): Likewise.
15417 (ILL_BADSTK): Likewise.
15418 (FPE_INTDIV): Likewise.
15419 (FPE_INTOVF): Likewise.
15420 (FPE_FLTDIV): Likewise.
15421 (FPE_FLTOVF): Likewise.
15422 (FPE_FLTUND): Likewise.
15423 (FPE_FLTRES): Likewise.
15424 (FPE_FLTINV): Likewise.
15425 (FPE_FLTSUB): Likewise.
15426 (SEGV_MAPERR): Likewise.
15427 (SEGV_ACCERR): Likewise.
15428 (BUS_ADRALN): Likewise.
15429 (BUS_ADRERR): Likewise.
15430 (BUS_OBJERR): Likewise.
15431 (BUS_MCEERR_AR): Likewise.
15432 (BUS_MCEERR_AO): Likewise.
15433 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15434 (TRAP_TRACE): Likewise.
15435 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15437 (CLD_KILLED): Likewise.
15438 (CLD_DUMPED): Likewise.
15439 (CLD_TRAPPED): Likewise.
15440 (CLD_STOPPED): Likewise.
15441 (CLD_CONTINUED): Likewise.
15442 (POLL_IN): Likewise.
15443 (POLL_OUT): Likewise.
15444 (POLL_MSG): Likewise.
15445 (POLL_ERR): Likewise.
15446 (POLL_PRI): Likewise.
15447 (POLL_HUP): Likewise.
15448 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15449 (ILL_ILLOPN): Likewise.
15450 (ILL_ILLADR): Likewise.
15451 (ILL_ILLTRP): Likewise.
15452 (ILL_PRVOPC): Likewise.
15453 (ILL_PRVREG): Likewise.
15454 (ILL_COPROC): Likewise.
15455 (ILL_BADSTK): Likewise.
15456 (FPE_INTDIV): Likewise.
15457 (FPE_INTOVF): Likewise.
15458 (FPE_FLTDIV): Likewise.
15459 (FPE_FLTOVF): Likewise.
15460 (FPE_FLTUND): Likewise.
15461 (FPE_FLTRES): Likewise.
15462 (FPE_FLTINV): Likewise.
15463 (FPE_FLTSUB): Likewise.
15464 (SEGV_MAPERR): Likewise.
15465 (SEGV_ACCERR): Likewise.
15466 (BUS_ADRALN): Likewise.
15467 (BUS_ADRERR): Likewise.
15468 (BUS_OBJERR): Likewise.
15469 (BUS_MCEERR_AR): Likewise.
15470 (BUS_MCEERR_AO): Likewise.
15471 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15472 (TRAP_TRACE): Likewise.
15473 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15475 (CLD_KILLED): Likewise.
15476 (CLD_DUMPED): Likewise.
15477 (CLD_TRAPPED): Likewise.
15478 (CLD_STOPPED): Likewise.
15479 (CLD_CONTINUED): Likewise.
15480 (POLL_IN): Likewise.
15481 (POLL_OUT): Likewise.
15482 (POLL_MSG): Likewise.
15483 (POLL_ERR): Likewise.
15484 (POLL_PRI): Likewise.
15485 (POLL_HUP): Likewise.
15486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15487 (ILL_ILLOPN): Likewise.
15488 (ILL_ILLADR): Likewise.
15489 (ILL_ILLTRP): Likewise.
15490 (ILL_PRVOPC): Likewise.
15491 (ILL_PRVREG): Likewise.
15492 (ILL_COPROC): Likewise.
15493 (ILL_BADSTK): Likewise.
15494 (FPE_INTDIV): Likewise.
15495 (FPE_INTOVF): Likewise.
15496 (FPE_FLTDIV): Likewise.
15497 (FPE_FLTOVF): Likewise.
15498 (FPE_FLTUND): Likewise.
15499 (FPE_FLTRES): Likewise.
15500 (FPE_FLTINV): Likewise.
15501 (FPE_FLTSUB): Likewise.
15502 (SEGV_MAPERR): Likewise.
15503 (SEGV_ACCERR): Likewise.
15504 (BUS_ADRALN): Likewise.
15505 (BUS_ADRERR): Likewise.
15506 (BUS_OBJERR): Likewise.
15507 (BUS_MCEERR_AR): Likewise.
15508 (BUS_MCEERR_AO): Likewise.
15509 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15510 (TRAP_TRACE): Likewise.
15511 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15513 (CLD_KILLED): Likewise.
15514 (CLD_DUMPED): Likewise.
15515 (CLD_TRAPPED): Likewise.
15516 (CLD_STOPPED): Likewise.
15517 (CLD_CONTINUED): Likewise.
15518 (POLL_IN): Likewise.
15519 (POLL_OUT): Likewise.
15520 (POLL_MSG): Likewise.
15521 (POLL_ERR): Likewise.
15522 (POLL_PRI): Likewise.
15523 (POLL_HUP): Likewise.
15524 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15525 (ILL_ILLOPN): Likewise.
15526 (ILL_ILLADR): Likewise.
15527 (ILL_ILLTRP): Likewise.
15528 (ILL_PRVOPC): Likewise.
15529 (ILL_PRVREG): Likewise.
15530 (ILL_COPROC): Likewise.
15531 (ILL_BADSTK): Likewise.
15532 (ILL_DBLFLT): Likewise.
15533 (ILL_HARDWALL): Likewise.
15534 (FPE_INTDIV): Likewise.
15535 (FPE_INTOVF): Likewise.
15536 (FPE_FLTDIV): Likewise.
15537 (FPE_FLTOVF): Likewise.
15538 (FPE_FLTUND): Likewise.
15539 (FPE_FLTRES): Likewise.
15540 (FPE_FLTINV): Likewise.
15541 (FPE_FLTSUB): Likewise.
15542 (SEGV_MAPERR): Likewise.
15543 (SEGV_ACCERR): Likewise.
15544 (BUS_ADRALN): Likewise.
15545 (BUS_ADRERR): Likewise.
15546 (BUS_OBJERR): Likewise.
15547 (BUS_MCEERR_AR): Likewise.
15548 (BUS_MCEERR_AO): Likewise.
15549 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15550 (TRAP_TRACE): Likewise.
15551 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15553 (CLD_KILLED): Likewise.
15554 (CLD_DUMPED): Likewise.
15555 (CLD_TRAPPED): Likewise.
15556 (CLD_STOPPED): Likewise.
15557 (CLD_CONTINUED): Likewise.
15558 (POLL_IN): Likewise.
15559 (POLL_OUT): Likewise.
15560 (POLL_MSG): Likewise.
15561 (POLL_ERR): Likewise.
15562 (POLL_PRI): Likewise.
15563 (POLL_HUP): Likewise.
15564 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15565 (ILL_ILLOPN): Likewise.
15566 (ILL_ILLADR): Likewise.
15567 (ILL_ILLTRP): Likewise.
15568 (ILL_PRVOPC): Likewise.
15569 (ILL_PRVREG): Likewise.
15570 (ILL_COPROC): Likewise.
15571 (ILL_BADSTK): Likewise.
15572 (FPE_INTDIV): Likewise.
15573 (FPE_INTOVF): Likewise.
15574 (FPE_FLTDIV): Likewise.
15575 (FPE_FLTOVF): Likewise.
15576 (FPE_FLTUND): Likewise.
15577 (FPE_FLTRES): Likewise.
15578 (FPE_FLTINV): Likewise.
15579 (FPE_FLTSUB): Likewise.
15580 (SEGV_MAPERR): Likewise.
15581 (SEGV_ACCERR): Likewise.
15582 (BUS_ADRALN): Likewise.
15583 (BUS_ADRERR): Likewise.
15584 (BUS_OBJERR): Likewise.
15585 (BUS_MCEERR_AR): Likewise.
15586 (BUS_MCEERR_AO): Likewise.
15587 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15588 (TRAP_TRACE): Likewise.
15589 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15591 (CLD_KILLED): Likewise.
15592 (CLD_DUMPED): Likewise.
15593 (CLD_TRAPPED): Likewise.
15594 (CLD_STOPPED): Likewise.
15595 (CLD_CONTINUED): Likewise.
15596 (POLL_IN): Likewise.
15597 (POLL_OUT): Likewise.
15598 (POLL_MSG): Likewise.
15599 (POLL_ERR): Likewise.
15600 (POLL_PRI): Likewise.
15601 (POLL_HUP): Likewise.
15602 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15603 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15606 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15607 before #include of <time.h>.
15608 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15609 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15610 (test-xfail-UNIX98/sched.h/conform): Likewise.
15612 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15614 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15615 error absence of trapping exception support.
15616 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15618 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15620 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15621 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15622 * timezone/Makefile (testdata): Move definition above include of
15624 (test-zones): New variable.
15625 (tests-special): Add zone files.
15626 (build-testdata): Use $(evaluate-test).
15628 * elf/Makefile (tests-special): Rename tests to end with .out.
15629 ($(objpfx)noload-mem): Likewise.
15630 ($(objpfx)tst-leaks1-mem): Likewise.
15631 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15632 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15633 $(objpfx)test-iconvconfig.out.
15634 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15635 set -e inside subshell and redirect output to file.
15636 * iconvdata/Makefile (generated): Rename tests to end with .out.
15638 (tests-special): Rename tests to end with .out.
15639 ($(objpfx)mtrace-tst-loading): Likewise.
15640 * intl/Makefile (generated): Likewise.
15641 (tests-special): Likewise.
15642 ($(objpfx)mtrace-tst-gettext): Likewise.
15643 * misc/Makefile (generated): Likewise.
15644 (tests-special): Likewise.
15645 ($(objpfx)tst-error1-mem): Likewise.
15646 * nptl/Makefile (tests-special): Likewise.
15647 ($(objpfx)tst-stack3-mem): Likewise.
15648 (generated): Likewise.
15649 * posix/Makefile (generated): Likewise.
15650 (tests-special): Likewise.
15651 (xtests-special): Likewise.
15652 ($(objpfx)tst-fnmatch-mem): Likewise.
15653 ($(objpfx)bug-regex2-mem): Likewise.
15654 ($(objpfx)bug-regex14-mem): Likewise.
15655 ($(objpfx)bug-regex21-mem): Likewise.
15656 ($(objpfx)bug-regex31-mem): Likewise.
15657 ($(objpfx)tst-vfork3-mem): Likewise.
15658 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15659 ($(objpfx)tst-pcre-mem): Likewise.
15660 ($(objpfx)tst-boost-mem): Likewise.
15661 ($(objpfx)bug-ga2-mem): Likewise.
15662 ($(objpfx)bug-glob2-mem): Likewise.
15663 * resolv/Makefile (generate): Likewise.
15664 (tests-special): Likewise.
15665 (xtests-special): Likewise.
15666 (generated): Likewise.
15667 ($(objpfx)mtrace-tst-leaks): Likewise.
15668 ($(objpfx)mtrace-tst-leaks2): Likewise.
15670 * scripts/merge-test-results.sh: New file.
15671 * Makefile (tests-special-notdir): New variable.
15672 (tests): Run merge-test-results.sh.
15673 (xtests): Likewise.
15674 * Rules (tests-special-notdir): New variable.
15675 (xtests-special-notdir): Likewise.
15676 (tests): Run merge-test-results.sh
15677 (xtests): Likewise.
15679 * Makeconfig (test-xfail-name): New variable.
15680 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15681 compute variable name for expected failures.
15682 * conform/Makefile (conformtest-headers-data): New variable.
15683 (conformtest-standards): Likewise.
15684 (conformtest-headers-ISO): Likewise.
15685 (conformtest-headers-ISO99): Likewise.
15686 (conformtest-headers-ISO11): Likewise.
15687 (conformtest-headers-POSIX): Likewise.
15688 (conformtest-headers-XPG3): Likewise.
15689 (conformtest-headers-XPG4): Likewise.
15690 (conformtest-headers-UNIX98): Likewise.
15691 (conformtest-headers-XOPEN2K): Likewise.
15692 (conformtest-headers-POSIX2008): Likewise.
15693 (conformtest-headers-XOPEN2K8): Likewise.
15694 (conformtest-header-list-base): Likewise.
15695 (conformtest-header-list-tests): Likewise.
15696 (conformtest-header-base): Likewise.
15697 (conformtest-header-tests): Likewise.
15698 (tests-special): Add $(conformtest-header-list-tests). If
15699 [$(fast-check) && !$(cross-compiling)], add
15700 $(conformtest-header-tests) instead of
15701 $(objpfx)run-conformtest.out.
15702 (generated): Add $(conformtest-header-list-base). If
15703 [$(fast-check) && !$(cross-compiling)], add
15704 $(conformtest-header-base). Remove previous setting.
15705 ($(conformtest-header-list-tests)): New target.
15706 (test-xfail-run-conformtest): Remove variable.
15707 ($(objpfx)run-conformtest.out): Remove target.
15708 (test-xfail-ISO11/complex.h/conform): New variable.
15709 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15710 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15711 (test-xfail-XPG3/varargs.h/conform): Likewise.
15712 (test-xfail-XPG4/varargs.h/conform): Likewise.
15713 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15714 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15715 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15716 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15717 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15718 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15719 (test-xfail-XPG3/ftw.h/conform): Likewise.
15720 (test-xfail-XPG3/grp.h/conform): Likewise.
15721 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15722 (test-xfail-XPG3/limits.h/conform): Likewise.
15723 (test-xfail-XPG3/pwd.h/conform): Likewise.
15724 (test-xfail-XPG3/search.h/conform): Likewise.
15725 (test-xfail-XPG3/signal.h/conform): Likewise.
15726 (test-xfail-XPG3/stdio.h/conform): Likewise.
15727 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15728 (test-xfail-XPG3/string.h/conform): Likewise.
15729 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15730 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15731 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15732 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15733 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15734 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15735 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15736 (test-xfail-XPG3/termios.h/conform): Likewise.
15737 (test-xfail-XPG3/time.h/conform): Likewise.
15738 (test-xfail-XPG3/unistd.h/conform): Likewise.
15739 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15740 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15741 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15742 (test-xfail-XPG4/netdb.h/conform): Likewise.
15743 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15744 (test-xfail-XPG4/signal.h/conform): Likewise.
15745 (test-xfail-XPG4/stdio.h/conform): Likewise.
15746 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15747 (test-xfail-XPG4/stropts.h/conform): Likewise.
15748 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15749 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15750 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15751 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15752 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15753 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15754 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15755 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15756 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15757 (test-xfail-XPG4/termios.h/conform): Likewise.
15758 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15759 (test-xfail-XPG4/unistd.h/conform): Likewise.
15760 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15761 (test-xfail-POSIX/sched.h/conform): Likewise.
15762 (test-xfail-POSIX/signal.h/conform): Likewise.
15763 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15764 (test-xfail-POSIX/tar.h/conform): Likewise.
15765 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15766 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15767 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15768 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15769 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15770 (test-xfail-UNIX98/sched.h/conform): Likewise.
15771 (test-xfail-UNIX98/signal.h/conform): Likewise.
15772 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15773 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15774 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15775 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15776 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15777 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15778 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15779 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15780 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15781 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15782 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15783 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15784 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15785 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15786 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15787 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15788 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15789 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15790 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15791 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15792 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15793 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15794 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15795 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15796 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15797 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15798 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15799 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15800 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15801 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15802 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15803 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15804 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15805 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15806 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15807 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15808 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15809 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15810 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15811 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15812 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15813 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15814 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15815 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15816 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15817 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15818 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15819 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15820 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15821 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15822 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15823 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15824 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15825 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15826 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15827 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15828 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15829 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15830 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15831 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15832 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15833 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15834 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15835 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15836 (conformtest-cc-flags): Likewise.
15837 ($(conformtest-header-tests): New target.
15838 * conform/check-header-lists.sh: New file.
15839 * conform/run-conformtest.sh: Remove.
15841 * conform/conformtest.pl: Allow ' and \ in values given for
15843 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15845 [POSIX] (sys/types.h): Likewise.
15846 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15848 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15850 * conform/data/signal.h-data (SIGIO): Remove expectation.
15851 [XPG3] (SIGBUS): Do not expect.
15852 [POSIX || XPG3] (SIGPOLL): Likewise.
15853 [POSIX || XPG3] (SIGPROF): Likewise.
15854 [POSIX || XPG3] (SIGSYS): Likewise.
15855 [XPG3] (SIGTRAP): Likewise.
15856 [POSIX || XPG3] (SIGURG): Likewise.
15857 [POSIX || XPG3] (SIGVTALRM): Likewise.
15858 [POSIX || XPG3] (SIGXCPU): Likewise.
15859 [POSIX || XPG3] (SIGXFSZ): Likewise.
15860 [POSIX] (SA_SIGINFO): Expect.
15861 [XPG3] (siginfo_t): Do not expect type or contents.
15862 [POSIX] (si_pid): Do not expect element.
15863 [POSIX] (si_uid): Likewise.
15864 [POSIX] (si_addr): Likewise.
15865 [POSIX] (si_status): Likewise.
15866 [POSIX] (si_band): Likewise.
15867 [XPG4] (si_value): Likewise.
15868 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15869 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15870 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15871 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15872 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15873 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15874 [POSIX || XPG3] (ILL_COPROC): Likewise.
15875 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15876 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15877 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15878 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15879 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15880 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15881 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15882 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15883 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15884 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15885 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15886 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15887 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15888 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15889 [POSIX || XPG3] (CLD_EXITED): Likewise.
15890 [POSIX || XPG3] (CLD_KILLED): Likewise.
15891 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15892 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15893 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15894 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15895 [POSIX || XPG3] (POLL_IN): Likewise.
15896 [POSIX || XPG3] (POLL_OUT): Likewise.
15897 [POSIX || XPG3] (POLL_MSG): Likewise.
15898 [POSIX || XPG3] (POLL_ERR): Likewise.
15899 [POSIX || XPG3] (POLL_PRI): Likewise.
15900 [POSIX || XPG3] (POLL_HUP): Likewise.
15901 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15902 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15903 (SIG*): Do not allow.
15904 [XPG3] (si_*): Likewise.
15905 [XPG3] (SI_*): Likewise.
15906 [XPG3 || XPG4] (sigev_*): Likewise.
15907 [XPG3 || XPG4] (SIGEV_*): Likewise.
15908 [XPG3 || XPG4] (sival_*): Likewise.
15909 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15910 [POSIX || XPG3] (BUS_*): Likewise.
15911 [POSIX || XPG3] (CLD_*): Likewise.
15912 [POSIX || XPG3] (FPE_*): Likewise.
15913 [POSIX || XPG3] (ILL_*): Likewise.
15914 [POSIX || XPG3] (POLL_*): Likewise.
15915 [POSIX || XPG3] (SEGV_*): Likewise.
15916 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15917 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15918 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15919 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15920 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15921 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15922 Specify type and value.
15923 (TVERSLEN): Likewise.
15924 (REGTYPE): Likewise.
15925 (AREGTYPE): Likewise.
15926 (LNKTYPE): Likewise.
15927 (SYMTYPE): Likewise.
15928 (CHRTYPE): Likewise.
15929 (BLKTYPE): Likewise.
15930 (DIRTYPE): Likewise.
15931 (FIFOTYPE): Likewise.
15932 (CONTTYPE): Likewise.
15936 (TUREAD): Likewise.
15937 (TUWRITE): Likewise.
15938 (TUEXEC): Likewise.
15939 (TGREAD): Likewise.
15940 (TGWRITE): Likewise.
15941 (TGEXEC): Likewise.
15942 (TOREAD): Likewise.
15943 (TOWRITE): Likewise.
15944 (TOEXEC): Likewise.
15945 [POSIX] (TSVTX): Expect constant.
15947 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15949 * Makefile (tests): Change dependencies to ....
15950 (tests-special): ... additions to this variable.
15951 (tests): Depend on $(tests-special).
15952 * Makerules (check-abi-list): New variable.
15953 (check-abi): Depend on $(check-abi-list).
15954 [$(subdir) = elf] (tests-special): Add
15955 $(objpfx)check-abi-libc.out.
15956 [$(build-shared) = yes && subdir] (tests-special): Add
15958 [$(build-shared) = yes && subdir] (tests): Do not depend on
15960 * Rules (tests): Depend on $(tests-special).
15961 (xtests): Depend on $(xtests-special).
15962 * catgets/Makefile (tests): Change dependencies to ....
15963 (tests-special): ... additions to this variable.
15964 * conform/Makefile (tests): Change dependencies to ....
15965 (tests-special): ... additions to this variable.
15966 * elf/Makefile (tests): Change dependencies to ....
15967 (tests-special): ... additions to this variable.
15968 * grp/Makefile (tests): Change dependencies to ....
15969 (tests-special): ... additions to this variable.
15970 * iconv/Makefile (xtests): Change dependencies to ....
15971 (xtests-special): ... additions to this variable.
15972 * iconvdata/Makefile (tests): Change dependencies to ....
15973 (tests-special): ... additions to this variable.
15974 * intl/Makefile (tests): Change dependencies to ....
15975 (tests-special): ... additions to this variable. Also add
15976 $(objpfx)tst-gettext.out.
15977 * io/Makefile (tests): Change dependencies to ....
15978 (tests-special): ... additions to this variable.
15979 * libio/Makefile (tests): Change dependencies to ....
15980 (tests-special): ... additions to this variable.
15981 * malloc/Makefile (tests): Change dependencies to ....
15982 (tests-special): ... additions to this variable.
15983 * misc/Makefile (tests): Change dependencies to ....
15984 (tests-special): ... additions to this variable.
15985 * nptl/Makefile (tests): Change dependencies to ....
15986 (tests-special): ... additions to this variable.
15987 * nptl_db/Makefile (tests): Change dependencies to ....
15988 (tests-special): ... additions to this variable.
15989 * posix/Makefile (tests): Change dependencies to ....
15990 (tests-special): ... additions to this variable.
15991 (xtests): Change dependencies to ....
15992 (xtests-special): ... additions to this variable.
15993 * resolv/Makefile (tests): Change dependencies to ....
15994 (tests-special): ... additions to this variable.
15995 (xtests): Change dependencies to ....
15996 (xtests-special): ... additions to this variable.
15997 * stdio-common/Makefile (tests): Change dependencies to ....
15998 (tests-special): ... additions to this variable.
15999 (do-tst-unbputc): Remove target.
16000 (do-tst-printf): Likewise.
16001 * stdlib/Makefile (tests): Change dependencies to ....
16002 (tests-special): ... additions to this variable.
16003 * string/Makefile (tests): Change dependencies to ....
16004 (tests-special): ... additions to this variable.
16005 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16006 (tests-special): ... additions to this variable.
16008 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16010 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16012 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16013 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16015 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16016 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16017 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16018 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16019 * conform/data/libgen.h-data [XPG3]: Likewise.
16020 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16021 * conform/data/ndbm.h-data [XPG3]: Likewise.
16022 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16023 * conform/data/netdb.h-data [XPG3]: Likewise.
16024 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16025 * conform/data/poll.h-data [XPG3]: Likewise.
16026 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16027 * conform/data/strings.h-data [XPG3]: Likewise.
16028 * conform/data/stropts.h-data [XPG3]: Likewise.
16029 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16030 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16031 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16033 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16034 * conform/data/sys/time.h-data [XPG3]: Likewise.
16035 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16036 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16037 * conform/data/sys/un.h-data [XPG3]: Likewise.
16038 * conform/data/syslog.h-data [XPG3]: Likewise.
16039 * conform/data/ucontext.h-data [XPG3]: Likewise.
16040 * conform/data/utmpx.h-data [XPG3]: Likewise.
16041 * conform/data/varargs.h-data [UNIX98]: Enable file.
16043 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16045 * math/libm-test.inc (struct test_f_f_data): Move expected results
16046 into structure for each rounding mode.
16047 (struct test_ff_f_data): Likewise.
16048 (struct test_ff_f_data_nexttoward): Likewise.
16049 (struct test_fi_f_data): Likewise.
16050 (struct test_fl_f_data): Likewise.
16051 (struct test_if_f_data): Likewise.
16052 (struct test_fff_f_data): Likewise.
16053 (struct test_c_f_data): Likewise.
16054 (struct test_f_f1_data): Likewise.
16055 (struct test_fF_f1_data): Likewise.
16056 (struct test_ffI_f1_data): Likewise.
16057 (struct test_c_c_data): Likewise.
16058 (struct test_cc_c_data): Likewise.
16059 (struct test_f_i_data): Likewise.
16060 (struct test_ff_i_data): Likewise.
16061 (struct test_f_l_data): Likewise.
16062 (struct test_f_L_data): Likewise.
16063 (struct test_fFF_11_data): Likewise.
16065 (RM_FE_DOWNWARD): Likewise.
16066 (RM_FE_TONEAREST): Likewise.
16067 (RM_FE_TOWARDZERO): Likewise.
16068 (RM_FE_UPWARD): Likewise.
16069 (RUN_TEST_LOOP_f_f): Update references to expected results.
16070 (RUN_TEST_LOOP_2_f): Likewise.
16071 (RUN_TEST_LOOP_fff_f): Likewise.
16072 (RUN_TEST_LOOP_c_f): Likewise.
16073 (RUN_TEST_LOOP_f_f1): Likewise.
16074 (RUN_TEST_LOOP_fF_f1): Likewise.
16075 (RUN_TEST_LOOP_fI_f1): Likewise.
16076 (RUN_TEST_LOOP_ffI_f1): Likewise.
16077 (RUN_TEST_LOOP_c_c): Likewise.
16078 (RUN_TEST_LOOP_cc_c): Likewise.
16079 (RUN_TEST_LOOP_f_i): Likewise.
16080 (RUN_TEST_LOOP_f_i_tg): Likewise.
16081 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16082 (RUN_TEST_LOOP_f_b): Likewise.
16083 (RUN_TEST_LOOP_f_b_tg): Likewise.
16084 (RUN_TEST_LOOP_f_l): Likewise.
16085 (RUN_TEST_LOOP_f_L): Likewise.
16086 (RUN_TEST_LOOP_fFF_11): Likewise.
16087 * math/gen-libm-test.pl (parse_args): Output four copies of
16088 expected results for each test.
16090 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16091 (__ASSUME_UTIMES): Remove.
16092 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16093 (__ASSUME_UTIMES): Likewise.
16095 * math/gen-auto-libm-tests.c: Update comment on output format.
16096 (output_for_one_input_case): Generate before-rounding and
16097 after-rounding information as conditions on output flags not
16098 floating-point format.
16099 * math/auto-libm-test-out: Regenerated.
16100 * math/gen-libm-test.pl (cond_value): New function.
16101 (or_cond_value): Use cond_value.
16102 (generate_testfile): Handle conditional exceptions.
16104 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16106 * math/libm-test.inc (max_valid_error): New variable.
16107 (init_max_error): Take new argument specifying whether function
16108 results are exactly determined. Set max_valid_error and bound
16109 other variables for errors based on this argument.
16110 (set_max_error): Do not record results above max_valid_error.
16111 (check_float_internal): Only accept errors of up to 0.5ulps if
16112 also at most max_valid_error.
16113 (START): Take new argument EXACT and pass it to init_max_error.
16114 (acos_test): Update call to START.
16115 (acos_test_tonearest): Likewise.
16116 (acos_test_towardzero): Likewise.
16117 (acos_test_downward): Likewise.
16118 (acos_test_upward): Likewise.
16119 (acosh_test): Likewise.
16120 (asin_test): Likewise.
16121 (asin_test_tonearest): Likewise.
16122 (asin_test_towardzero): Likewise.
16123 (asin_test_downward): Likewise.
16124 (asin_test_upward): Likewise.
16125 (asinh_test): Likewise.
16126 (atan_test): Likewise.
16127 (atanh_test): Likewise.
16128 (atan2_test): Likewise.
16129 (cabs_test): Likewise.
16130 (cacos_test): Likewise.
16131 (cacosh_test): Likewise.
16132 (carg_test): Likewise.
16133 (casin_test): Likewise.
16134 (casinh_test): Likewise.
16135 (catan_test): Likewise.
16136 (catanh_test): Likewise.
16137 (cbrt_test): Likewise.
16138 (ccos_test): Likewise.
16139 (ccosh_test): Likewise.
16140 (ceil_test): Likewise.
16141 (cexp_test): Likewise.
16142 (cimag_test): Likewise.
16143 (clog_test): Likewise.
16144 (clog10_test): Likewise.
16145 (conj_test): Likewise.
16146 (copysign_test): Likewise.
16147 (cos_test): Likewise.
16148 (cos_test_tonearest): Likewise.
16149 (cos_test_towardzero): Likewise.
16150 (cos_test_downward): Likewise.
16151 (cos_test_upward): Likewise.
16152 (cosh_test): Likewise.
16153 (cosh_test_tonearest): Likewise.
16154 (cosh_test_towardzero): Likewise.
16155 (cosh_test_downward): Likewise.
16156 (cosh_test_upward): Likewise.
16157 (cpow_test): Likewise.
16158 (cproj_test): Likewise.
16159 (creal_test): Likewise.
16160 (csin_test): Likewise.
16161 (csinh_test): Likewise.
16162 (csqrt_test): Likewise.
16163 (ctan_test): Likewise.
16164 (ctan_test_tonearest): Likewise.
16165 (ctan_test_towardzero): Likewise.
16166 (ctan_test_downward): Likewise.
16167 (ctan_test_upward): Likewise.
16168 (ctanh_test): Likewise.
16169 (ctanh_test_tonearest): Likewise.
16170 (ctanh_test_towardzero): Likewise.
16171 (ctanh_test_downward): Likewise.
16172 (ctanh_test_upward): Likewise.
16173 (erf_test): Likewise.
16174 (erfc_test): Likewise.
16175 (exp_test): Likewise.
16176 (exp_test_tonearest): Likewise.
16177 (exp_test_towardzero): Likewise.
16178 (exp_test_downward): Likewise.
16179 (exp_test_upward): Likewise.
16180 (exp10_test): Likewise.
16181 (exp10_test_tonearest): Likewise.
16182 (exp10_test_towardzero): Likewise.
16183 (exp10_test_downward): Likewise.
16184 (exp10_test_upward): Likewise.
16185 (pow10_test): Likewise.
16186 (exp2_test): Likewise.
16187 (expm1_test): Likewise.
16188 (expm1_test_tonearest): Likewise.
16189 (expm1_test_towardzero): Likewise.
16190 (expm1_test_downward): Likewise.
16191 (expm1_test_upward): Likewise.
16192 (fabs_test): Likewise.
16193 (fdim_test): Likewise.
16194 (floor_test): Likewise.
16195 (fma_test): Likewise.
16196 (fma_test_towardzero): Likewise.
16197 (fma_test_downward): Likewise.
16198 (fma_test_upward): Likewise.
16199 (fmax_test): Likewise.
16200 (fmin_test): Likewise.
16201 (fmod_test): Likewise.
16202 (fpclassify_test): Likewise.
16203 (frexp_test): Likewise.
16204 (hypot_test): Likewise.
16205 (ilogb_test): Likewise.
16206 (isfinite_test): Likewise.
16207 (finite_test): Likewise.
16208 (isgreater_test): Likewise.
16209 (isgreaterequal_test): Likewise.
16210 (isinf_test): Likewise.
16211 (isless_test): Likewise.
16212 (islessequal_test): Likewise.
16213 (islessgreater_test): Likewise.
16214 (isnan_test): Likewise.
16215 (isnormal_test): Likewise.
16216 (issignaling_test): Likewise.
16217 (isunordered_test): Likewise.
16218 (j0_test): Likewise.
16219 (j1_test): Likewise.
16220 (jn_test): Likewise.
16221 (ldexp_test): Likewise.
16222 (lgamma_test): Likewise.
16223 (gamma_test): Likewise.
16224 (lrint_test): Likewise.
16225 (lrint_test_tonearest): Likewise.
16226 (lrint_test_towardzero): Likewise.
16227 (lrint_test_downward): Likewise.
16228 (lrint_test_upward): Likewise.
16229 (llrint_test): Likewise.
16230 (llrint_test_tonearest): Likewise.
16231 (llrint_test_towardzero): Likewise.
16232 (llrint_test_downward): Likewise.
16233 (llrint_test_upward): Likewise.
16234 (log_test): Likewise.
16235 (log10_test): Likewise.
16236 (log1p_test): Likewise.
16237 (log2_test): Likewise.
16238 (logb_test): Likewise.
16239 (logb_test_downward): Likewise.
16240 (lround_test): Likewise.
16241 (llround_test): Likewise.
16242 (modf_test): Likewise.
16243 (nearbyint_test): Likewise.
16244 (nextafter_test): Likewise.
16245 (nexttoward_test): Likewise.
16246 (pow_test): Likewise.
16247 (pow_test_tonearest): Likewise.
16248 (pow_test_towardzero): Likewise.
16249 (pow_test_downward): Likewise.
16250 (pow_test_upward): Likewise.
16251 (remainder_test): Likewise.
16252 (drem_test): Likewise.
16253 (remainder_test_tonearest): Likewise.
16254 (drem_test_tonearest): Likewise.
16255 (remainder_test_towardzero): Likewise.
16256 (drem_test_towardzero): Likewise.
16257 (remainder_test_downward): Likewise.
16258 (drem_test_downward): Likewise.
16259 (remainder_test_upward): Likewise.
16260 (drem_test_upward): Likewise.
16261 (remquo_test): Likewise.
16262 (rint_test): Likewise.
16263 (rint_test_tonearest): Likewise.
16264 (rint_test_towardzero): Likewise.
16265 (rint_test_downward): Likewise.
16266 (rint_test_upward): Likewise.
16267 (round_test): Likewise.
16268 (scalb_test): Likewise.
16269 (scalbn_test): Likewise.
16270 (scalbln_test): Likewise.
16271 (signbit_test): Likewise.
16272 (sin_test): Likewise.
16273 (sin_test_tonearest): Likewise.
16274 (sin_test_towardzero): Likewise.
16275 (sin_test_downward): Likewise.
16276 (sin_test_upward): Likewise.
16277 (sincos_test): Likewise.
16278 (sinh_test): Likewise.
16279 (sinh_test_tonearest): Likewise.
16280 (sinh_test_towardzero): Likewise.
16281 (sinh_test_downward): Likewise.
16282 (sinh_test_upward): Likewise.
16283 (sqrt_test): Likewise.
16284 (sqrt_test_tonearest): Likewise.
16285 (sqrt_test_towardzero): Likewise.
16286 (sqrt_test_downward): Likewise.
16287 (sqrt_test_upward): Likewise.
16288 (tan_test): Likewise.
16289 (tan_test_tonearest): Likewise.
16290 (tan_test_towardzero): Likewise.
16291 (tan_test_downward): Likewise.
16292 (tan_test_upward): Likewise.
16293 (tanh_test): Likewise.
16294 (tgamma_test): Likewise.
16295 (trunc_test): Likewise.
16296 (y0_test): Likewise.
16297 (y1_test): Likewise.
16298 (yn_test): Likewise.
16299 (significand_test): Likewise.
16301 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16302 individual tests in comment.
16303 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16304 (prev_max_error): New variable.
16305 (prev_real_max_error): Likewise.
16306 (prev_imag_max_error): Likewise.
16307 (compare_ulp_data): Don't refer to test names in comment.
16308 (find_test_ulps): Remove function.
16309 (find_function_ulps): Likewise.
16310 (find_complex_function_ulps): Likewise.
16311 (init_max_error): Take function name as argument. Look up ulps
16313 (print_ulps): Remove function.
16314 (print_max_error): Use prev_max_error instead of calling
16315 find_function_ulps.
16316 (print_complex_max_error): Use prev_real_max_error and
16317 prev_imag_max_error instead of calling find_complex_function_ulps.
16318 (check_float_internal): Take max_ulp parameter instead of calling
16319 find_test_ulps. Don't call print_ulps.
16320 (check_float): Update call to check_float_internal.
16321 (check_complex): Update calls to check_float_internal.
16322 (START): Pass argument to init_max_error.
16323 * math/gen-libm-test.pl (%results): Don't include "kind"
16325 (parse_ulps): Don't handle ulps of individual tests.
16326 (print_ulps_file): Likewise.
16327 (output_ulps): Likewise.
16328 * math/README.libm-test: Update.
16329 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16331 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16332 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16333 * sysdeps/arm/libm-test-ulps: Likewise.
16334 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16335 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16336 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16337 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16338 * sysdeps/microblaze/libm-test-ulps: Likewise.
16339 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16340 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16341 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16342 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16343 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16344 * sysdeps/sh/libm-test-ulps: Likewise.
16345 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16346 * sysdeps/tile/libm-test-ulps: Likewise.
16347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16349 2014-03-04 Joseph Myers <joseph@codesourcery.com>
16351 * math/libm-test.inc (print_complex_max_error): Check separately
16352 whether real and imaginary errors are within allowed range and
16353 pass 0 to print_complex_function_ulps instead of value within
16356 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16358 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16360 (get_handles_fopen): Likewise.
16361 (do_write_test): Likewise.
16363 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16365 * libio/fileops.c (do_ftell): Use cached offset when
16367 * libio/iofwide.c (do_ftell_wide): Likewise.
16368 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16370 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16373 * libio/libioP.h (get_file_offset): New function.
16374 * libio/fileops.c (get_file_offset): Likewise.
16375 (do_ftell): Likewise.
16376 (_IO_new_file_seekoff): Split out ftell logic.
16377 * libio/wfileops.c (do_ftell_wide): Likewise.
16378 (_IO_wfile_seekoff): Split out ftell logic.
16379 * libio/tst-ftell-active-handler.c: New test case.
16380 * libio/Makefile (tests): Add it.
16382 2014-03-03 Roland McGrath <roland@hack.frob.com>
16384 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16385 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16387 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16390 * nscd/connections.c (nscd_init): Call do_exit.
16391 (start_threads): Call do_exit and notify_parent.
16392 (begin_drop_privileges): Call do_exit.
16393 (finish_drop_privileges): Likewise.
16394 * nscd/selinux.c (preserve_capabilities): Likewise.
16395 (install_real_capabilities): Likewise.
16396 (nscd_selinux_enabled): Likewise.
16397 (avc_create_thread): Likewise.
16398 (avc_alloc_lock): Likewise.
16399 (nscd_avc_init): Likewise.
16400 * nscd/nscd.c (parent_fd): New static variable.
16401 (main): Create a pipe between parent and child processes.
16402 Skip closing parent_fd.
16403 (monitor_child): New function.
16404 (do_exit): Likewise.
16405 (notify_parent): Likewise.
16406 * nscd/nscd.h (notify_parent): Likewise.
16407 (do_exit): Likewise.
16409 2014-03-03 Carlos O'Donell <carlos@redhat.com>
16411 * malloc/malloc.c (__libc_calloc): Revert last change.
16413 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16417 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16419 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16423 (__libc_ifunc_impl_list): Likewise.
16424 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16425 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16426 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16427 * string/strrchr.c: Define STRRCHR.
16429 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
16431 * benchtest/bench-strtok.c (simple_strtok): Delete.
16432 (strtok_string): Use as benchmark.
16433 * string/strtok (STRTOK): New macro.
16435 2014-02-28 Carlos O'Donell <carlos@redhat.com>
16437 * manual/threads.texi: Add header and standard comments to all
16440 * elf/dl-lookup.c (check_match): New function.
16441 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16442 (do_lookup_x): Remove nested function check_match. Use non-nested
16443 function check_match.
16445 2014-02-28 Roland McGrath <roland@hack.frob.com>
16447 * csu/Makefile (generated, before-compile): Use += rather than =.
16448 * catgets/Makefile (generated, generated-dirs): Likewise.
16449 * debug/Makefile (generated): Likewise.
16450 * dlfcn/Makefile (generated): Likewise.
16451 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16452 * iconvdata/Makefile (before-compile, generated): Likewise.
16453 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16454 * libio/Makefile (generated): Likewise.
16455 * malloc/Makefile (generated): Likewise.
16456 * manual/Makefile (generated, generated-dirs): Likewise.
16457 * misc/Makefile (generated): Likewise.
16458 * posix/Makefile (generated): Likewise.
16459 * resolv/Makefile (generated): Likewise.
16460 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16461 * timezone/Makefile (generated, generated-dirs): Likewise.
16463 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16465 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16468 power8 implementation.
16469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16470 file: POWER8 llround ifunc implementation.
16471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16472 (__lllround): Add POWER8 implementation.
16473 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16474 POWER8 llround implementation.
16476 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16477 power8 implementation.
16478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16479 file: POWER8 llrint ifunc implementation.
16480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16481 Add POWER8 implementation.
16482 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16483 POWER8 llrint implementation.
16485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16486 power8 implementation.
16487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16488 file: POWER8 finite ifunc implementation.
16489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16490 Add POWER8 implementation.
16491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16493 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16494 POWER8 finite implementation.
16495 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16498 power8 implementation.
16499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16500 file: POWER8 isinf ifunc implementation.
16501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16502 POWER8 implementation.
16503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16505 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16506 isinf implementation.
16507 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16509 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16510 (INIT_ARCH): Add hwcap2 initialization.
16511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16512 power8 implementation.
16513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16514 file: POWER8 isnan ifunc implementation.
16515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16516 POWER8 implementation.
16517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16519 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16520 isnan implementation.
16521 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16523 2014-02-27 Joey Ye <joey.ye@arm.com>
16525 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16526 (_FP_NANFRAC_Q): Set to zero.
16528 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16531 * math/auto-libm-test-in: New test inputs.
16532 * math/auto-libm-test-out: Regenerate.
16533 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16536 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16538 2014-02-27 Joseph Myers <joseph@codesourcery.com>
16540 * scripts/evaluate-test.sh: Take new argument indicating whether
16541 failure is expected.
16542 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16543 indicating whether failure is expected.
16544 * conform/Makefile (test-xfail-run-conformtest): New variable.
16545 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16547 * posix/Makefile (test-xfail-annexc): New variable.
16548 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16550 2014-02-26 Joseph Myers <joseph@codesourcery.com>
16552 * argp/Makefile: Include Makeconfig immediately after defining
16554 * assert/Makefile: Likewise.
16555 * benchtests/Makefile: Likewise.
16556 * catgets/Makefile: Likewise.
16557 * conform/Makefile: Likewise.
16558 * crypt/Makefile: Likewise.
16559 * csu/Makefile: Likewise.
16560 (all): Remove target.
16561 * ctype/Makefile: Include Makeconfig immediately after defining
16563 * debug/Makefile: Likewise.
16564 * dirent/Makefile: Likewise.
16565 * dlfcn/Makefile: Likewise.
16566 * gmon/Makefile: Likewise.
16567 * gnulib/Makefile: Likewise.
16568 * grp/Makefile: Likewise.
16569 * gshadow/Makefile: Likewise.
16570 * hesiod/Makefile: Likewise.
16571 * hurd/Makefile: Likewise.
16572 (all): Remove target.
16573 * iconvdata/Makefile: Include Makeconfig immediately after
16575 * inet/Makefile: Likewise.
16576 * intl/Makefile: Likewise.
16577 * io/Makefile: Likewise.
16578 * libio/Makefile: Likewise.
16579 (all): Remove target.
16580 * locale/Makefile: Include Makeconfig immediately after defining
16582 * login/Makefile: Likewise.
16583 * mach/Makefile: Likewise.
16584 (all): Remove target.
16585 * malloc/Makefile: Include Makeconfig immediately after defining
16587 (all): Remove target.
16588 * manual/Makefile: Include Makeconfig immediately after defining
16590 * math/Makefile: Likewise.
16591 * misc/Makefile: Likewise.
16592 * nis/Makefile: Likewise.
16593 * nss/Makefile: Likewise.
16594 * po/Makefile: Likewise.
16595 (all): Remove target.
16596 * posix/Makefile: Include Makeconfig immediately after defining
16598 * pwd/Makefile: Likewise.
16599 * resolv/Makefile: Likewise.
16600 * resource/Makefile: Likewise.
16601 * rt/Makefile: Likewise.
16602 * setjmp/Makefile: Likewise.
16603 * shadow/Makefile: Likewise.
16604 * signal/Makefile: Likewise.
16605 * socket/Makefile: Likewise.
16606 * soft-fp/Makefile: Likewise.
16607 * stdio-common/Makefile: Likewise.
16608 * stdlib/Makefile: Likewise.
16609 * streams/Makefile: Likewise.
16610 * string/Makefile: Likewise.
16611 * sunrpc/Makefile: Likewise.
16612 (all): Remove target.
16613 * sysvipc/Makefile: Include Makeconfig immediately after defining
16615 * termios/Makefile: Likewise.
16616 * time/Makefile: Likewise.
16617 * timezone/Makefile: Likewise.
16618 (all): Remove target.
16619 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16621 * wctype/Makefile: Likewise.
16623 2014-02-26 Steve Ellcey <sellcey@mips.com>
16625 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16626 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16627 (libc_feholdexcept_setround_mips): Ditto.
16628 (libc_feholdsetround): New.
16629 (libc_feholdsetroundf): New.
16630 (libc_feholdsetroundl): New.
16631 (libc_feupdateenv_test_mips): New.
16632 (libc_feupdateenv_test): New.
16633 (libc_feupdateenv_testf): New.
16634 (libc_feupdateenv_testl): New.
16635 (libc_feresetround): New.
16636 (libc_feresetroundf): New.
16637 (libc_feresetroundl): New.
16638 (libc_fetestexcept_mips): New.
16639 (libc_fetestexcept): New.
16640 (libc_fetestexceptf): New.
16641 (libc_fetestexceptl): New.
16642 (HAVE_RM_CTX): New.
16643 (libc_feholdexcept_setround_mips_ctx): New.
16644 (libc_feholdexcept_setround_ctx): New.
16645 (libc_feholdexcept_setroundf_ctx): New.
16646 (libc_feholdexcept_setroundl_ctx): New.
16647 (libc_fesetenv_mips_ctx): New.
16648 (libc_fesetenv_ctx): New.
16649 (libc_fesetenv_ctxf): New.
16650 (libc_fesetenv_ctxl): New.
16651 (libc_feupdateenv_mips_ctx): New.
16652 (libc_feupdateenv_ctx): New.
16653 (libc_feupdateenvf_ctx): New.
16654 (libc_feupdateenvl_ctx): New.
16655 (libc_feholdsetround_mips_ctx): New.
16656 (libc_feholdsetround_ctx): New.
16657 (libc_feholdsetroundf_ctx): New.
16658 (libc_feholdsetroundl_ctx): New.
16659 (libc_feresetround_mips_ctx): New.
16660 (libc_feresetround_ctx): New.
16661 (libc_feresetroundf_ctx): New.
16662 (libc_feresetroundl_ctx): New.
16664 2014-02-26 Carlos O'Donell <carlos@redhat.com>
16666 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16668 * manual/ipc.texi: New file.
16669 * manual/Makefile (chapters): Add ipc.
16670 * manual/job.texi: Add "Inter-Process Communication" to next.
16671 * manual/process.texi: Add "Inter-Process Communication" to prev.
16673 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16677 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
16679 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16681 * manual/arith.texi: Fix spaces after sentences.
16682 * manual/charset.texi: Likewise.
16683 * manual/errno.texi: Likewise.
16684 * manual/install.texi: Likewise.
16685 * manual/llio.texi: Likewise.
16686 * manual/locale.texi: Likewise.
16687 * manual/maint.texi: Likewise.
16688 * manual/math.texi: Likewise.
16689 * manual/memory.texi: Likewise.
16690 * manual/message.texi: Likewise.
16691 * manual/probes.texi: Likewise.
16692 * manual/resource.texi: Likewise.
16693 * manual/signal.texi: Likewise.
16694 * manual/socket.texi: Likewise.
16695 * manual/stdio.texi: Likewise.
16696 * manual/string.texi: Likewise.
16697 * manual/time.texi: Likewise.
16698 * manual/users.texi: Likewise.
16700 2014-02-25 Carlos O'Donell <carlos@redhat.com>
16703 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16704 _DEFAULT_SOURCE is defined.
16706 2014-02-25 Ulrich Drepper <drepper@gmail.com>
16707 Carlos O'Donell <carlos@redhat.com>
16710 * elf/dl-tls.c (_dl_count_modids): New function.
16711 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16712 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16713 audit library and increment generation counter.
16714 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16715 * elf/tst-audit9.c: New file.
16716 * elf/tst-auditmod9a.c: New file.
16717 * elf/tst-auditmod9b.c: New file.
16718 * elf/Makefile: Add rules to build and run tst-audit9.
16720 2014-02-25 Florian Weimer <fweimer@redhat.com>
16723 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16725 2014-02-25 Will Newton <will.newton@linaro.org>
16727 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16728 (__longjmp): Restore sp and lr before restoring callee
16729 saved registers. Add longjmp and longjmp_target
16730 SystemTap probe point.
16731 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16732 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16733 Define to zero to match jmpbuf layout.
16734 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16735 (__sigsetjmp): Save sp and lr before saving callee
16736 saved registers. Add setjmp SystemTap probe point.
16738 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16740 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16742 2014-02-24 Andreas Schwab <schwab@suse.de>
16745 * elf/pldd.c (wait_for_ptrace_stop): New function.
16746 (main): Call it after attaching.
16748 2014-02-22 Roland McGrath <roland@hack.frob.com>
16750 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16751 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16752 Versions files is now verboten.
16753 * hurd/Versions (libc: GLIBC_2.0):
16754 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16755 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16756 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16757 * mach/Versions: Likewise.
16759 * csu/Versions: Remove unused %include.
16760 * resolv/Versions: Likewise.
16762 2014-02-21 Joseph Myers <joseph@codesourcery.com>
16764 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16765 ($(objpfx)check-local-headers.out): Likewise.
16766 ($(objpfx)begin-end-check.out): Likewise.
16767 * Makerules (check-abi-%.out): Likewise.
16768 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16769 ($(objpfx)test2.cat): Likewise.
16770 ($(objpfx)de/libc.cat): Likewise.
16771 ($(objpfx)test-gencat.out): Likewise.
16772 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16773 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16774 ($(objpfx)noload-mem): Likewise.
16775 ($(objpfx)tst-pathopt.out): Likewise.
16776 ($(objpfx)tst-rtld-load-self.out): Likewise.
16777 ($(objpfx)tst-array1-cmp.out): Likewise.
16778 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16779 ($(objpfx)tst-array2-cmp.out): Likewise.
16780 ($(objpfx)tst-array3-cmp.out): Likewise.
16781 ($(objpfx)tst-array4-cmp.out): Likewise.
16782 ($(objpfx)tst-array5-cmp.out): Likewise.
16783 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16784 ($(objpfx)check-textrel.out): Likewise.
16785 ($(objpfx)check-execstack.out): Likewise.
16786 ($(objpfx)check-localplt.out): Likewise.
16787 ($(objpfx)order2-cmp.out): Likewise.
16788 ($(objpfx)tst-leaks1-mem): Likewise.
16789 ($(objpfx)tst-leaks1-static-mem): Likewise.
16790 ($(objpfx)tst-initorder-cmp.out): Likewise.
16791 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16792 ($(objpfx)tst-unused-dep.out): Likewise.
16793 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16794 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16795 * iconv/Makefile (test-iconvconfig): Likewise.
16796 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16797 ($(objpfx)iconv-test.out): Likewise.
16798 ($(objpfx)tst-tables.out): Likewise.
16799 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16800 ($(objpfx)tst-gettext.out): Likewise.
16801 ($(objpfx)tst-translit.out): Likewise.
16802 ($(objpfx)tst-gettext2.out): Likewise.
16803 ($(objpfx)tst-gettext4.out): Likewise.
16804 ($(objpfx)tst-gettext6.out): Likewise.
16805 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16806 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16807 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16808 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16809 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16810 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16811 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16812 ($(objpfx)wordexp-tst.out): Likewise.
16813 ($(objpfx)annexc.out): Likewise.
16814 ($(objpfx)tst-fnmatch-mem): Likewise.
16815 ($(objpfx)bug-regex2-mem): Likewise.
16816 ($(objpfx)bug-regex14-mem): Likewise.
16817 ($(objpfx)bug-regex21-mem): Likewise.
16818 ($(objpfx)bug-regex31-mem): Likewise.
16819 ($(objpfx)tst-vfork3-mem): Likewise.
16820 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16821 ($(objpfx)tst-pcre-mem): Likewise.
16822 ($(objpfx)tst-boost-mem): Likewise.
16823 ($(objpfx)tst-getconf.out): Likewise.
16824 ($(objpfx)bug-ga2-mem): Likewise.
16825 ($(objpfx)bug-glob2-mem): Likewise.
16826 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16827 ($(objpfx)mtrace-tst-leaks2): Likewise.
16828 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16829 ($(objpfx)tst-printf.out): Likewise.
16830 ($(objpfx)tst-setvbuf1.out): Likewise.
16831 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16832 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16833 ($(objpfx)tst-fmtmsg.out): Likewise.
16834 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16835 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16837 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16838 * bits/sigaction.h [__USE_MISC]: Likewise.
16839 * bits/waitstatus.h: Update #endif comments.
16840 * ctype/ctype.h: Likewise.
16841 * dirent/dirent.h: Likewise.
16842 [__USE_MISC]: Remove redundant conditionals.
16843 * grp/grp.h: Update #endif comments.
16844 [__USE_GNU]: Remove redundant conditionals.
16845 [__USE_MISC]: Likewise.
16846 * inet/netinet/in.h [__USE_GNU]: Likewise.
16847 * io/sys/stat.h [__USE_MISC]: Likewise.
16848 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16849 * libio/bits/stdio.h: Update #endif comments.
16850 [__USE_MISC]: Remove redundant conditionals.
16851 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16852 * libio/stdio.h: Update #endif comments.
16853 [__USE_MISC]: Remove redundant conditionals.
16854 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16855 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16856 * math/math.h: Update #else and #endif comments.
16857 [__USE_MISC]: Remove redundant conditionals.
16858 * misc/sys/uio.h: Update #endif comments.
16859 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16860 * posix/glob.h [__USE_MISC]: Likewise.
16861 * posix/sys/types.h: Update #endif comments.
16862 [__USE_MISC]: Remove redundant conditionals.
16863 * posix/sys/wait.h: Update #endif comments.
16864 [__USE_MISC]: Remove redundant conditionals.
16865 * posix/unistd.h: Update #endif comments.
16866 [__USE_MISC]: Remove redundant conditionals.
16867 * pwd/pwd.h [__USE_GNU]: Likewise.
16868 [__USE_MISC]: Likewise.
16869 * resolv/netdb.h [__USE_GNU]: Likewise.
16870 * signal/signal.h: Update #endif comments.
16871 [__USE_MISC]: Remove redundant conditionals.
16872 * stdlib/stdlib.h: Update #else and #endif comments.
16873 [__USE_MISC]: Remove redundant conditionals.
16874 [__USE_GNU]: Likewise.
16875 * string/bits/string2.h [__USE_MISC]: Likewise.
16876 * string/string.h: Update #endif comments.
16877 [__USE_MISC]: Remove redundant conditionals.
16878 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16880 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16881 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16882 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16884 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16888 [__USE_MISC]: Remove redundant conditionals.
16889 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16890 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16891 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16892 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16893 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16895 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16896 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16898 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16899 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16901 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16903 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16904 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16906 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16908 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16909 * sysdeps/x86/bits/string.h: Update #endif comments.
16910 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16912 * time/sys/time.h: Update #endif comments.
16913 * time/time.h: Likewise.
16914 [__USE_MISC]: Remove redundant conditionals.
16916 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16919 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16921 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16923 * Versions.def (librt): Add GLIBC_2.17.
16925 2014-02-21 Adam Conrad <adconrad@0c3.net>
16927 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16928 synonym for _SYS_AUXV_H to allow direct inclusion.
16929 * sysdeps/sparc/bits/hwcap.h: Likewise.
16930 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16931 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16932 * sysdeps/sparc/sysdep.h: Likewise.
16934 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16936 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16938 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16940 * benchtests/bench-strrchr.c: Print length instead of position.
16942 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16945 * sysdeps/unix/sysv/linux/kernel-features.h
16946 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16947 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16948 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16949 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16951 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16952 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16953 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16954 (__ASSUME_SENDMMSG): Define instead of using previous
16955 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16956 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16957 (__ASSUME_SENDMMSG_SYSCALL): Define.
16958 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16959 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16961 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16962 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16964 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16965 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16967 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16968 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16969 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16970 [__ASSUME_SENDMMSG]: Change conditionals to
16971 [__ASSUME_SENDMMSG_SOCKETCALL].
16972 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16973 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16975 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16976 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16978 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16979 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16980 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16981 [!__ASSUME_SENDMMSG]: Change conditional to
16982 [!__ASSUME_SENDMMSG_SOCKETCALL].
16983 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16984 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16988 * sysdeps/unix/sysv/linux/kernel-features.h
16989 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16990 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16991 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16992 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16993 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16994 [__i386__ || __sparc__]
16995 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16996 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16997 (__ASSUME_RECVMMSG): Define instead of using previous
16998 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16999 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17000 (__ASSUME_RECVMMSG_SYSCALL): Define.
17001 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17002 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17004 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17005 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17007 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17008 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17010 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17011 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17012 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17013 [__ASSUME_RECVMMSG]: Change condition to
17014 [__ASSUME_RECVMMSG_SOCKETCALL].
17015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17016 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17018 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17019 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17020 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17022 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17023 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17024 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17025 [!__ASSUME_RECVMMSG]: Change condition to
17026 [!__ASSUME_RECVMMSG_SOCKETCALL].
17027 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17028 (__ASSUME_RECVMMSG_SYSCALL): Define.
17031 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17032 __powerpc__ || __s390__ || __sh__ || __sparc__]
17033 (__ASSUME_SOCKETCALL): Define.
17034 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17035 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17036 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17037 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17038 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17039 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17040 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17041 (__ASSUME_ACCEPT4): Define instead of using previous
17042 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17043 __powerpc__ || __sparc__ || __s390__)] condition.
17044 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17045 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17046 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17047 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17048 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17049 [!__ASSUME_ACCEPT4]: Change condition to
17050 [!__ASSUME_ACCEPT4_SOCKETCALL].
17051 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17052 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17053 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17054 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17055 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17056 __ASSUME_ACCEPT4_SYSCALL.
17057 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17058 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17059 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17060 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17061 __ASSUME_ACCEPT4_SYSCALL.
17062 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17063 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17064 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17065 [__ASSUME_ACCEPT4]: Change condition to
17066 [__ASSUME_ACCEPT4_SOCKETCALL].
17067 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17068 (__ASSUME_SOCKETCALL): Define.
17069 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17070 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17071 (__ASSUME_SOCKETCALL): Define.
17072 (__ASSUME_ACCEPT4): Remove.
17073 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17075 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17076 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17078 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17079 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17081 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17083 (HWCAP_ARM_LPAE): Likewise.
17084 (HWCAP_ARM_EVTSTRM): Likewise.
17085 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17086 Add vpfd32, lpae and evtstrm.
17087 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17090 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17092 * math/auto-libm-test-in: Add tests of clog10.
17093 * math/auto-libm-test-out: Regenerated.
17094 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17095 * sysdeps/i386/fpu/libm-test-ulps: Update.
17096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17098 2014-02-18 Andreas Schwab <schwab@suse.de>
17101 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17102 Store non-zero if the second buffer was newly allocated.
17103 (send_dg): Likewise.
17104 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17105 to send_vc and send_dg.
17106 (res_nsend): Pass NULL for ansp2_malloced.
17107 * resolv/res_query.c (__libc_res_nquery): Add parameter
17108 answerp2_malloced and pass it down to __libc_res_nsend.
17109 (res_nquery): Pass additional NULL to __libc_res_nquery.
17110 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17111 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17112 second answer buffer if answerp2_malloced was set.
17113 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17114 (__libc_res_nquerydomain): Add parameter
17115 answerp2_malloced and pass it down to __libc_res_nquery.
17116 (res_nquerydomain): Pass additional NULL to
17117 __libc_res_nquerydomain.
17118 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17119 additional NULL to __libc_res_nsend and __libc_res_nquery.
17120 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17121 additional NULL to __libc_res_nsearch.
17122 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17123 parameter of __libc_res_nsearch to check for separately allocated
17125 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17127 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17128 additional NULL to __libc_res_nquery.
17129 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17130 __libc_res_nsearch.
17131 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17132 * include/resolv.h: Update prototypes of __libc_res_nquery,
17133 __libc_res_nsearch, __libc_res_nsend.
17135 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17137 * math/auto-libm-test-in: Add tests of fma.
17138 * math/auto-libm-test-out: Regenerated.
17139 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17140 (fma_towardzero_test_data): Likewise.
17141 (fma_downward_test_data): Likewise.
17142 (fma_upward_test_data): Likewise.
17143 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17145 (rounding_modes): Add values for new field.
17146 (func_calc_method): Add value mpfr_fff_f.
17147 (func_calc_desc): Add mpfr_fff_f union field.
17148 (test_function): Add field exact_args.
17149 (FUNC): Add macro argument EXACT_ARGS.
17150 (FUNC_mpfr_f_f): Update call to FUNC.
17151 (FUNC_mpfr_f_f): Likewise.
17152 (FUNC_mpfr_ff_f): Likewise.
17153 (FUNC_mpfr_if_f): Likewise.
17154 (FUNC_mpc_c_f): Likewise.
17155 (FUNC_mpc_c_c): Likewise.
17156 (test_functions): Add fma. Update calls to FUNC.
17157 (handle_input_arg): Add argument exact_args.
17158 (add_test): Update call to handle_input_arg.
17159 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17160 (output_for_one_input_case): Update call to calc_generic_results.
17161 Recalculate exact zero results in each rounding mode.
17163 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17164 non-negative before setting low bit.
17165 * math/auto-libm-test-in: Mark one asin test possibly having
17166 spurious underflow.
17167 * math/auto-libm-test-out: Regenerated.
17168 * sysdeps/i386/fpu/libm-test-ulps: Update.
17169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17171 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17173 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17174 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17175 ports/sysdeps/unix/sysv/linux/microblaze.
17176 * README: Add missing listing for microblaze*-*-linux-gnu.
17178 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17180 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17183 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17185 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17186 * sysdeps/unix/sysv/linux/ia64: Move directory from
17187 ports/sysdeps/unix/sysv/linux/ia64.
17188 * README: Update listing for ia64-*-linux-gnu.
17190 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17191 Joseph Myers <joseph@codesourcery.com>
17193 * Makeconfig (test-name): New variable.
17194 (evaluate-test): Likewise.
17195 * Makerules (do-test-clean): Remove .test-result files.
17196 (common-mostlyclean): Likewise.
17197 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17198 * scripts/evaluate-test.sh: New file.
17200 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17202 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17203 separate $(objpfx)tst-fopenloc-cmp.out and
17204 $(objpfx)tst-fopenloc-mem.out targets.
17205 (tests): Update dependencies.
17206 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17207 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17208 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17209 (tst-rxspencer-no-utf8-ARGS): New variable.
17210 (tst-rxspencer-no-utf8-ENV): Likewise.
17211 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17212 instead of $(objpfx)tst-rxspencer-mem.
17213 ($(objpfx)tst-rxspencer-mem): Change target to
17214 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17215 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17216 * posix/tst-rxspencer-no-utf8.c: New file.
17218 * elf/Makefile ($(objpfx)order.out): Remove rule.
17219 [$(run-built-tests) = yes] (tests): Depend on
17220 $(objpfx)order-cmp.out.
17221 ($(objpfx)order-cmp.out): New rule.
17222 [$(run-built-tests) = yes] (tests): Depend on
17223 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17224 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17225 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17226 $(objpfx)tst-array5-static-cmp.out.
17227 ($(objpfx)tst-array1.out): Remove rule.
17228 ($(objpfx)tst-array1-cmp.out): New rule.
17229 ($(objpfx)tst-array1-static.out): Remove rule.
17230 ($(objpfx)tst-array1-static-cmp.out): New rule.
17231 ($(objpfx)tst-array2.out): Remove rule.
17232 ($(objpfx)tst-array2-cmp.out): New rule.
17233 ($(objpfx)tst-array3.out): Remove rule.
17234 ($(objpfx)tst-array3-cmp.out): New rule.
17235 ($(objpfx)tst-array4.out): Remove rule.
17236 ($(objpfx)tst-array4-cmp.out): New rule.
17237 ($(objpfx)tst-array5.out): Remove rule.
17238 ($(objpfx)tst-array5-cmp.out): New rule.
17239 ($(objpfx)tst-array5-static.out): Remove rule.
17240 ($(objpfx)tst-array5-static-cmp.out): New rule.
17241 [$(run-built-tests) = yes] (tests): Depend on
17242 $(objpfx)order2-cmp.out.
17243 ($(objpfx)order2.out): Remove rule.
17244 ($(objpfx)order2-cmp.out): New rule.
17245 ($(objpfx)tst-initorder.out): Remove rule.
17246 [$(run-built-tests) = yes] (tests): Depend on
17247 $(objpfx)tst-initorder-cmp.out.
17248 ($(objpfx)tst-initorder-cmp.out): New rule.
17249 ($(objpfx)tst-initorder2.out): Remove rule.
17250 [$(run-built-tests) = yes] (tests): Depend on
17251 $(objpfx)tst-initorder2-cmp.out.
17252 ($(objpfx)tst-initorder2-cmp.out): New rule.
17253 [$(run-built-tests) = yes] (tests): Depend on
17254 $(objpfx)tst-unused-dep-cmp.out.
17255 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17256 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17257 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17258 on $(objpfx)tst-setvbuf1-cmp.out.
17259 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17260 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17261 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17262 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17263 ($(objpfx)tst-svc.out): Remove rule.
17264 ($(objpfx)tst-svc-cmp.out): New rule.
17266 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17268 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17269 * ctype/ctype.h [__USE_MISC]: Likewise.
17270 * dirent/dirent.h [__USE_MISC]: Likewise.
17271 * grp/grp.h [__USE_MISC]: Likewise.
17272 * io/fcntl.h [__USE_MISC]: Likewise.
17273 * io/sys/stat.h [__USE_MISC]: Likewise.
17274 * libio/stdio.h [__USE_MISC]: Likewise.
17275 * posix/unistd.h [__USE_MISC]: Likewise.
17276 * pwd/pwd.h [__USE_MISC]: Likewise.
17277 * stdlib.h [__USE_MISC]: Likewise.
17278 * string/bits/string2.h [__USE_MISC]: Likewise.
17279 * string/string.h [__USE_MISC]: Likewise.
17280 * time/time.h [__USE_MISC]: Likewise.
17282 2014-02-13 Andreas Schwab <schwab@suse.de>
17285 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17286 second answer buffer if it was separately allocated.
17288 2014-02-12 Joseph Myers <joseph@codesourcery.com>
17290 * sysdeps/mips/math-tests.h: Include <features.h>.
17291 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17292 (ROUNDING_TESTS_long_double): Do not define.
17293 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17294 (EXCEPTION_TESTS_long_double): Likewise.
17295 * sysdeps/mips/mips64/libm-test-ulps: Update.
17297 * include/features.h (__USE_BSD): Remove macro definitions.
17298 (__USE_SVID): Likewise.
17299 (_BSD_SOURCE): Likewise.
17300 (_SVID_SOURCE): Likewise.
17301 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17302 from definition of _DEFAULT_SOURCE.
17303 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17305 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17306 * bits/mman.h [__USE_BSD]: Likewise.
17307 * bits/termios.h [__USE_BSD]: Likewise.
17308 * bits/waitstatus.h [__USE_BSD]: Likewise.
17309 * ctype/ctype.h [__USE_SVID]: Likewise.
17310 * dirent/dirent.h [__USE_BSD]: Likewise.
17311 * grp/grp.h [__USE_SVID]: Likewise.
17312 [__USE_BSD]: Likewise.
17313 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17314 * io/fcntl.h [__USE_BSD]: Likewise.
17315 * io/ftw.h [__USE_BSD]: Likewise.
17316 * io/sys/stat.h [__USE_BSD]: Likewise.
17317 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17318 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17319 * libio/stdio.h [__USE_SVID]: Likewise.
17320 [__USE_BSD]: Likewise.
17321 * math/math.h [__USE_SVID]: Likewise.
17322 [__USE_BSD]: Likewise.
17323 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17324 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17325 * misc/search.h [__USE_SVID]: Likewise.
17326 * misc/sys/mman.h [__USE_BSD]: Likewise.
17327 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17328 * misc/sys/uio.h [__USE_BSD]: Likewise.
17329 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17330 * posix/glob.h [__USE_BSD]: Likewise.
17331 * posix/regex.h [__USE_BSD]: Likewise.
17332 * posix/sys/types.h [__USE_BSD]: Likewise.
17333 [__USE_SVID]: Likewise.
17334 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17335 * posix/sys/wait.h [__USE_BSD]: Likewise.
17336 [__USE_SVID]: Likewise.
17337 * posix/unistd.h [__USE_BSD]: Likewise.
17338 [__USE_SVID]: Likewise.
17339 * pwd/pwd.h [__USE_SVID]: Likewise.
17340 * resolv/netdb.h [__USE_BSD]: Likewise.
17341 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17342 * signal/signal.h [__USE_BSD]: Likewise.
17343 [__USE_SVID]: Likewise.
17344 * socket/sys/socket.h [__USE_BSD]: Likewise.
17345 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17346 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17347 [__USE_SVID]: Likewise.
17348 * string/bits/string2.h [__USE_BSD]: Likewise.
17349 [__USE_SVID]: Likewise.
17350 * string/bits/string3.h [__USE_BSD]: Likewise.
17351 * string/endian.h [__USE_BSD]: Likewise.
17352 * string/string.h [__USE_SVID]: Likewise.
17353 [__USE_BSD]: Likewise.
17354 * string/strings.h [__USE_BSD]: Likewise.
17355 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17356 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17357 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17358 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17359 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17360 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17364 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17365 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17367 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17368 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17370 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17372 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17373 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17374 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17376 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17378 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17379 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17380 * termios/termios.h [__USE_BSD]: Likewise.
17381 * time/sys/time.h [__USE_BSD]: Likewise.
17382 * time/time.h [__USE_BSD]: Likewise.
17383 [__USE_SVID]: Likewise.
17385 * Makefile (subdir_targets): Remove subdir_lint.out.
17387 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17388 (do-tst-printf): Likewise.
17389 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17390 $(objpfx)tst-printf.out.
17392 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17394 * Makerules (check-abi-%): Change target to
17395 $(objpfx)check-abi-%.out.
17396 (check-abi target): Update dependencies.
17397 (check-abi-pattern variable): Redirect output of diff to $@.
17398 (check-abi variable): Likewise.
17399 * elf/Makefile (check-abi): Update dependencies.
17401 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17403 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17404 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17406 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17407 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17408 value has largest subnormal exponent.
17409 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17410 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17411 * sysdeps/aarch64/soft-fp/sfp-machine.h
17412 (_FP_TININESS_AFTER_ROUNDING): New macro.
17413 * sysdeps/alpha/soft-fp/sfp-machine.h
17414 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17415 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17417 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17418 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17419 * sysdeps/mips/soft-fp/sfp-machine.h
17420 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17421 * sysdeps/powerpc/soft-fp/sfp-machine.h
17422 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17423 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17425 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17426 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17427 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17428 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17429 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17432 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
17435 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17438 2014-02-12 Richard Henderson <rth@redhat.com>
17440 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17441 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17442 * sysdeps/unix/sysv/linux/alpha: Move directory from
17443 ports/sysdeps/unix/sysv/linux/alpha.
17444 * README: Update listing for alpha-*-linux-gnu.
17446 2014-02-11 Joseph Myers <joseph@codesourcery.com>
17448 * include/features.h: Update comment documenting feature test
17450 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17452 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17453 (_SVID_SOURCE): Likewise.
17454 (_DEFAULT_SOURCE): Update description of default features.
17455 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17457 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17458 (S_ISVTX): Likewise.
17459 * manual/math.texi (Mathematical Constants): Likewise.
17460 * manual/signal.texi (Interrupted Primitives): Likewise.
17461 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17462 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17463 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17464 Don't refer to _SVID_SOURCE in warning text.
17466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17468 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17470 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17471 * sysdeps/mips/dl-lookup.c: Remove.
17472 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17474 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17477 * math/auto-libm-test-in: Add testcase for expl.
17478 * math/auto-libm-test-out: Regenerate.
17479 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17480 calculation of unsafe.
17481 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17483 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17485 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17486 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17487 ports/sysdeps/unix/sysv/linux/aarch64.
17488 * README: Update listing for aarch64*-*-linux-gnu.
17490 2014-02-11 Will Newton <will.newton@linaro.org>
17492 * manual/probes.texi (Mathematical Function Probes): Use
17493 "triggered" instead of "hit".
17495 * manual/probes.texi (Internal Probes): Add documentation
17496 of setjmp, longjmp and longjmp_target probes.
17498 * include/stap-probe.h: Add comment about probe argument
17501 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17502 definition. (tr_where, tr_freehook, tr_mallochook,
17503 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17505 2014-02-11 David S. Miller <davem@davemloft.net>
17507 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17508 processing int_tests.
17510 2014-02-10 Joseph Myers <joseph@codesourcery.com>
17512 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17513 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17514 * sysdeps/unix/sysv/linux/mips: Move directory from
17515 ports/sysdeps/unix/sysv/linux/mips.
17516 * README: Update listing for mips-*-linux-gnu and
17517 mips64-*-linux-gnu.
17519 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17521 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17522 * sysdeps/unix/sysv/linux/m68k: Move directory from
17523 ports/sysdeps/unix/sysv/linux/m68k.
17524 * README: Update listing for m68k-*-linux-gnu.
17526 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17528 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17529 * sysdeps/unix/sysv/linux/generic: Move directory from
17530 ports/sysdeps/unix/sysv/linux/generic.
17531 * sysdeps/unix/sysv/linux/tile: Move directory from
17532 ports/sysdeps/unix/sysv/linux/tile.
17533 * README: Update listing for tile*-*-linux-gnu.
17535 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
17537 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17539 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17540 * catgets/open_catalog.c (__open_catalog): Likewise.
17541 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17542 * debug/confstr_chk.c: Likewise.
17543 * debug/fread_chk.c (__fread_chk): Likewise.
17544 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17545 * debug/getgroups_chk.c: Likewise.
17546 * debug/mbsnrtowcs_chk.c: Likewise.
17547 * debug/mbsrtowcs_chk.c: Likewise.
17548 * debug/mbstowcs_chk.c: Likewise.
17549 * debug/memcpy_chk.c: Likewise.
17550 * debug/memmove_chk.c: Likewise.
17551 * debug/mempcpy_chk.c: Likewise.
17552 * debug/memset_chk.c: Likewise.
17553 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17554 * debug/strcat_chk.c (__strcat_chk): Likewise.
17555 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17556 * debug/strncat_chk.c (__strncat_chk): Likewise.
17557 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17558 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17559 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17560 * debug/wcpncpy_chk.c: Likewise.
17561 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17562 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17563 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17564 * debug/wcsncpy_chk.c: Likewise.
17565 * debug/wcsnrtombs_chk.c: Likewise.
17566 * debug/wcsrtombs_chk.c: Likewise.
17567 * debug/wcstombs_chk.c: Likewise.
17568 * debug/wmemcpy_chk.c: Likewise.
17569 * debug/wmemmove_chk.c: Likewise.
17570 * debug/wmempcpy_chk.c: Likewise.
17571 * debug/wmemset_chk.c: Likewise.
17572 * dirent/scandirat.c (SCANDIRAT): Likewise.
17573 * dlfcn/dladdr1.c (dladdr1): Likewise.
17574 * dlfcn/dladdr.c (dladdr): Likewise.
17575 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17576 * dlfcn/dlerror.c (__dlerror): Likewise.
17577 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17578 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17579 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17580 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17581 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17582 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17583 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17584 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17586 * elf/dl-conflict.c: Likewise.
17587 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17588 * elf/dl-dst.h: Likewise.
17589 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17590 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17591 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17592 * elf/dl-init.c (call_init, _dl_init): Likewise.
17593 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17594 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17595 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17597 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17599 * elf/dl-minimal.c (__libc_memalign): Likewise.
17600 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17601 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17602 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17603 * elf/dl-sym.c (do_sym): Likewise.
17604 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17605 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17606 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17607 * elf/dl-writev.h (_dl_writev): Likewise.
17608 * elf/ldconfig.c (search_dir): Likewise.
17609 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17610 (dl_main): Likewise.
17611 * elf/setup-vdso.h (setup_vdso): Likewise.
17612 * grp/compat-initgroups.c (compat_call): Likewise.
17613 * grp/fgetgrent.c (fgetgrent): Likewise.
17614 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17615 * grp/putgrent.c (putgrent): Likewise.
17616 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17618 * hurd/hurdinit.c: Likewise.
17619 * iconvdata/8bit-gap.c (struct): Likewise.
17620 * iconvdata/ansi_x3.110.c : Likewise.
17621 * iconvdata/big5.c : Likewise.
17622 * iconvdata/big5hkscs.c : Likewise.
17623 * iconvdata/cp1255.c: Likewise.
17624 * iconvdata/cp1258.c : Likewise.
17625 * iconvdata/cp932.c : Likewise.
17626 * iconvdata/euc-cn.c: Likewise.
17627 * iconvdata/euc-jisx0213.c : Likewise.
17628 * iconvdata/euc-jp.c: Likewise.
17629 * iconvdata/euc-jp-ms.c : Likewise.
17630 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17631 * iconvdata/gb18030.c : Likewise.
17632 * iconvdata/gbbig5.c (const): Likewise.
17633 * iconvdata/gbgbk.c: Likewise.
17634 * iconvdata/gbk.c : Likewise.
17635 * iconvdata/ibm1364.c : Likewise.
17636 * iconvdata/ibm930.c : Likewise.
17637 * iconvdata/ibm932.c: Likewise.
17638 * iconvdata/ibm933.c : Likewise.
17639 * iconvdata/ibm935.c : Likewise.
17640 * iconvdata/ibm937.c : Likewise.
17641 * iconvdata/ibm939.c : Likewise.
17642 * iconvdata/ibm943.c: Likewise.
17643 * iconvdata/iso_11548-1.c: Likewise.
17644 * iconvdata/iso-2022-cn.c : Likewise.
17645 * iconvdata/iso-2022-cn-ext.c : Likewise.
17646 * iconvdata/iso-2022-jp-3.c: Likewise.
17647 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17648 * iconvdata/iso-2022-kr.c : Likewise.
17649 * iconvdata/iso646.c (gconv_end): Likewise.
17650 * iconvdata/iso_6937-2.c : Likewise.
17651 * iconvdata/iso_6937.c : Likewise.
17652 * iconvdata/iso8859-1.c: Likewise.
17653 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17654 * iconvdata/shift_jisx0213.c : Likewise.
17655 * iconvdata/sjis.c : Likewise.
17656 * iconvdata/t.61.c : Likewise.
17657 * iconvdata/tcvn5712-1.c : Likewise.
17658 * iconvdata/tscii.c: Likewise.
17659 * iconvdata/uhc.c : Likewise.
17660 * iconvdata/unicode.c (gconv_end): Likewise.
17661 * iconvdata/utf-16.c (gconv_end): Likewise.
17662 * iconvdata/utf-32.c (gconv_end): Likewise.
17663 * iconvdata/utf-7.c (base64): Likewise.
17664 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17665 * iconv/gconv_close.c (__gconv_close): Likewise.
17666 * iconv/gconv_open.c (__gconv_open): Likewise.
17667 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17668 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17669 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17670 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17671 (ucs4le_internal_loop_single): Likewise.
17672 * iconv/iconv.c (iconv): Likewise.
17673 * iconv/iconv_close.c: Likewise.
17674 * iconv/loop.c (SINGLE): Likewise.
17675 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17676 * include/atomic.h: Likewise.
17677 * inet/inet6_option.c (option_alloc): Likewise.
17678 * intl/bindtextdom.c (set_binding_values): Likewise.
17679 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17680 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17681 * intl/localealias.c (read_alias_file): Likewise.
17682 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17683 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17684 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17685 * libio/fmemopen.c (fmemopen): Likewise.
17686 * libio/iofgets.c (_IO_fgets): Likewise.
17687 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17688 * libio/iofgetws.c (fgetws): Likewise.
17689 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17690 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17691 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17692 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17693 * locale/findlocale.c (_nl_find_locale): Likewise.
17694 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17695 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17697 * locale/setlocale.c (setlocale): Likewise.
17698 * login/programs/pt_chown.c (main): Likewise.
17699 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17700 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17701 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17702 (mmap, mmap64, mremap, munmap): Likewise.
17703 * math/e_exp2l.c: Likewise.
17704 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17705 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17706 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17707 * math/s_catan.c (__catan): Likewise.
17708 * math/s_catanf.c (__catanf): Likewise.
17709 * math/s_catanh.c (__catanh): Likewise.
17710 * math/s_catanhf.c (__catanhf): Likewise.
17711 * math/s_catanhl.c (__catanhl): Likewise.
17712 * math/s_catanl.c (__catanl): Likewise.
17713 * math/s_ccosh.c (__ccosh): Likewise.
17714 * math/s_ccoshf.c (__ccoshf): Likewise.
17715 * math/s_ccoshl.c (__ccoshl): Likewise.
17716 * math/s_cexp.c (__cexp): Likewise.
17717 * math/s_cexpf.c (__cexpf): Likewise.
17718 * math/s_cexpl.c (__cexpl): Likewise.
17719 * math/s_clog10.c (__clog10): Likewise.
17720 * math/s_clog10f.c (__clog10f): Likewise.
17721 * math/s_clog10l.c (__clog10l): Likewise.
17722 * math/s_clog.c (__clog): Likewise.
17723 * math/s_clogf.c (__clogf): Likewise.
17724 * math/s_clogl.c (__clogl): Likewise.
17725 * math/s_csin.c (__csin): Likewise.
17726 * math/s_csinf.c (__csinf): Likewise.
17727 * math/s_csinh.c (__csinh): Likewise.
17728 * math/s_csinhf.c (__csinhf): Likewise.
17729 * math/s_csinhl.c (__csinhl): Likewise.
17730 * math/s_csinl.c (__csinl): Likewise.
17731 * math/s_csqrt.c (__csqrt): Likewise.
17732 * math/s_csqrtf.c (__csqrtf): Likewise.
17733 * math/s_csqrtl.c (__csqrtl): Likewise.
17734 * math/s_ctan.c (__ctan): Likewise.
17735 * math/s_ctanf.c (__ctanf): Likewise.
17736 * math/s_ctanh.c (__ctanh): Likewise.
17737 * math/s_ctanhf.c (__ctanhf): Likewise.
17738 * math/s_ctanhl.c (__ctanhl): Likewise.
17739 * math/s_ctanl.c (__ctanl): Likewise.
17740 * math/w_pow.c: Likewise.
17741 * math/w_powf.c: Likewise.
17742 * math/w_powl.c: Likewise.
17743 * math/w_scalb.c (sysv_scalb): Likewise.
17744 * math/w_scalbf.c (sysv_scalbf): Likewise.
17745 * math/w_scalbl.c (sysv_scalbl): Likewise.
17746 * misc/error.c (error_tail): Likewise.
17747 * misc/pselect.c (__pselect): Likewise.
17748 * nis/nis_callback.c (__nis_create_callback): Likewise.
17749 * nis/nis_call.c (__nisfind_server): Likewise.
17750 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17751 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17752 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17753 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17754 * nis/nis_lookup.c (nis_lookup): Likewise.
17755 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17756 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17757 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17758 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17759 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17760 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17761 * nis/nss_compat/compat-initgroups.c (add_group)
17762 (internal_getgrent_r): Likewise.
17763 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17764 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17765 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17766 (internal_getspnam_r): Likewise.
17767 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17768 (_nss_nis_getaliasbyname_r): Likewise.
17769 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17770 (_nss_nis_getntohost_r): Likewise.
17771 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17772 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17773 (_nss_nis_getgrgid_r): Likewise.
17774 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17775 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17776 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17777 (_nss_nis_gethostbyname4_r): Likewise.
17778 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17779 (initgroups_netid): Likewise.
17780 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17781 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17782 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17783 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17784 (_nss_nis_getprotobynumber_r): Likewise.
17785 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17786 (_nss_nis_getsecretkey): Likewise.
17787 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17788 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17789 (_nss_nis_getpwuid_r): Likewise.
17790 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17791 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17792 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17793 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17794 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17795 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17796 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17798 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17799 (_nss_nisplus_getntohost_r): Likewise.
17800 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17801 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17802 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17803 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17805 * nis/nss_nisplus/nisplus-initgroups.c
17806 (_nss_nisplus_initgroups_dyn): Likewise.
17807 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17808 (_nss_nisplus_getnetbyaddr_r): Likewise.
17809 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17810 (_nss_nisplus_getprotobynumber_r): Likewise.
17811 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17812 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17813 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17815 * nis/nss_nisplus/nisplus-service.c
17816 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17817 (_nss_nisplus_getservbyport_r): Likewise.
17818 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17819 (_nss_nisplus_getspnam_r): Likewise.
17820 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17822 * nscd/aicache.c (addhstaiX): Likewise.
17823 * nscd/cache.c (cache_search, prune_cache): Likewise.
17824 * nscd/connections.c (register_traced_file, send_ro_fd)
17825 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17826 (main_loop_epoll): Likewise.
17827 * nscd/grpcache.c (addgrbyX): Likewise.
17828 * nscd/hstcache.c (addhstbyX): Likewise.
17829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17830 * nscd/mem.c (gc, mempool_alloc): Likewise.
17831 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17832 (addinnetgrX): Likewise.
17833 * nscd/nscd-client.h (__nscd_acquire_maplock)
17834 (__nscd_drop_map_ref): Likewise.
17835 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17836 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17837 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17839 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17841 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17842 (__nscd_get_map_ref): Likewise.
17843 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17844 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17846 * nscd/pwdcache.c (addpwbyX): Likewise.
17847 * nscd/selinux.c (preserve_capabilities): Likewise.
17848 * nscd/servicescache.c (addservbyX): Likewise.
17849 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17850 * posix/fnmatch.c (fnmatch): Likewise.
17851 * posix/getopt.c (_getopt_internal_r): Likewise.
17852 * posix/glob.c (glob, glob_in_dir): Likewise.
17853 * posix/wordexp.c (exec_comm_child): Likewise.
17854 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17855 (getanswer_r, gaih_getanswer_slice): Likewise.
17856 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17857 * resolv/res_init.c: Likewise.
17858 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17859 * resolv/res_query.c (__libc_res_nquery): Likewise.
17860 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17862 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17863 * stdio-common/perror.c (perror): Likewise.
17864 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17865 * stdio-common/tmpnam.c (tmpnam): Likewise.
17866 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17867 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17868 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17870 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17871 * stdlib/putenv.c (putenv): Likewise.
17872 * stdlib/setenv.c (__add_to_environ): Likewise.
17873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17874 * stdlib/strtol_l.c (INTERNAL): Likewise.
17875 * string/memmem.c (memmem): Likewise.
17876 * string/strerror.c (strerror): Likewise.
17877 * string/strnlen.c (__strnlen): Likewise.
17878 * string/test-memmem.c (simple_memmem): Likewise.
17879 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17880 * sunrpc/pm_getport.c (__get_socket): Likewise.
17881 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17882 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17883 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17884 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17886 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17887 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17888 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17889 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17890 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17891 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17893 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17895 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17896 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17898 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17899 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17901 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17902 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17903 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17904 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17905 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17906 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17908 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17910 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17912 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17913 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17914 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17915 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17916 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17917 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17918 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17919 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17921 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17922 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17923 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17924 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17925 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17927 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17929 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17931 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17933 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17935 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17937 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17939 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17940 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17941 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17942 * sysdeps/posix/sleep.c: Likewise.
17943 * sysdeps/posix/tempname.c: Likewise.
17944 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17945 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17947 * sysdeps/powerpc/powerpc32/dl-machine.h
17948 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17949 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17950 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17951 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17952 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17954 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17955 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17956 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17957 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17958 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17959 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17960 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17961 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17962 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17963 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17965 (elf_machine_lazy_rel): Likewise.
17966 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17967 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17968 (elf_machine_lazy_rel): Likewise.
17969 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17970 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17971 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17972 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17973 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17974 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17975 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17976 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17978 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17979 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17980 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17981 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17982 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17983 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17984 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17985 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17986 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17987 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17988 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17990 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17991 (__posix_fallocate64_l64): Likewise.
17992 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17993 (posix_fallocate): Likewise.
17994 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17996 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17997 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17998 (getifaddrs_internal): Likewise.
17999 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18000 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18001 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18002 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18003 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18004 (__posix_fallocate64_l64): Likewise.
18005 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18007 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18008 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18009 (__get_clockfreq): Likewise.
18010 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18011 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18012 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18015 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18016 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18017 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18019 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18020 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18021 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18022 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18023 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18024 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18025 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18027 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18028 (posix_fallocate): Likewise.
18029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18030 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18031 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18032 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18033 (elf_machine_rela, elf_machine_rela_relative)
18034 (elf_machine_lazy_rel): Likewise.
18035 * time/asctime.c (asctime_internal): Likewise.
18036 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18037 * time/tzset.c (__tzset_parse_tz): Likewise.
18038 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18039 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18040 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18041 * wcsmbs/wcsmbsload.h: Likewise.
18044 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18046 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18047 (arena_get2): Remove THREAD_STATS conditionals.
18048 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18049 (__malloc_stats, int): Likewise.
18051 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18053 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18054 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18056 * manual/setjmp.texi: Fix typos/grammar errors.
18058 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18059 Only return early when n is <= 0. Delete unused return statement.
18061 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18062 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18063 * debug/tst-longjmp_chk3.c: New file.
18065 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18066 (test_main): Replace code with set_fortify_handler call.
18067 * debug/test-strcpy_chk.c: Likewise.
18068 * debug/tst-chk1.c: Likewise.
18069 * debug/tst-longjmp_chk.c: Likewise.
18070 * test-skeleton.c: Include fcntl.h & paths.h
18071 (set_fortify_handler): Define.
18073 * debug/tst-longjmp_chk.c: Add header comment and include
18074 ../test-skeleton.c.
18075 (do_test): Mark static.
18076 (TEST_FUNCTION): Define.
18078 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18079 (IP_PMTUDISC_INTERFACE): Likewise.
18080 (IP_MULTICAST_IF): Likewise.
18081 (IP_MULTICAST_TTL): Likewise.
18082 (IP_MULTICAST_LOOP): Likewise.
18083 (IP_ADD_MEMBERSHIP): Likewise.
18084 (IP_DROP_MEMBERSHIP): Likewise.
18085 (IP_UNBLOCK_SOURCE): Likewise.
18086 (IP_BLOCK_SOURCE): Likewise.
18087 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18088 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18089 (IP_MSFILTER): Likewise.
18090 (MCAST_JOIN_GROUP): Likewise.
18091 (MCAST_BLOCK_SOURCE): Likewise.
18092 (MCAST_UNBLOCK_SOURCE): Likewise.
18093 (MCAST_LEAVE_GROUP): Likewise.
18094 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18095 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18096 (MCAST_MSFILTER): Likewise.
18097 (IP_MULTICAST_ALL): Likewise.
18098 (IP_UNICAST_IF): Likewise.
18100 * timezone/Makefile: Delete $(have-ksh) check.
18101 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18102 * timezone/tzselect.ksh: Add +x mode bits.
18104 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18105 (ANON_INODE_FS_MAGIC): Likewise.
18106 (BDEVFS_MAGIC): Likewise.
18107 (BINFMTFS_MAGIC): Likewise.
18108 (BTRFS_TEST_MAGIC): Likewise.
18109 (CRAMFS_MAGIC_WEND): Likewise.
18110 (DEBUGFS_MAGIC): Likewise.
18111 (ECRYPTFS_SUPER_MAGIC): Likewise.
18112 (EXT3_SUPER_MAGIC): Likewise.
18113 (EXT4_SUPER_MAGIC): Likewise.
18114 (FUTEXFS_SUPER_MAGIC): Likewise.
18115 (HOSTFS_SUPER_MAGIC): Likewise.
18116 (HUGETLBFS_MAGIC): Likewise.
18117 (MINIX3_SUPER_MAGIC): Likewise.
18118 (MTD_INODE_FS_MAGIC): Likewise.
18119 (NILFS_SUPER_MAGIC): Likewise.
18120 (OPENPROM_SUPER_MAGIC): Likewise.
18121 (PIPEFS_MAGIC): Likewise.
18122 (PSTOREFS_MAGIC): Likewise.
18123 (QNX6_SUPER_MAGIC): Likewise.
18124 (RAMFS_MAGIC): Likewise.
18125 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18126 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18127 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18128 (SECURITYFS_MAGIC): Likewise.
18129 (SELINUX_MAGIC): Likewise.
18130 (SMACK_MAGIC): Likewise.
18131 (SOCKFS_MAGIC): Likewise.
18132 (SQUASHFS_MAGIC): Likewise.
18133 (STACK_END_MAGIC): Likewise.
18134 (TMPFS_MAGIC): Likewise.
18135 (USBDEVICE_SUPER_MAGIC): Likewise.
18136 (V9FS_MAGIC): Likewise.
18137 (XENFS_SUPER_MAGIC): Likewise.
18138 (CRAMFS_MAGIC): Fix typo in comment.
18139 (EXT2_SUPER_MAGIC): Update comment.
18140 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18142 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18144 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18145 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18146 * sysdeps/unix/sysv/linux/arm: Move directory from
18147 ports/sysdeps/unix/sysv/linux/arm.
18148 * README: Update listing for arm-*-linux-gnueabi.
18150 * README: Remove mention of am33.
18152 2014-02-07 Roland McGrath <roland@hack.frob.com>
18154 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18155 than the comma operator, to avoid "rhs of comma has no effect"
18157 (__sigfillset, __sigandset, __sigorset): Likewise.
18158 * include/signal.h (__sigemptyset): Likewise.
18159 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18161 2014-02-07 Allan McRae <allan@archlinux.org>
18163 * version.h (RELEASE): Set to "development".
18164 (VERSION): Set to "2.19.90"
18165 * NEWS: Add 2.20 section.
18167 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18170 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18172 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18174 * manual/contrib.texi: Update entry for Carlos O'Donell,
18175 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18177 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18179 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18181 * sysdeps/unix/sysv/linux/kernel-features.h
18182 [__LINUX_KERNEL_VERSION >= 0x020621]
18183 (__ASSUME_PROC_PID_TASK_COMM): Define.
18185 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18188 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18189 conversion when destination buffer does not have enough space.
18190 * libio/tst-ftell-partial-wide.c: New test case.
18191 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18193 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18194 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18195 Leonard and Allan McRae.
18197 2014-02-04 David S. Miller <davem@davemloft.net>
18199 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18202 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18231 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18233 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18234 * shlib-versions: Likewise.
18236 2014-02-04 Roland McGrath <roland@hack.frob.com>
18237 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18239 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18240 (abilist-pattern): New variable, set to %-le.abilist.
18242 * Makerules (abilist-pattern): New variable.
18243 (vpath): Use $(abilist-pattern) in place of %.abilist.
18244 (check-abi-% pattern rule): Likewise.
18245 (check-abi, update-abi): Likewise.
18247 2014-02-04 Eric Wong <normalperson@yhbt.net>
18249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18251 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18253 * manual/startup.texi: Add next, previous, and top entries for
18254 the `Program Arguments' and `Environment Variables' nodes.
18256 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18258 * manual/macros.texi: Add comments before MTASC-safety macros.
18260 * manual/users.texi: Document MTASC-safety properties.
18262 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18263 (pthread_getspecific, pthread_setspecific): Format with
18264 @deftypefun, and add @safety note.
18265 * manual/signal.texi: Move comments that analyze the above
18266 functions to their home place.
18268 2014-02-03 Allan McRae <allan@archlinux.org>
18270 * po/sl.po: Update Slovenian translation from translation project.
18272 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18274 * manual/time.texi (timegm): Add missing blank after @c.
18275 Reported by Joseph Myers <joseph@codesourcery.com>.
18277 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
18279 * manual/check-safety.sh: New.
18280 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18282 * manual/terminal.texi: Document MTASC-safety properties.
18284 * manual/filesys.texi: Document MTASC-safety properties.
18286 * manual/errno.texi: Document MTASC-safety properties.
18288 * manual/intro.texi: Document safety identifiers and
18291 * manual/string.texi (wcstok): Fix prototype.
18292 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18294 * manual/time.texi: Document MTASC-safety properties.
18296 * manual/string.texi: Document MTASC-safety properties.
18298 * manual/threads.texi: Document MTASC-safety properties.
18300 * manual/stdio.texi: Document MTASC-safety properties.
18302 * manual/syslog.texi: Document MTASC-safety properties.
18304 * manual/sysinfo.texi: Document MTASC-safety properties.
18306 * manual/startup.texi: Document MTASC-safety properties.
18308 * manual/socket.texi: Document MTASC-safety properties.
18310 * manual/signal.texi: Document MTASC-safety properties.
18312 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18314 * manual/setjmp.texi: Document MTASC-safety properties.
18316 * manual/search.texi: Document MTASC-safety properties.
18318 * manual/resource.texi: Document MTASC-safety properties.
18320 * manual/process.texi: Document MTASC-safety properties.
18322 * manual/platform.texi: Document MTASC-safety properties.
18324 * manual/pipe.texi: Document MTASC-safety properties.
18326 * manual/pattern.texi: Document MTASC-safety properties.
18328 * manual/message.texi: Document MTASC-safety properties.
18331 * manual/memory.texi: Document MTASC-safety properties.
18333 * manual/math.texi: Document MTASC-safety properties.
18335 * manual/locale.texi: Document MTASC-safety properties.
18337 * manual/llio.texi: Document MTASC-safety properties.
18339 * manual/libdl.texi: New.
18341 * manual/lang.texi: Document MTASC-safety properties.
18343 * manual/job.texi: Document MTASC-safety properties.
18345 * manual/getopt.texi: Document MTASC-safety properties.
18347 * manual/ctype.texi: Document MTASC-safety properties.
18349 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18352 * csu/libc-tls.c (static_map): Remove variable.
18353 (__libc_setup_tls): Use main executable's link map for TLS data.
18354 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18355 casing for LM_ID_BASE and GL(dl_nns).
18356 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18357 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18358 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18359 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18360 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18362 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18365 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
18367 * manual/debug.texi: Document MTASC-safety properties.
18369 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18372 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18373 of __x86_64__ when disabling x87 inline functions.
18375 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
18377 * manual/charset.texi: Document MTASC-safety properties.
18379 * manual/crypt.texi: Document MTASC-safety properties.
18381 * manual/conf.texi: Document MTASC-safety properties.
18383 * manual/arith.texi: Document MTASC-safety properties.
18385 * manual/argp.texi: Document MTASC-safety properties.
18387 * manual/macros.texi: Introduce macros to document multi
18388 thread, asynchronous signal and asynchronous cancellation
18390 * manual/intro.texi: Introduce the properties themselves.
18392 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18394 * sysdeps/sh/sh4/Makefile: New file.
18396 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18398 * math/gen-libm-test.pl ($srcdir): New variable.
18399 ($auto_input): Use it.
18401 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18404 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18405 access beyond array bounds when parsing netgroups file.
18407 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18408 the old buffer before realloc.
18410 2014-01-27 Allan McRae <allan@archlinux.org>
18412 * po/fr.po: Update French translation from translation project.
18414 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18416 * sysdeps/sh/libm-test-ulps: Regenerate.
18418 2014-01-24 David S. Miller <davem@davemloft.net>
18420 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18422 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18424 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18425 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18427 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18430 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18431 string pointers after reallocation.
18433 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18435 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18436 __SH4A__ instead of __SH_FPU_ANY__.
18438 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18440 * sysdeps/sh/fpu_control.h: New file.
18441 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18442 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18443 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18444 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18445 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18446 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18447 * sysdeps/sh/sys/ucontext.h: Remove.
18448 * sysdeps/sh/sys: Remove directory.
18450 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18452 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18453 s390/sys/ucontext.h.
18454 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18455 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18457 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18460 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18462 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18465 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18466 Adjust the vDSO correctly for internal calls.
18467 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18469 2014-01-20 Allan McRae <allan@archlinux.org>
18471 * po/ca.po: Update Catalan translation from translation project.
18473 2014-01-16 Mike Frysinger <vapier@gentoo.org>
18475 * sysdeps/s390/sotruss-lib.c: New file.
18477 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18480 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18481 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18482 local calls issues by not having a PLT stub required for IFUNC calls.
18483 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18485 2014-01-16 Joseph Myers <joseph@codesourcery.com>
18487 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18488 * math/test-fpucw-static.c: Likewise.
18490 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18493 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18495 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18497 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18498 implementation for powerpc.
18500 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
18503 * sysdeps/posix/system.c (__libc_system): Do not enable
18504 asynchronous cancellation.
18506 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18509 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18510 handling only for numbers special also in the IEEE case.
18512 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18514 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18516 2014-01-11 Allan McRae <allan@archlinux.org>
18518 * po/bg.po: Update Bulgarian translation from translation project.
18520 * po/de.po: Update German translation from translation project.
18522 2014-01-10 Roland McGrath <roland@hack.frob.com>
18524 * sysdeps/generic/gcc-compat.h: New file.
18526 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18528 * benchtests/asin-inputs: Correct slow inputs.
18529 * benchtests/acos-inputs: Likewise.
18531 2014-01-10 Allan McRae <allan@archlinux.org>
18533 * po:sv.po: Update Swedish translation from translation project.
18535 * po/vi.po: Update Vietnamese translation from translation project.
18537 * po/eo.po: Update Esperanto translation from translation project.
18539 * po/cs.po: Update Czech translation from translation project.
18541 * po/nl.po: Update Dutch translation from translation project.
18543 * po/pl.po: Update Polish translation from translation project.
18545 * po/ru.po: Update Russian translation from translation project.
18547 * po/uk.po: Update Ukrainian translation from translation project.
18549 2014-01-08 Brooks Moses <bmoses@google.com>
18551 * elf/dl-load.c: Fix comment typo.
18553 2014-01-08 Carlos O'Donell <carlos@redhat.com>
18555 * po/header.pot: Rename to...
18556 * po/pot.header: ... this.
18557 * po/Makefile: Use pot.header.
18559 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18560 Maxim Kuvyrkov <maxim@kugelworks.com>
18563 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18564 SRC and DEST against LEN.
18566 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18569 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18571 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18573 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18577 2014-01-08 Joseph Myers <joseph@codesourcery.com>
18580 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18581 for large positive arguments.
18583 2014-01-07 Joseph Myers <joseph@codesourcery.com>
18585 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18587 * math/auto-libm-test-in: Mark various tests with
18588 xfail-rounding:ldbl-128ibm.
18589 * math/auto-libm-test-out: Regenerated.
18592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18593 Increase overflow threshold.
18595 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
18598 * stdio-common/vfprintf.c: Check for integer overflow.
18600 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18602 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18603 the first argument and return value of __tls_get_addr_internal.
18605 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18607 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18608 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18610 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18612 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18613 * sysdeps/s390/rtld-global-offsets.sym: New file.
18614 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18616 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18617 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18618 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18620 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18621 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18627 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18628 halfs of GPRs for high_gprs contexts.
18629 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18630 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18632 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18634 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18636 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18637 for high GPRs (uc_high_gprs) and for future extensions
18639 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18640 for future extensions (__reserved).
18641 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18643 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18644 SC_HIGHGPRS offset definition.
18645 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18646 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18648 * Versions.def: Add GLIBC_2.19 for libpthread.
18649 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18650 siglongjmp for libpthread with GLIBC_2.19 symver.
18651 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18652 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18653 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18654 * sysdeps/s390/__longjmp.c: New file.
18655 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18656 * sysdeps/s390/longjmp.c: New file.
18657 * sysdeps/s390/setjmp.S: New file.
18658 * sysdeps/s390/sigjmp.S: New file.
18659 * sysdeps/s390/v1-longjmp.c: New file.
18660 * sysdeps/s390/v1-setjmp.h: New file.
18661 * sysdeps/s390/v1-sigjmp.c: New file.
18662 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18663 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18664 GLIBC_2.19 version.
18665 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18666 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18667 versioned symbols for ____longjmp_chk.
18668 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18678 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18679 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18680 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18681 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18682 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18683 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18684 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18685 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18686 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18687 * sysdeps/s390/rtld-__longjmp.c: New file.
18688 * sysdeps/s390/rtld-setjmp.S: New file.
18690 2014-01-06 Joseph Myers <joseph@codesourcery.com>
18693 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18694 Return -__logl (x) for small positive arguments without evaluating
18697 2014-01-06 Mike Frysinger <vapier@gentoo.org>
18699 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18701 (__ptrace_peeksiginfo_args): ... this.
18702 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18703 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18704 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18706 2014-01-06 Allan McRae <allan@archlinux.org>
18708 * inet/netinet/in.h: Fix typo in comment.
18710 2014-01-05 Andreas Jaeger <aj@suse.de>
18712 * sysdeps/i386/fpu/libm-test-ulps: Update.
18714 2014-01-05 Allan McRae <allan@archlinux.org>
18716 * po/libc.pot: Regenerated.
18718 * malloc/memusagestat.c: Fix gettext call formatting.
18720 2014-01-04 Sami Kerola <kerolasa@iki.fi>
18722 * nscd/nscd.c: Improve usage() output.
18724 2014-01-04 Mike Frysinger <vapier@gentoo.org>
18726 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18727 * sysdeps/unix/sysv/linux/configure: Regenerated.
18728 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18729 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18731 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18734 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18735 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18737 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18739 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18740 extra tokens at end of #undef directive.
18741 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18742 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18743 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18745 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18747 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18749 * math/auto-libm-test-in: Mark various tests with
18750 xfail-rounding:ldbl-128ibm.
18751 * math/auto-libm-test-out: Regenerated.
18753 2014-01-02 Joseph Myers <joseph@codesourcery.com>
18756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18757 numbers with subnormal high part when calculating exponent.
18760 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18766 (__ieee754_acoshl): Use __log1pl not __log1p.
18768 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
18770 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18771 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18772 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18773 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18774 (reused_arena, arena_get2): Convert to GNU style.
18775 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18776 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18777 (memalign_check, __malloc_set_state): Likewise.
18778 * malloc/mallocbug.c (main): Likewise.
18779 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18780 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18781 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18782 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18783 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18784 (__posix_memalign, malloc_info): Likewise.
18785 * malloc/malloc.h: Likewise.
18786 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18787 (mallochook, memalignhook, reallochook, mabort): Likewise.
18788 * malloc/mcheck.h: Likewise.
18789 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18790 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18791 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18792 * malloc/morecore.c (__default_morecore): Likewise.
18793 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18794 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18795 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18796 (print_and_abort): Likewise.
18797 * malloc/obstack.h: Likewise.
18798 * malloc/set-freeres.c (__libc_freeres): Likewise.
18799 * malloc/tst-mallocstate.c (main): Likewise.
18800 * malloc/tst-mtrace.c (main): Likewise.
18801 * malloc/tst-realloc.c (do_test): Likewise.
18803 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18806 * nscd/netgroupcache.c (do_notfound): New function.
18807 (addgetnetgrentX): Use it.
18810 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18811 NSS_STATUS_NOTFOUND.
18813 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18815 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18818 2014-01-01 Allan McRae <allan@archlinux.org>
18820 * scripts/update-copyrights: Update configure input file suffix.
18822 * NEWS: Update copyright year.
18823 * catgets/gencat.c: Likewise.
18824 * csu/version.c: Likewise.
18825 * debug/catchsegv.sh: Likewise.
18826 * debug/pcprofiledump.c: Likewise.
18827 * debug/xtrace.sh: Likewise.
18828 * elf/ldconfig.c: Likewise.
18829 * elf/ldd.bash.in: Likewise.
18830 * elf/pldd.c: Likewise.
18831 * elf/sotruss.ksh: Likewise.
18832 * elf/sprof.c: Likewise.
18833 * iconv/iconv_prog.c: Likewise.
18834 * iconv/iconvconfig.c: Likewise.
18835 * locale/programs/locale.c: Likewise.
18836 * locale/programs/localedef.c: Likewise.
18837 * login/programs/pt_chown.c: Likewise.
18838 * malloc/memusage.sh: Likewise.
18839 * malloc/memusagestat.c: Likewise.
18840 * malloc/mtrace.pl: Likewise.
18841 * manual/libc.texinfo: Likewise.
18842 * nscd/nscd.c: Likewise.
18843 * nss/getent.c: Likewise.
18844 * nss/makedb.c: Likewise.
18845 * posix/getconf.c: Likewise.
18846 * scripts/test-installation.pl: Likewise.
18848 * All files with FSF copyright notices: Update copyright dates
18849 using scripts/update-copyrights.
18850 * intl/plural.c: Regenerated.
18851 * locale/programs/charmap-kw.h: Likewise.
18852 * locale/programs/locfile-kw.h: Likewise.
18854 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18856 * sysdeps/unix/sysv/linux/configure: Regenerated.
18857 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18858 the linux/fanotify.h header.
18859 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18860 HAVE_LINUX_FANOTIFY_H is defined.
18862 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18864 * benchtests/cos-inputs: New inputs.
18865 * benchtests/sin-inputs: Likewise.
18867 * benchtests/atan-inputs: New inputs. Fix name of multiple
18868 precision fallback inputs.
18870 * benchtests/atanh-inputs: New inputs.
18871 * benchtests/tanh-inputs: Likewise.
18873 * benchtests/acosh-inputs: New inputs.
18874 * benchtests/asinh-inputs: Likewise.
18876 * benchtests/cosh-inputs: New inputs.
18877 * benchtests/sinh-inputs: Likewise.
18879 * benchtests/acos-inputs: Add more inputs.
18880 * benchtests/asin-inputs: Likewise.
18882 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18885 * manual/arith.texi: Fix spelling.
18886 * manual/charset.texi: Likewise.
18887 * manual/errno.texi: Likewise.
18888 * manual/filesys.texi: Likewise.
18889 * manual/lang.texi: Likewise.
18890 * manual/llio.texi: Likewise.
18891 * manual/locale.texi: Likewise.
18892 * manual/message.texi: Likewise.
18893 * manual/resource.texi: Likewise.
18894 * manual/search.texi: Likewise.
18895 * manual/setjmp.texi: Likewise.
18896 * manual/stdio.texi: Likewise.
18897 * manual/string.texi: Likewise.
18898 * manual/sysinfo.texi: Likewise.
18899 * manual/time.texi: Likewise.
18901 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18903 * po/sl.po: New file.
18905 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18907 * .gitignore: Add core/.gdbinit/.gdb_history.
18909 2013-12-27 Allan McRae <allan@archlinux.org>
18912 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18913 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18915 2013-12-24 Brooks Moses <bmoses@google.com>
18917 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18918 all compilers that claim C++98 compliance, not just GCC.
18919 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18922 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18924 * NEWS: Restore accidentally deleted bug-fix entries.
18926 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18927 Ondřej Bílka <neleai@seznam.cz>
18930 * malloc/malloc.c (_int_free): Perform sanity check only if we
18933 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18936 * manual/stdio.texi (String Input Conversions): Clarify that character
18937 classes are not supported.
18939 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18943 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18947 Calculate results for small negative arguments directly rather
18948 than using reflection formula with special underflow handling.
18950 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18951 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18952 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18953 (fchflags): Likewise.
18954 (revoke): Likewise.
18955 (setlogin): Likewise.
18956 (sigaltstack): Likewise.
18958 (sigblock): Remove.
18959 (sigsetmask): Likewise.
18961 (waitpid): Likewise.
18962 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18963 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18965 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18966 * sysdeps/unix/bsd/Makefile: ... here.
18967 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18968 * sysdeps/unix/bsd/Versions: ... here.
18969 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18970 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18971 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18972 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18973 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18974 * sysdeps/unix/bsd/sigblock.c: ... here.
18975 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18976 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18977 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18978 * sysdeps/unix/bsd/sigvec.c: ... here.
18979 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18980 * sysdeps/unix/bsd/tcdrain.c: ... here.
18981 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18982 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18983 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18984 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18985 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18986 * sysdeps/unix/bsd/wait.c: ... here.
18987 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18988 * sysdeps/unix/bsd/wait3.c: ... here.
18989 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18990 * sysdeps/unix/bsd/waitpid.c: ... here.
18992 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18995 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18996 round-to-nearest for [!USE_AS_EXPM1L].
18997 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18998 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18999 more tests of exp and exp10. Expect some exp10 tests to miss
19000 exceptions or fail in directed rounding modes.
19001 * math/auto-libm-test-out: Regenerated.
19002 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19003 (exp10_test_tonearest): New function.
19004 (exp10_towardzero_test_data): New array.
19005 (exp10_test_towardzero): New function.
19006 (exp10_downward_test_data): New array.
19007 (exp10_test_downward): New function.
19008 (exp10_upward_test_data): New array.
19009 (exp10_test_upward): New function.
19010 (main): Call the new functions.
19011 * sysdeps/i386/fpu/libm-test-ulps: Update.
19012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19014 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19016 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19017 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19018 * math/auto-libm-test-out: Regenerated.
19019 * math/libm-test.inc (acosh_test_data): Add more tests.
19020 (atanh_test_data): Likewise.
19021 (ceil_test_data): Likewise.
19022 (copysign_test_data): Likewise.
19023 * sysdeps/i386/fpu/libm-test-ulps: Update.
19024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19026 * timezone/checktab.awk: Update from tzcode 2013i.
19027 * timezone/private.h: Likewise.
19028 * timezone/scheck.c: Likewise.
19029 * timezone/tzfile.h: Likewise.
19030 * timezone/tzselect.ksh: Likewise.
19031 * timezone/zdump.c: Likewise.
19032 * timezone/zic.c: Likewise.
19034 * math/auto-libm-test-in: Add tests of cpow.
19035 * math/auto-libm-test-out: Regenerated.
19036 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19039 (func_calc_desc): Add mpc_cc_c union field.
19040 (test_functions): Add cpow.
19041 (special_fill_2pi): New function.
19042 (special_real_inputs): Add 2pi.
19043 (calc_generic_results): Handle mpc_cc_c.
19044 * sysdeps/i386/fpu/libm-test-ulps: Update.
19045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19047 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19048 csqrt, ctan and ctanh.
19049 * math/auto-libm-test-out: Regenerated.
19050 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19051 (TEST_COND_x86): Likewise.
19052 (ccos_test_data): Use AUTO_TESTS_c_c.
19053 (ccosh_test_data): Likewise.
19054 (cexp_test_data): Likewise.
19055 (clog_test_data): Likewise.
19056 (csqrt_test_data): Likewise.
19057 (ctan_test_data): Likewise.
19058 (ctan_tonearest_test_data): Likewise.
19059 (ctan_towardzero_test_data): Likewise.
19060 (ctan_downward_test_data): Likewise.
19061 (ctan_upward_test_data): Likewise.
19062 (ctanh_test_data): Likewise.
19063 (ctanh_tonearest_test_data): Likewise.
19064 (ctanh_towardzero_test_data): Likewise.
19065 (ctanh_downward_test_data): Likewise.
19066 (ctanh_upward_test_data): Likewise.
19067 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19069 (func_calc_desc): Add mpc_c_c union field.
19070 (FUNC_mpc_c_c): New macro.
19071 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19072 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19074 (special_fill_min_subnorm_p120): New function.
19075 (special_real_inputs): Add min_subnorm_p120.
19076 (calc_generic_results): Handle mpc_c_c.
19077 * sysdeps/i386/fpu/libm-test-ulps: Update.
19078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19080 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19082 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19083 (do_sin_slow): New functions.
19084 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19085 (cslow2, csloww1, csloww2): Use the new functions.
19087 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19088 Use M to change sign of result instead of X. Assume X is
19090 (csloww1): Likewise.
19094 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19095 arguments A and DA.
19099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19101 (sloww1): Don't adjust sign of DX.
19102 (csloww1): Likewise.
19103 (sloww2): Use X directly and don't adjust sign of DX.
19104 (csloww2): Likewise.
19106 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19108 * math/auto-libm-test-in: Add tests of cabs and carg.
19109 * math/auto-libm-test-out: Regenerated.
19110 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19111 (carg_test_data): Likewise.
19112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19114 (func_calc_desc): Add mpc_c_f union field.
19115 (test_functions): Add cabs and carg.
19116 (calc_generic_results): Handle mpc_c_f.
19118 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19119 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19120 as a macro and a compat symbol.
19121 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19122 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19123 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19124 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19125 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19126 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19128 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19130 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19132 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19134 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19136 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19138 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19139 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19142 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19146 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19148 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19149 trailing whitespace removed.
19150 * scripts/config.guess: Update to version 2013-11-29.
19151 * scripts/config.sub: Update to version 2013-10-01.
19153 * math/auto-libm-test-in: Add tests of sincos.
19154 * math/auto-libm-test-out: Regenerated.
19155 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19158 (func_calc_desc): Add mpfr_f_11 union field.
19159 (test_functions): Add sincos.
19160 (calc_generic_results): Handle mpfr_f_11.
19161 * sysdeps/i386/fpu/libm-test-ulps: Update.
19162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19164 2013-12-19 Andreas Schwab <schwab@suse.de>
19166 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19168 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19169 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19170 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19172 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19174 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19175 * sysdeps/i386/fpu/libm-test-ulps: Update.
19176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19179 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19180 round-to-nearest mode when using frndint.
19181 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19182 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19183 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19185 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19187 * math/auto-libm-test-out: Regenerated.
19188 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19189 (TEST_COND_x86): Likewise.
19190 (expm1_tonearest_test_data): New array.
19191 (expm1_test_tonearest): New function.
19192 (expm1_towardzero_test_data): New array.
19193 (expm1_test_towardzero): New function.
19194 (expm1_downward_test_data): New array.
19195 (expm1_test_downward): New function.
19196 (expm1_upward_test_data): New array.
19197 (expm1_test_upward): New function.
19198 (main): Run the new test functions.
19199 * sysdeps/i386/fpu/libm-test-ulps: Update.
19200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19202 * include/features.h: Update comment documenting feature test
19203 macros. Mention _DEFAULT_SOURCE in comment.
19204 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19205 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19206 _BSD_SOURCE and _SVID_SOURCE.
19207 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19208 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19209 !_SVID_SOURCE]: Likewise.
19210 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19211 (__USE_POSIX_IMPLICITLY): Define.
19212 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19213 (_POSIX_SOURCE): Undefine and redefine.
19214 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19215 (_POSIX_C_SOURCE): Likewise.
19216 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19217 (Feature Test Macros): Update documentation of default features.
19219 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19221 * benchtests/Makefile: Add bench-strtok.
19222 * benchtests/bench-strtok.c: New file: strtok benchtest.
19224 2013-12-19 Allan McRae <allan@archlinux.org>
19226 * manual/install.texi: Suppress menu for plain text output.
19227 * INSTALL: Regenerated.
19229 2013-12-18 Brooks Moses <bmoses@google.com>
19232 * misc/getauxval.c: Include errno.h.
19233 (__getauxval): Set errno to ENOENT if the requested type is not
19235 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19236 don't declare with __attribute_const__.
19237 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19238 * manual/startup.texi: Document that getauxval sets errno.
19240 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19242 * math/auto-libm-test-in: Add tests of jn and yn.
19243 * math/auto-libm-test-out: Regenerated.
19244 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19245 (yn_test_data): Likewise.
19246 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19248 (func_calc_desc): Add mpfr_if_f union field.
19249 (FUNC_mpfr_if_f): New macro.
19250 (test_functions): Add jn and yn.
19251 (calc_generic_results): Assert type of second input for
19252 mpfr_ff_f. Handle mpfr_if_f.
19253 (output_for_one_input_case): Disable all checking for arguments
19254 fitting floating-point types in case of an integer argument.
19255 * sysdeps/i386/fpu/libm-test-ulps: Update.
19256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19259 Don't expect fegetround reference in libm.so.
19261 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19263 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19264 $(config-cflags-nofma).
19266 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19268 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19269 * math/auto-libm-test-out: Regenerated.
19272 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19273 to determine exponent and adjust argument to have exponent of -1.
19274 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19276 * math/auto-libm-test-out: Regenerated.
19277 * sysdeps/i386/fpu/libm-test-ulps: Update.
19278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19280 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
19282 * manual/probes.texi: Remove cases when per-thread arenas are
19285 2013-12-18 Andreas Schwab <schwab@suse.de>
19287 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19288 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19289 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19290 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19291 * sysdeps/i386/i686/multiarch/Makefile: Update.
19292 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19294 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19296 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19297 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19299 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19302 Support TZ transition times < 00:00:00.
19303 This is needed for version-3 tz-format files; it supports time
19304 stamps past 2037 for America/Godthab (the only entry in the tz
19305 database for which this change is relevant).
19306 * manual/time.texi (TZ Variable): Document transition times
19307 from -167:59:59 through -00:00:01.
19308 * time/tzset.c (tz_rule): Time of day is now signed.
19309 (__tzset_parse_tz): Parse negative time of day.
19311 Document TZ transition times >= 25:00:00.
19312 * manual/time.texi (TZ Variable): Document transition times from
19313 25:00:00 through 167:59:59. These are already supported, and this
19314 support will help with version-3 tz-format files.
19316 * manual/time.texi (TZ Variable): Modernize North America example
19317 to reflect current (i.e., 2007-and-later) daylight saving rules.
19319 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19321 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19323 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19324 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19326 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19327 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19328 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19329 * sysdeps/unix/bsd/clock.c: Likewise.
19330 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19331 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19332 * sysdeps/unix/bsd/init-posix.c: Likewise.
19333 * sysdeps/unix/bsd/poll.c: Likewise.
19334 * sysdeps/unix/bsd/ptsname.c: Likewise.
19335 * sysdeps/unix/bsd/seekdir.c: Likewise.
19336 * sysdeps/unix/bsd/setegid.c: Likewise.
19337 * sysdeps/unix/bsd/seteuid.c: Likewise.
19338 * sysdeps/unix/bsd/setgid.c: Likewise.
19339 * sysdeps/unix/bsd/setrgid.c: Likewise.
19340 * sysdeps/unix/bsd/setruid.c: Likewise.
19341 * sysdeps/unix/bsd/setsid.c: Likewise.
19342 * sysdeps/unix/bsd/setuid.c: Likewise.
19343 * sysdeps/unix/bsd/sigaction.c: Likewise.
19344 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19345 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19346 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19347 * sysdeps/unix/bsd/telldir.c: Likewise.
19348 * sysdeps/unix/bsd/times.c: Likewise.
19349 * sysdeps/unix/bsd/usleep.c: Likewise.
19351 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19352 ($(objpfx)libbsd-compat.a): Remove rule.
19354 * include/features.h (__FAVOR_BSD): Do not define.
19355 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19356 features conflicting with POSIX.
19357 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19358 (_BSD_SOURCE): Remove description of not being a subset of other
19359 feature test macros.
19360 * manual/job.texi (getpgrp): Do not document BSD version.
19361 (getpgid): Do not document by reference to BSD getpgrp.
19362 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19363 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19364 * signal/signal.h [__FAVOR_BSD]: Likewise.
19365 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19366 instead of making contents conditional on [__FAVOR_BSD].
19367 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19369 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19373 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19376 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19377 values below 2**-450, not 2**-500.
19378 * math/auto-libm-test-in: Don't allow spurious underflow from
19380 * math/auto-libm-test-out: Regenerated.
19384 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19385 values of ha and hb and sort them after adjusting subnormal
19387 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19389 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19390 values of ea and eb and sort them after adjusting subnormal
19392 * math/auto-libm-test-in: Do not expect some hypot tests of
19393 subnormals to fail. Add more hypot tests.
19394 * math/auto-libm-test-out: Regenerated.
19396 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19399 * sysdeps/sh/s_fma.c: New file.
19400 * sysdeps/sh/s_fmaf.c: New file.
19401 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19403 * sysdeps/sh/Implies: Add sh/soft-fp.
19405 2013-12-16 Roland McGrath <roland@hack.frob.com>
19407 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19408 level of indirection to members `objname', `errstring', `malloced'.
19409 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19410 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19411 it as the __longjmp argument (just pass 1 instead).
19412 (_dl_catch_error): Initialize C with argument pointers and address of
19413 volatile local ERRCODE rather than copying values out of C at return.
19415 2013-12-16 Joseph Myers <joseph@codesourcery.com>
19417 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19418 * math/auto-libm-test-out: Regenerated.
19419 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19420 (hypot_test_data): Likewise.
19421 (pow_test_data): Likewise.
19422 (pow_tonearest_test_data): Likewise.
19423 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19425 (func_calc_desc): Add mpfr_ff_f union field.
19426 (FUNC_mpfr_ff_f): New macro.
19427 (test_functions): Add atan2, hypot and pow.
19428 (special_fill_min): New function.
19429 (special_fill_minus_min): Likewise.
19430 (special_fill_min_subnorm): Likewise.
19431 (special_fill_minus_min_subnorm): Likewise.
19432 (special_real_inputs): Add min, -min, min_subnorm and
19434 (calc_generic_results): Handle mpfr_ff_f.
19435 * sysdeps/i386/fpu/libm-test-ulps: Update.
19436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19438 2013-12-16 Will Newton <will.newton@linaro.org>
19440 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19441 (Aligned Memory Blocks): Add documentation for aligned_alloc
19442 and suggest it as an alternative to posix_memalign.
19443 (Hooks for Malloc): Document __memalign_hook is also called
19444 for aligned_alloc. (Summary of Malloc): Add summary for
19445 aligned alloc. Document __memalign_hook is also called
19448 2013-12-16 Will Newton <will.newton@linaro.org>
19450 * manual/memory.texi (Malloc Examples): Clarify default
19451 alignment documentation. Suggest posix_memalign rather
19452 than memalign or valloc.
19453 (Aligned Memory Blocks): Remove suggestion to use memalign
19454 or valloc. Remove obsolete comment about BSD.
19455 Document memalign errno values and mark the function obsolete.
19456 Document posix_memalign returned error codes. Mark valloc
19457 as obsolete. (Hooks for Malloc): __memalign_hook is also
19458 called for posix_memalign and valloc.
19459 (Summary of Malloc): Add posix_memalign to function summary.
19460 __memalign_hook is also called for posix_memalign and valloc.
19462 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19464 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19468 (sloww): Use mynumber union. Expand ternary operator into
19469 if-else statements.
19470 (cslow): use mynumber union.
19472 2013-12-16 Allan McRae <allan@archlinux.org>
19474 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19475 * configure: Regenerated.
19477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19480 * configure.ac: Added --enable-maintainer-mode. Check for
19481 autoconf when enabled.
19482 * configure: Regenerated.
19484 * nscd/nscd.service: New file.
19485 * nscd/nscd.tmpfiles: New file.
19487 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
19490 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19491 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19492 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19493 (strstr): Add __strstr_sse2_unaligned ifunc.
19494 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19495 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19496 (strcasestr): Remove __strcasestr_sse42 ifunc.
19497 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19501 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19503 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19504 * sysdeps/sh/bits/fenv.h: ... here.
19505 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19507 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19509 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19512 hypotf multiarch implementations.
19513 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19514 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19515 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19516 multiarch hypot for PPC64.
19517 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19518 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19519 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19520 multiarch hypotf for PPC64.
19522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19523 modff multiarch implementations.
19524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19527 multiarch modf for PPC64.
19528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19531 multiarch modff for PPC64.
19533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19534 and logl multiarch implementations.
19535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19538 multiarch logb for PPC64.
19539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19542 multiarch logb for PPC64.
19543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19546 multiarch logb for PPC64.
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19549 isinff multiarch implementation.
19550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19554 multiarch isinf for PPC64.
19555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19558 multiarch isinff for PPC64.
19560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19561 finitef multiarch implementation.
19562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19566 multiarch finite for PPC64.
19567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19570 multiarch finitef for PPC64.
19572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19573 lrint multiarch implementation.
19574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19578 multiarch llrint for PPC64.
19579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19580 multiarch lrint for PPC64.
19582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19583 copysignf multiarch implementation.
19584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19589 multiarch copysign for PPC64.
19590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19591 multiarch copysignf for PPC64.
19593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19594 multiarch implementation.
19595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19603 multiarch llround for PPC64.
19604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19605 multiarch trunc for PPC64.
19606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19607 multiarch truncf for PPC64.
19609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19610 multiarch implementation.
19611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19619 multiarch llround for PPC64.
19620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19621 multiarch round for PPC64.
19622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19623 multiarch roundf for PPC64.
19625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19626 multiarch implementation.
19627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19635 multiarch llround for PPC64.
19636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19637 multiarch floor for PPC64.
19638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19639 multiarch floorf for PPC64.
19641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19642 multiarch implementation.
19643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19651 multiarch llround for PPC64.
19652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19653 multiarch ceil for PPC64.
19654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19655 multiarch ceilf for PPC64.
19657 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19658 multiarch implementation.
19659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19666 multiarch llround for PPC64.
19667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19668 multiarch lround for PPC64.
19670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19671 multiarch implementation.
19672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19679 multiarch isnan for PPC64.
19680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19681 multiarch isnanf for PPC64.
19683 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19684 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19685 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19686 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19687 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19690 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19691 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19692 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19693 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19696 multiarch implementations.
19697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19698 (__libc_ifunc_impl_list): Likewise.
19699 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19700 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19701 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19702 multiarch stpcpy for PPC64.
19704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19705 multiarch implementations.
19706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19707 (__libc_ifunc_impl_list): Likewise.
19708 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19709 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19710 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19711 multiarch strcpy for PPC64.
19713 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19714 redefine function name.
19715 (_wordcopy_fwd_dest_aligned): Likewise.
19716 (_wordcopy_bwd_aligned): Likewise.
19717 (_wordcopy_bwd_dest_aligned): Likewise.
19718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19719 multiarch implementations.
19720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19721 (__libc_ifunc_impl_list): Likewise.
19722 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19723 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19724 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19725 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19726 multiarch wcscpy for PPC64.
19728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19729 multiarch implementations.
19730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19731 (__libc_ifunc_impl_list): Likewise.
19732 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19733 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19734 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19735 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19736 multiarch wcscpy for PPC64.
19738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19739 multiarch implementations.
19740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19741 (__libc_ifunc_impl_list): Likewise.
19742 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19743 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19744 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19745 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19746 multiarch wcsrchr for PPC64.
19748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19749 multiarch implementations.
19750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19751 (__libc_ifunc_impl_list): Likewise.
19752 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19753 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19754 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19755 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19756 multiarch wcschr for PPC64.
19758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19759 multiarch implementations.
19760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19761 (__libc_ifunc_impl_list): Likewise.
19762 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19763 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19764 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19765 multiarch strchrnul for PPC64.
19767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19770 (__libc_ifunc_impl_list): Likewise.
19771 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19772 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19773 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19774 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19780 (__libc_ifunc_impl_list): Likewise.
19781 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19782 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19783 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19784 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19788 multiarch implementations.
19789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19790 (__libc_ifunc_impl_list): Likewise.
19791 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19792 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19793 strncasecmp for PPC64.
19794 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19795 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19796 multiarch strncasecmp_l for PPC64.
19798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19799 multiarch implementations.
19800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19801 (__libc_ifunc_impl_list): Likewise.
19802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19803 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19804 multiarch strcasecmp for PPC64.
19805 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19807 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19808 multiarch strcasecmp_l for PPC64.
19810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19813 (__libc_ifunc_impl_list): Likewise.
19814 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19815 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19816 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19822 (__libc_ifunc_impl_list): Likewise.
19823 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19824 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19825 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19831 (__libc_ifunc_impl_list): Likewise.
19832 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19833 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19834 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19835 rawmemrchr for PPC64.
19837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19840 (__libc_ifunc_impl_list): Likewise.
19841 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19842 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19843 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19849 (__libc_ifunc_impl_list): Likewise.
19850 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19851 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19852 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19858 (__libc_ifunc_impl_list): Likewise.
19859 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19860 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19861 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19864 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19865 avoid cretion of __bzero symbol.
19866 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19868 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19870 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19873 multiarch implementations.
19874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19875 (__libc_ifunc_impl_list): Likewise.
19876 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19877 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19878 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19879 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19881 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19882 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19883 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19884 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19885 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19887 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19889 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19893 (__libc_ifunc_impl_list): Likewise.
19894 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19895 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19896 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19897 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19901 multiarch for POWER/PPC64.
19902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19903 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19904 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19905 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19906 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19907 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19908 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19909 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19910 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19913 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19914 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19915 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19916 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19917 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19918 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19919 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19920 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19921 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19922 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19923 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19924 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19925 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19926 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19927 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19936 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19938 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19940 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19942 * benchtests/Makefile (bench): Add exp2 and log2.
19943 (LDLIBS-bench-exp2): Add -lm.
19944 (LDLIBS-bench-log2): Likewise.
19945 * benchtests/exp2-inputs: New inputs file.
19946 * benchtests/log2-inputs: New inputs file.
19947 * benchtests/log-inputs: Add new inputs.
19948 * benchtests/tan-inputs: Likewise.
19950 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19952 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19954 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19955 (csloww2): ... from here.
19957 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19958 instead of structures.
19959 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19960 (POLYNOMIAL): Likewise.
19961 (TAYLOR_SLOW): Likewise.
19967 (sloww1); Likewise.
19968 (sloww2): Likewise.
19969 (bsloww1): Likewise.
19970 (bsloww2): Likewise.
19971 (cslow2): Likewise.
19972 (csloww): Likewise.
19973 (csloww1): Likewise.
19974 (csloww2): Likewise.
19976 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19978 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19979 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19980 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19981 * malloc/hooks.c (realloc_check): Likewise.
19983 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19984 * malloc/arena.c: Remove PER_THREAD conditional.
19985 [!PER_THREAD]: Remove code.
19986 (ptmalloc_unlock_all2): Likewise.
19987 (ptmalloc_init): Likewise.
19988 (_int_new_arena): Likewise.
19989 (arena_get2): Likewise.
19990 * malloc/hooks.c (__malloc_get_state): Likewise.
19991 (__malloc_set_state): Likewise.
19992 * malloc/malloc.c: Likewise.
19993 (struct malloc_state): Likewise.
19994 (struct malloc_par): Likewise.
19995 (__libc_realloc): Likewise.
19996 (__libc_mallopt): Likewise.
19998 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20000 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20002 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20004 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20005 macro to a function. Check for zero perturb_byte.
20006 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20008 * malloc/malloc.c: (force_reg): Remove.
20009 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20010 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20011 force_reg by atomic_forced_read.
20012 * malloc/arena.c (ptmalloc_init): Likewise.
20013 * malloc/hooks.c (top_check): Likewise.
20015 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20019 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20023 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20025 * math/auto-libm-test-in: Add tests of lgamma.
20026 * math/auto-libm-test-out: Regenerated.
20027 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20028 (M_LOG_2_SQRT_PIl): Likewise.
20029 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20030 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20032 (func_calc_desc): Add mpfr_f_f1 union field.
20033 (ARGS1): New macro.
20041 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20042 (test_functions): Add lgamma.
20043 (calc_generic_results): Handle mpfr_f_f1.
20044 * sysdeps/i386/fpu/libm-test-ulps: Update.
20045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20047 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20049 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20050 __mpn_add_n for PowerPC64/POWER7.
20051 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20052 __mpn_sub_n for PowerPC64/POWER7.
20054 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20055 __mpn_addmul_1 for PowerPC64.
20056 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20057 __mpn_submul_1 for PowerPC64.
20058 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20060 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20063 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20066 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20068 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20070 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20072 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20073 add multiarch folders.
20074 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20075 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20076 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20077 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20078 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20079 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20080 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20081 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20082 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20083 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20084 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20093 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20099 multiarch __ieee754_hypot for PowerPC32.
20100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20105 multiarch __ieee754_hypotf for PowerPC32.
20107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20108 long_double_symbol only if __logbl is defined.
20109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20110 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20112 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20114 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20115 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20116 path for implementation.
20117 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20120 logb, and logbl multiarch implementations for PowerPC32.
20121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20126 multiarch logb for PowerPC32.
20127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20132 multiarch logbf for PowerPC32.
20133 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20137 multiarch logbl implementation for PowerPC32.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20140 and modff multiarch implementations.
20141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20146 multiarch modf for PowerPC32.
20147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20152 multiarch modff for PowerPC32.
20154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20155 and lrintf multiarch implementations.
20156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20161 multiarch lrint for PowerPC32.
20162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20163 file: multiarch lrintf for PowerPC32.
20165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20166 and lroundf multiarch implementations.
20167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20174 multiarch lround for PowerPC32.
20175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20176 file: multiarch lroundf for PowerPC32.
20178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20179 copysign and copysignf multiarch implementations.
20180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20185 file: multiarch copysign for PowerPC32.
20186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20187 file: multiarch copysignf for PowerPC32.
20189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20190 and truncf multiarch implementations.
20191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20196 multiarch trunc for PowerPC32.
20197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20202 multiarch truncf for PowerPC32.
20204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20205 and roundf multiarch implementations.
20206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20211 multiarch round for PowerPC32.
20212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20217 multiarch roundf for PowerPC32.
20219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20220 and floorf multiarch implementations.
20221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20226 multiarch floor for PowerPC32.
20227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20232 multiarch floorf for PowerPC32.
20234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20235 and ceilf multiarch implementations.
20236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20241 multiarch ceil for PowerPC32.
20242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20247 multiarch ceilf for PowerPC32.
20249 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20251 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20252 FINITEF is defined.
20253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20254 and finitef multiarch implementations.
20255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20260 multiarch finite for PowerPC32.
20261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20264 file: multiarch finitef for PowerPC32.
20266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20267 and isinff multiarch implementations.
20268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20273 multiarch isinf for PowerPC32.
20274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20277 multiarch isinff for PowerPC32.
20279 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20280 alias when __isnan is defined.
20281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20282 and isnanf multiarch implementations.
20283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20292 multiarch isnan for PowerPC32.
20293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20298 multiarch isnanf for PowerPC32.
20300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20301 and sqrtf multiarch implementations.
20302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20307 multiarch sqrt for PowerPC32.
20308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20313 multiarch sqrtf for PowerPC32.
20315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20316 and llroundf multiarch implementations.
20317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20324 file: multiarch llround for PowerPC32.
20325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20326 file: multiarch llroundf for PowerPC32.
20328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20329 multiarch PowerPC32 fpu implementations.
20330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20335 multiarch llrint for PowerPC32.
20336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20347 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20349 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20351 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20352 multiarch wordcopy for PPC32.
20353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20356 (__libc_ifunc_impl_list): Likewise.
20357 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20358 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20359 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20360 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20361 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20362 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20364 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20372 multiarch wcscpy for PPC32.
20373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20376 (__libc_ifunc_impl_list): Likewise.
20377 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20378 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20379 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20380 sysdeps/powerpc/power6/wcscpy.c.
20382 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20385 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20390 multiarch wcsrchr for PPC32.
20391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20394 (__libc_ifunc_impl_list): Likewise.
20395 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20396 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20397 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20398 sysdeps/powerpc/power6/wcsrchr.c.
20400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20402 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20406 multiarch wcschr for PPc32.
20407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20410 (__libc_ifunc_impl_list): Likewise.
20411 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20412 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20413 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20414 sysdeps/powerpc/power6/wcschr.c.
20416 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20417 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20419 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20420 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20421 file: multiarch strchr for PPC32.
20422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20425 (__libc_ifunc_impl_list): Likewise.
20427 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20429 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20431 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20433 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20434 multiarch strchrnul for PPC32.
20435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20438 (__libc_ifunc_impl_list): Likewise.
20440 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20442 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20443 multiarch strncasecmp for PPC32.
20444 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20446 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20447 multiarch strncasecmp_l for PPC32.
20448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20449 strncasecmp multiarch objects.
20450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20451 (__libc_ifunc_impl_list): Likewise.
20453 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20455 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20456 multiarch strncasecmp for PPC32.
20457 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20459 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20460 multiarch strcasecmp_l for PPC32.
20461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20464 (__libc_ifunc_impl_list): Likewise.
20466 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20468 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20471 multiarch strncmp for PPC32.
20472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20475 (__libc_ifunc_impl_list): Likewise.
20477 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20478 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20480 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20481 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20485 (__libc_ifunc_impl_list): Likewise.
20487 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20489 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20491 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20495 (__libc_ifunc_impl_list): Likewise.
20497 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20499 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20501 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20502 multiarch rawmemchr for PPC32.
20503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20506 (__libc_ifunc_impl_list): Likewise.
20508 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20510 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20512 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20513 file: memrchr multiarch for PPC32.
20514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20517 (__libc_ifunc_impl_list): Likewise.
20519 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20520 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20522 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20524 multiarch memchr for PPC32.
20525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20528 (__libc_ifunc_impl_list): Likewise.
20530 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20531 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20533 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20535 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20536 file: multiarch mempcpy for PPC32.
20537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20540 (__libc_ifunc_impl_list): Likewise.
20542 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20543 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20544 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20545 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20546 multiarch bzero for PPC32.
20547 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20549 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20551 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20552 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20553 file: multiarch memset for PPC32.
20554 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20555 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20556 memset multiarch objects.
20557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20558 (__libc_ifunc_impl_list): Likewise.
20560 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20562 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20563 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20565 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20569 (__libc_ifunc_impl_list): Likewise.
20571 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20573 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20575 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20577 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20579 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20580 multiarch memcpy for PPC32.
20581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20584 (__libc_ifunc_impl_list): Likewise.
20586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20587 support multiarch for POWER/PPC32.
20588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20590 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20592 Implies file to make multiarch folder appers before the fpu and
20593 default folder for power4 configuration.
20595 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20597 * scripts/bench.pl: Append volatile keyword to type.
20599 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20601 * sysdeps/sh/sotruss-lib.c: New file.
20602 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20604 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20608 2013-12-05 Joseph Myers <joseph@codesourcery.com>
20611 * math/w_tgamma.c: Include <errno.h>.
20612 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20613 * math/w_tgammaf.c: Include <errno.h>.
20614 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20615 * math/w_tgammal.c: Include <errno.h>.
20616 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20617 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20618 underflow. Add more tgamma tests.
20619 * math/auto-libm-test-out: Regenerated.
20620 * sysdeps/i386/fpu/libm-test-ulps: Update.
20621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20623 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20624 sin, sinh, tan, tanh, tgamma, y0 and y1.
20625 * math/auto-libm-test-out: Regenerated.
20626 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20627 (TEST_COND_x86): Likewise.
20628 (M_E2l): Remove macro.
20630 (M_2_SQRT_PIl): Likewise.
20631 (M_SQRT_PIl): Likewise.
20632 (M_1_DIV_El): Likewise.
20633 (log_test_data): Use AUTO_TESTS_f_f.
20634 (log10_test_data): Likewise.
20635 (log1p_test_data): Likewise.
20636 (log2_test_data): Likewise.
20637 (sin_test_data): Likewise.
20638 (sin_tonearest_test_data): Likewise.
20639 (sin_towardzero_test_data): Likewise.
20640 (sin_downward_test_data): Likewise.
20641 (sin_upward_test_data): Likewise.
20642 (sinh_test_data): Likewise.
20643 (sinh_tonearest_test_data): Likewise.
20644 (sinh_towardzero_test_data): Likewise.
20645 (sinh_downward_test_data): Likewise.
20646 (sinh_upward_test_data): Likewise.
20647 (tan_test_data): Likewise.
20648 (tan_tonearest_test_data): Likewise.
20649 (tan_towardzero_test_data): Likewise.
20650 (tan_downward_test_data): Likewise.
20651 (tan_upward_test_data): Likewise.
20652 (tanh_test_data): Likewise.
20653 (tgamma_test_data): Likewise.
20654 (y0_test_data): Likewise.
20655 (y1_test_data): Likewise.
20656 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20657 (special_real_inputs): Add pi/4.
20658 * sysdeps/i386/fpu/libm-test-ulps: Update.
20659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20661 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20663 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20664 "longjmp_target" static probes.
20665 (__longjmp): Rename to __longjmp_symbol.
20666 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20667 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20668 on which longjmp to generate.
20669 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20670 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20672 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20673 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20674 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20675 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20676 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20677 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20679 __longjmp_symbol based on which __longjmp to generate.
20680 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20682 (setjmp): Rename to setjmp_symbol.
20683 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20684 (_setjmp): Rename to _setjmp_symbol.
20685 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20686 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20687 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20688 which setjmp to generate.
20689 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20690 "longjmp_target" static probes.
20692 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20694 * benchtests/README: Add note about output arguments.
20695 * benchtests/bench-sincos.c: Remove file.
20696 * benchtests/sincos-inputs: New file.
20697 * scripts/bench.pl: Identify output arguments and define
20698 static variables for them.
20700 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20703 * Makefile (INSTALL): Add install-plain.texi as the primary
20705 * manual/install-plain.texi: New file.
20706 * manual/install.texi: Include node directive only for
20707 non-plaintext output.
20709 2013-12-04 Joseph Myers <joseph@codesourcery.com>
20711 * stdlib/longlong.h: Update from GCC.
20715 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20716 * math/w_j0f.c (y0f): Likewise.
20717 * math/w_j0l.c (__y0l): Likewise.
20718 * math/w_j1.c (y1): Likewise.
20719 * math/w_j1f.c (y1f): Likewise.
20720 * math/w_j1l.c (__y1l): Likewise
20721 * math/w_jn.c (yn): Likewise.
20722 * math/w_jnf.c (ynf): Likewise.
20723 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20724 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20725 value for Bessel function domain errors outside _SVID_ mode.
20726 Adjust sign of return value for yn (negative integer, 0).
20727 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20728 by zero in return for negative x and set sign appropriately for
20730 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20731 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20732 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20733 expectations in error cases.
20734 (y1_test_data): Likewise.
20735 (yn_test_data): Likewise.
20736 * sysdeps/i386/fpu/libm-test-ulps: Update.
20737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20739 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20741 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20742 "64" to "64-v1". Add "64-v2".
20743 (abi-64-options): Rename to ...
20744 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20745 (abi-64-condition): Rename to ...
20746 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20747 (abi-64-ld-soname): Rename to ...
20748 (abi-64-v1-ld-soname): ... this.
20749 (abi-64-v2-options): Define.
20750 (abi-64-v2-condition): Likewise.
20751 (abi-64-v2-ld-soname): Likewise.
20752 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20753 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20758 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20759 Alan Modra <amodra@gmail.com>
20761 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20762 New versions for use with the ELFv2 ABI.
20763 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20764 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20766 (struct La_ppc64v2_retval): Likewise.
20767 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20768 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20769 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20770 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20771 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20772 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20773 Do not save or restore CR.
20774 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20775 (_dl_profile_resolve): Do no save or restore CR. Support extended
20776 return values for ELFv2 ABI. Fix location of FPR return registers.
20777 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20778 updated values for _CALL_ELF == 2.
20779 (La_regs, La_retval, int_retval): Likewise.
20781 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20783 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20784 (FRAME_MIN_SIZE_PARM): Likewise.
20785 (FRAME_BACKCHAIN): Likewise.
20786 (FRAME_CR_SAVE): Likewise.
20787 (FRAME_LR_SAVE): Likewise.
20788 (FRAME_TOC_SAVE): Likewise.
20789 (FRAME_PARM_SAVE): Likewise.
20790 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20791 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20792 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20793 (call_mcount_parm_offset): New macro.
20794 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20795 (PROF): Use symbolic stack frame offsets.
20796 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20797 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20798 Redefine in terms of FRAME_MIN_SIZE.
20799 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20800 (_dl_profile_resolve): Likewise. Update comment.
20801 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20802 symbols stack frame offsets.
20803 (__sigsetjmp): Likewise.
20804 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20805 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20806 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20807 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20810 (FRAME_BACKCHAIN): Remove.
20811 (FRAME_CR_SAVE): Likewise.
20812 (FRAME_LR_SAVE): Likewise.
20813 (FRAME_COMPILER_DW): Likewise.
20814 (FRAME_LINKER_DW): Likewise.
20815 (FRAME_TOC_SAVE): Likewise.
20816 (FRAME_PARM_SAVE): Likewise.
20817 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20818 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20819 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20821 (CHECK_SP): Use symbolic stack frame offsets.
20822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20823 zone" instead of caller's parameter save area for temp storage.
20824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20825 Likewise. Also, use symbolic stack frame offsets.
20826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20827 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20828 our own stack frame instead of the caller's.
20829 (__socket): Use symbolic stack frame offsets.
20831 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20832 Alan Modra <amodra@gmail.com>
20834 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20836 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20837 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20838 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20840 (elf_machine_fixup_plt): Call it.
20841 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20843 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20844 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20845 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20846 r2 before calling target.
20848 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20849 Alan Modra <amodra@gmail.com>
20851 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20852 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20853 versions of macros to support ELFv2 ABI.
20854 (LOCALENTRY): New macro.
20855 (ENTRY, EALIGN): Use it.
20856 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20857 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20858 fall through into ENTRY entry point.
20859 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20860 Only define if _CALL_ELF != 2.
20862 (elf_machine_matches_host): Verify ABI version matches.
20863 (RTLD_START): Use LOCALENTRY.
20864 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20865 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20866 (PLT_ENTRY_WORDS): New macro.
20867 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20868 (elf_machine_runtime_setup): Support ELFv2 ABI.
20869 (elf_machine_fixup_plt): Likewise.
20870 (elf_machine_plt_conflict): Likewise.
20871 (resolve_ifunc): Likewise.
20872 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20873 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20876 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20878 (makecontext): Support ELFv2 ABI.
20879 * elf/elf.h (EF_PPC64_ABI): Define.
20881 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20883 * sysdeps/powerpc/powerpc64/sysdep.h
20884 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20885 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20886 (ENTRY) [ASSEMBLER]: ... but instead here ...
20887 (EALIGN) [ASSEMBLER]: ... and here.
20888 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20889 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20890 (ENTRY_2) [!ASSEMBLER]: Use it.
20891 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20892 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20893 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20894 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20895 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20897 Use PPC64_LOAD_FUNCPTR.
20899 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20901 2013-12-04 Alan Modra <amodra@gmail.com>
20903 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20904 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20905 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20906 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20909 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20910 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20911 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20912 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20913 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20915 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20918 (__makecontext): Fix incorrect CFI when backtracing out of
20919 context created via makecontext.
20920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20921 (__setcontext): Fix incorrect CFI during switch to new context.
20922 (__novec_setcontext): Likewise.
20924 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20927 * time/strptime_l.c (__strptime_internal): Allow modifiers
20929 * time/tst-strptime.c (day_tests): Add testcase.
20931 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20933 * scripts/bench.pl: Skip over blank lines.
20935 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20938 * manual/time.texi (Calendar Time): Clarify what timezone functions
20941 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20945 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20947 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20949 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20950 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20951 * debug/memset_chk.c (__memset_chk): Likewise.
20952 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20953 * debug/strncpy_chk.c: Likewise.
20955 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20959 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20960 (__ieee754_exp): For possibly underflowing results, check size of
20961 result and force underflow exception if required.
20962 * math/auto-libm-test-in: Add more tests of exp.
20963 * math/auto-libm-test-out: Regenerated.
20964 * sysdeps/i386/fpu/libm-test-ulps: Update.
20965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20968 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20969 * math/w_exp2f.c (__exp2f): Likewise.
20970 * math/w_exp2l.c (__exp2l): Likewise.
20971 * math/auto-libm-test-in: Do not allow missing errno on exp2
20973 * math/auto-libm-test-out: Regenerated.
20975 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20978 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20979 handle filename validation.
20980 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20983 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20986 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20987 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20988 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20990 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20991 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20992 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20993 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20994 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20995 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20996 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20997 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20998 Add more erfc tests.
20999 * math/auto-libm-test-out: Regenerated.
21000 * sysdeps/i386/fpu/libm-test-ulps: Update.
21001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21003 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21004 exp2, expm1, j0 and j1.
21005 * math/auto-libm-test-out: Regenerated.
21006 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21007 (erfc_test_data): Likewise.
21008 (exp_test_data): Likewise.
21009 (exp_tonearest_test_data): Likewise.
21010 (exp_towardzero_test_data): Likewise.
21011 (exp_downward_test_data): Likewise.
21012 (exp_upward_test_data): Likewise.
21013 (exp10_test_data): Likewise.
21014 (exp2_test_data): Likewise.
21015 (expm1_test_data): Likewise.
21016 (j0_test_data): Likewise.
21017 (j1_test_data): Likewise.
21018 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21019 (input_flag_type): Add flag_xfail_rounding.
21020 (input_flags): Add xfail-rounding.
21021 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21022 (output_for_one_input_case): Handle flag_xfail_rounding.
21023 * sysdeps/i386/fpu/libm-test-ulps: Update.
21024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21026 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21029 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21032 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21035 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21036 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21037 (STAP_PROBE0): New macro.
21038 (STAP_PROBE1): Likewise.
21039 (STAP_PROBE2): Likewise.
21040 (STAP_PROBE3): Likewise.
21041 (STAP_PROBE4): Likewise.
21043 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21045 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21047 2013-12-02 Steve Ellcey <sellcey@mips.com>
21049 * benchtests/Makefile (bench): Add sqrt.
21050 (LDLIBS-bench-sqrt): New.
21051 * benchtests/sqrt-input: New.
21053 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21055 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21056 (GAIH_EAI): Likewise.
21057 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21058 (gaih_inet): Likewise.
21059 (getaddrinfo): Don't use GAIH_EAI.
21061 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21062 (struct gaih): Remove definition.
21064 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21066 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21067 Use HERRNOP directly.
21069 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21073 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21075 * math/gen-auto-libm-tests.c (test_functions): Add more
21076 single-argument functions.
21077 (special_fill_pi_2): New function.
21078 (special_fill_minus_pi_2): Likewise.
21079 (special_fill_pi_6): Likewise.
21080 (special_fill_minus_pi_6): Likewise.
21081 (special_fill_pi_3): Likewise.
21082 (special_fill_2pi_3): Likewise.
21083 (special_fill_e): Likewise.
21084 (special_fill_1_e): Likewise.
21085 (special_fill_e_minus_1): Likewise.
21086 (special_real_inputs): Add more special inputs.
21087 (output_for_one_input_case): Do not require ERANGE on underflow to
21088 zero if round-to-nearest result does not underflow to zero, unless
21089 exact results required.
21090 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21091 atan, atanh, cbrt, cos and cosh.
21092 * math/auto-libm-test-out: Regenerated.
21093 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21094 (acos_tonearest_test_data): Likewise.
21095 (acos_towardzero_test_data): Likewise.
21096 (acos_downward_test_data): Likewise.
21097 (acos_upward_test_data): Likewise.
21098 (acosh_test_data): Likewise.
21099 (asin_test_data): Likewise.
21100 (asin_tonearest_test_data): Likewise.
21101 (asin_towardzero_test_data): Likewise.
21102 (asin_upward_test_data): Likewise.
21103 (asinh_test_data): Likewise.
21104 (atan_test_data): Likewise.
21105 (atanh_test_data): Likewise.
21106 (cbrt_test_data): Likewise.
21107 (cos_test_data): Likewise.
21108 (cos_tonearest_test_data): Likewise.
21109 (cos_towardzero_test_data): Likewise.
21110 (cos_downward_test_data): Likewise.
21111 (cos_upward_test_data): Likewise.
21112 (cosh_test_data): Likewise.
21113 (cosh_tonearest_test_data): Likewise.
21114 (cosh_towardzero_test_data): Likewise.
21115 (cosh_downward_test_data): Likewise.
21116 (cosh_upward_test_data): Likewise.
21117 * sysdeps/i386/fpu/libm-test-ulps: Update.
21118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21120 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21123 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21124 * math/w_exp10f.c (__exp10f): Likewise.
21125 * math/w_exp10l.c (__exp10l): Likewise.
21126 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21127 errno settings in existing tests.
21130 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21131 precision control set to double precision.
21132 * sysdeps/i386/fpu/w_sqrt.c: New file.
21133 * math/auto-libm-test-in: Add more tests.
21134 * math/auto-libm-test-out: Update.
21136 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21137 (sqrt_test_tonearest): New function.
21138 (sqrt_towardzero_test_data): New variable.
21139 (sqrt_test_towardzero): New function.
21140 (sqrt_downward_test_data): New variable.
21141 (sqrt_test_downward): New function.
21142 (sqrt_upward_test_data): New variable.
21143 (sqrt_test_upward): New function.
21144 (main): Call the new functions.
21146 * math/gen-auto-libm-tests.c: New file.
21147 * math/auto-libm-test-in: Likewise.
21148 * math/auto-libm-test-out: New generated file.
21149 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21151 (%beautify): Add generated representations of zero.
21152 (top level): Set $auto_input and call parse_auto_input.
21153 (beautify): Remove trailing "f" from hex float constants.
21154 (parse_args): Handle XFAIL_TEST.
21155 (convert_condition): New function.
21156 (or_value): Likewise.
21157 (or_cond_value): Likewise.
21158 (generate_testfile): Handle AUTO_TESTS_* lines.
21159 (parse_auto_input): New function.
21160 * math/libm-test.inc (XFAIL_TEST): New macro.
21161 (ERRNO_UNCHANGED): Update value.
21162 (ERRNO_EDOM): Likewise.
21163 (ERRNO_ERANGE): Likewise.
21164 (IGNORE_RESULT): Likewise.
21165 (TEST_COND_flt_32): New macro.
21166 (TEST_COND_dbl_64): Likewise.
21167 (TEST_COND_ldbl_96_intel): Likewise.
21168 (TEST_COND_ldbl_96_m68k): Likewise.
21169 (TEST_COND_ldbl_128): Likewise.
21170 (TEST_COND_ldbl_128ibm): Likewise.
21171 (TEST_COND_long32): Likewise.
21172 (TEST_COND_long64): Likewise.
21173 (TEST_COND_before_rounding): Likewise.
21174 (TEST_COND_after_rounding): Likewise.
21175 (enable_test): Handle XFAIL_TEST flag.
21176 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21177 with finite results.
21178 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21179 auto-libm-test-out.
21181 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21182 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21185 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21186 __tls_get_addr_internal instead of __tls_get_offset in order to
21187 avoid GOT pointer dependency. Make rtld export
21188 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21189 __tls_get_addr since we are a __tls_get_offset platform.
21190 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21191 GOT pointer being set up before.
21192 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21194 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21196 * manual/math.texi (Errors in Math Functions): Document accuracy
21200 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21201 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21204 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21205 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21206 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21217 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21218 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21219 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21220 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21221 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21223 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21225 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21227 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21228 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21229 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21230 atomic-feupdateenv and flt-rounds.
21231 * sysdeps/powerpc/nofpu/Versions (libc): Add
21232 __atomic_feholdexcept, __atomic_feclearexcept,
21233 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21234 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21235 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21236 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21237 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21242 * manual/arith.texi (FP Exceptions): Document that exceptions may
21243 not be raised when matherr is used.
21244 (Math Error Reporting): Document overflow in directed rounding
21245 modes. Document that errno may not be set when finite values are
21246 returned on overflow. Document intent to set errno on underflow
21247 only for underflow to zero.
21250 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21251 round-to-nearest then adjust result for other rounding modes.
21252 * include/fenv.h (fegetround): Use libm_hidden_proto.
21253 * math/fegetround.c (fegetround): Use libm_hidden_def.
21254 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21255 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21256 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21257 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21259 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21260 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21261 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21262 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21264 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21267 * nss/Versions (libnss_files): Add
21268 _nss_files_gethostbyname3_r.
21269 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21271 (HOST_DB_LOOKUP): Remove macro.
21272 (_nss_files_gethostbyname_r): Implement function without the
21273 HOST_DB_LOOKUP macro.
21274 (_nss_files_gethostbyname2_r): Likewise.
21276 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
21278 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21280 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
21282 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21283 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21286 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21288 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21289 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21290 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21291 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21292 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21293 __fe_nomask_env_priv and attribute_hidden.
21294 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21295 (libc_feupdateenv_test_ppc): Likewise.
21296 (libc_feresetround_ppc): Likewise.
21297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21298 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21299 compat_symbol macro.
21300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21301 (__fe_nomask_env): Likewise.
21302 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21304 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21306 * string/Makefile: Remove ifunc tests.
21307 * string/test-string.h: Define TEST_IFUNC.
21308 * string/test-bcopy-ifunc.c: Remove.
21309 * string/test-bzero-ifunc.c: Likewise.
21310 * string/test-memccpy-ifunc.c: Likewise.
21311 * string/test-memchr-ifunc.c: Likewise.
21312 * string/test-memcmp-ifunc.c: Likewise.
21313 * string/test-memcpy-ifunc.c: Likewise.
21314 * string/test-memmem-ifunc.c: Likewise.
21315 * string/test-memmove-ifunc.c: Likewise.
21316 * string/test-mempcpy-ifunc.c: Likewise.
21317 * string/test-memrchr-ifunc.c: Likewise.
21318 * string/test-memset-ifunc.c: Likewise.
21319 * string/test-rawmemchr-ifunc.c: Likewise.
21320 * string/test-stpcpy-ifunc.c: Likewise.
21321 * string/test-stpncpy-ifunc.c: Likewise.
21322 * string/test-strcasecmp-ifunc.c: Likewise.
21323 * string/test-strcasestr-ifunc.c: Likewise.
21324 * string/test-strcat-ifunc.c: Likewise.
21325 * string/test-strchr-ifunc.c: Likewise.
21326 * string/test-strchrnul-ifunc.c: Likewise.
21327 * string/test-strcmp-ifunc.c: Likewise.
21328 * string/test-strcpy-ifunc.c: Likewise.
21329 * string/test-strcspn-ifunc.c: Likewise.
21330 * string/test-strlen-ifunc.c: Likewise.
21331 * string/test-strncasecmp-ifunc.c: Likewise.
21332 * string/test-strncat-ifunc.c: Likewise.
21333 * string/test-strncmp-ifunc.c: Likewise.
21334 * string/test-strncpy-ifunc.c: Likewise.
21335 * string/test-strnlen-ifunc.c: Likewise.
21336 * string/test-strpbrk-ifunc.c: Likewise.
21337 * string/test-strrchr-ifunc.c: Likewise.
21338 * string/test-strspn-ifunc.c: Likewise.
21339 * string/test-strstr-ifunc.c: Likewise.
21341 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21343 * benchtests/Makefile: Remove ifunc tests.
21344 * benchtests/bench-string.h: Define TEST_IFUNC.
21345 * benchtests/bench-bcopy-ifunc.c: Remove.
21346 * benchtests/bench-bzero-ifunc.c: Likewise.
21347 * benchtests/bench-memccpy-ifunc.c: Likewise.
21348 * benchtests/bench-memchr-ifunc.c: Likewise.
21349 * benchtests/bench-memcmp-ifunc.c: Likewise.
21350 * benchtests/bench-memcpy-ifunc.c: Likewise.
21351 * benchtests/bench-memmem-ifunc.c: Likewise.
21352 * benchtests/bench-memmove-ifunc.c: Likewise.
21353 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21354 * benchtests/bench-memrchr-ifunc.c: Likewise.
21355 * benchtests/bench-memset-ifunc.c: Likewise.
21356 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21357 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21358 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21359 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21360 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21361 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21362 * benchtests/bench-strcat-ifunc.c: Likewise.
21363 * benchtests/bench-strchr-ifunc.c: Likewise.
21364 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21365 * benchtests/bench-strcmp-ifunc.c: Likewise.
21366 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21367 * benchtests/bench-strcpy-ifunc.c: Likewise.
21368 * benchtests/bench-strcspn-ifunc.c: Likewise.
21369 * benchtests/bench-strlen-ifunc.c: Likewise.
21370 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21371 * benchtests/bench-strncat-ifunc.c: Likewise.
21372 * benchtests/bench-strncmp-ifunc.c: Likewise.
21373 * benchtests/bench-strncpy-ifunc.c: Likewise.
21374 * benchtests/bench-strnlen-ifunc.c: Likewise.
21375 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21376 * benchtests/bench-strrchr-ifunc.c: Likewise.
21377 * benchtests/bench-strsep-ifunc.c: Likewise.
21378 * benchtests/bench-strspn-ifunc.c: Likewise.
21379 * benchtests/bench-strstr-ifunc.c: Likewise.
21381 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21383 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21385 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21387 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21388 * rt/aio.h: Likewise.
21389 * sysdeps/gnu/bits/utmp.h: Likewise.
21390 * sysdeps/gnu/bits/utmpx.h: Likewise.
21391 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21392 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21393 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21394 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21395 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21396 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21397 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21398 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21399 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21400 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21401 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21402 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21403 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21405 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21406 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21407 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21408 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21409 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21410 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21411 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21412 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21413 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21414 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21415 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21417 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21418 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21419 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21420 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21421 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21422 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21423 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21424 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21425 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21426 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21427 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21428 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21429 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21430 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21431 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21432 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21434 2013-11-25 Carlos O'Donell <carlos@redhat.com>
21437 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21438 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21440 2013-11-25 Joseph Myers <joseph@codesourcery.com>
21442 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21443 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21446 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21449 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21450 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21451 (__fesetround): Remove define.
21452 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21453 rounding and exceptions handling.
21454 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21455 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21456 (__fe_nomask_env): Likewise.
21457 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21458 __fegetround instead of fegetround.
21459 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21460 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21462 2013-11-21 Roland McGrath <roland@hack.frob.com>
21464 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21467 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21469 2013-11-21 Meador Inge <meadori@codesourcery.com>
21472 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21473 (encrypt_r): Likewise.
21474 * malloc/obstack.h (obstack_free): Likewise.
21475 * posix/unistd.h (encrypt): Likewise.
21477 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21479 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21480 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21481 DL_CALL_DT_FINI() that call the functions directly.
21482 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21483 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21484 * elf/dl-fini.c: Likewise.
21486 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
21488 * malloc/hooks.c (memalign_check): Add alignment rounding.
21489 * malloc/malloc.c (_mid_memalign): New function.
21490 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21491 Implement by calling _mid_memalign.
21492 * manual/probes.texi (Memory Allocation Probes): Remove
21493 memory_valloc_retry and memory_pvalloc_retry.
21495 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21497 * locale/programs/locarchive.c (open_archive): Add const
21498 qualifier to ARCHIVEFNAME and copy default fname to
21502 * libio/tst-widetext.input: Rename Oriya to Odia.
21503 * locale/iso-639.def: Likewise.
21505 * manual/probes.texi (Mathematical Function Probes): Add
21506 documentation for sin, cos, asin and acos probes.
21507 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21508 (__sin32): Add slowasin probe.
21509 (__cos32): Add slowacos probe.
21510 (__mpsin): Add slowsin probe.
21511 (__mpcos): Add slowcos probe.
21513 2013-11-19 Joseph Myers <joseph@codesourcery.com>
21516 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21517 thread-local __sim_exceptions_thread and global
21518 __sim_exceptions_global.
21519 (__sim_disabled_exceptions): Change to thread-local
21520 __sim_disabled_exceptions_thread and global
21521 __sim_disabled_exceptions_global.
21522 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21523 and global __sim_round_mode_global.
21524 (__simulate_exceptions): Use thread-local floating-point state and
21525 set global state from it as needed.
21526 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21527 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21528 __sim_round_mode_thread.
21529 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21530 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21531 and global __sim_exceptions_global.
21532 (__sim_disabled_exceptions): Change to thread-local
21533 __sim_disabled_exceptions_thread and global
21534 __sim_disabled_exceptions_global.
21535 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21536 and global __sim_round_mode_global.
21537 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21538 (SIM_SET_GLOBAL): Likewise.
21539 * sysdeps/powerpc/soft-fp/sfp-machine.h
21540 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21541 __sim_round_mode_thread.
21542 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21543 __sim_disabled_exceptions_thread.
21544 (__sim_exceptions): Change to __sim_exceptions_thread.
21545 (__sim_disabled_exceptions): Change to
21546 __sim_disabled_exceptions_thread.
21547 (__sim_round_mode): Change to __sim_round_mode_thread.
21548 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21549 thread-local floating-point state and set global state from it as
21551 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21552 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21553 (__sim_disabled_exceptions): Remove extern declaration.
21554 (feenableexcept): Use thread-local floating-point state and set
21555 global state from it as needed.
21556 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21557 extern declaration.
21558 (__sim_disabled_exceptions): Likewise.
21559 (__sim_round_mode): Likewise.
21560 (__fegetenv): Use thread-local floating-point state.
21561 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21562 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21563 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21564 floating-point state and set global state from it as needed.
21565 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21566 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21567 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21569 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21570 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21572 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21573 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21574 Use __sim_round_mode_thread.
21575 * math/test-fenv-tls.c: New file.
21576 * math/Makefile (tests): Add test-fenv-tls.
21577 ($(objpfx)test-fenv-tls): Depend on
21578 $(common-objpfx)nptl/libpthread.so.
21580 2013-11-19 Andreas Schwab <schwab@suse.de>
21582 * locale/programs/locale.c (show_info): Decode wordarray elements.
21583 * locale/categories.def (LC_MONETARY): Add element for
21584 _NL_MONETARY_CRNCYSTR.
21585 * locale/C-monetary.c (conversion_rate): New variable.
21586 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21589 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21591 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21592 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21594 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21596 * elf/Makefile (tst-auxv): New test.
21597 * elf/tst-auxv.c: New
21598 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21600 2013-11-18 Joseph Myers <joseph@codesourcery.com>
21602 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21603 (hidden_proto): Caller changed.
21604 (hidden_tls_proto): New macro.
21605 (libc_hidden_tls_proto): Likewise.
21606 (rtld_hidden_tls_proto): Likewise.
21607 (libm_hidden_tls_proto): Likewise.
21608 (libresolv_hidden_tls_proto): Likewise.
21609 (librt_hidden_tls_proto): Likewise.
21610 (libdl_hidden_tls_proto): Likewise.
21611 (libnss_files_hidden_tls_proto): Likewise.
21612 (libnsl_hidden_tls_proto): Likewise.
21613 (libnss_nisplus_hidden_tls_proto): Likewise.
21614 (libutil_hidden_tls_proto): Likewise.
21616 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
21619 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21620 (decompose_rpath): Defer expansion to fillin_rpath.
21621 (_dl_init_paths): Pass linkmap to fillin_rpath.
21623 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21625 * benchtests/Makefile: Add strsep.
21626 * benchtests/bench-strsep.c: New file: strsep benchtest.
21627 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21629 2013-11-18 Andreas Schwab <schwab@suse.de>
21631 * locale/programs/locale.c (show_info) [case byte]: Check for
21632 '\377' instead of '\177'.
21633 * locale/C-monetary.c (not_available): Always use "\377".
21634 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21635 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21636 detect unavailable sign_posn locale elements.
21637 * locale/localeconv.c (__localeconv): For grouping and
21638 mon_grouping handle "\177" and "\377" like no grouping.
21639 (INT_ELEM): New macro. Use it to set all numeric members.
21640 * locale/programs/ld-monetary.c (monetary_read)
21641 <tok_mon_grouping>: Normalize single -1 to the empty string.
21642 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21645 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21648 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21649 when we match (nil).
21650 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21652 2013-11-16 Joseph Myers <joseph@codesourcery.com>
21654 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21655 (NO_TEST_INLINE): Update value.
21656 (ERRNO_UNCHANGED): Likewise.
21657 (ERRNO_EDOM): Likewise.
21658 (ERRNO_ERANGE): Likewise.
21659 (IGNORE_RESULT): Likewise.
21660 (check_float_internal): Check signs of NaN results if
21661 TEST_NAN_SIGN used.
21662 (check_complex): Pass TEST_NAN_SIGN flag through to second
21663 check_float_internal call.
21664 (copysign_test_data): Add tests with quiet NaNs as second
21665 argument. Use TEST_NAN_SIGN.
21666 (fabs_test_data): Add test of negative quiet NaN argument. Use
21668 (signbit_test_data): Add tests of quiet NaN argument.
21669 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21671 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21673 (parse_args): Handle function results specified as IGNORE.
21674 * math/libm-test.inc (IGNORE_RESULT): New macro.
21675 (check_float_internal): Do not check numerical result if flag
21677 (check_complex): Pass through IGNORE_RESULT to second
21678 check_float_internal call.
21679 (check_int): Do not check numerical result if flag IGNORE_RESULT
21681 (check_long): Likewise.
21682 (check_bool): Likewise.
21683 (check_longlong): Likewise.
21684 (lrint_test_data): Add tests of infinite and NaN arguments.
21685 (lrint_tonearest_test_data): Likewise.
21686 (lrint_towardzero_test_data): Likewise.
21687 (lrint_downward_test_data): Likewise.
21688 (lrint_upward_test_data): Likewise.
21689 (llrint_test_data): Likewise.
21690 (llrint_tonearest_test_data): Likewise.
21691 (llrint_towardzero_test_data): Likewise.
21692 (llrint_downward_test_data): Likewise.
21693 (llrint_upward_test_data): Likewise.
21694 (lround_test_data): Likewise.
21695 (llround_test_data): Likewise.
21697 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21698 (ERRNO_UNCHANGED): Update value.
21699 (ERRNO_EDOM): Likewise.
21700 (ERRNO_ERANGE): Likewise.
21701 (NO_TEST_INLINE_FLOAT): New macro.
21702 (NO_TEST_INLINE_DOUBLE): Likewise.
21703 (enable_test): New function.
21704 (RUN_TEST_f_f): Check enable_test before running test.
21705 (RUN_TEST_2_f): Likewise.
21706 (RUN_TEST_fff_f): Likewise.
21707 (RUN_TEST_c_f): Likewise.
21708 (RUN_TEST_f_f1): Likewise.
21709 (RUN_TEST_fF_f1): Likewise.
21710 (RUN_TEST_fI_f1): Likewise.
21711 (RUN_TEST_ffI_f1): Likewise.
21712 (RUN_TEST_c_c): Likewise.
21713 (RUN_TEST_cc_c): Likewise.
21714 (RUN_TEST_f_i): Likewise.
21715 (RUN_TEST_f_i_tg): Likewise.
21716 (RUN_TEST_ff_i_tg): Likewise.
21717 (RUN_TEST_f_b): Likewise.
21718 (RUN_TEST_f_b_tg): Likewise.
21719 (RUN_TEST_f_l): Likewise.
21720 (RUN_TEST_f_L): Likewise.
21721 (RUN_TEST_fFF_11): Likewise.
21722 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21724 (cosh_test_data): Likewise.
21725 (exp_test_data): Likewise.
21726 (expm1_test_data): Likewise.
21727 (hypot_test_data): Likewise.
21728 (pow_test_data): Likewise.
21729 (sinh_test_data): Likewise.
21730 (tanh_test_data): Likewise.
21731 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21734 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21735 tests with quiet NaN input and output.
21736 (acosh_test_data): Likewise.
21737 (asin_test_data): Likewise.
21738 (asinh_test_data): Likewise.
21739 (atan_test_data): Likewise.
21740 (atanh_test_data): Likewise.
21741 (atan2_test_data): Likewise.
21742 (cbrt_test_data): Likewise.
21743 (cos_test_data): Likewise.
21744 (cosh_test_data): Likewise.
21745 (erf_test_data): Likewise.
21746 (erfc_test_data): Likewise.
21747 (exp_test_data): Likewise.
21748 (exp10_test_data): Likewise.
21749 (exp2_test_data): Likewise.
21750 (expm1_test_data): Likewise.
21751 (hypot_test_data): Likewise.
21752 (j0_test_data): Likewise.
21753 (j1_test_data): Likewise.
21754 (jn_test_data): Likewise.
21755 (lgamma_test_data): Likewise.
21756 (log_test_data): Likewise.
21757 (log10_test_data): Likewise.
21758 (log1p_test_data): Likewise.
21759 (log2_test_data): Likewise.
21760 (pow_test_data): Likewise.
21761 (scalb_test_data): Likewise.
21762 (sin_test_data): Likewise.
21763 (sincos_test_data): Likewise.
21764 (sinh_test_data): Likewise.
21765 (tan_test_data): Likewise.
21766 (tanh_test_data): Likewise.
21767 (tgamma_test_data): Likewise.
21768 (y0_test_data): Likewise.
21769 (y1_test_data): Likewise.
21770 (yn_test_data): Likewise.
21773 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21774 argument being NaN and avoid computations with second argument in
21776 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21777 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21778 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21780 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21782 * locale/iso-639.def: Add Chitwani Tharu (the).
21784 2013-11-14 Andreas Schwab <schwab@suse.de>
21786 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21787 word instead of empty string.
21789 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21792 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21794 (__fe_nomask_env): Likewise.
21796 2013-11-13 Steve Ellcey <sellcey@mips.com>
21798 * benchtests/bench-timing.h: Include time.h.
21800 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21803 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21805 * sysdeps/unix/sysv/linux/configure: Regenerated.
21807 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21810 * stdlib/strtod_l.c (round_and_return): Do not consider
21811 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21812 exponent one less than half the least subnormal exponent.
21813 * stdlib/test-strtod-round-data: Add more tests.
21814 * stdlib/tst-strtod-round.c (tests): Regenerated.
21816 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21819 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21820 (__fe_mask_env): Likewise.
21821 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21822 libm_hidden_proto and add function prototype.
21823 (__fe_mask_env): Add function prototype.
21824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21825 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21827 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21829 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21831 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21833 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21834 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21836 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21838 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21839 of htab_find_slot().
21841 2013-11-11 David S. Miller <davem@davemloft.net>
21844 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21845 symbol in the non-vis3 case in static builds.
21846 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21847 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21848 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21849 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21851 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21854 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21857 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21859 * benchtests/Makefile: Add bench-strtod.
21860 * benchtests/bench-strtod.c: New file: strtod benchtest
21862 2013-11-11 Andreas Schwab <schwab@suse.de>
21865 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21866 terminating NUL in key length.
21868 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21870 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21871 Add artificial ODP entry for vDSO symbol for PPC64.
21872 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21873 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21875 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21878 * nss/getent.c (services_keys): Recognize services starting with digit.
21880 2013-11-06 David S. Miller <davem@davemloft.net>
21883 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21884 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21886 2013-11-06 Will Newton <will.newton@linaro.org>
21888 * manual/memory.texi (Malloc Examples): Remove register
21889 keyword from examples.
21891 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21893 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21895 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21898 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21899 depending on [__GCC_IEC_559 > 0].
21900 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21901 depending on [__GCC_IEC_559_COMPLEX > 0].
21903 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21905 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21908 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21910 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21912 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21915 * malloc/malloc (malloc_info): Do not handle first bin as
21918 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21920 * locale/iso-639.def: Add Central Nahuatl (nhn).
21922 2013-11-01 Bruno Haible <bruno@clisp.org>
21925 * manual/math.texi (BSD Random): Specify range upper bound as
21928 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21930 * locale/iso-639.def: Add Meadow Mari (mhr).
21932 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21934 [BZ #14752], [BZ #15763]
21935 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21937 * rt/tst_shm.c: Add test for escaping directory.
21939 2013-10-31 Andreas Schwab <schwab@suse.de>
21942 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21943 followed by 'x' as part of digit sequence.
21944 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21946 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21949 * configure.ac: allow GNU Make 4.0 and greater.
21950 * configure: Regenerated.
21952 2013-10-30 Will Newton <will.newton@linaro.org>
21955 * malloc/hooks.c (memalign_check): Limit alignment to the
21956 maximum representable power of two.
21957 * malloc/malloc.c (__libc_memalign): Likewise.
21958 * malloc/tst-memalign.c (do_test): Add test for very
21959 large alignment values.
21960 * malloc/tst-posix_memalign.c (do_test): Likewise.
21962 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21965 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21966 (munmap_chunk): Likewise.
21967 (mremap_chunk): Likewise.
21969 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21972 * stdlib/div.c (div): Remove obsolete code.
21973 * stdlib/ldiv.c (ldiv): Likewise.
21974 * stdlib/lldiv.c (lldiv): Likewise.
21976 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21979 * nss/nss_files/files-XXX.c (get_contents_ret): New
21981 (get_contents): New function.
21982 (internal_getent): Use it. Expand size of LINEBUFLEN.
21984 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21986 * configure.in: Moved to ...
21987 * configure.ac: ... here. Change reference to configure.in
21989 * sysdeps/arm/preconfigure.ac: ... here.
21990 configure.in to configure.ac.
21991 * sysdeps/gnu/configure.in: Moved to ...
21992 * sysdeps/gnu/configure.ac: ... here.
21993 * sysdeps/i386/configure.in: Moved to ...
21994 * sysdeps/i386/configure.ac: ... here.
21995 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21996 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21997 * sysdeps/mach/configure.in: Moved to ...
21998 * sysdeps/mach/configure.ac: ... here.
21999 * sysdeps/mach/hurd/configure.in: Moved to ...
22000 * sysdeps/mach/hurd/configure.ac: ... here.
22001 * sysdeps/powerpc/configure.in: Moved to ...
22002 * sysdeps/powerpc/configure.ac: ... here.
22003 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22004 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22005 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22006 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22007 * sysdeps/s390/s390-32/configure.in: Moved to ...
22008 * sysdeps/s390/s390-32/configure.ac: ... here.
22009 * sysdeps/s390/s390-64/configure.in: Moved to ...
22010 * sysdeps/s390/s390-64/configure.ac: ... here.
22011 * sysdeps/sh/configure.in: Moved to ...
22012 * sysdeps/sh/configure.ac: ... here.
22013 * sysdeps/sparc/configure.in: Moved to ...
22014 * sysdeps/sparc/configure.ac: ... here.
22015 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22016 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22017 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22018 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22019 * sysdeps/x86_64/configure.in: Moved to ...
22020 * sysdeps/x86_64/configure.ac: ... here.
22021 * sysdeps/x86_64/preconfigure.in: Moved to ...
22022 * sysdeps/x86_64/preconfigure.ac: ... here.
22023 * aclocal.m4: Change reference to configure.in to configure.ac.
22024 * config.h.in: Likewise.
22025 * manual/install.texi: Likewise.
22026 * manual/maint.texi: Likewise.
22027 * Makefile: Likewise.
22028 * malloc/Makefile: Likewise.
22029 * nscd/Makefile: Likewise.
22030 * Makeconfig: Change reference to configure.in and
22031 preconfigure.in to configure.ac and preconfigure.ac
22033 * INSTALL: Regenerated.
22034 * configure: Likewise.
22035 * sysdeps/gnu/configure: Likewise.
22036 * sysdeps/i386/configure: Likewise.
22037 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22038 * sysdeps/mach/configure: Likewise.
22039 * sysdeps/mach/hurd/configure: Likewise.
22040 * sysdeps/powerpc/configure: Likewise.
22041 * sysdeps/powerpc/powerpc32/configure: Likewise.
22042 * sysdeps/powerpc/powerpc64/configure: Likewise.
22043 * sysdeps/s390/s390-32/configure: Likewise.
22044 * sysdeps/s390/s390-64/configure: Likewise.
22045 * sysdeps/sh/configure: Likewise.
22046 * sysdeps/sparc/configure: Likewise.
22047 * sysdeps/unix/sysv/linux/configure: Likewise.
22048 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22049 * sysdeps/x86_64/configure: Likewise.
22050 * sysdeps/x86_64/preconfigure: Likewise.
22052 2013-10-29 Andreas Schwab <schwab@suse.de>
22054 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22056 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22058 * benchtests/pow-inputs: Add new inputs.
22060 * benchtests/exp-inputs: Add new inputs.
22062 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22063 conditional check for return value.
22064 (__cos32): Likewise.
22066 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22068 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22069 to provide a boost for large inputs with word alignment.
22070 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22071 implementation based on optimized PPC64 strcpy.
22072 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22073 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22074 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22075 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22077 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22080 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22082 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22085 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22086 * time/tst-strptime.c (day_tests): Add testcase.
22088 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22091 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22093 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22096 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22097 MAP_FAILED on error.
22099 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22102 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22103 heap for large requests.
22105 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22108 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22109 result if the result has no associated interface.
22110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22111 interface for all 127.X.Y.Z addresses.
22113 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22115 * locale/iso-639.def: Add Ligurian (lij)
22117 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22120 * sunrpc/rpc_main.c: Document rpcgen -5.
22122 2013-10-19 Michael Stahl <mstahl@redhat.com>
22124 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22126 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22129 * posix/glob.c: Match only directories when trailing slash is present.
22130 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22131 (main): Add testcase.
22133 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22136 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22138 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22140 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22141 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22142 AUTH_DES and cindex for FIPS 140-2.
22143 (DES Encryption): Add cindex FIPS 46-3.
22145 * locale/locarchive.h (struct locarhandle): Add fname.
22146 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22147 if an optional argument was specified to --list-archive,
22149 * locale/programs/locarchive.c (show_archive_content): Take new
22150 argument fname and pass it via ah.fname to open_archive.
22151 * locale/programs/localedef.h: Update decl.
22152 (open_archive): If AH->fname is non-null, open that file
22153 rather than the default file name, and don't ignore ENOENT.
22154 (create_archive): Set AH.fname to NULL.
22155 (delete_locales_from_archive): Likewise.
22156 (add_locales_to_archive): Likewise.
22157 * locale/programs/locfile.c (write_all_categories): Likewise.
22159 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22160 Aldy Hernandez <aldyh@redhat.com>
22162 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22163 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22164 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22165 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22166 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22167 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22168 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22169 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22170 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22171 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22172 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22173 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22174 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22175 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22176 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22178 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22180 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22182 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22184 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22185 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22187 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22188 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22189 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22190 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22192 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22193 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22194 * sysdeps/powerpc/preconfigure: Likewise.
22195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22197 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22198 Replace contents of file by #include of <fenv_libc.h>.
22199 * sysdeps/powerpc/soft-fp/sfp-machine.h
22200 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22202 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22203 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22204 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22205 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22206 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22207 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22209 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22210 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22211 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22212 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22213 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22215 Allow copysignl PLT reference to be missing.
22217 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22218 Joseph Myers <joseph@codesourcery.com
22221 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22223 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22225 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22227 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22228 * elf/tst-tls1.c: Likewise.
22229 * elf/tst-tls10.h: Likewise.
22230 * elf/tst-tls14.c: Likewise.
22231 * elf/tst-tls2.c: Likewise.
22232 * elf/tst-tls3.c: Likewise.
22233 * elf/tst-tls4.c: Likewise.
22234 * elf/tst-tls5.c: Likewise.
22235 * elf/tst-tls6.c: Likewise.
22236 * elf/tst-tls7.c: Likewise.
22237 * elf/tst-tls8.c: Likewise.
22238 * elf/tst-tls9.c: Likewise.
22239 * elf/tst-tlsmod1.c: Likewise.
22240 * elf/tst-tlsmod13.c: Likewise.
22241 * elf/tst-tlsmod13a.c: Likewise.
22242 * elf/tst-tlsmod14a.c: Likewise.
22243 * elf/tst-tlsmod16a.c: Likewise.
22244 * elf/tst-tlsmod16b.c: Likewise.
22245 * elf/tst-tlsmod2.c: Likewise.
22246 * elf/tst-tlsmod3.c: Likewise.
22247 * elf/tst-tlsmod4.c: Likewise.
22248 * elf/tst-tlsmod5.c: Likewise.
22249 * elf/tst-tlsmod6.c: Likewise.
22251 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22254 * malloc/malloc.c: remove checks for statistics.
22256 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22259 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22260 * inet/tst-network.c: Add testcase.
22262 2013-10-17 Andreas Schwab <schwab@suse.de>
22265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22266 to determine canonical name.
22268 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22270 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22271 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22273 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22275 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22277 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22278 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22279 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22280 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22281 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22283 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22284 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22285 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22287 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22288 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22289 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22290 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22293 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22294 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22295 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22296 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22297 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22298 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22299 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22300 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22301 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22302 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22303 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22304 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22305 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22306 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22307 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22308 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22310 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22311 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22312 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22313 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22314 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22317 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22318 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22319 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22320 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22321 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22322 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22323 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22324 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22325 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22326 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22327 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22329 2013-10-17 Joseph Myers <joseph@codesourcery.com>
22332 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22333 make result into a quiet NaN.
22335 2013-10-16 Joseph Myers <joseph@codesourcery.com>
22337 * soft-fp/adddf3.c: Fix horizontal whitespace.
22338 * soft-fp/addsf3.c: Likewise.
22339 * soft-fp/addtf3.c: Likewise.
22340 * soft-fp/divdf3.c: Likewise.
22341 * soft-fp/divsf3.c: Likewise.
22342 * soft-fp/divtf3.c: Likewise.
22343 * soft-fp/double.h: Likewise.
22344 * soft-fp/eqdf2.c: Likewise.
22345 * soft-fp/eqsf2.c: Likewise.
22346 * soft-fp/eqtf2.c: Likewise.
22347 * soft-fp/extenddftf2.c: Likewise.
22348 * soft-fp/extended.h: Likewise.
22349 * soft-fp/extendsfdf2.c: Likewise.
22350 * soft-fp/extendsftf2.c: Likewise.
22351 * soft-fp/extendxftf2.c: Likewise.
22352 * soft-fp/fixdfdi.c: Likewise.
22353 * soft-fp/fixdfsi.c: Likewise.
22354 * soft-fp/fixdfti.c: Likewise.
22355 * soft-fp/fixsfdi.c: Likewise.
22356 * soft-fp/fixsfsi.c: Likewise.
22357 * soft-fp/fixsfti.c: Likewise.
22358 * soft-fp/fixtfdi.c: Likewise.
22359 * soft-fp/fixtfsi.c: Likewise.
22360 * soft-fp/fixtfti.c: Likewise.
22361 * soft-fp/fixunsdfdi.c: Likewise.
22362 * soft-fp/fixunsdfsi.c: Likewise.
22363 * soft-fp/fixunsdfti.c: Likewise.
22364 * soft-fp/fixunssfdi.c: Likewise.
22365 * soft-fp/fixunssfsi.c: Likewise.
22366 * soft-fp/fixunssfti.c: Likewise.
22367 * soft-fp/fixunstfdi.c: Likewise.
22368 * soft-fp/fixunstfsi.c: Likewise.
22369 * soft-fp/fixunstfti.c: Likewise.
22370 * soft-fp/floatdidf.c: Likewise.
22371 * soft-fp/floatdisf.c: Likewise.
22372 * soft-fp/floatditf.c: Likewise.
22373 * soft-fp/floatsidf.c: Likewise.
22374 * soft-fp/floatsisf.c: Likewise.
22375 * soft-fp/floatsitf.c: Likewise.
22376 * soft-fp/floattidf.c: Likewise.
22377 * soft-fp/floattisf.c: Likewise.
22378 * soft-fp/floattitf.c: Likewise.
22379 * soft-fp/floatundidf.c: Likewise.
22380 * soft-fp/floatundisf.c: Likewise.
22381 * soft-fp/floatunditf.c: Likewise.
22382 * soft-fp/floatunsidf.c: Likewise.
22383 * soft-fp/floatunsisf.c: Likewise.
22384 * soft-fp/floatunsitf.c: Likewise.
22385 * soft-fp/floatuntidf.c: Likewise.
22386 * soft-fp/floatuntisf.c: Likewise.
22387 * soft-fp/floatuntitf.c: Likewise.
22388 * soft-fp/fmadf4.c: Likewise.
22389 * soft-fp/fmasf4.c: Likewise.
22390 * soft-fp/fmatf4.c: Likewise.
22391 * soft-fp/gedf2.c: Likewise.
22392 * soft-fp/gesf2.c: Likewise.
22393 * soft-fp/getf2.c: Likewise.
22394 * soft-fp/ledf2.c: Likewise.
22395 * soft-fp/lesf2.c: Likewise.
22396 * soft-fp/letf2.c: Likewise.
22397 * soft-fp/muldf3.c: Likewise.
22398 * soft-fp/mulsf3.c: Likewise.
22399 * soft-fp/multf3.c: Likewise.
22400 * soft-fp/negdf2.c: Likewise.
22401 * soft-fp/negsf2.c: Likewise.
22402 * soft-fp/negtf2.c: Likewise.
22403 * soft-fp/op-1.h: Likewise.
22404 * soft-fp/op-2.h: Likewise.
22405 * soft-fp/op-4.h: Likewise.
22406 * soft-fp/op-8.h: Likewise.
22407 * soft-fp/op-common.h: Likewise.
22408 * soft-fp/quad.h: Likewise.
22409 * soft-fp/single.h: Likewise.
22410 * soft-fp/soft-fp.h: Likewise.
22411 * soft-fp/sqrtdf2.c: Likewise.
22412 * soft-fp/sqrtsf2.c: Likewise.
22413 * soft-fp/sqrttf2.c: Likewise.
22414 * soft-fp/subdf3.c: Likewise.
22415 * soft-fp/subsf3.c: Likewise.
22416 * soft-fp/subtf3.c: Likewise.
22417 * soft-fp/truncdfsf2.c: Likewise.
22418 * soft-fp/trunctfdf2.c: Likewise.
22419 * soft-fp/trunctfsf2.c: Likewise.
22420 * soft-fp/trunctfxf2.c: Likewise.
22421 * soft-fp/unorddf2.c: Likewise.
22422 * soft-fp/unordsf2.c: Likewise.
22423 * soft-fp/unordtf2.c: Likewise.
22425 2013-10-15 Joseph Myers <joseph@codesourcery.com>
22427 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22428 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22430 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
22432 * elf/dl-libc.c: Clear initfini list after freeing.
22434 2013-10-14 Joseph Myers <joseph@codesourcery.com>
22436 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22437 * soft-fp/addsf3.c: Likewise.
22438 * soft-fp/addtf3.c: Likewise.
22439 * soft-fp/divdf3.c: Likewise.
22440 * soft-fp/divsf3.c: Likewise.
22441 * soft-fp/divtf3.c: Likewise.
22442 * soft-fp/double.h: Likewise.
22443 * soft-fp/eqdf2.c: Likewise.
22444 * soft-fp/eqsf2.c: Likewise.
22445 * soft-fp/eqtf2.c: Likewise.
22446 * soft-fp/extenddftf2.c: Likewise.
22447 * soft-fp/extended.h: Likewise.
22448 * soft-fp/extendsfdf2.c: Likewise.
22449 * soft-fp/extendsftf2.c: Likewise.
22450 * soft-fp/extendxftf2.c: Likewise.
22451 * soft-fp/fixdfdi.c: Likewise.
22452 * soft-fp/fixdfsi.c: Likewise.
22453 * soft-fp/fixdfti.c: Likewise.
22454 * soft-fp/fixsfdi.c: Likewise.
22455 * soft-fp/fixsfsi.c: Likewise.
22456 * soft-fp/fixsfti.c: Likewise.
22457 * soft-fp/fixtfdi.c: Likewise.
22458 * soft-fp/fixtfsi.c: Likewise.
22459 * soft-fp/fixtfti.c: Likewise.
22460 * soft-fp/fixunsdfdi.c: Likewise.
22461 * soft-fp/fixunsdfsi.c: Likewise.
22462 * soft-fp/fixunsdfti.c: Likewise.
22463 * soft-fp/fixunssfdi.c: Likewise.
22464 * soft-fp/fixunssfsi.c: Likewise.
22465 * soft-fp/fixunssfti.c: Likewise.
22466 * soft-fp/fixunstfdi.c: Likewise.
22467 * soft-fp/fixunstfsi.c: Likewise.
22468 * soft-fp/fixunstfti.c: Likewise.
22469 * soft-fp/floatdidf.c: Likewise.
22470 * soft-fp/floatdisf.c: Likewise.
22471 * soft-fp/floatditf.c: Likewise.
22472 * soft-fp/floatsidf.c: Likewise.
22473 * soft-fp/floatsisf.c: Likewise.
22474 * soft-fp/floatsitf.c: Likewise.
22475 * soft-fp/floattidf.c: Likewise.
22476 * soft-fp/floattisf.c: Likewise.
22477 * soft-fp/floattitf.c: Likewise.
22478 * soft-fp/floatundidf.c: Likewise.
22479 * soft-fp/floatundisf.c: Likewise.
22480 * soft-fp/floatunsidf.c: Likewise.
22481 * soft-fp/floatunsisf.c: Likewise.
22482 * soft-fp/floatuntidf.c: Likewise.
22483 * soft-fp/floatuntisf.c: Likewise.
22484 * soft-fp/floatuntitf.c: Likewise.
22485 * soft-fp/fmadf4.c: Likewise.
22486 * soft-fp/fmasf4.c: Likewise.
22487 * soft-fp/fmatf4.c: Likewise.
22488 * soft-fp/gedf2.c: Likewise.
22489 * soft-fp/gesf2.c: Likewise.
22490 * soft-fp/getf2.c: Likewise.
22491 * soft-fp/ledf2.c: Likewise.
22492 * soft-fp/lesf2.c: Likewise.
22493 * soft-fp/letf2.c: Likewise.
22494 * soft-fp/muldf3.c: Likewise.
22495 * soft-fp/mulsf3.c: Likewise.
22496 * soft-fp/multf3.c: Likewise.
22497 * soft-fp/negdf2.c: Likewise.
22498 * soft-fp/negsf2.c: Likewise.
22499 * soft-fp/negtf2.c: Likewise.
22500 * soft-fp/op-1.h: Likewise.
22501 * soft-fp/op-2.h: Likewise.
22502 * soft-fp/op-4.h: Likewise.
22503 * soft-fp/op-8.h: Likewise.
22504 * soft-fp/op-common.h: Likewise.
22505 * soft-fp/quad.h: Likewise.
22506 * soft-fp/single.h: Likewise.
22507 * soft-fp/soft-fp.h: Likewise.
22508 * soft-fp/sqrtdf2.c: Likewise.
22509 * soft-fp/sqrtsf2.c: Likewise.
22510 * soft-fp/sqrttf2.c: Likewise.
22511 * soft-fp/subdf3.c: Likewise.
22512 * soft-fp/subsf3.c: Likewise.
22513 * soft-fp/subtf3.c: Likewise.
22514 * soft-fp/truncdfsf2.c: Likewise.
22515 * soft-fp/trunctfdf2.c: Likewise.
22516 * soft-fp/trunctfsf2.c: Likewise.
22517 * soft-fp/trunctfxf2.c: Likewise.
22518 * soft-fp/unorddf2.c: Likewise.
22519 * soft-fp/unordsf2.c: Likewise.
22520 * soft-fp/unordtf2.c: Likewise.
22522 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
22525 * misc/error.c (error_tail): Fix possible buffer overflow.
22527 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22530 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22533 2013-10-14 P. J. McDermott <pj@pehjota.net>
22536 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22537 testing pipefail option.
22539 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22541 * soft-fp/double.h: Indent preprocessor directives inside #if.
22542 * soft-fp/extended.h: Likewise.
22543 * soft-fp/op-2.h: Likewise.
22544 * soft-fp/op-4.h: Likewise.
22545 * soft-fp/op-common.h: Likewise.
22546 * soft-fp/quad.h: Likewise.
22547 * soft-fp/single.h: Likewise.
22548 * soft-fp/soft-fp.h: Likewise.
22550 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22552 * iconv/iconv_prog.c: Fix typos.
22553 * stdio-common/psiginfo-data.h: Likewise.
22555 2013-10-12 Reuben Thomas <rrt@sc3d.org>
22558 * locale/setlocale.c: Fix typo.
22560 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22563 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22564 signaling NaN arguments.
22565 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22566 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22569 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22570 unordered operands.
22571 * soft-fp/gesf2.c (__gesf2): Likewise.
22572 * soft-fp/getf2.c (__getf2): Likewise.
22573 * soft-fp/ledf2.c (__ledf2): Likewise.
22574 * soft-fp/lesf2.c (__lesf2): Likewise.
22575 * soft-fp/letf2.c (__letf2): Likewise.
22577 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22578 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22579 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22580 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22581 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22582 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22583 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22584 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22585 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22586 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22587 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22588 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22589 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22590 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22591 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22592 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22593 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22594 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22595 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22596 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22597 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22598 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22599 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22600 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22601 * soft-fp/floattidf.c (__floattidf): Likewise.
22602 * soft-fp/floattisf.c (__floattisf): Likewise.
22603 * soft-fp/floattitf.c (__floattitf): Likewise.
22604 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22605 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22606 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22607 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22608 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22609 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22610 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22611 * soft-fp/gesf2.c (__gesf2): Likewise.
22612 * soft-fp/getf2.c (__getf2): Likewise.
22613 * soft-fp/ledf2.c (__ledf2): Likewise.
22614 * soft-fp/lesf2.c (__lesf2): Likewise.
22615 * soft-fp/letf2.c (__letf2): Likewise.
22617 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22618 Undefine and redefine.
22619 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22620 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22621 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22622 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22623 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22624 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22625 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22626 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22627 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22628 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22629 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22630 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22631 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22632 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22633 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22636 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22637 without decrementing exponent if mantissa >= that for the
22638 denominator, not >.
22639 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22640 denominator, not >. Decrement exponent in < case instead of
22641 incrementing in >= case.
22642 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22643 without decrementing exponent if mantissa >= that for the
22644 denominator, not >.
22646 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22647 computing saturated result for unsigned overflow.
22649 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22650 Jeff Law <law@redhat.com>
22652 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22653 (atan2Mp): Add systemtap probe marker.
22654 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22655 (__ieee754_log): Add systemtap probe marker.
22656 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22657 (atanMp): Add systemtap probe marker.
22658 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22659 (tanMp): Add systemtap probe marker.
22660 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22661 (__slowexp): Add systemtap probe marker.
22662 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22663 (__slowpow): Add systemtap probe marker.
22664 * manual/probes.texi: Document probes.
22666 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
22669 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22671 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22673 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22674 written to buffer but not flushed.
22675 * libio/iofwrite_u.c: Likewise.
22676 * libio/iopadn.c: Return bytes returned even if EOF was
22678 * libio/iowpadn.c: Likewise.
22679 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22680 if _IO_padn does not write the whole buffer.
22681 [!COMPILE_WPRINTF] (PAD): Likewise.
22683 2013-10-10 David S. Miller <davem@davemloft.net>
22685 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22688 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22690 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22691 instead of FSF address.
22692 * soft-fp/fixdfti.c: Likewise.
22693 * soft-fp/fixsfti.c: Likewise.
22694 * soft-fp/fixtfti.c: Likewise.
22695 * soft-fp/fixunsdfti.c: Likewise.
22696 * soft-fp/fixunssfti.c: Likewise.
22697 * soft-fp/fixunstfti.c: Likewise.
22698 * soft-fp/floattidf.c: Likewise.
22699 * soft-fp/floattisf.c: Likewise.
22700 * soft-fp/floattitf.c: Likewise.
22701 * soft-fp/floatuntidf.c: Likewise.
22702 * soft-fp/floatuntisf.c: Likewise.
22703 * soft-fp/floatuntitf.c: Likewise.
22704 * soft-fp/trunctfxf2.c: Likewise.
22706 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22707 * soft-fp/fixdfti.c: Likewise.
22708 * soft-fp/fixsfti.c: Likewise.
22709 * soft-fp/fixtfti.c: Likewise.
22710 * soft-fp/fixunsdfti.c: Likewise.
22711 * soft-fp/fixunssfti.c: Likewise.
22712 * soft-fp/fixunstfti.c: Likewise.
22713 * soft-fp/floattidf.c: Likewise.
22714 * soft-fp/floattisf.c: Likewise.
22715 * soft-fp/floattitf.c: Likewise.
22716 * soft-fp/floatuntidf.c: Likewise.
22717 * soft-fp/floatuntisf.c: Likewise.
22718 * soft-fp/floatuntitf.c: Likewise.
22719 * soft-fp/trunctfxf2.c: Likewise.
22721 2013-10-10 David S. Miller <davem@davemloft.net>
22723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22725 2013-10-10 Joseph Myers <joseph@codsourcery.com>
22727 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22728 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22729 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22730 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22731 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22732 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22733 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22735 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22736 for NaNs before doing comparisons on argument.
22737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22740 2013-10-10 Will Newton <will.newton@linaro.org>
22742 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22743 passed to _int_memalign does not overflow.
22745 2013-10-10 Torvald Riegel <triegel@redhat.com>
22747 * scripts/bench.pl: Add include-sources directive.
22748 * benchtests/README: Update documentation.
22750 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22752 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22753 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22754 instead of FP_INIT_ROUNDMODE.
22755 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22756 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22759 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22760 copy class of input value.
22761 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22762 not handle exceptions.
22763 * soft-fp/negsf2.c (__negsf2): Likewise.
22764 * soft-fp/negtf2.c (__negtf2): Likewise.
22765 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22767 2013-10-09 Joseph Myers <joseph@codesourcery.com>
22769 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22770 semicolon. From Linux kernel.
22772 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22774 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22776 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22779 * manual/socket.texi: Added statement about buffer
22780 for gethostbyname2_r.
22782 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22784 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22785 Use .p2align directive instead, throughout.
22786 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22787 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22788 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22789 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22790 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22791 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22792 * sysdeps/x86_64/strchr.S: Likewise.
22793 * sysdeps/x86_64/strrchr.S: Likewise.
22795 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22797 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22799 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22801 * sysdeps/generic/math_private.h (__mpsin1): Remove
22803 (__mpcos1): Likewise.
22804 (__mpsin): New argument __range_reduce.
22805 (__mpcos): Likewise.
22806 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22807 (slow): Use __mpsin and __mpcos.
22811 (sloww1): Likewise.
22812 (sloww2): Likewise.
22813 (bsloww): Likewise.
22814 (bsloww1): Likewise.
22815 (bsloww2): Likewise.
22816 (cslow2): Likewise.
22817 (csloww): Likewise.
22818 (csloww1): Likewise.
22819 (csloww2): Likewise.
22820 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22821 range_reduce. Merge in __mpsin1.
22822 (__mpcos): Likewise.
22823 (__mpsin1): Remove.
22824 (__mpcos1): Likewise.
22826 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22828 * locale/loadlocale.c (_nl_intern_locale_data): Use
22830 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22831 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22832 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22833 obstack data is appropriately aligned.
22834 (obstack_int32_grow_fast): Likewise.
22835 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22836 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22837 (add_locale_uint32_array): Likewise.
22839 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22841 * benchtests/Makefile: Remove ARGLIST and RET variables.
22842 ($(objpfx)bench-%.c): Pass only function name to the script.
22843 * benchtests/README: Update documentation.
22844 * benchtests/acos-inputs: Add new directives.
22845 * benchtests/acosh-inputs: Likewise.
22846 * benchtests/asin-inputs: Likewise.
22847 * benchtests/asinh-inputs: Likewise.
22848 * benchtests/atan-inputs: Likewise.
22849 * benchtests/atanh-inputs: Likewise.
22850 * benchtests/cos-inputs: Likewise.
22851 * benchtests/cosh-inputs: Likewise.
22852 * benchtests/exp-inputs: Likewise.
22853 * benchtests/log-inputs: Likewise.
22854 * benchtests/pow-inputs: Likewise.
22855 * benchtests/rint-inputs: Likewise.
22856 * benchtests/sin-inputs: Likewise.
22857 * benchtests/sinh-inputs: Likewise.
22858 * benchtests/tan-inputs: Likewise.
22859 * benchtests/tanh-inputs: Likewise.
22860 * scripts/bench.pl: Add support for new directives.
22862 2013-10-07 Alan Modra <amodra@gmail.com>
22864 * README: Fix careless merge.
22866 2013-10-05 Alan Modra <amodra@gmail.com>
22868 * NEWS: Mention powerpc64le support and bugs fixed.
22869 * README: Both big-endian and little-endian powerpc64 supported.
22871 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22873 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22874 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22875 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22876 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22878 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22880 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22883 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22885 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22886 Move -mhard-float appending from
22887 ports/sysdeps/powerpc/powerpc32/Makefile.
22888 [$(with-fp) = yes] (ASFLAGS): Likewise.
22889 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22890 * sysdeps/powerpc/nofpu: Move directory from
22891 ports/sysdeps/powerpc/nofpu.
22892 * sysdeps/powerpc/soft-fp: Move directory from
22893 ports/sysdeps/powerpc/soft-fp.
22894 * sysdeps/powerpc/powerpc32/405: Move directory from
22895 ports/sysdeps/powerpc/powerpc32/405.
22896 * sysdeps/powerpc/powerpc32/440: Move directory from
22897 ports/sysdeps/powerpc/powerpc32/440.
22898 * sysdeps/powerpc/powerpc32/464: Move directory from
22899 ports/sysdeps/powerpc/powerpc32/464.
22900 * sysdeps/powerpc/powerpc32/476: Move directory from
22901 ports/sysdeps/powerpc/powerpc32/476.
22902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22903 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22905 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22907 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22909 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22911 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22912 * README: Update for powerpc-*-linux-gnu software floating point
22915 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22916 case to powerpc/powerpc32*.
22917 * sysdeps/unix/sysv/linux/configure: Regenerated.
22919 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22920 (_FPU_MASK_OM): Define as 0x04.
22921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22929 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22932 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22935 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22936 and setcontext_e500.
22938 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22940 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22942 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22944 * manual/threads.texi (Default Thread Attributes): Fix typo.
22946 2013-10-04 Will Newton <will.newton@linaro.org>
22948 * malloc/Makefile: Add tst-memalign.
22949 * malloc/tst-memalign.c: New file.
22951 * malloc/tst-posix_memalign.c: Add comments.
22952 (do_test): Add comments and call free on all potentially
22953 allocated pointers. Add space after cast.
22955 * malloc/tst-pvalloc.c: Add comments.
22956 (do_test): Add comments and call free on all potentially
22957 allocated pointers. Remove duplicate check for NULL pointer.
22958 Add space after cast.
22960 * malloc/tst-valloc.c: Add comments.
22961 (do_test): Add comments and call free on all potentially
22962 allocated pointers. Remove duplicate check for NULL pointer.
22963 Add space after cast.
22965 2013-10-04 Alan Modra <amodra@gmail.com>
22967 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22968 Use stdint types in rather than __attribute__((mode())).
22969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22971 2013-10-04 Alan Modra <amodra@gmail.com>
22973 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22974 Correct handling of unaligned relocs for little-endian.
22975 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22977 2013-10-04 Alan Modra <amodra@gmail.com>
22979 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22980 * configure: Regenerate.
22981 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22982 * shlib-versions: Likewise.
22984 2013-10-04 Alan Modra <amodra@gmail.com>
22986 * string/tester.c (test_memrchr): Increment reported test cycle.
22988 2013-10-04 Alan Modra <amodra@gmail.com>
22990 * string/test-memcpy.c (do_one_test): When reporting errors, print
22991 string address and don't overrun end of string.
22993 2013-10-04 Alan Modra <amodra@gmail.com>
22995 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22996 insrdi. Make better use of reg selection to speed exit slightly.
22997 Schedule entry path a little better. Remove useless "are we done"
22998 checks on entry to main loop. Handle wrapping around zero address.
22999 Correct main loop count. Handle single left-over word from main
23000 loop inline rather than by using loop_small. Remove extra word
23001 case in loop_small caused by wrong loop count. Add little-endian
23003 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23004 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23006 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23007 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23008 support. Avoid rlwimi.
23009 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23011 2013-10-04 Alan Modra <amodra@gmail.com>
23013 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23014 insrdi. Formatting.
23015 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23016 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23017 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23018 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23019 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23020 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23022 2013-10-04 Alan Modra <amodra@gmail.com>
23024 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23025 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23026 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23027 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23028 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23029 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23030 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23031 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23032 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23033 use of regs. Use power7 mtocrf. Tidy function tails.
23035 2013-10-04 Alan Modra <amodra@gmail.com>
23037 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23038 Formatting. Consistently use rXXX register defines or rN defines.
23039 Use early exit labels that avoid restoring unused non-volatile regs.
23040 Make cr field use more consistent with rWORDn compares. Rename
23041 regs used as shift registers for unaligned loop, using rN defines
23042 for short lifetime/multiple use regs.
23043 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23044 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23045 addi 1,1,64 to pop stack frame. Simplify return value code.
23046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23048 2013-10-04 Alan Modra <amodra@gmail.com>
23050 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23051 support. Correct typos, formatting. Optimize tail. Use insrdi
23052 rather than rlwimi.
23053 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23054 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23055 little-endian support. Correct typos.
23056 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23057 rather than rlwimi.
23058 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23059 in loop and entry code to keep "and." results.
23060 (strchr): Add little-endian support. Comment. Move cntlzd
23062 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23064 2013-10-04 Alan Modra <amodra@gmail.com>
23066 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23067 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23068 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23069 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23071 2013-10-04 Alan Modra <amodra@gmail.com>
23073 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23074 (rTMP): Define as r11.
23075 (strcmp): Add little-endian support. Optimise tail.
23076 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23077 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23078 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23079 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23082 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23084 2013-10-04 Alan Modra <amodra@gmail.com>
23086 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23087 little-endian support. Remove unnecessary "are we done" tests.
23088 Handle "s" wrapping around zero and extremely large "size".
23089 Correct main loop count. Handle single left-over word from main
23090 loop inline rather than by using small_loop. Correct comments.
23091 Delete "zero" tail, use "end_max" instead.
23092 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23094 2013-10-04 Alan Modra <amodra@gmail.com>
23096 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23097 support. Don't branch over align.
23098 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23099 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23100 support. Rearrange tmp reg use to suit. Comment.
23101 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23103 2013-10-04 Alan Modra <amodra@gmail.com>
23105 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23107 2013-10-04 Alan Modra <amodra@gmail.com>
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23110 conditional form of branch and link when obtaining pc.
23111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23113 2013-10-04 Alan Modra <amodra@gmail.com>
23115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23120 2013-10-04 Alan Modra <amodra@gmail.com>
23122 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23123 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23124 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23125 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23126 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23127 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23128 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23129 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23130 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23131 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23133 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23134 Alistair Popple <alistair@ozlabs.au.ibm.com>
23135 Alan Modra <amodra@gmail.com>
23138 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23139 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23140 _dl_hwcap access for little-endian.
23141 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23142 destroy vmx regs when saving unaligned.
23143 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23144 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23145 destroy vmx regs when saving unaligned.
23147 2013-10-04 Alan Modra <amodra@gmail.com>
23149 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23150 Don't use a union to pack hi/low value.
23152 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23154 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23156 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23157 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23158 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23159 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23160 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23162 2013-10-04 Alan Modra <amodra@gmail.com>
23164 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23165 constants to usual value for .cst8 section, and remove redundant
23167 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23168 constant for 0x1p52. Load little-endian words of double from
23169 correct stack offsets.
23171 2013-10-04 Alan Modra <amodra@gmail.com>
23173 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23174 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23175 words of double from correct stack offsets.
23176 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23177 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23178 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23179 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23180 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23181 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23182 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23183 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23184 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23185 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23186 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23187 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23188 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23189 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23190 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23191 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23192 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23194 2013-10-04 Alan Modra <amodra@gmail.com>
23196 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23197 64-bit int/double union.
23198 (_FPU_SETCW): Likewise.
23199 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23200 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23202 2013-10-04 Alan Modra <amodra@gmail.com>
23204 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23205 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23207 2013-10-04 Alan Modra <amodra@gmail.com>
23209 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23210 use vector int constants.
23211 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23213 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23215 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23216 array with long long.
23217 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23218 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23219 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23220 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23221 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23222 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23223 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23224 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23225 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23226 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23227 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23228 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23229 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23231 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23233 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23234 (__signbit): Likewise. Correct for little-endian.
23235 (__signbitl): Call __signbit.
23236 (lrint): Correct for little-endian.
23237 (lrintf): Call lrint.
23239 2013-10-04 Alan Modra <amodra@gmail.com>
23241 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23242 union 32-bit int array member with 64-bit int array.
23243 (t515, tm256): Double rather than long double.
23244 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23246 2013-10-04 Alan Modra <amodra@gmail.com>
23248 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23250 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23251 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23252 version of math_ldbl.h.
23254 2013-10-04 Alan Modra <amodra@gmail.com>
23256 [BZ #15734], [BZ #15735]
23257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23258 all uses of ieee875 long double macros and unions. Simplify test
23259 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23260 ldbl_extract_mantissa value for ix,iy exponents. Properly
23261 normalize after ldbl_extract_mantissa, and don't add hidden bit
23262 already handled. Don't treat low word of ieee854 mantissa like
23263 low word of IBM long double and mask off bit when testing for
23265 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23266 all uses of ieee875 long double macros and unions. Simplify tests
23267 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23268 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23269 two1022, instead use their values. Recognise that tests for large
23270 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23271 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23272 Rewrite all uses of ieee875 long double macros and unions. Simplify
23273 test for 0.0L and nan. Correct negation.
23274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23275 ieee875 long double macros and unions. Correct output for large
23276 magnitude x. Correct absolute value calculation.
23277 (__erfcl): Likewise.
23278 * math/libm-test.inc: Add tests for errors discovered in IBM long
23279 double versions of fmodl, remainderl, erfl and erfcl.
23281 2013-10-04 Alan Modra <amodra@gmail.com>
23283 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23284 all uses of ieee854 long double macros and unions. Simplify tests
23285 for long doubles that are fully specified by the high double.
23286 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23288 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23289 Remove dead code too.
23290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23291 (__ieee754_ynl): Likewise.
23292 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23295 Remove dead code too.
23296 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23297 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23299 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23301 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23303 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23304 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23305 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23306 Comment on variable precision.
23307 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23308 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23310 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23311 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23312 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23313 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23314 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23316 2013-10-04 Alan Modra <amodra@gmail.com>
23318 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23319 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23320 all uses of ieee854 long double macros and unions.
23321 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23322 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23324 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23325 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23326 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23328 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23329 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23330 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23331 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23332 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23333 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23334 Simplify sign and nan test too.
23335 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23336 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23337 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23338 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23340 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23341 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23343 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23344 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23345 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23346 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23347 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23350 2013-10-04 Alan Modra <amodra@gmail.com>
23352 * stdio-common/printf_size.c (__printf_size): Don't use
23353 union ieee854_long_double in fpnum union.
23354 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23355 signbit macro to retrieve sign from long double.
23356 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23357 retrieve sign from long double.
23358 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23359 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23360 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23361 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23362 * math/test-misc.c (main): Don't use union ieee854_long_double.
23364 2013-10-04 Alan Modra <amodra@gmail.com>
23367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23368 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23369 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23370 calculation. Remove unnecessary test for denormal exponent.
23371 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23372 Correct handling of denormals. Avoid undefined shift behaviour.
23373 Correct normalisation of low mantissa when low double is denormal.
23374 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23375 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23376 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23377 Correct normalisation of low mantissa. Test for overflow of high
23378 mantissa and normalise.
23379 (ldbl_nearbyint): Use more readable constant for two52.
23380 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23381 (__mpn_construct_long_double): Fix test for overflow of high
23382 mantissa and correct normalisation. Avoid undefined shift.
23384 2013-10-04 Alan Modra <amodra@gmail.com>
23386 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23387 (union ibm_extended_long_double): Define as an array of ieee754_double.
23388 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23389 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23390 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23391 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23395 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23398 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23400 2013-10-03 Joseph Myers <joseph@codesourcery.com>
23402 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23403 page size instead of calling getpagesize.
23405 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23406 (LOCFILE_ALIGN_MASK): Likewise.
23407 (LOCFILE_ALIGN_UP): Likewise.
23408 (LOCFILE_ALIGNED_P): Likewise.
23409 * locale/programs/ld-collate.c (collate_output): Use the new
23410 macros instead of __alignof__ (int32_t).
23411 * locale/weight.h (findidx): Likewise.
23413 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
23416 * manual/string.texi: Fix strncat and wcsncat.
23418 2013-10-03 Brooks Moses <bmoses@google.com>
23421 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23422 * Makerules: ...here, and adjust associated comments.
23424 2013-10-02 Will Newton <will.newton@linaro.org>
23426 * malloc/Makefile: Add tst-pvalloc.
23427 * malloc/tst-pvalloc.c: New file.
23429 2013-10-02 Will Newton <will.newton@linaro.org>
23431 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23432 improve test coverage.
23434 2013-10-02 Will Newton <will.newton@linaro.org>
23436 * malloc/Makefile: Add tst-posix_memalign.
23437 * malloc/tst-posix_memalign.c: New file.
23439 2013-10-01 Eric Blake <eblake@redhat.com>
23441 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23442 Use __THROWNL rather than __THROW on static functions.
23444 2013-09-30 Petr Machata <pmachata@redhat.com>
23446 * elf/elf.h (R_AARCH64_ABS16): New macro.
23447 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23448 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23449 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23450 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23451 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23452 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23453 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23454 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23455 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23456 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23457 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23458 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23459 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23460 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23461 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23462 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23463 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23464 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23465 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23466 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23467 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23468 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23469 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23470 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23471 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23472 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23473 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23474 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23475 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23476 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23477 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23478 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23479 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23480 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23481 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23482 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23483 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23484 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23485 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23486 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23487 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23488 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23489 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23490 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23491 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23492 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23493 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23494 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23495 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23496 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23497 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23498 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23499 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23500 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23501 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23502 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23503 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23504 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23505 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23506 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23507 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23508 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23509 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23510 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23511 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23512 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23513 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23514 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23515 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23516 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23517 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23518 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23519 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23520 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23521 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23522 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23523 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23524 (R_AARCH64_TLSDESC_LDR): Likewise.
23525 (R_AARCH64_TLSDESC_ADD): Likewise.
23526 (R_AARCH64_TLSDESC_CALL): Likewise.
23528 2013-09-30 Andreas Schwab <schwab@suse.de>
23531 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23532 the nss database lookup.
23533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23536 2013-09-28 Mike Frysinger <vapier@gentoo.org>
23538 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23540 2013-09-28 P. J. McDermott <pj@pehjota.net>
23542 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23543 ${Bash-specific parameter/pattern/string} parameter expansion.
23544 * sysdeps/unix/make-syscalls.sh: Likewise.
23546 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23548 * sysdeps/sh/stackguard-macros.h: New file.
23550 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
23552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23554 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23555 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23556 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23557 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23559 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23561 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23562 Fix thread ID register.
23564 2013-09-25 Joseph Myers <joseph@codesourcery.com>
23566 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23567 [POSIX || UNIX98]: Require rather than permitting all symbols from
23569 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23570 element of struct sched_param.
23571 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23572 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23573 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23574 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23577 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23579 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23580 argument calculation.
23582 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23584 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23586 [POSIX] (pthread_attr_t): Do not require type.
23587 [POSIX] (pthread_cond_t): Likewise.
23588 [POSIX] (pthread_condattr_t): Likewise.
23589 [POSIX] (pthread_key_t): Likewise.
23590 [POSIX] (pthread_mutex_t): Likewise.
23591 [POSIX] (pthread_mutexattr_t): Likewise.
23592 [POSIX] (pthread_once_t): Likewise.
23593 [POSIX] (pthread_t): Likewise.
23594 [POSIX-based standards] (pthread_atfork): Expect function.
23596 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23597 Richard Sandiford <richard@codesourcery.com>
23599 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23600 (swap_endianness_p): New extern variable.
23601 (set_big_endian): New inline function.
23602 (maybe_swap_uint32): Likewise.
23603 (maybe_swap_uint32_array): Likewise.
23604 (maybe_swap_uint32_obstack): Likewise.
23605 * locale/programs/locfile.c: Include <stdbool.h>.
23606 (swap_endianness_p): New variable.
23607 (add_locale_uint32): Call maybe_swap_uint32.
23608 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23609 (write_locale_data): Call maybe_swap_uint32_array.
23610 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23612 (obstack_int32_grow_fast): Likewise.
23613 (output_weightwc): Call maybe_swap_uint32_obstack.
23614 (collate_output): Likewise.
23615 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23616 (OPT_LITTLE_ENDIAN): Likewise.
23617 (options): Add --little-endian and --big-endian options.
23618 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23619 * locale/programs/locarchive.c: Include "locfile.h".
23623 (create_archive): Use the new macros to access fields of
23624 structures directly mapped from or written to locale archives.
23625 (oldlocrecentcmp): Likewise.
23626 (enlarge_archive): Likewise.
23627 (insert_name): Likewise.
23628 (add_alias): Likewise.
23629 (add_locale): Likewise.
23630 (delete_locales_from_archive): Likewise.
23631 (show_archive_content): Likewise.
23632 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23635 2013-09-24 Roland McGrath <roland@hack.frob.com>
23637 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23638 http://www.gnu.org/doc/freemanuals.texi.
23639 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23641 2013-09-24 Will Newton <will.newton@linaro.org>
23643 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23646 2013-09-23 Joseph Myers <joseph@codesourcery.com>
23648 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23651 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23653 * manual/threads.texi (POSIX Threads): Fix a typo.
23655 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23658 * string/tst-strcoll-overflow.c: New test case.
23659 * string/Makefile (xtests): Add tst-strcoll-overflow.
23660 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23661 cache if string sizes may cause integer overflow.
23664 * string/strcoll_l.c (coll_seq): New members rule, idx,
23665 save_idx and back_us.
23666 (get_next_seq_nocache): New function.
23667 (do_compare_nocache): New function.
23668 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23671 2013-09-23 Carlos O'Donell <carlos@redhat.com>
23674 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23675 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23676 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23679 * elf/Makefile (tests): Add tst-ptrguard1.
23680 (tests-static): Add tst-ptrguard1-static.
23681 (tst-ptrguard1-ARGS): Define.
23682 (tst-ptrguard1-static-ARGS): Define.
23683 * elf/tst-ptrguard1.c: New file.
23684 * elf/tst-ptrguard1-static.c: New file.
23685 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23686 * sysdeps/i386/stackguard-macros.h: Likewise.
23687 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23688 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23689 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23690 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23691 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23692 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23694 2013-09-23 Hector Marco <hecmargi@upv.es>
23695 Ismael Ripoll <iripoll@disca.upv.es>
23696 Carlos O'Donell <carlos@redhat.com>
23699 * sysdeps/generic/stackguard-macros.h: Define
23700 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23701 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23702 Define __pointer_chk_guard_local.
23703 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23704 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23706 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23709 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23711 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23713 * include/string.h (__ffs): Declare as hidden.
23714 * string/ffs.c (__ffs): Define as hidden.
23715 * sysdeps/i386/ffs.c (__ffs): Likewise.
23716 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23717 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23718 * sysdeps/s390/ffs.c (__ffs): Likewise.
23719 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23721 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
23723 * NEWS: Mention malloc probes.
23725 * malloc/arena.c (new_heap): New memory_heap_new probe.
23726 (grow_heap): New memory_heap_more probe.
23727 (shrink_heap): New memory_heap_less probe.
23728 (heap_trim): New memory_heap_free probe.
23729 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23730 (systrim): New memory_sbrk_less probe.
23731 * manual/probes.texi: Document them.
23733 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23734 * manual/probes.texi: Document it.
23736 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23737 (__libc_realloc): Add memory_realloc_retry probe.
23738 (__libc_memalign): Add memory_memalign_retry probe.
23739 (__libc_valloc): Add memory_valloc_retry probe.
23740 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23741 (__libc_calloc): Add memory_calloc_retry probe.
23742 * manual/probes.texi: Document them.
23744 * malloc/arena.c (get_free_list): Add probe
23745 memory_arena_reuse_free_list.
23746 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23747 and memory_arena_reuse.
23748 (arena_get2) [!PER_THREAD]: Likewise.
23749 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23750 memory_arena_reuse_realloc.
23751 * manual/probes.texi: Document them.
23753 * malloc/malloc.c (__libc_free): Add
23754 memory_mallopt_free_dyn_thresholds probe.
23755 (__libc_mallopt): Add multiple memory_mallopt probes.
23756 * manual/probes.texi: Document them.
23758 * malloc/malloc.c: Include stap-probe.h.
23759 (__libc_mallopt): Add memory_mallopt probe.
23760 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23761 * manual/probes.texi: New.
23762 * manual/Makefile (chapters): Add probes.
23763 * manual/threads.texi: Set next node.
23765 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23767 [BZ #15963, #13985]
23768 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23769 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23770 Add `Chinese' to `nan' entry name.
23772 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23774 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23775 (POLYNOMIAL): Likewise.
23776 (TAYLOR_SINCOS): Likewise.
23777 (TAYLOR_SLOW): Likewise.
23778 (__sin): Use TAYLOR_SINCOS.
23780 (slow): Use TAYLOR_SLOW.
23782 (bsloww): Likewise.
23783 (csloww): Likewise.
23785 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23787 * stdlib/strtod_l.c: Fix buffer overrun.
23789 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23791 * benchtests/Makefile (bench): Add sincos.
23792 * benchtests/bench-sincos.c: New file.
23794 * math/libm-test.inc (cos_test_data): New test inputs.
23795 (sin_test_data): Likewise.
23797 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23803 (sloww1): Likewise.
23804 (sloww2): Likewise.
23805 (bsloww1): Likewise.
23806 (bsloww2): Likewise.
23807 (cslow2): Likewise.
23808 (csloww1): Likewise.
23809 (csloww2): Likewise.
23811 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23820 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23822 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23823 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23824 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23825 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23826 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23827 * elf/cache.c (print_entry): Handle the new cache flags.
23829 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23830 Aldy Hernandez <aldyh@redhat.com>
23832 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23833 Change condition to [_SOFT_FLOAT].
23834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23846 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23849 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23852 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23854 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23855 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23856 (__longjmp): Use LOAD_GP to load saved GPRs.
23857 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23858 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23859 (__sigsetjmp): Use SAVE_GP to save GPRs.
23861 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23862 Do not append -msoft-float.
23863 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23865 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23867 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23869 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23872 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23873 (_FPU_GETCW): Use initial "__" on variable and field names but not
23874 on macro parameter name.
23875 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23876 parentheses around reference to macro parameter.
23878 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23880 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23882 (ctype_startup): Use uint32_t in cast and sizeof for
23885 2013-09-11 Jia Liu <proljc@gmail.com>
23887 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23889 [__FreeBSD__]: Likewise.
23891 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23894 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23895 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23896 (strchr): Remove __strchr_sse42 ifunc selection.
23897 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23898 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23900 2013-09-11 Will Newton <will.newton@linaro.org>
23902 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23903 parameter to RES. Remove hardcoded 1000 value.
23904 * benchtests/bench-skeleton.c (main): Pass RES parameter
23905 to TIMING_INIT and multiply result by 1000.
23907 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23911 2013-09-11 Andreas Schwab <schwab@suse.de>
23913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23915 (O_TMPFILE) [__USE_GNU]: Define.
23916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23919 2013-09-11 Will Newton <will.newton@linaro.org>
23922 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23925 2013-09-11 Will Newton <will.newton@linaro.org>
23928 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23931 2013-09-11 Will Newton <will.newton@linaro.org>
23934 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23937 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23939 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23940 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23941 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23942 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23943 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23945 2013-09-10 Allan McRae <allan@archlinux.org>
23948 * manual/arith.texi (Parsing of Floats): Clarify
23952 * manual/install.texi (Running make install): Mention
23954 * INSTALL: Regenerated.
23956 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23958 * csu/init-first.c (_init): Remove the !SHARED condition around
23959 FPU control word initialization.
23960 * elf/dl-support.c (_dl_fpu_control): New variable.
23961 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23962 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23963 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23964 * math/test-fpucw-static.c: New file.
23965 * math/test-fpucw-ieee.c: New file.
23966 * math/test-fpucw-ieee-static.c: New file.
23967 * math/Makefile (tests): Add `test-fpucw-ieee' and
23969 (tests-static): New variable.
23970 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23972 [($(build-shared),yes)]
23973 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23975 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23978 2013-09-09 Allan McRae <allan@archlinux.org>
23981 * manual/string.texi (Collation Functions): Fix typo in
23983 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23986 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23989 * libio/memstream.c (open_memstream): Fix memory leak.
23990 * libio/wmemstream.c (open_wmemstream): Likewise.
23993 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23995 2013-09-09 Will Newton <will.newton@linaro.org>
23997 * malloc/Makefile: Add tst-realloc to tests.
23998 * malloc/tst-realloc.c: New file.
24000 2013-09-09 Allan McRae <allan@archlinux.org>
24003 * COPYING: Update from GNU website to fix FSF address.
24004 * COPYING.LIB: Likewise.
24006 2013-09-06 David S. Miller <davem@davemloft.net>
24008 * po/zh_TW.po: Update Chinese (traditional) translation from
24009 translation project.
24011 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24012 Joseph Myers <joseph@codesourcery.com>
24014 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24016 (obstack_chunk_alloc): New macro.
24017 (obstack_chunk_free): Likewise.
24018 (record_offset): New function.
24019 (init_locale_data): Likewise.
24020 (align_locale_data): Likewise.
24021 (add_locale_empty): Likewise.
24022 (add_locale_raw_data): Likewise.
24023 (add_locale_raw_obstack): Likewise.
24024 (add_locale_string): Likewise.
24025 (add_locale_wstring): Likewise.
24026 (add_locale_uint32): Likewise.
24027 (add_locale_uint32_array): Likewise.
24028 (add_locale_char): Likewise.
24029 (start_locale_structure): Likewise.
24030 (end_locale_structure): Likewise.
24031 (start_locale_prelude): Likewise.
24032 (end_locale_prelude): Likewise.
24033 (write_locale_data): Take locale_file structure rather than an
24035 * locale/programs/locfile.h: Include "obstack.h".
24036 (struct locale_file): Change to store locale file contents instead
24038 (init_locale_data): New prototype.
24039 (align_locale_data): Likewise.
24040 (add_locale_empty): Likewise.
24041 (add_locale_raw_data): Likewise.
24042 (add_locale_raw_obstack): Likewise.
24043 (add_locale_string): Likewise.
24044 (add_locale_wstring): Likewise.
24045 (add_locale_uint32): Likewise.
24046 (add_locale_uint32_array): Likewise.
24047 (add_locale_char): Likewise.
24048 (start_locale_structure): Likewise.
24049 (end_locale_structure): Likewise.
24050 (start_locale_prelude): Likewise.
24051 (end_locale_prelude): Likewise.
24052 (write_locale_data): Update prototype.
24053 * locale/programs/3level.h (struct TABLE): Remove result field.
24054 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24055 Use new locale_file interface.
24056 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24057 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24058 * locale/programs/ld-address.c (address_output): Use new
24059 locale_file interface.
24060 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24062 (collate_finish): Don't call collseq_table_finalize.
24063 (collate_output): Use new locale_file interface.
24064 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24066 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24067 (TABLE): Move defines earlier in file.
24068 (ELEMENT): Likewise.
24069 (DEFAULT): Likewise.
24070 (wctrans_table_add): Move macro and inline function earlier in
24072 (struct wctype_table): Move type earlier in file.
24073 (add_locale_wctype_table): New static prototype.
24074 (struct locale_ctype_t): Use logical types instead of struct iovec
24075 pointers for members.
24076 (ctype_output): Use new locale_file interface.
24077 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24078 new locale_file interface.
24079 (allocate_arrays): Update for use of new locale_file interface.
24080 * locale/programs/ld-identification.c (identification_output): Use
24081 new locale_file interface.
24082 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24083 * locale/programs/ld-messages.c (messages_output): Likewise.
24084 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24085 * locale/programs/ld-name.c (name_output): Likewise.
24086 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24087 * locale/programs/ld-paper.c (paper_output): Likewise.
24088 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24089 * locale/programs/ld-time.c (time_output): Likewise.
24091 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24093 * benchtests/Makefile: Add memrchr benchmark.
24094 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24095 benchmark as memrchr.
24096 * benchtests/bench-memrchr-ifunc.c: New file.
24097 * benchtests/bench-memrchr.c: New file.
24099 2013-09-06 Will Newton <will.newton@linaro.org>
24101 * benchtests/Makefile (string-bench): Add memcpy.
24103 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24104 Cong Wang <amwang@redhat.com>
24107 * sysdeps/unix/sysv/linux/bits/in.h
24108 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24109 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24110 before __USE_KERNEL_IPV6_DEFS uses.
24111 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24113 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24114 sockaddr_in6, or ipv6_mreq.
24116 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24118 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24119 memory access for final bytes in some large inputs.
24120 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24122 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24124 * string/test-memrchr.c: New file.
24125 * string/test-memrchr-ifunc.c: New file.
24126 * string/Makefile: Add new memrchr testcase.
24128 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24130 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24131 fanotify_init returns EPERM.
24133 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24135 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24137 (top level): Treat second token from macro or constant entries for
24138 allowed headers as allowed.
24139 * include/complex.h: Condition internal declarations on
24141 * include/fenv.h: Condition include of <stdbool.h> and internal
24142 declarations on [!_ISOMAC].
24144 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24147 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24149 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24151 * configure.in (--enable-versioning): Remove configure option.
24152 (libc_cv_asm_symver_directive): Remove configure test.
24153 (libc_cv_ld_version_script_option): Likewise.
24154 (VERSIONING): Remove variable and AC_SUBST.
24155 (DO_VERSIONING): Remove AC_DEFINE.
24156 * configure: Regenerated.
24157 * config.h.in (DO_VERSIONING): Remove macro.
24158 * Makerules [$(versioning) = yes]: Change conditionals to
24159 [$(build-shared) = yes].
24160 * config.make.in (versioning): Remove variable.
24161 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24162 [$(build-shared) = yes].
24163 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24164 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24165 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24166 [$(build-shared) = yes].
24167 * extra-lib.mk [$(versioning) = yes]: Likewise.
24168 * hurd/Makefile [$(versioning) = yes]: Likewise.
24169 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24171 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24173 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24174 [SHARED && !NO_HIDDEN].
24175 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24177 [SHARED && DO_VERSIONING]: Likewise..
24178 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24179 [$(build-shared) = yes].
24180 * manual/install.texi (--disable-versioning): Remove
24182 * INSTALL: Regenerated.
24183 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24185 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24186 [$(build-shared) = yes].
24187 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24188 * sysdeps/i386/i686/multiarch/strstr-c.c
24189 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24190 [SHARED && !NO_HIDDEN].
24191 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24192 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24193 * sysdeps/powerpc/powerpc32/dl-machine.c
24194 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24195 * sysdeps/powerpc/powerpc32/sysdep.h
24196 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24197 to [SHARED && PIC && !NO_HIDDEN].
24198 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24199 conditional to [SHARED].
24201 2013-09-04 Will Newton <will.newton@linaro.org>
24203 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24204 * benchtests/bench-string.h: Include bench-timing.h instead
24205 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24206 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24207 call to HP_TIMING_DIFF_INIT.
24208 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24209 instead of hp-timing.h macros.
24210 * benchtests/bench-memchr.c: Likewise.
24211 * benchtests/bench-memcmp.c: Likewise.
24212 * benchtests/bench-memcpy.c: Likewise.
24213 * benchtests/bench-memmem.c: Likewise.
24214 * benchtests/bench-memmove.c: Likewise.
24215 * benchtests/bench-memset.c: Likewise.
24216 * benchtests/bench-rawmemchr.c: Likewise.
24217 * benchtests/bench-strcasecmp.c: Likewise.
24218 * benchtests/bench-strcasestr.c: Likewise.
24219 * benchtests/bench-strcat.c: Likewise.
24220 * benchtests/bench-strchr.c: Likewise.
24221 * benchtests/bench-strcmp.c: Likewise.
24222 * benchtests/bench-strcpy.c: Likewise.
24223 * benchtests/bench-strcpy_chk.c: Likewise.
24224 * benchtests/bench-strlen.c: Likewise.
24225 * benchtests/bench-strncasecmp.c: Likewise.
24226 * benchtests/bench-strncat.c: Likewise.
24227 * benchtests/bench-strncmp.c: Likewise.
24228 * benchtests/bench-strncpy.c: Likewise.
24229 * benchtests/bench-strnlen.c: Likewise.
24230 * benchtests/bench-strpbrk.c: Likewise.
24231 * benchtests/bench-strrchr.c: Likewise.
24232 * benchtests/bench-strspn.c: Likewise.
24233 * benchtests/bench-strstr.c: Likewise.
24235 2013-09-04 Will Newton <will.newton@linaro.org>
24237 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24239 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24242 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24243 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24244 * math/libm-test.inc (lgamma_test_data): Add more tests.
24245 * sysdeps/i386/fpu/libm-test-ulps: Update.
24246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24248 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24250 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24251 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24254 Add strcmp-sse2-unaligned
24255 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24257 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24259 * Versions.def (libc): Add GLIBC_2.19.
24261 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24263 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24264 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24266 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24269 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24270 intermediate calculations in recurrence.
24271 (__ieee754_ynf): Likewise.
24272 * math/libm-test.inc (jn_test_data): Do not allow spurious
24273 underflow exception. Add more tests.
24274 (yn_test_data): Add more tests.
24275 * sysdeps/i386/fpu/libm-test-ulps: Update.
24276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24278 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24280 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24282 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24284 * csu/init-first.c: Fix then/than typos.
24285 * locale/programs/ld-collate.c: Likewise.
24286 * locale/programs/linereader.h: Likewise.
24287 * manual/charset.texi: Likewise.
24288 * manual/filesys.texi: Likewise.
24289 * manual/stdio.texi: Likewise.
24290 * manual/string.texi: Likewise.
24291 * stdlib/fmtmsg.c: Likewise.
24292 * sysdeps/i386/stpncpy.S: Likewise.
24293 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24294 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24295 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24296 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24298 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24300 * elf/dl-open.c: Fix typos.
24301 * iconvdata/gbbig5.c: Likewise.
24302 * iconvdata/iso-2022-jp.c: Likewise.
24303 * iconv/gconv_int.h: Likewise.
24304 * iconv/loop.c: Likewise.
24305 * nis/rpcsvc/nis.h: Likewise.
24306 * resolv/ns_name.c: Likewise.
24307 * stdio-common/vfscanf.c: Likewise.
24308 * streams/stropts.h: Likewise.
24309 * sunrpc/rpc_thread.c: Likewise.
24310 * sysdeps/i386/strpbrk.S: Likewise.
24311 * sysdeps/ieee754/k_standard.c: Likewise.
24312 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24314 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24315 * sysdeps/mach/hurd/profil.c: Likewise.
24316 * sysdeps/s390/dl-procinfo.h: Likewise.
24317 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24318 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24319 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24320 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24323 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24325 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24328 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24330 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24331 aix specific files.
24332 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24333 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24334 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24335 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24336 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24337 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24338 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24339 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24341 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24342 Roland McGrath <roland@hack.frob.com>
24344 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24345 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24347 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24349 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24350 __executable_start symbol instead of _start.
24352 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24354 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24355 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24357 * sysdeps/gnu/ldsodefs.h: ... this new file.
24359 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24360 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24361 instead of ELFOSABI_LINUX.
24363 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24364 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24365 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24366 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24368 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24369 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24370 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24372 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24373 (ibm_extended_long_double): Add ieee_nan member.
24374 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24375 (do_test): New function.
24377 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24379 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24380 functions, renamed from truncdfsf_test, trunctfsf_test,
24382 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24384 (do_test): Run all these.
24386 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24388 * argp/argp-help.c: Fix typos.
24389 * argp/argp-parse.c: Likewise.
24390 * debug/backtracesyms.c: Likewise.
24391 * elf/elf.h: Likewise.
24392 * malloc/malloc.c: Likewise.
24393 * nis/nis_print.c: Likewise.
24394 * resolv/res_comp.c: Likewise.
24395 * stdlib/stdlib.h: Likewise.
24396 * sunrpc/clnt_tcp.c: Likewise.
24397 * sunrpc/clnt_udp.c: Likewise.
24398 * sunrpc/clnt_unix.c: Likewise.
24399 * sysdeps/unix/bsd/ptsname.c: Likewise.
24400 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24401 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24408 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24410 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24412 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24415 2013-08-27 Mike Frysinger <vapier@gentoo.org>
24418 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24419 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24420 ($(objpfx)bug-dl-leaf): New rule.
24421 ($(objpfx)bug-dl-leaf.so): Likewise.
24422 ($(objpfx)bug-dl-leaf.out): Likewise.
24423 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24424 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24425 * dlfcn/bug-dl-leaf.c: New test.
24426 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24427 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24428 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24429 (dlclose): Likewise.
24430 (dlmopen): Likewise.
24432 2013-08-27 Roland McGrath <roland@hack.frob.com>
24434 * include/netdb.h [!_ISOMAC]:
24435 Don't include <tls.h>.
24436 (h_errno, __libc_h_errno): Move declaration and macros out of
24439 * include/resolv.h [_RESOLV_H_]:
24440 Don't include <tls.h>.
24441 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24442 * resolv/res_libc.c: Don't include <tls.h>.
24443 (_res): Use __attribute__ ((nocommon)) in place of
24444 __attribute__ ((section (".bss"))).
24446 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24447 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24449 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24451 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24452 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24454 * resolv/res_mkquery.c: Include <sys/time.h>.
24456 * inet/ifreq.c: Moved to ...
24457 * sysdeps/unix/ifreq.c: ... here.
24458 * inet/ifreq.c: New file, true stub version.
24460 * socket/sa_len.c: New file.
24461 * socket/Makefile (aux): Add it.
24462 * sysdeps/unix/sysv/linux/Makefile
24463 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24464 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24465 and #include <socket/sa_len.c>.
24466 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24467 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24469 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24470 * bits/socket.h: ... here.
24472 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24473 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24474 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24476 2013-08-27 Andreas Schwab <schwab@suse.de>
24479 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24480 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24481 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24482 * string/test-strcasecmp.c (test_main): Run tests in several
24484 * string/test-strncasecmp.c (test_main): Likewise.
24486 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24487 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24488 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24490 (__strncasecmp_ssse3) [PIC]: Likewise.
24492 2013-08-26 Roland McGrath <roland@hack.frob.com>
24494 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24496 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24497 instead of explicitly declaring xdecrypt.
24498 * nis/nss_nis/nis-publickey.c: Likewise.
24500 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24503 * nscd/aicache.c: Include res_hconf.h.
24504 (addhstaiX): Initialize res_hconf.
24506 2013-08-26 Andreas Schwab <schwab@suse.de>
24508 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24509 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24511 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24513 * nscd/aicache.c (addhstaiX): Fix indentation.
24515 2013-08-25 Mike Frysinger <vapier@gentoo.org>
24517 * configure.ac: Quote $build_pt_chown test.
24518 * configure: Regenerated.
24520 2013-08-23 Joseph Myers <joseph@codesourcery.com>
24523 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24524 * math/s_cexpf.c (__cexpf): Likewise.
24525 * math/s_cexpl.c (__cexpl): Likewise.
24526 * math/libm-test.inc (cexp_test_data): Correct expected return
24527 value for NaN + i0. Add another test.
24529 2013-08-22 David S. Miller <davem@davemloft.net>
24531 * po/ca.po: Update Catalan translation from translation project.
24532 * po/uk.po: Add Ukrainian translations from translation project.
24534 2013-08-21 Joseph Myers <joseph@codesourcery.com>
24537 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24538 is infinite, not alongside NaN test.
24539 * math/s_fdimf.c (__fdimf): Likewise.
24540 * math/s_fdiml.c (__fdiml): Likewise.
24541 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24542 errno is unchanged.
24544 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
24546 * argp/argp-help.c: Fix typos.
24547 * crypt/speeds.c: Likewise.
24548 * csu/check_fds.c: Likewise.
24549 * elf/dl-load.c: Likewise.
24550 * elf/dl-open.c: Likewise.
24551 * elf/reldep3.c: Likewise.
24552 * elf/reldep.c: Likewise.
24553 * elf/sprof.c: Likewise.
24554 * iconv/iconv_charmap.c: Likewise.
24555 * iconv/skeleton.c: Likewise.
24556 * iconv/strtab.c: Likewise.
24557 * io/lockf64.c: Likewise.
24558 * libio/libioP.h: Likewise.
24559 * resolv/gai_notify.c: Likewise.
24560 * resolv/ns_name.c: Likewise.
24561 * resolv/ns_samedomain.c: Likewise.
24562 * resolv/res_send.c: Likewise.
24563 * stdlib/random.c: Likewise.
24564 * sunrpc/rpc/xdr.h: Likewise.
24565 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24566 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24567 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24568 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24569 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24572 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24573 * sysdeps/mach/hurd/check_fds.c: Likewise.
24574 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24575 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24576 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24577 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24578 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24579 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24580 * sysdeps/pthread/aio_notify.c: Likewise.
24581 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24582 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24583 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24584 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24585 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24587 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24589 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24590 version if bit_Slow_SSE4_2 is set.
24591 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24592 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24594 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24597 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24598 trampoline stack frame information.
24599 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24600 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24601 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24602 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24603 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24604 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24605 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24606 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24608 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24609 interrupting a syscall and set with option SA_SIGINFO.
24611 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24614 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24615 argument is infinite.
24616 * math/s_cprojf.c (__cprojf): Likewise.
24617 * math/s_cprojl.c (__cprojl): Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24619 * math/libm-test.inc (cproj_test_data): Add more tests.
24621 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24623 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24624 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24625 size. Use __ffs to determine corresponding shift.
24627 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24628 Roland McGrath <roland@hack.frob.com>
24630 * Makefile (INSTALL): Remove trailing blank lines from output of
24633 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24635 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24636 Align 32 bit compat elf_greg to 8 bytes.
24638 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24640 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24642 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24644 * string/strcoll_l.c (coll_seq): New structure.
24645 (get_next_seq_cached): New function.
24646 (get_next_seq): New function.
24647 (do_compare): New function.
24648 (STRCOLL): Use GNU style definition. Simplify implementation
24649 by using get_next_seq, get_next_seq_cached and do_compare.
24651 2013-08-16 Florian Weimer <fweimer@redhat.com>
24655 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24657 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24659 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24660 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24661 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24663 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24664 GETDENTS_64BIT_ALIGNED.
24665 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24666 * manual/filesys.texi (Reading/Closing Directory): Document
24667 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24669 * manual/conf.texi (Limits for Files): Add portability note to
24670 NAME_MAX, PATH_MAX.
24671 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24673 2013-08-13 Andreas Schwab <schwab@suse.de>
24676 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24678 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24679 LDBL_MAX_EXP >= 16384]: Add tests for it.
24681 2013-08-12 David S. Miller <davem@davemloft.net>
24683 * version.h (RELEASE): Set to "development".
24684 (VERSION): Set to "2.18.90".
24685 * NEWS: Add 2.19 section.
24687 2013-08-03 David S. Miller <davem@davemloft.net>
24689 * po/ko.po: Update Korean translation from translation project.
24691 2013-08-01 David S. Miller <davem@davemloft.net>
24693 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24694 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24697 2013-07-30 David S. Miller <davem@davemloft.net>
24699 * po/fr.po: Update French translation from translation project.
24701 2013-07-28 David S. Miller <davem@davemloft.net>
24703 * po/cs.po: Update Czech translation from translation project.
24705 * po/sv.po: Update Swedish translation from translation project.
24707 2013-07-27 David S. Miller <davem@davemloft.net>
24709 * po/eo.po: Update Esperanto translation from translation project.
24711 * po/vi.po: Update Vietnamese translation from translation project.
24713 * po/de.po: Update German translation from translation project.
24715 2013-07-26 David S. Miller <davem@davemloft.net>
24717 * po/bg.po: Update Bulgarian translation from translation project.
24719 * po/nl.po: Update Dutch translation from translation project.
24720 * po/pl.po: Update Polish translation from translation project.
24721 * po/ru.po: Update Russian translation from translation project.
24723 2013-07-24 David S. Miller <davem@davemloft.net>
24725 * po/libc.pot: Update.
24727 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24729 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24730 variable page size.
24731 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24732 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24733 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24735 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24737 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24739 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24740 Andreas Schwab <schwab@suse.de>
24741 Roland McGrath <roland@hack.frob.com>
24742 Joseph Myers <joseph@codesourcery.com>
24743 Carlos O'Donell <carlos@redhat.com>
24746 * config.h.in: Define HAVE_PT_CHOWN.
24747 * config.make.in (build-pt-chown): New variable.
24748 * configure.in (--enable-pt_chown): New configure option.
24749 * configure: Regenerate.
24750 * login/Makefile: Include Makeconfig. Build pt_chown only if
24751 build-pt-chown is enabled.
24752 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24753 pt_chown to fix pty ownership.
24754 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24756 * manual/install.texi (Configuring and compiling): Mention
24757 --enable-pt_chown. Add @findex for grantpt.
24758 * INSTALL: Regenerate.
24760 2013-07-20 David S. Miller <davem@davemloft.net>
24762 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24763 difference between 32-bit and 64-bit.
24765 2013-07-15 Carlos O'Donell <carlos@redhat.com>
24768 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24769 Avoid system header dependency with -ffreestanding.
24770 ($(objpfx)bits/syscall%d): Likewise.
24772 2013-07-13 David S. Miller <davem@davemloft.net>
24774 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24775 underflows from atanl/atan2l due to bug 15319.
24776 (casinh_test_data): Likewise.
24778 2013-07-07 David S. Miller <davem@davemloft.net>
24780 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24782 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24784 * sysdeps/i386/fpu/libm-test-ulps: Update.
24785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24787 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24789 * configure.in (--enable-lock-elision): Fix message text.
24790 * INSTALL: Regenerate.
24791 * configure: Regenerate.
24793 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24797 2013-07-03 Andreas Jaeger <aj@suse.de>
24799 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24801 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24802 (ptrace_peeksiginfo_args): Add.
24803 (__ptrace_peeksiginfo_flags): Add.
24804 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24808 2013-07-03 Allan McRae <allan@archlinux.org>
24810 * sysdeps/i386/fpu/libm-test-ulps: Update.
24812 2013-07-02 David S. Miller <davem@davemloft.net>
24814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24816 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24820 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24822 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24825 2013-07-02 Andi Kleen <ak@linux.intel.com>
24827 * config.h.in (ENABLE_LOCK_ELISION): Add.
24828 * configure.in (--enable-lock-elision): Add option.
24829 * manual/install.texi: Document --enable lock elision.
24830 * configure: Regenerate
24831 * INSTALL: Regenerate.
24833 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24835 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24836 SSE4.2 strcasecmp for libc.a.
24837 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24839 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24842 * soft-fp/op-common.h (_FP_FMA): New macro.
24843 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24844 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24845 (_FP_MUL_MEAT_1_imm): ... here.
24846 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24847 (_FP_MUL_MEAT_1_wide): ... here.
24848 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24849 (_FP_MUL_MEAT_1_hard): ... here.
24850 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24851 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24852 (_FP_MUL_MEAT_2_wide): ... here.
24853 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24854 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24855 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24856 (_FP_MUL_MEAT_2_gmp): ... here.
24857 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24858 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24859 (_FP_MUL_MEAT_4_wide): ... here.
24860 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24861 (_FP_MUL_MEAT_4_gmp): ... here.
24862 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24863 (_FP_WFRACBITS_DW_S): Likewise.
24864 (_FP_WFRACXBITS_DW_S): Likewise.
24865 (_FP_HIGHBIT_DW_S): Likewise.
24866 (FP_FMA_S): Likewise.
24867 (_FP_FRAC_HIGH_DW_S): Likewise.
24868 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24869 (_FP_WFRACBITS_DW_D): Likewise.
24870 (_FP_WFRACXBITS_DW_D): Likewise.
24871 (_FP_HIGHBIT_DW_D): Likewise.
24872 (FP_FMA_D): Likewise.
24873 (_FP_FRAC_HIGH_DW_D): Likewise.
24874 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24875 (_FP_WFRACBITS_DW_E): Likewise.
24876 (_FP_WFRACXBITS_DW_E): Likewise.
24877 (_FP_HIGHBIT_DW_E): Likewise.
24878 (FP_FMA_E): Likewise.
24879 (_FP_FRAC_HIGH_DW_E): Likewise.
24880 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24881 (_FP_WFRACBITS_DW_Q): Likewise.
24882 (_FP_WFRACXBITS_DW_Q): Likewise.
24883 (_FP_HIGHBIT_DW_Q): Likewise.
24884 (FP_FMA_Q): Likewise.
24885 (_FP_FRAC_HIGH_DW_Q): Likewise.
24886 * soft-fp/fmasf4.c: New file.
24887 * soft-fp/fmadf4.c: Likewise.
24888 * soft-fp/fmatf4.c: Likewise.
24890 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24893 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24895 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24897 (index_Slow_SSE4_2): Likewise.
24898 (index_Prefer_PMINUB_for_stringop): Likewise.
24899 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24900 bit_Slow_SSE4_2 is set.
24901 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24902 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24904 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24906 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24907 rtld_global._dl_hwcap2.
24908 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24910 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24911 POWER8 feature descriptions defined in _dl_hwcap2.
24912 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24913 string handling for POWER8 feature bits.
24914 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24915 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24916 _dl_powerpc_cap_flags.
24917 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24918 * sysdeps/powerpc/rtld-global-offsets.sym
24919 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24920 _dl_hwcap2 in the rtld_global_ro structure.
24922 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24924 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24925 hardware capabilities in support of AT_HWCAP2.
24926 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24927 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24929 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24930 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24931 explicitly the unknown a_type display mechanism is used.
24932 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24933 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24935 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24936 to macro prototype for AT_HWCAP2 support.
24937 * sysdeps/i386/dl-procinfo.h: Likewise.
24938 * sysdeps/s390/dl-procinfo.h: Likewise.
24939 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24940 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24941 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24942 return -1 for unknown a_type display fallback.
24943 * sysdeps/sparc/dl-procinfo.h: Likewise.
24944 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24945 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24947 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24949 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24950 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24952 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24955 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24956 mprotect making __stack_prot writable.
24958 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24959 Joseph Myers <joseph@codesourcery.com>
24961 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24962 as being properly aligned.
24964 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24966 * dlfcn/modstatic5.c: New file.
24967 * dlfcn/tststatic5.c: New file.
24968 * dlfcn/Makefile (tests): Add tststatic5.
24969 (tests-static): Likewise.
24970 (modules-names): Add modstatic5.
24971 (tststatic5-ENV): New variable.
24972 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24975 * elf/dl-support.c (_dl_main_map): New variable.
24976 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24977 (_dl_nns, _dl_load_adds): Set to 1.
24978 (_dl_initial_searchlist): Refer to _dl_main_map.
24979 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24980 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24981 call to _dl_get_origin.
24982 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24984 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24985 * dlfcn/modstatic3.c: New file.
24986 * dlfcn/tststatic3.c: New file.
24987 * dlfcn/tststatic4.c: New file.
24988 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24989 (tests-static): Likewise.
24990 (modules-names): Add modstatic3.
24991 (tststatic3-ENV, tststatic4-ENV): New variables.
24992 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24993 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24995 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24997 * configure.in (CC): Require GCC version 4.4 or later.
24998 * configure: Regenerated.
24999 * manual/install.texi (Tools for Compilation): Update GCC version
25001 * INSTALL: Regenerated.
25003 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25006 * string/test-memcmp.c (check2): New.
25007 (main): Call check2.
25009 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25011 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25014 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25016 (dl_open_worker) [!SHARED]: ... here.
25018 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25020 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25022 2013-06-25 Richard Henderson <rth@redhat.com>
25024 * locale/programs/locarchive.c: Include <libc-internal.h>
25026 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25028 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25029 trailing whitespace removed.
25031 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25034 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25035 * locale/programs/locarchive.c: Include libc-mmap.h.
25036 (prepare_address_space): Take two new outputs (the mmap base and len).
25037 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25039 (create_archive): Declare new mmap base and len values for
25040 prepare_address_space, and store the result in ah.
25041 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25042 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25043 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25044 Declare new mmap base and len values for
25045 prepare_address_space, and store the result in new_ah.
25046 (open_archive): Declare new mmap base and len values for
25047 prepare_address_space, and store the result in ah.
25048 (close_archive): If ah->mmap_base is not NULL, use that and
25049 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25050 * sysdeps/generic/libc-mmap.h: New file.
25052 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25054 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25055 (ALIGN_UP): Likewise.
25056 (PTR_ALIGN_DOWN): Likewise.
25057 (PTR_ALIGN_UP): Likewise.
25059 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25061 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25062 entry mapped to PPC_PLATFORM_POWER8.
25063 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25065 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25066 (_dl_string_platform): Add case for exporting platform position for
25068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25069 search path to sysdeps/powerpc/powerpc32/power8 directory.
25070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25071 search path to sysdeps/powerpc/powerpc64/power8 directory.
25072 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25073 power7 directories.
25074 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25075 power7 directories.
25077 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25079 * INSTALL: Regenerate.
25081 * nscd/connections.c (nscd_init): Fix comment.
25083 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25085 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25088 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25089 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25091 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25093 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25095 (DL_DST_REQ_STATIC): Remove macro.
25097 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25100 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25101 with a shift of 0 bits.
25103 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25105 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25108 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25111 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25113 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25115 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25116 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25117 accepts -fno-tree-loop-distribute-patterns.
25118 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25119 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25121 * string/memset.c (memset): Likewise.
25122 * string/test-memmove.c (simple_memmove): Disable loop transformation
25124 * string/test-memset.c (simple_memset): Likewise.
25125 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25126 * benchtests/bench-memset.c (simple_memset): Likewise.
25127 * configure: Regenerated.
25129 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25131 * math/test-misc.c (main): Ignore fesetround failure when failures
25132 of subsequent rounding tests would be ignored.
25135 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25136 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25137 * math/fegetenv.c (__fegetenv): Return 0.
25138 * math/fegetexcept.c (fegetexcept): Return 0.
25139 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25141 * math/feholdexcpt.c (feholdexcept): Return 0.
25142 * math/fesetenv.c (__fesetenv): Return 0.
25143 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25144 argument FE_TONEAREST.
25145 * math/feupdateenv.c (__feupdateenv): Return 0.
25146 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25148 2013-06-18 Roland McGrath <roland@hack.frob.com>
25150 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25151 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25152 ($(objpfx)rtld-%.os rules): Use them.
25154 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25156 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25159 2013-06-17 Roland McGrath <roland@hack.frob.com>
25161 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25162 length of target pattern, then descending length of dependency pattern.
25163 * configure.in (AWK): Require gawk 3.1.2 or newer.
25164 * manual/install.texi (Tools for Compilation): Say that we do.
25165 * configure: Regenerated.
25167 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25168 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25169 * scripts/sysd-rules.awk: ... this new script.
25170 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25171 than a glob-style pattern.
25173 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25175 * math/test-misc.c (main): Do not treat incorrectly rounded
25176 conversions as failure unless ROUNDING_TESTS passes.
25178 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25181 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25182 restore exception state around main square root computation, then
25183 check for inexactness explicitly.
25185 * math/libm-test.inc (fma_test_data): Add another test.
25187 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25189 * manual/threads.texi (Non-POSIX Extensions): New document
25190 node. Document pthread_getattr_default_np and
25191 pthread_setattr_default_np.
25193 * Versions.def (libpthread): Add GLIBC_2.18.
25194 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25203 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25214 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25217 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25219 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25220 H.J. Lu <hjl.tools@gmail.com>
25223 * sysdeps/x86_64/rtld-memset.c: Remove file.
25224 * sysdeps/x86_64/rtld-memset.S: New file.
25226 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25228 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25229 (test_in_one_mode): Take arguments for whether the rounding mode
25230 is supported for each floating-point type.
25231 (do_test): Pass new arguments to test_in_one_mode using
25234 2013-06-13 Roland McGrath <roland@hack.frob.com>
25236 * posix/tst-waitid.c (do_test): Distinguish different instances of
25237 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25238 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25239 before entering the kernel for waitpid.
25241 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25243 * NEWS: Fix note on clock function precision. Text by Roland
25246 2013-06-13 Roland McGrath <roland@hack.frob.com>
25248 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25249 it into place only when and if the sanity check passes.
25251 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25253 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25254 output for whether conversion result is exact. Take argument
25255 indicating whether type is IBM long double.
25256 (round_for_all): Change need_exact field to ibm_ld.
25257 * stdlib/tst-strtod-round.c (struct exactness): New type.
25258 (struct test): Change bool ld_ok field to struct exactness exact.
25259 (TEST): Update all definitions for change to field.
25260 (tests): Regenerate array contents.
25261 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25262 field value. Check for IBM long double here.
25263 (do_test): Update calls to test_in_one_mode.
25265 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25268 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25269 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25271 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25274 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25275 generated by the compiler on loop optimizations.
25276 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25277 general definitions.
25279 2013-06-12 Joseph Myers <joseph@codesourcery.com>
25281 * math/bug-nextafter.c: Include <math-tests.h>.
25282 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25284 * math/bug-nexttoward.c: Include <math-tests.h>.
25285 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25287 * math/test-misc.c: Include <math-tests.h>.
25288 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25291 2013-06-12 Andreas Jaeger <aj@suse.de>
25293 * po/ia.po: Update Interlingua translation from translation
25296 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25298 * include/fenv.h: Include stdbool.h.
25299 (struct rm_ctx): New structure.
25300 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25302 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25303 (SET_RESTORE_ROUNDF): Likewise.
25304 (SET_RESTORE_ROUNDL): Likewise.
25305 (SET_RESTORE_ROUND_NOEX): Likewise.
25306 (SET_RESTORE_ROUND_NOEXF): Likewise.
25307 (SET_RESTORE_ROUND_NOEXL): Likewise.
25308 (SET_RESTORE_ROUND_53BIT): Likewise.
25309 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25310 (libc_feresetround_noexf_ctx): Likewise.
25311 (libc_feresetround_noexl_ctx): Likewise.
25312 (libc_feholdsetround_53bit_ctx): Likewise.
25313 (libc_feresetround_53bit_ctx): Likewise.
25314 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25315 (libc_feholdexcept_setround_sse_ctx): New function.
25316 (libc_fesetenv_sse_ctx): Likewise.
25317 (libc_feupdateenv_sse_ctx): Likewise.
25318 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25319 (libc_feholdexcept_setround_387_ctx): Likewise.
25320 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25321 (libc_feholdsetround_387_prec_ctx): Likewise.
25322 (libc_feholdsetround_387_ctx): Likewise.
25323 (libc_feholdsetround_387_53bit_ctx): Likewise.
25324 (libc_feholdsetround_sse_ctx): Likewise.
25325 (libc_feresetround_sse_ctx): Likewise.
25326 (libc_feresetround_387_ctx): Likewise.
25327 (libc_feupdateenv_387_ctx): Likewise.
25328 (libc_feholdexcept_setroundf_ctx): Define macro.
25329 (libc_fesetenvf_ctx): Likewise.
25330 (libc_feupdateenvf_ctx): Likewise.
25331 (libc_feholdsetroundf_ctx): Likewise.
25332 (libc_feresetroundf_ctx): Likewise.
25333 (libc_feholdexcept_setround_ctx): Likewise.
25334 (libc_fesetenv_ctx): Likewise.
25335 (libc_feupdateenv_ctx): Likewise.
25336 (libc_feholdsetround_ctx): Likewise.
25337 (libc_feresetround_ctx): Likewise.
25338 (libc_feholdexcept_setroundl_ctx): Likewise.
25339 (libc_feupdateenvl_ctx): Likewise.
25340 (libc_feholdsetroundl_ctx): Likewise.
25341 (libc_feresetroundl_ctx): Likewise.
25342 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25343 (libc_feresetround_53bit_ctx): Likewise.
25345 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25347 * locale/iso-639.def: Convert to UTF-8.
25349 2013-06-11 Joseph Myers <joseph@codesourcery.com>
25351 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25352 (EXCEPTION_TESTS_double): Likewise.
25353 (EXCEPTION_TESTS_long_double): Likewise.
25354 (EXCEPTION_TESTS): Likewise.
25355 * math/libm-test.inc (test_exceptions): Only test exceptions if
25356 EXCEPTION_TESTS (FLOAT).
25358 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25360 * benchtests/Makefile (string-bench): Add strcpy_chk and
25362 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25363 * benchtests/bench-stpcpy_chk.c: New file.
25364 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25365 * benchtests/bench-strcpy_chk.c: New file.
25366 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25368 (do_test): Likewise.
25370 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25372 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25373 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25374 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25375 with tabs where appropriate.
25376 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25378 [PPC_PLATFORM_PPC440]: Likewise.
25379 [PPC_PLATFORM_PPC464]: Likewise.
25380 [PPC_PLATFORM_PPC476]: Likewise.
25381 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25382 ppc464, and ppc476 platform strings merging from ports/
25385 2013-06-11 Andreas Schwab <schwab@suse.de>
25388 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25389 (from_ucs4_idx): Regenerate.
25390 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25391 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25392 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25393 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25394 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25395 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25396 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25397 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25398 from FROM_LOOP and TO_LOOP specific macros.
25399 (BODY): Handle combining characters.
25400 * iconvdata/BIG5HKSCS.irreversible: Update.
25401 * iconvdata/BIG5HKSCS.precomposed: New file.
25402 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25404 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25406 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25408 * include/sys/time.h: Fix indentation and add copyright header.
25410 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25411 (do_test): Likewise.
25412 * string/test-memchr.c (do_one_test): Likewise.
25413 (do_test): Likewise.
25414 * string/test-memcmp.c (do_one_test): Likewise.
25415 (do_test): Likewise.
25416 * string/test-memcpy.c (do_one_test): Likewise.
25417 (do_test): Likewise.
25418 * string/test-memmem.c (do_one_test): Likewise.
25419 (do_test): Likewise.
25420 (do_random_tests): Likewise.
25421 * string/test-memmove.c (do_one_test): Likewise.
25422 (do_test): Likewise.
25423 * string/test-memset.c (do_one_test): Likewise.
25424 (do_test): Likewise.
25425 * string/test-rawmemchr.c (do_one_test): Likewise.
25426 (do_test): Likewise.
25427 * string/test-strcasecmp.c (do_one_test): Likewise.
25428 (do_test): Likewise.
25429 * string/test-strcasestr.c (do_one_test): Likewise.
25430 (do_test): Likewise.
25431 * string/test-strcat.c (do_one_test): Likewise.
25432 (do_test): Likewise.
25433 * string/test-strchr.c (do_one_test): Likewise.
25434 (do_test): Likewise.
25435 * string/test-strcmp.c (do_one_test): Likewise.
25436 (do_test): Likewise.
25437 * string/test-strcpy.c (do_one_test): Likewise.
25438 (do_test): Likewise.
25439 * string/test-string.h: Likewise.
25440 (test_init): Likewise.
25441 * string/test-strlen.c (do_one_test): Likewise.
25442 (do_test): Likewise.
25443 * string/test-strncasecmp.c (do_one_test): Likewise.
25444 (do_test): Likewise.
25445 * string/test-strncat.c (do_one_test): Likewise.
25446 (do_test): Likewise.
25447 * string/test-strncmp.c (do_one_test): Likewise.
25448 (do_test_limit): Likewise.
25449 (do_test): Likewise.
25450 * string/test-strncpy.c (do_one_test): Likewise.
25451 (do_test): Likewise.
25452 * string/test-strnlen.c (do_one_test): Likewise.
25453 (do_test): Likewise.
25454 * string/test-strpbrk.c (do_one_test): Likewise.
25455 (do_test): Likewise.
25456 * string/test-strrchr.c (do_one_test): Likewise.
25457 (do_test): Likewise.
25458 * string/test-strspn.c (do_one_test): Likewise.
25459 (do_test): Likewise.
25460 * string/test-strstr.c (do_one_test): Likewise.
25461 (do_test): Likewise.
25463 * benchtests/Makefile (string-bench): Add string benchmarks.
25464 * benchtests/bench-bcopy-ifunc.c: New file.
25465 * benchtests/bench-bcopy.c: New file.
25466 * benchtests/bench-bzero-ifunc.c: New file.
25467 * benchtests/bench-bzero.c: New file.
25468 * benchtests/bench-memccpy-ifunc.c: New file.
25469 * benchtests/bench-memccpy.c: New file.
25470 * benchtests/bench-memchr-ifunc.c: New file.
25471 * benchtests/bench-memchr.c: New file.
25472 * benchtests/bench-memcmp-ifunc.c: New file.
25473 * benchtests/bench-memcmp.c: New file.
25474 * benchtests/bench-memmem-ifunc.c: New file.
25475 * benchtests/bench-memmem.c: New file.
25476 * benchtests/bench-memmove-ifunc.c: New file.
25477 * benchtests/bench-memmove.c: New file.
25478 * benchtests/bench-mempcpy-ifunc.c: New file.
25479 * benchtests/bench-mempcpy.c: New file.
25480 * benchtests/bench-memset-ifunc.c: New file.
25481 * benchtests/bench-memset.c: New file.
25482 * benchtests/bench-rawmemchr-ifunc.c: New file.
25483 * benchtests/bench-rawmemchr.c: New file.
25484 * benchtests/bench-stpcpy-ifunc.c: New file.
25485 * benchtests/bench-stpcpy.c: New file.
25486 * benchtests/bench-stpncpy-ifunc.c: New file.
25487 * benchtests/bench-stpncpy.c: New file.
25488 * benchtests/bench-strcasecmp-ifunc.c: New file.
25489 * benchtests/bench-strcasecmp.c: New file.
25490 * benchtests/bench-strcasestr-ifunc.c: New file.
25491 * benchtests/bench-strcasestr.c: New file.
25492 * benchtests/bench-strcat-ifunc.c: New file.
25493 * benchtests/bench-strcat.c: New file.
25494 * benchtests/bench-strchr-ifunc.c: New file.
25495 * benchtests/bench-strchr.c: New file.
25496 * benchtests/bench-strchrnul-ifunc.c: New file.
25497 * benchtests/bench-strchrnul.c: New file.
25498 * benchtests/bench-strcmp-ifunc.c: New file.
25499 * benchtests/bench-strcmp.c: New file.
25500 * benchtests/bench-strcpy-ifunc.c: New file.
25501 * benchtests/bench-strcpy.c: New file.
25502 * benchtests/bench-strcspn-ifunc.c: New file.
25503 * benchtests/bench-strcspn.c: New file.
25504 * benchtests/bench-strlen-ifunc.c: New file.
25505 * benchtests/bench-strlen.c: New file.
25506 * benchtests/bench-strncasecmp-ifunc.c: New file.
25507 * benchtests/bench-strncasecmp.c: New file.
25508 * benchtests/bench-strncat-ifunc.c: New file.
25509 * benchtests/bench-strncat.c: New file.
25510 * benchtests/bench-strncmp-ifunc.c: New file.
25511 * benchtests/bench-strncmp.c: New file.
25512 * benchtests/bench-strncpy-ifunc.c: New file.
25513 * benchtests/bench-strncpy.c: New file.
25514 * benchtests/bench-strnlen-ifunc.c: New file.
25515 * benchtests/bench-strnlen.c: New file.
25516 * benchtests/bench-strpbrk-ifunc.c: New file.
25517 * benchtests/bench-strpbrk.c: New file.
25518 * benchtests/bench-strrchr-ifunc.c: New file.
25519 * benchtests/bench-strrchr.c: New file.
25520 * benchtests/bench-strspn-ifunc.c: New file.
25521 * benchtests/bench-strspn.c: New file.
25522 * benchtests/bench-strstr-ifunc.c: New file.
25523 * benchtests/bench-strstr.c: New file.
25525 * benchtests/Makefile: Disable parallel execution of targets.
25526 (string-bench): Add memcpy.
25527 (benchset): New variable to store a list of benchmark sets.
25528 (bench-func): Renamed from bench.
25529 (bench-set): New target.
25530 (bench): Depend on bench-func and bench-set.
25531 * benchtests/README: Add section on benchmark sets.
25532 * benchtests/bench-memcpy-ifunc.c: New file.
25533 * benchtests/bench-memcpy.c: New file.
25534 * benchtests/bench-string.h: New file.
25536 2013-06-11 Andreas Schwab <schwab@suse.de>
25539 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25540 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25541 values in the triple.
25542 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25543 terminator in the group key.
25545 2013-06-11 Andreas Jaeger <aj@suse.de>
25547 * po/zh_TW.po: Update Chinese (traditional) translation from
25548 translation project.
25550 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25552 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25553 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25554 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25555 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25556 (clock_getcpuclockid): Likewise.
25557 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25558 Add weak_alias and libc_hidden_def.
25559 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25560 * rt/clock_gettime.c (clock_gettime): Rename to
25561 __clock_gettime. Add weak_alias and libc_hidden_def.
25562 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25563 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25564 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25565 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25566 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25568 * rt/clock_settime.c (clock_settime): Rename to
25569 __clock_settime. Add weak_alias and libc_hidden_def.
25570 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25572 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25574 * mach/err_boot.sub: Remove trailing whitespace.
25575 * mach/err_ipc.sub: Likewise.
25576 * mach/err_mach.sub: Likewise.
25578 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25579 (ROUNDING_TESTS_double): Likewise.
25580 (ROUNDING_TESTS_long_double): Likewise.
25581 (ROUNDING_TESTS): Likewise.
25582 * math/libm-test.inc: Include <math-tests.h>.
25583 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25584 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25585 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25586 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25588 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25590 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25593 2013-06-08 Joseph Myers <joseph@codesourcery.com>
25595 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25596 otherwise empty TRANS lines.
25597 * sysdeps/gnu/errlist.c: Regenerated.
25599 * catgets/gencat.c (error_print): Use (void) in function
25601 * crypt/crypt_util.c (__init_des): Likewise.
25602 * crypt/speeds.c (Stop): Likewise.
25604 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25605 * inet/ruserpass.c (token): Likewise.
25606 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25607 * intl/localealias.c (extend_alias_table): Likewise.
25608 * intl/plural-exp.c (init_germanic_plural): Likewise.
25609 * libio/fcloseall.c (__fcloseall): Likewise.
25610 * libio/genops.c (_IO_flush_all): Likewise.
25611 (_IO_flush_all_linebuffered): Likewise.
25612 (_IO_cleanup): Likewise.
25613 (_IO_iter_begin): Likewise.
25614 (_IO_iter_end): Likewise.
25615 (_IO_list_lock): Likewise.
25616 (_IO_list_unlock): Likewise.
25617 (_IO_list_resetlock): Likewise.
25618 * libio/getchar.c (getchar): Likewise.
25619 * libio/getchar_u.c (getchar_unlocked): Likewise.
25620 * libio/getwchar.c (getwchar): Likewise.
25621 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25622 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25623 * login/getpt.c (__getpt): Likewise.
25624 * login/tst-utmp.c (main): Likewise.
25625 * malloc/hooks.c (__malloc_check_init): Likewise.
25626 * malloc/malloc.c (__malloc_stats): Likewise.
25627 * malloc/mtrace.c (tr_break): Likewise.
25628 (mtrace): Likewise.
25629 (muntrace): Likewise.
25630 * misc/fstab.c (endfsent): Likewise.
25631 * misc/getclktck.c (__getclktck): Likewise.
25632 * misc/getdtsz.c (__getdtablesize): Likewise.
25633 * misc/gethostid.c (gethostid): Likewise.
25634 * misc/getpagesize.c (__getpagesize): Likewise.
25635 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25636 (__get_nprocs): Likewise.
25637 (__get_phys_pages): Likewise.
25638 (__get_avphys_pages): Likewise.
25639 * misc/getttyent.c (getttyent): Likewise.
25640 (setttyent): Likewise.
25641 (endttyent): Likewise.
25642 * misc/getusershell.c (getusershell): Likewise.
25643 (endusershell): Likewise.
25644 (setusershell): Likewise.
25645 (initshells): Likewise.
25646 * misc/hsearch.c (__hdestroy): Likewise.
25647 * misc/sync.c (sync): Likewise.
25648 * misc/syslog.c (closelog_internal): Likewise.
25649 (closelog): Likewise.
25650 * misc/ttyslot.c (ttyslot): Likewise.
25651 * misc/vhangup.c (vhangup): Likewise.
25652 * posix/fork.c (__fork): Likewise.
25653 * posix/getegid.c (__getegid): Likewise.
25654 * posix/geteuid.c (__geteuid): Likewise.
25655 * posix/getgid.c (__getgid): Likewise.
25656 * posix/getpid.c (__getpid): Likewise.
25657 * posix/getppid.c (__getppid): Likewise.
25658 * posix/getuid.c (__getuid): Likewise.
25659 * posix/pause.c (pause): Likewise.
25660 * posix/setpgrp.c (setpgrp): Likewise.
25661 * posix/setsid.c (__setsid): Likewise.
25662 * posix/test-vfork.c (noop): Likewise.
25663 * resolv/gethnamaddr.c (_endhtent): Likewise.
25664 (_gethtent): Likewise.
25665 (ht_endhostent): Likewise.
25666 (gethostent): Likewise.
25667 (dns_service): Likewise.
25668 * stdlib/drand48.c (drand48): Likewise.
25669 * stdlib/lrand48.c (lrand48): Likewise.
25670 * stdlib/mrand48.c (mrand48): Likewise.
25671 * stdlib/rand.c (rand): Likewise.
25672 * stdlib/random.c (__random): Likewise.
25673 * stdlib/setenv.c (clearenv): Likewise.
25674 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25675 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25676 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25677 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25678 (__get_nprocs): Likewise.
25679 (__get_phys_pages): Likewise.
25680 (__get_avphys_pages): Likewise.
25681 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25682 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25683 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25684 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25685 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25686 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25687 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25688 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25689 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25690 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25691 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25692 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25693 * sysdeps/posix/clock.c (clock): Likewise.
25694 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25695 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25696 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25697 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25698 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25700 (__get_nprocs_conf): Likewise.
25701 (__get_phys_pages): Likewise.
25702 (__get_avphys_pages): Likewise.
25703 * time/clock.c (clock): Likewise.
25704 * time/tzset.c (__tzname_max): Likewise.
25706 2013-06-07 Joseph Myers <joseph@codesourcery.com>
25708 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25709 (__bswap_32): Do not use "register".
25710 * crypt/crypt.c (_ufc_doit_r): Likewise.
25711 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25712 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25713 * gmon/gmon.c (__monstartup): Likewise.
25714 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25715 * hurd/hurdmalloc.c (more_memory): Likewise.
25716 (malloc): Likewise.
25718 (realloc): Likewise.
25719 (malloc_fork_prepare): Likewise.
25720 (malloc_fork_parent): Likewise.
25721 (malloc_fork_child): Likewise.
25722 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25723 (_svcauth_des): Likewise.
25724 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25725 * inet/inet_net.c (inet_network): Likewise.
25726 * inet/inet_netof.c (inet_netof): Likewise.
25727 * inet/rcmd.c (__validuser2_sa): Likewise.
25728 * io/fts.c (fts_open): Likewise.
25729 (fts_load): Likewise.
25730 (fts_close): Likewise.
25731 (fts_read): Likewise.
25732 (fts_children): Likewise.
25733 (fts_build): Likewise.
25734 (fts_stat): Likewise.
25735 (fts_sort): Likewise.
25736 (fts_alloc): Likewise.
25737 (fts_lfree): Likewise.
25738 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25739 (_IO_file_xsgetn): Likewise.
25740 (_IO_file_xsgetn_mmap): Likewise.
25741 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25742 (_IO_cookie_write): Likewise.
25743 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25744 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25745 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25746 * malloc/obstack.c (_obstack_begin): Likewise.
25747 (_obstack_begin_1): Likewise.
25748 (_obstack_newchunk): Likewise.
25749 (_obstack_allocated_p): Likewise.
25750 (obstack_free): Likewise.
25751 (_obstack_memory_used): Likewise.
25752 * misc/getttyent.c (getttynam): Likewise.
25753 (getttyent): Likewise.
25756 * misc/getusershell.c (initshells): Likewise.
25757 * misc/syslog.c (__vsyslog_chk): Likewise.
25758 * misc/ttyslot.c (ttyslot): Likewise.
25759 * nis/nis_hash.c (__nis_hash): Likewise.
25760 * posix/fnmatch_loop.c (FCT): Likewise.
25761 * posix/getconf.c (print_all): Likewise.
25763 * posix/getopt.c (exchange): Likewise.
25764 * posix/glob.c (globfree): Likewise.
25765 (prefix_array): Likewise.
25766 (__glob_pattern_type): Likewise.
25767 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25768 (NS_GET32): Likewise.
25769 (NS_PUT16): Likewise.
25770 (NS_PUT32): Likewise.
25771 * resolv/gethnamaddr.c (getanswer): Likewise.
25772 (gethostbyname2): Likewise.
25773 (gethostbyaddr): Likewise.
25774 (_gethtent): Likewise.
25775 (_gethtbyname2): Likewise.
25776 (_gethtbyaddr): Likewise.
25777 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25778 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25779 * resolv/res_init.c (__res_vinit): Likewise.
25780 (net_mask): Likewise.
25781 * resolv/res_mkquery.c (outchar): Likewise.
25783 * stdio-common/printf_fp.c (outchar): Likewise.
25785 * stdio-common/printf_fphex.c (outchar): Likewise.
25787 * stdio-common/printf_size.c (outchar): Likewise.
25789 * stdio-common/test_rdwr.c (main): Likewise.
25790 * stdio-common/tfformat.c (matches): Likewise.
25791 * stdio-common/vfprintf.c (outchar): Likewise.
25792 (printf_unknown): Likewise.
25793 (buffered_vfprintf): Likewise.
25794 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25795 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25796 (ReadFile): Likewise.
25797 * stdlib/qsort.c (SWAP): Likewise.
25798 (_quicksort): Likewise.
25799 * stdlib/setenv.c (__add_to_environ): Likewise.
25800 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25801 * stdlib/strtol_l.c (__strtol_l): Likewise.
25802 * stdlib/tst-strtod.c (main): Likewise.
25803 * stdlib/tst-strtol.c (main): Likewise.
25804 * stdlib/tst-strtoll.c (main): Likewise.
25805 * string/bits/string2.h (__strcmp_cc): Likewise.
25806 (__strcmp_cg): Likewise.
25807 (__strcspn_c1): Likewise.
25808 (__strcspn_c2): Likewise.
25809 (__strcspn_c3): Likewise.
25810 (__strspn_c1): Likewise.
25811 (__strspn_c2): Likewise.
25812 (__strspn_c3): Likewise.
25813 (__strsep_1c): Likewise.
25814 (__strsep_2c): Likewise.
25815 (__strsep_3c): Likewise.
25816 * string/memccpy.c (__memccpy): Likewise.
25817 * string/stpcpy.c (__stpcpy): Likewise.
25818 * string/strcmp.c (strcmp): Likewise.
25819 * string/strrchr.c (strrchr): Likewise.
25820 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25822 * sysdeps/mach/hurd/getcwd.c
25823 (_hurd_canonicalize_directory_name_internal): Likewise.
25824 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25825 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25826 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25827 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25828 Likewise, in both definitions.
25829 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25831 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25832 64] (__bswap_64): Likewise.
25833 * time/test_time.c (main): Likewise.
25834 * time/tzfile.c (__tzfile_read): Likewise.
25835 (__tzfile_compute): Likewise.
25836 * time/tzset.c (__tzset_parse_tz): Likewise.
25837 (tzset_internal): Likewise.
25838 (compute_change): Likewise.
25839 * wcsmbs/wcscat.c (__wcscat): Likewise.
25840 * wcsmbs/wcschr.c (wcschr): Likewise.
25841 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25842 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25843 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25844 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25845 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25846 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25847 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25848 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25849 * wcsmbs/wmemset.c (wmemset): Likewise.
25851 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25853 * scripts/config.guess: Update to version 2013-05-16.
25854 * scripts/config.sub: Update to version 2013-04-24.
25855 * scripts/install-sh: Update to version 2011-11-20.07.
25856 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25857 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25859 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25861 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25862 * elf/sln.c: Likewise.
25863 * hurd/hurd/ioctl.h: Likewise.
25864 * hurd/hurdmalloc.c: Likewise.
25865 * hurd/xattr.c: Likewise.
25866 * include/shlib-compat.h: Likewise.
25867 * inet/ruserpass.c: Likewise.
25868 * libio/iofgets_u.c: Likewise.
25869 * libio/iofgetws_u.c: Likewise.
25870 * locale/programs/ld-identification.c: Likewise.
25871 * locale/programs/ld-time.c: Likewise.
25872 * mach/msg-destroy.c: Likewise.
25873 * nss/nss_files/files-netgrp.c: Likewise.
25874 * resolv/res_data.c: Likewise.
25875 * soft-fp/op-1.h: Likewise.
25876 * soft-fp/op-2.h: Likewise.
25877 * soft-fp/op-4.h: Likewise.
25878 * soft-fp/op-common.h: Likewise.
25879 * stdio-common/printf_fphex.c: Likewise.
25880 * stdlib/strtod_l.c: Likewise.
25881 * sunrpc/rpc/clnt.h: Likewise.
25882 * sysdeps/generic/framestate.c: Likewise.
25883 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25884 * sysdeps/i386/bsd-setjmp.S: Likewise.
25885 * sysdeps/i386/__longjmp.S: Likewise.
25886 * sysdeps/i386/setjmp.S: Likewise.
25887 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25889 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25905 * sysdeps/ieee754/support.c: Likewise.
25906 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25907 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25908 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25909 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25910 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25911 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25912 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25913 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25914 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25915 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25916 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25917 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25918 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25919 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25920 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25921 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25922 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25925 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25927 * posix/transbug.c: Remove executable mode.
25929 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25931 * crypt/speeds.c: Remove trailing whitespace.
25932 * dlfcn/default.c: Likewise.
25933 * elf/ifuncdep2.c: Likewise.
25934 * elf/ifuncmain1.c: Likewise.
25935 * elf/ifuncmain1vis.c: Likewise.
25936 * elf/testobj.h: Likewise.
25937 * elf/tst-stackguard1.c: Likewise.
25938 * gmon/sys/gmon.h: Likewise.
25939 * hurd/hurdmsg.c: Likewise.
25940 * hurd/new-fd.c: Likewise.
25941 * hurd/ports-get.c: Likewise.
25942 * iconvdata/ibm1008_420.c: Likewise.
25943 * inet/tst-getni1.c: Likewise.
25944 * inet/tst-getni2.c: Likewise.
25945 * libio/ioungetc.c: Likewise.
25946 * libio/wfiledoalloc.c: Likewise.
25947 * manual/libm-err-tab.pl: Likewise.
25948 * math/w_dremf.c: Likewise.
25949 * misc/ftruncate.c: Likewise.
25950 * posix/bug-glob2.c: Likewise.
25951 * posix/tst-pcre.c: Likewise.
25952 * posix/wait4.c: Likewise.
25953 * resolv/README: Likewise.
25954 * resolv/res_debug.h: Likewise.
25955 * resolv/tst-inet_ntop.c: Likewise.
25956 * setjmp/bug269-setjmp.c: Likewise.
25957 * soft-fp/extended.h: Likewise.
25958 * soft-fp/op-1.h: Likewise.
25959 * soft-fp/op-2.h: Likewise.
25960 * soft-fp/op-4.h: Likewise.
25961 * soft-fp/op-8.h: Likewise.
25962 * soft-fp/testit.c: Likewise.
25963 * stdio-common/bug16.c: Likewise.
25964 * stdlib/random.c: Likewise.
25965 * sunrpc/rpcsvc/rquota.x: Likewise.
25966 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25967 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25969 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25970 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25971 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25972 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25973 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25974 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25975 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25976 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25977 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25979 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25980 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25981 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25982 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25983 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25984 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25985 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25986 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25987 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25988 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25989 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25990 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25991 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25994 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25995 * sysdeps/ieee754/s_lib_version.c: Likewise.
25996 * sysdeps/mach/hurd/check_fds.c: Likewise.
25997 * sysdeps/mach/hurd/getsockname.c: Likewise.
25998 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25999 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26000 * sysdeps/powerpc/bits/link.h: Likewise.
26001 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26002 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26003 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26004 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26005 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26006 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26007 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26008 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26009 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26010 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26011 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26012 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26013 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26014 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26015 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26016 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26017 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26018 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26019 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26020 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26021 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26022 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26023 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26024 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26025 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26026 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26027 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26028 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26029 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26030 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26031 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26032 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26033 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26034 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26035 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26036 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26037 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26038 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26039 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26040 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26041 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26042 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26043 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26044 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26045 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26046 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26047 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26048 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26049 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26050 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26051 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26052 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26054 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26055 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26056 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26057 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26058 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26059 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26060 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26061 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26062 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26063 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26064 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26065 * sysdeps/powerpc/sysdep.h: Likewise.
26066 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26067 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26068 * sysdeps/sh/dl-trampoline.S: Likewise.
26069 * sysdeps/sh/memset.S: Likewise.
26070 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26071 * sysdeps/sh/strlen.S: Likewise.
26072 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26073 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26074 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26075 * sysdeps/sparc/sparc32/rem.S: Likewise.
26076 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26077 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26078 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26079 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26080 * sysdeps/sparc/sparc32/urem.S: Likewise.
26081 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26082 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26083 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26084 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26085 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26086 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26087 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26088 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26089 * sysdeps/unix/bsd/times.c: Likewise.
26090 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26091 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26095 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26096 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26097 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26098 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26099 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26100 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26101 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26102 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26103 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26104 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26105 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26106 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26107 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26108 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26109 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26110 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26111 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26112 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26113 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26114 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26115 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26116 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26117 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26118 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26119 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26120 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26121 * sysdeps/x86_64/strcspn.S: Likewise.
26123 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26125 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26126 generated file. Regenerate properly from gen-translit.pl.
26127 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26128 locale/C-translit.h.
26130 2013-06-05 Andreas Schwab <schwab@suse.de>
26133 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26134 week as 6 instead of -1.
26135 * time/tst-strptime.c (day_tests): Add test case.
26137 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26139 * sysdeps/generic/math_private.h
26140 (libc_feholdexcept_setround_53bit): Replace with
26141 libc_feholdsetround_53bit.
26142 (libc_feupdateenv_53bit): Replace with
26143 libc_feresetround_53bit.
26144 (SET_RESTORE_ROUND_53BIT): Adjust.
26146 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26148 * string/test-strchrnul.c: Add copyright header.
26150 * posix/tst-getaddrinfo4.c: Increase test timeout.
26152 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26155 * math/libm-test.inc (MAX_EXP): Remove
26157 (ulp): Use MIN_EXP - MANT_DIG.
26158 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26160 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26162 * po/be.po: Revert last change.
26163 * po/zh_CN.po: Likewise.
26164 * po/header.pot: Likewise.
26166 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26168 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26169 link-libc-deps to empty as target-specific variable.
26170 * Makerules (link-libc-args): New variable.
26171 (libc-for-link): Likewise.
26172 (link-libc-deps): Likewise.
26173 (lib%.so): Depend on $(link-libc-deps). Link with
26175 (build-module): Link with $(link-libc-args).
26176 (build-module-asneeded): Likewise.
26177 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26179 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26180 target-specific variable.
26181 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26182 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26183 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26185 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26187 ($(objpfx)libpcprofile.so): Likewise.
26188 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26190 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26191 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26192 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26194 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26195 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26196 * login/Makefile ($(objpfx)libutil.so): Likewise.
26197 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26198 * math/Makefile ($(objpfx)libm.so): Likewise.
26199 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26200 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26201 variable instead of depending directly on libc.
26202 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26203 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26205 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26207 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26208 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26209 ($(objpfx)libanl.so): Likewise.
26210 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26212 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26214 * sysdeps/i386/fpu/Makefile: Remove file.
26215 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26216 ($(objpfx)libm.so): Remove dependency on ld.so.
26218 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26221 * nis/yp_xdr.c (XDRMAXNAME): Define.
26222 (XDRMAXRECORD): Define.
26223 (xdr_domainname): Use XDRMAXNAME.
26224 (xdr_mapname): Likewise.
26225 (xdr_peername): Likewise.
26226 (xdr_keydat): Use XDRMAXRECORD.
26227 (xdr_valdat): Likewise.
26229 2013-05-30 Jeff Law <law@redhat.com>
26232 * manual/errno.texi (ESTALE): Update to account for more than
26233 just NFS file systems.
26234 * sysdeps/gnu/errlist.c: Regenerated.
26236 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26239 * elf/Makefile (tests): Add tst-null-argv.
26240 (modules-names): Add tst-null-argv-lib.
26241 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26242 (tst-null-argv-ENV): Set environment for tst-null-argv.
26243 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26244 (RTLD_PROGNAME): New macro.
26245 * elf/tst-null-argv.c: New test case.
26246 * elf/tst-null-argv-lib.c: Library for test case.
26247 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26248 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26249 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26250 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26251 * elf/dl-init.c (call_init): Likewise.
26252 (_dl_init): Likewise.
26253 * elf/dl-load.c (print_search_path): Likewise.
26254 (_dl_map_object): Likewise.
26255 * elf/dl-lookup.c (do_lookup_x): Likewise.
26256 (add_dependency): Likewise.
26257 (_dl_lookup_symbol_x): Likewise.
26258 (_dl_debug_bindings): Likewise.
26259 * elf/dl-open.c (_dl_show_scope): Likewise.
26260 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26261 * elf/dl-version.c (match_symbol): Likewise.
26262 (_dl_check_map_versions): Likewise.
26263 * elf/rtld.c (dl_main): Likewise.
26264 (print_unresolved): Use RTLD_PROGNAME.
26265 (print_missing_version): Likewise.
26266 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26267 (elf_machine_rela): Likewise.
26268 * sysdeps/powerpc/powerpc32/dl-machine.c
26269 (__process_machine_rela): Likewise.
26270 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26272 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26274 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26276 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26279 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26283 2013-05-28 Carlos O'Donell <carlos@redhat.com>
26285 * po/be.po: Add descriptive title.
26286 * po/zh_CN.po: Likewise.
26287 * po/header.pot: Likewise.
26289 2013-05-28 Mike Frysinger <vapier@gentoo.org>
26291 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26293 (enlarge_archive): Likewise.
26295 2013-05-28 Ben North <ben@redfrontdoor.org>
26297 * manual/arith.texi (frexp): It is the magnitude of the return
26298 value which lies in [0.5, 1), not the return value itself.
26300 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26304 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26306 * stdio-common/bug26.c (main): Correct fscanf template.
26308 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26309 declare _dl_skip_args.
26311 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26314 * manual/platform.texi: Add missing @end deftypefun.
26316 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26319 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26320 bit of mantissa of 2^16382.
26321 * math/libm-test.inc (hypot_test_data): Add more tests.
26323 * math/libm-test.inc: Add drem and pow10 to list of tested
26325 (pow10_test): New function.
26326 (drem_test): Likewise.
26327 (drem_test_tonearest): Likewise.
26328 (drem_test_towardzero): Likewise.
26329 (drem_test_downward): Likewise.
26330 (drem_test_upward): Likewise.
26331 (main): Call the new functions.
26333 * math/libm-test.inc (finite_test_data): Remove.
26334 (finite_test): Run tests from isfinite_test_data.
26335 (gamma_test_data): Remove.
26336 (gamma_test): Run tests from lgamma_test_data.
26337 * sysdeps/i386/fpu/libm-test-ulps: Update.
26338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26340 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26342 * manual/platform.texi: Add PowerPC PPR function set documentation.
26343 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26346 2013-05-24 Carlos O'Donell <carlos@redhat.com>
26348 * math/libm-test.inc (MAX_EXP): Define.
26350 (ulp): New function.
26351 (check_float_internal): Use ULPDIFF.
26352 (cpow_test): Disable failing test.
26353 (check_ulp): Test ulp() implemetnation.
26354 (main): Call check_ulp before starting tests.
26356 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26358 * math/gen-libm-test.pl (generate_testfile): Do not handle
26359 START_DATA and END_DATA.
26360 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26362 (acos_tonearest_test_data): Likewise.
26363 (acos_towardzero_test_data): Likewise.
26364 (acos_downward_test_data): Likewise.
26365 (acos_upward_test_data): Likewise.
26366 (acosh_test_data): Likewise.
26367 (asin_test_data): Likewise.
26368 (asin_tonearest_test_data): Likewise.
26369 (asin_towardzero_test_data): Likewise.
26370 (asin_downward_test_data): Likewise.
26371 (asin_upward_test_data): Likewise.
26372 (asinh_test_data): Likewise.
26373 (atan_test_data): Likewise.
26374 (atanh_test_data): Likewise.
26375 (atan2_test_data): Likewise.
26376 (cabs_test_data): Likewise.
26377 (cacos_test_data): Likewise.
26378 (cacosh_test_data): Likewise.
26379 (carg_test_data): Likewise.
26380 (casin_test_data): Likewise.
26381 (casinh_test_data): Likewise.
26382 (catan_test_data): Likewise.
26383 (catanh_test_data): Likewise.
26384 (cbrt_test_data): Likewise.
26385 (ccos_test_data): Likewise.
26386 (ccosh_test_data): Likewise.
26387 (ceil_test_data): Likewise.
26388 (cexp_test_data): Likewise.
26389 (cimag_test_data): Likewise.
26390 (clog_test_data): Likewise.
26391 (clog10_test_data): Likewise.
26392 (conj_test_data): Likewise.
26393 (copysign_test_data): Likewise.
26394 (cos_test_data): Likewise.
26395 (cos_tonearest_test_data): Likewise.
26396 (cos_towardzero_test_data): Likewise.
26397 (cos_downward_test_data): Likewise.
26398 (cos_upward_test_data): Likewise.
26399 (cosh_test_data): Likewise.
26400 (cosh_tonearest_test_data): Likewise.
26401 (cosh_towardzero_test_data): Likewise.
26402 (cosh_downward_test_data): Likewise.
26403 (cosh_upward_test_data): Likewise.
26404 (cpow_test_data): Likewise.
26405 (cproj_test_data): Likewise.
26406 (creal_test_data): Likewise.
26407 (csin_test_data): Likewise.
26408 (csinh_test_data): Likewise.
26409 (csqrt_test_data): Likewise.
26410 (ctan_test_data): Likewise.
26411 (ctan_tonearest_test_data): Likewise.
26412 (ctan_towardzero_test_data): Likewise.
26413 (ctan_downward_test_data): Likewise.
26414 (ctan_upward_test_data): Likewise.
26415 (ctanh_test_data): Likewise.
26416 (ctanh_tonearest_test_data): Likewise.
26417 (ctanh_towardzero_test_data): Likewise.
26418 (ctanh_downward_test_data): Likewise.
26419 (ctanh_upward_test_data): Likewise.
26420 (erf_test_data): Likewise.
26421 (erfc_test_data): Likewise.
26422 (exp_test_data): Likewise.
26423 (exp_tonearest_test_data): Likewise.
26424 (exp_towardzero_test_data): Likewise.
26425 (exp_downward_test_data): Likewise.
26426 (exp_upward_test_data): Likewise.
26427 (exp10_test_data): Likewise.
26428 (exp2_test_data): Likewise.
26429 (expm1_test_data): Likewise.
26430 (fabs_test_data): Likewise.
26431 (fdim_test_data): Likewise.
26432 (finite_test_data): Likewise.
26433 (floor_test_data): Likewise.
26434 (fma_test_data): Likewise.
26435 (fma_towardzero_test_data): Likewise.
26436 (fma_downward_test_data): Likewise.
26437 (fma_upward_test_data): Likewise.
26438 (fmax_test_data): Likewise.
26439 (fmin_test_data): Likewise.
26440 (fmod_test_data): Likewise.
26441 (fpclassify_test_data): Likewise.
26442 (frexp_test_data): Likewise.
26443 (gamma_test_data): Likewise.
26444 (hypot_test_data): Likewise.
26445 (ilogb_test_data): Likewise.
26446 (isfinite_test_data): Likewise.
26447 (isgreater_test_data): Likewise.
26448 (isgreaterequal_test_data): Likewise.
26449 (isinf_test_data): Likewise.
26450 (isless_test_data): Likewise.
26451 (islessequal_test_data): Likewise.
26452 (islessgreater_test_data): Likewise.
26453 (isnan_test_data): Likewise.
26454 (isnormal_test_data): Likewise.
26455 (issignaling_test_data): Likewise.
26456 (isunordered_test_data): Likewise.
26457 (j0_test_data): Likewise.
26458 (j1_test_data): Likewise.
26459 (jn_test_data): Likewise.
26460 (ldexp_test_data): Likewise.
26461 (lgamma_test_data): Likewise.
26462 (lrint_test_data): Likewise.
26463 (lrint_tonearest_test_data): Likewise.
26464 (lrint_towardzero_test_data): Likewise.
26465 (lrint_downward_test_data): Likewise.
26466 (lrint_upward_test_data): Likewise.
26467 (llrint_test_data): Likewise.
26468 (llrint_tonearest_test_data): Likewise.
26469 (llrint_towardzero_test_data): Likewise.
26470 (llrint_downward_test_data): Likewise.
26471 (llrint_upward_test_data): Likewise.
26472 (log_test_data): Likewise.
26473 (log10_test_data): Likewise.
26474 (log1p_test_data): Likewise.
26475 (log2_test_data): Likewise.
26476 (logb_test_data): Likewise.
26477 (logb_downward_test_data): Likewise.
26478 (lround_test_data): Likewise.
26479 (llround_test_data): Likewise.
26480 (modf_test_data): Likewise.
26481 (nearbyint_test_data): Likewise.
26482 (nextafter_test_data): Likewise.
26483 (nexttoward_test_data): Likewise.
26484 (pow_test_data): Likewise.
26485 (pow_tonearest_test_data): Likewise.
26486 (pow_towardzero_test_data): Likewise.
26487 (pow_downward_test_data): Likewise.
26488 (pow_upward_test_data): Likewise.
26489 (remainder_test_data): Likewise.
26490 (remainder_tonearest_test_data): Likewise.
26491 (remainder_towardzero_test_data): Likewise.
26492 (remainder_downward_test_data): Likewise.
26493 (remainder_upward_test_data): Likewise.
26494 (remquo_test_data): Likewise.
26495 (rint_test_data): Likewise.
26496 (rint_tonearest_test_data): Likewise.
26497 (rint_towardzero_test_data): Likewise.
26498 (rint_downward_test_data): Likewise.
26499 (rint_upward_test_data): Likewise.
26500 (round_test_data): Likewise.
26501 (scalb_test_data): Likewise.
26502 (scalbn_test_data): Likewise.
26503 (scalbln_test_data): Likewise.
26504 (signbit_test_data): Likewise.
26505 (sin_test_data): Likewise.
26506 (sin_tonearest_test_data): Likewise.
26507 (sin_towardzero_test_data): Likewise.
26508 (sin_downward_test_data): Likewise.
26509 (sin_upward_test_data): Likewise.
26510 (sincos_test_data): Likewise.
26511 (sinh_test_data): Likewise.
26512 (sinh_tonearest_test_data): Likewise.
26513 (sinh_towardzero_test_data): Likewise.
26514 (sinh_downward_test_data): Likewise.
26515 (sinh_upward_test_data): Likewise.
26516 (sqrt_test_data): Likewise.
26517 (tan_test_data): Likewise.
26518 (tan_tonearest_test_data): Likewise.
26519 (tan_towardzero_test_data): Likewise.
26520 (tan_downward_test_data): Likewise.
26521 (tan_upward_test_data): Likewise.
26522 (tanh_test_data): Likewise.
26523 (tgamma_test_data): Likewise.
26524 (trunc_test_data): Likewise.
26525 (y0_test_data): Likewise.
26526 (y1_test_data): Likewise.
26527 (yn_test_data): Likewise.
26528 (significand_test_data): Likewise.
26530 * math/gen-libm-test.pl (@functions): Remove variable.
26531 (generate_testfile): Don't handle START and END lines.
26532 * math/libm-test.inc (START): New macro.
26534 (END_COMPLEX): Likewise.
26535 (acos_test): Use END macro without arguments.
26536 (acos_test_tonearest): Likewise.
26537 (acos_test_towardzero): Likewise.
26538 (acos_test_downward): Likewise.
26539 (acos_test_upward): Likewise.
26540 (acosh_test): Likewise.
26541 (asin_test): Likewise.
26542 (asin_test_tonearest): Likewise.
26543 (asin_test_towardzero): Likewise.
26544 (asin_test_downward): Likewise.
26545 (asin_test_upward): Likewise.
26546 (asinh_test): Likewise.
26547 (atan_test): Likewise.
26548 (atanh_test): Likewise.
26549 (atan2_test): Likewise.
26550 (cabs_test): Likewise.
26551 (cacos_test): Use END_COMPLEX macro without arguments.
26552 (cacosh_test): Likewise.
26553 (carg_test): Use END macro without arguments.
26554 (casin_test): Use END_COMPLEX macro without arguments.
26555 (casinh_test): Likewise.
26556 (catan_test): Likewise.
26557 (catanh_test): Likewise.
26558 (cbrt_test): Use END macro without arguments.
26559 (ccos_test): Use END_COMPLEX macro without arguments.
26560 (ccosh_test): Likewise.
26561 (ceil_test): Use END macro without arguments.
26562 (cexp_test): Use END_COMPLEX macro without arguments.
26563 (cimag_test): Use END macro without arguments.
26564 (clog_test): Use END_COMPLEX macro without arguments.
26565 (clog10_test): Likewise.
26566 (conj_test): Likewise.
26567 (copysign_test): Use END macro without arguments.
26568 (cos_test): Likewise.
26569 (cos_test_tonearest): Likewise.
26570 (cos_test_towardzero): Likewise.
26571 (cos_test_downward): Likewise.
26572 (cos_test_upward): Likewise.
26573 (cosh_test): Likewise.
26574 (cosh_test_tonearest): Likewise.
26575 (cosh_test_towardzero): Likewise.
26576 (cosh_test_downward): Likewise.
26577 (cosh_test_upward): Likewise.
26578 (cpow_test): Use END_COMPLEX macro without arguments.
26579 (cproj_test): Likewise.
26580 (creal_test): Use END macro without arguments.
26581 (csin_test): Use END_COMPLEX macro without arguments.
26582 (csinh_test): Likewise.
26583 (csqrt_test): Likewise.
26584 (ctan_test): Likewise.
26585 (ctan_test_tonearest): Likewise.
26586 (ctan_test_towardzero): Likewise.
26587 (ctan_test_downward): Likewise.
26588 (ctan_test_upward): Likewise.
26589 (ctanh_test): Likewise.
26590 (ctanh_test_tonearest): Likewise.
26591 (ctanh_test_towardzero): Likewise.
26592 (ctanh_test_downward): Likewise.
26593 (ctanh_test_upward): Likewise.
26594 (erf_test): Use END macro without arguments.
26595 (erfc_test): Likewise.
26596 (exp_test): Likewise.
26597 (exp_test_tonearest): Likewise.
26598 (exp_test_towardzero): Likewise.
26599 (exp_test_downward): Likewise.
26600 (exp_test_upward): Likewise.
26601 (exp10_test): Likewise.
26602 (exp2_test): Likewise.
26603 (expm1_test): Likewise.
26604 (fabs_test): Likewise.
26605 (fdim_test): Likewise.
26606 (finite_test): Likewise.
26607 (floor_test): Likewise.
26608 (fma_test): Likewise.
26609 (fma_test_towardzero): Likewise.
26610 (fma_test_downward): Likewise.
26611 (fma_test_upward): Likewise.
26612 (fmax_test): Likewise.
26613 (fmin_test): Likewise.
26614 (fmod_test): Likewise.
26615 (fpclassify_test): Likewise.
26616 (frexp_test): Likewise.
26617 (gamma_test): Likewise.
26618 (hypot_test): Likewise.
26619 (ilogb_test): Likewise.
26620 (isfinite_test): Likewise.
26621 (isgreater_test): Likewise.
26622 (isgreaterequal_test): Likewise.
26623 (isinf_test): Likewise.
26624 (isless_test): Likewise.
26625 (islessequal_test): Likewise.
26626 (islessgreater_test): Likewise.
26627 (isnan_test): Likewise.
26628 (isnormal_test): Likewise.
26629 (issignaling_test): Likewise.
26630 (isunordered_test): Likewise.
26631 (j0_test): Likewise.
26632 (j1_test): Likewise.
26633 (jn_test): Likewise.
26634 (ldexp_test): Likewise.
26635 (lgamma_test): Likewise.
26636 (lrint_test): Likewise.
26637 (lrint_test_tonearest): Likewise.
26638 (lrint_test_towardzero): Likewise.
26639 (lrint_test_downward): Likewise.
26640 (lrint_test_upward): Likewise.
26641 (llrint_test): Likewise.
26642 (llrint_test_tonearest): Likewise.
26643 (llrint_test_towardzero): Likewise.
26644 (llrint_test_downward): Likewise.
26645 (llrint_test_upward): Likewise.
26646 (log_test): Likewise.
26647 (log10_test): Likewise.
26648 (log1p_test): Likewise.
26649 (log2_test): Likewise.
26650 (logb_test): Likewise.
26651 (logb_test_downward): Likewise.
26652 (lround_test): Likewise.
26653 (llround_test): Likewise.
26654 (modf_test): Likewise.
26655 (nearbyint_test): Likewise.
26656 (nextafter_test): Likewise.
26657 (nexttoward_test): Likewise.
26658 (pow_test): Likewise.
26659 (pow_test_tonearest): Likewise.
26660 (pow_test_towardzero): Likewise.
26661 (pow_test_downward): Likewise.
26662 (pow_test_upward): Likewise.
26663 (remainder_test): Likewise.
26664 (remainder_test_tonearest): Likewise.
26665 (remainder_test_towardzero): Likewise.
26666 (remainder_test_downward): Likewise.
26667 (remainder_test_upward): Likewise.
26668 (remquo_test): Likewise.
26669 (rint_test): Likewise.
26670 (rint_test_tonearest): Likewise.
26671 (rint_test_towardzero): Likewise.
26672 (rint_test_downward): Likewise.
26673 (rint_test_upward): Likewise.
26674 (round_test): Likewise.
26675 (scalb_test): Likewise.
26676 (scalbn_test): Likewise.
26677 (scalbln_test): Likewise.
26678 (signbit_test): Likewise.
26679 (sin_test): Likewise.
26680 (sin_test_tonearest): Likewise.
26681 (sin_test_towardzero): Likewise.
26682 (sin_test_downward): Likewise.
26683 (sin_test_upward): Likewise.
26684 (sincos_test): Likewise.
26685 (sinh_test): Likewise.
26686 (sinh_test_tonearest): Likewise.
26687 (sinh_test_towardzero): Likewise.
26688 (sinh_test_downward): Likewise.
26689 (sinh_test_upward): Likewise.
26690 (sqrt_test): Likewise.
26691 (tan_test): Likewise.
26692 (tan_test_tonearest): Likewise.
26693 (tan_test_towardzero): Likewise.
26694 (tan_test_downward): Likewise.
26695 (tan_test_upward): Likewise.
26696 (tanh_test): Likewise.
26697 (tgamma_test): Likewise.
26698 (trunc_test): Likewise.
26699 (y0_test): Likewise.
26700 (y1_test): Likewise.
26701 (yn_test): Likewise.
26702 (significand_test): Likewise.
26704 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
26707 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26709 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26712 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26713 __ppc_mdoio and __ppc_mdoom.
26714 * manual/platform.texi: Document new functions __ppc_yield,
26715 __ppc_mdoio and __ppc_mdoom.
26717 2013-05-22 Carlos O'Donell <carlos@redhat.com>
26719 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26720 (main): Mention "tls" pseudo-hwcap is legacy.
26721 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26723 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26725 * math/gen-libm-test.pl (parse_args): Output only string of
26726 arguments as text for test name, not full call or descriptions of
26727 tests for extra outputs.
26728 (generate_testfile): Do not pass function name to parse_args.
26729 Generate this_func variable from START.
26730 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26732 (struct test_ff_f_data): Likewise.
26733 (test_ff_f_data_nexttoward): Likewise.
26734 (struct test_fi_f_data): Likewise.
26735 (struct test_fl_f_data): Likewise.
26736 (struct test_if_f_data): Likewise.
26737 (struct test_fff_f_data): Likewise.
26738 (struct test_c_f_data): Likewise.
26739 (struct test_f_f1_data): Likewise. Remove field extra_name.
26740 (struct test_fF_f1_data): Likewise.
26741 (struct test_ffI_f1_data): Likewise.
26742 (struct test_c_c_data): Rename test_name field to arg_str.
26743 (struct test_cc_c_data): Likewise.
26744 (struct test_f_i_data): Likewise.
26745 (struct test_ff_i_data): Likewise.
26746 (struct test_f_l_data): Likewise.
26747 (struct test_f_L_data): Likewise.
26748 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26750 (COMMON_TEST_SETUP): New macro.
26751 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26752 (COMMON_TEST_CLEANUP): Likewise.
26753 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26754 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26756 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26757 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26759 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26760 (RUN_TEST_fff_f): Take argument string. Call new setup and
26762 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26763 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26765 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26766 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26768 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26769 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26771 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26772 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26774 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26775 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26777 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26778 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26780 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26781 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26783 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26784 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26786 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26787 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26789 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26790 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26792 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26793 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26795 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26796 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26798 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26799 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26801 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26802 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26804 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26805 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26807 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26809 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26811 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26812 to _sifields.sigfault.
26813 (si_addr_lsb): Define new macro.
26814 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26815 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26816 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26818 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26821 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26823 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26825 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26826 loading the domain.
26828 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26830 * math/gen-libm-test.pl (parse_args): Do not include expected
26831 result in test name.
26832 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26834 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26835 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26836 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26839 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26841 * benchtests/Makefile: Sort function entries.
26843 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26844 tanh, asinh, acosh, atanh.
26845 * benchtests/acos-inputs: New file.
26846 * benchtests/acosh-inputs: New file.
26847 * benchtests/asin-inputs: New file.
26848 * benchtests/asinh-inputs: New file.
26849 * benchtests/atanh-inputs: New file.
26850 * benchtests/cosh-inputs: New file.
26851 * benchtests/log-inputs: New file.
26852 * benchtests/sinh-inputs: New file.
26853 * benchtests/tanh-inputs: New file.
26855 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26858 * posix/tst-getaddrinfo4.c: New test.
26859 * posix/Makefile (tests): Add it.
26861 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26864 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26865 when no services were used.
26866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26867 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26869 2013-05-21 Andreas Schwab <schwab@suse.de>
26872 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26873 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26875 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26876 redundant variable declarations and reallocation of buffer when
26877 parsing as IPv6 address. Always set NSS status when called from
26878 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26879 buffer too small. Correct computation of needed size.
26880 * nss/Makefile (tests): Add test-digits-dots.
26881 * nss/test-digits-dots.c: New test.
26883 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26885 * benchtests/Makefile: Remove instructions for adding
26887 * benchtests/README: New file to explain how to execute and
26888 enhance the benchmark tests.
26890 2013-05-21 Andreas Schwab <schwab@suse.de>
26893 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26894 * setjmp/tst-sigsetjmp.c: New test.
26896 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26898 * sysdeps/x86_64/memset.S (memset): New implementation.
26899 (__bzero): Likewise.
26900 (__memset_tail): New function.
26902 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26904 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26905 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26906 __memcpy_sse2_unaligned ifunc selection.
26907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26908 Add memcpy-sse2-unaligned.S.
26909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26910 Add: __memcpy_sse2_unaligned.
26912 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26915 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26916 math_force_eval before restoring floating-point envrionment.
26917 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26920 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26922 (__nearbyintl): Use math_force_eval before restoring
26923 floating-point environment.
26924 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26926 * math/gen-libm-test.pl (special_functions): Remove.
26927 (parse_args): Don't handle TEST_extra. Handle functions with no
26929 * math/libm-test.inc (struct test_sincos_data): Replace with
26930 struct test_fFF_11_data.
26931 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26932 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26933 (sincos_test_data): Change element type to struct
26934 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26935 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26936 RUN_TEST_LOOP_sincos.
26937 * math/README.libm-test: Don't mention special handling of
26938 individual functions.
26939 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26940 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26941 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26943 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26946 * math/gen-libm-test.pl (get_variable): Remove function.
26947 (parse_args): Don't show pointer parameters to call in test
26948 names. Use "extra output N" in test names for extra outputs
26949 rather than naming variables.
26951 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26954 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26955 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26956 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26958 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26960 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26963 * math/gen-libm-test.pl (@tests): Remove variable.
26964 ($count): Likewise.
26965 (new_test): Remove function.
26966 (show_exceptions): New function.
26967 (special_functions): Use show_exceptions instead of new_test.
26968 (parse_args): Likewise.
26969 (generate_testfile): Pass only function name in generated call to
26970 print_max_error or print_complex_max_error.
26971 (get_ulps): Do not handle complex tests specially.
26972 (output_test): Rename to ...
26973 (get_all_ulps_for_test): ... this. Return a string rather than
26974 printing to a file. Require ulps to be present.
26975 (output_ulps): Generate arrays rather than #defines.
26976 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26977 (struct ulp_data): New type.
26978 (BUILD_COMPLEX_ULP): Remove macro.
26979 (compare_ulp_data): New function.
26980 (find_ulps): Likewise.
26981 (find_test_ulps): Likewise.
26982 (find_function_ulps): Likewise.
26983 (find_complex_function_ulps): Likewise.
26984 (print_max_error): Determine allowed ulps using
26985 find_function_ulps.
26986 (print_complex_max_error): Determine allowed ulps using
26987 find_complex_function_ulps.
26988 (check_float_internal): Determine max ulps using find_test_ulps.
26989 (check_float): Do not take max_ulp parameter. Update call to
26990 check_float_internal.
26991 (check_complex): Likewise.
26992 (check_int): Do not take max_ulp parameter.
26993 (check_long): Likewise.
26994 (check_bool): Likewise.
26995 (check_longlong): Likewise.
26996 (struct test_f_f_data): Remove max_ulp field.
26997 (struct test_ff_f_data): Likewise.
26998 (struct test_ff_f_data_nexttoward): Likewise.
26999 (struct test_fi_f_data): Likewise.
27000 (struct test_fl_f_data): Likewise.
27001 (struct test_if_f_data): Likewise.
27002 (struct test_fff_f_data): Likewise.
27003 (struct test_c_f_data): Likewise.
27004 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27005 (struct test_fF_f1_data): Likewise.
27006 (struct test_ffI_f1_data): Likewise.
27007 (struct test_c_c_data): Remove max_ulp field.
27008 (struct test_cc_c_data): Likewise.
27009 (struct test_f_i_data): Likewise.
27010 (struct test_ff_i_data): Likewise.
27011 (struct test_f_l_data): Likewise.
27012 (struct test_f_L_data): Likewise.
27013 (struct test_sincos_data): Likewise.
27014 (RUN_TEST_f_f): Do not handle ulps.
27015 (RUN_TEST_LOOP_f_f): Likewise.
27016 (RUN_TEST_2_f): Likewise.
27017 (RUN_TEST_LOOP_2_f): Likewise.
27018 (RUN_TEST_fff_f): Likewise.
27019 (RUN_TEST_LOOP_fff_f): Likewise.
27020 (RUN_TEST_c_f): Likewise.
27021 (RUN_TEST_LOOP_c_f): Likewise.
27022 (RUN_TEST_f_f1): Likewise.
27023 (RUN_TEST_LOOP_f_f1): Likewise.
27024 (RUN_TEST_fF_f1): Likewise.
27025 (RUN_TEST_LOOP_fF_f1): Likewise.
27026 (RUN_TEST_fI_f1): Likewise.
27027 (RUN_TEST_LOOP_fI_f1): Likewise.
27028 (RUN_TEST_ffI_f1): Likewise.
27029 (RUN_TEST_LOOP_ffI_f1): Likewise.
27030 (RUN_TEST_c_c): Likewise.
27031 (RUN_TEST_LOOP_c_c): Likewise.
27032 (RUN_TEST_cc_c): Likewise.
27033 (RUN_TEST_LOOP_cc_c): Likewise.
27034 (RUN_TEST_f_i): Likewise.
27035 (RUN_TEST_LOOP_f_i): Likewise.
27036 (RUN_TEST_f_i_tg): Likewise.
27037 (RUN_TEST_LOOP_f_i_tg): Likewise.
27038 (RUN_TEST_ff_i_tg): Likewise.
27039 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27040 (RUN_TEST_f_b): Likewise.
27041 (RUN_TEST_LOOP_f_b): Likewise.
27042 (RUN_TEST_f_b_tg): Likewise.
27043 (RUN_TEST_LOOP_f_b_tg): Likewise.
27044 (RUN_TEST_f_l): Likewise.
27045 (RUN_TEST_LOOP_f_l): Likewise.
27046 (RUN_TEST_f_L): Likewise.
27047 (RUN_TEST_LOOP_f_L): Likewise.
27048 (RUN_TEST_sincos): Likewise.
27049 (RUN_TEST_LOOP_sincos): Likewise.
27051 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27055 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27056 main case of finite arguments, set rounding mode to FE_TONEAREST
27057 and discard exceptions.
27058 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27060 (remainder_tonearest_test_data): New variable.
27061 (remainder_test_tonearest): New function.
27062 (remainder_towardzero_test_data): New variable.
27063 (remainder_test_towardzero): New function.
27064 (remainder_downward_test_data): New variable.
27065 (remainder_test_downward): New function.
27066 (remainder_upward_test_data): New variable.
27067 (remainder_test_upward): New function.
27068 (main): Call the new test functions.
27070 * math/libm-test.inc (struct test_f_f1_data): Remove field
27072 (struct test_fF_f1_data): Likewise.
27073 (struct test_ffI_f1_data): Likewise.
27074 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27075 based on value of EXTRA_EXPECTED.
27076 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27077 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27078 EXTRA_VAR based on value of EXTRA_EXPECTED.
27079 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27080 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27081 EXTRA_VAR based on value of EXTRA_EXPECTED.
27082 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27083 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27084 EXTRA_VAR based on value of EXTRA_EXPECTED.
27085 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27086 * math/gen-libm-test.pl (parse_args): Don't output initializers
27087 for extra output values.
27089 * math/libm-test.inc (check_int): Expect result to be exactly
27090 equal to expected value and do not handle ulps.
27091 (check_long): Likewise.
27092 (check_longlong): Likewise.
27094 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27096 (cimag_test_data): Likewise.
27097 (conj_test_data): Likewise.
27098 (copysign_test_data): Likewise.
27099 (cproj_test_data): Likewise.
27100 (creal_test_data): Likewise.
27101 (fabs_test_data): Likewise.
27102 (fdim_test_data): Likewise.
27103 (finite_test_data): Likewise.
27104 (floor_test_data): Likewise.
27105 (fmax_test_data): Likewise.
27106 (fmin_test_data): Likewise.
27107 (fmod_test_data): Likewise.
27108 (fpclassify_test_data): Likewise.
27109 (frexp_test_data): Likewise.
27110 (ilogb_test_data): Likewise.
27111 (isfinite_test_data): Likewise.
27112 (isgreater_test_data): Likewise.
27113 (isgreaterequal_test_data): Likewise.
27114 (isinf_test_data): Likewise.
27115 (isless_test_data): Likewise.
27116 (islessequal_test_data): Likewise.
27117 (islessgreater_test_data): Likewise.
27118 (isnan_test_data): Likewise.
27119 (isnormal_test_data): Likewise.
27120 (issignaling_test_data): Likewise.
27121 (isunordered_test_data): Likewise.
27122 (ldexp_test_data): Likewise.
27123 (lrint_test_data): Likewise.
27124 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27125 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27126 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27127 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27128 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27129 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27131 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27132 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27133 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27134 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27136 (lrint_downward_test_data): Test for "inexact" exceptions.
27137 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27138 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27139 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27141 (lrint_upward_test_data): Test for "inexact" exceptions.
27142 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27144 (llrint_test_data): Test for "inexact" exceptions.
27145 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27146 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27147 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27148 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27149 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27150 (llrint_downward_test_data): Test for "inexact" exceptions.
27151 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27152 (llrint_upward_test_data): Test for "inexact" exceptions.
27153 (logb_test_data): Likewise.
27154 (logb_downward_test_data): Likewise.
27155 (nextafter_test_data): Likewise.
27156 (nexttoward_test_data): Likewise.
27157 (remainder_test_data): Likewise.
27158 (remquo_test_data): Likewise.
27159 (scalbn_test_data): Likewise.
27160 (scalbln_test_data): Likewise.
27161 (signbit_test_data): Likewise.
27162 (sqrt_test_data): Likewise.
27163 (significand_test_data): Likewise.
27165 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27168 * benchtests/bench-modf.c (struct args): Mark arg0 as
27170 * scripts/bench.pl: Mark members of struct args as volatile.
27172 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27175 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27176 negative infinity on POWER6 or lower.
27177 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27179 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27182 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27183 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27184 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27185 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27186 (_FP_SETQNAN): New macro.
27187 (_FP_SETQNAN_SEMIRAW): Likewise.
27188 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27189 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27190 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27191 (FP_EXTEND): Use _FP_FRAC_SNANP.
27192 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27193 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27195 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27197 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27200 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27202 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27203 with DIVIDE_BY_ZERO_EXCEPTION.
27204 (gamma_test_data): Likewise.
27205 (lgamma_test_data): Likewise.
27206 (log_test_data): Likewise.
27207 (log10_test_data): Likewise.
27208 (log2_test_data): Likewise.
27209 (tgamma_test_data): Likewise.
27211 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27212 (acos_test_tonearest): Likewise.
27213 (acos_test_towardzero): Likewise.
27214 (acos_test_downward): Likewise.
27215 (acos_test_upward): Likewise.
27216 (acosh_test): Likewise.
27217 (asin_test): Likewise.
27218 (asin_test_tonearest): Likewise.
27219 (asin_test_towardzero): Likewise.
27220 (asin_test_downward): Likewise.
27221 (asin_test_upward): Likewise.
27222 (asinh_test): Likewise.
27223 (atan_test): Likewise.
27224 (atanh_test): Likewise.
27225 (atan2_test): Likewise.
27226 (cabs_test): Likewise.
27227 (cacos_test): Likewise.
27228 (cacosh_test): Likewise.
27229 (casin_test): Likewise.
27230 (casinh_test): Likewise.
27231 (catan_test): Likewise.
27232 (catanh_test): Likewise.
27233 (cbrt_test): Likewise.
27234 (ccos_test): Likewise.
27235 (ccosh_test): Likewise.
27236 (cexp_test): Likewise.
27237 (clog_test): Likewise.
27238 (clog10_test): Likewise.
27239 (cos_test): Likewise.
27240 (cos_test_tonearest): Likewise.
27241 (cos_test_towardzero): Likewise.
27242 (cos_test_downward): Likewise.
27243 (cos_test_upward): Likewise.
27244 (cosh_test): Likewise.
27245 (cosh_test_tonearest): Likewise.
27246 (cosh_test_towardzero): Likewise.
27247 (cosh_test_downward): Likewise.
27248 (cosh_test_upward): Likewise.
27249 (cpow_test): Likewise.
27250 (csin_test): Likewise.
27251 (csinh_test): Likewise.
27252 (csqrt_test): Likewise.
27253 (ctan_test): Likewise.
27254 (ctan_test_tonearest): Likewise.
27255 (ctan_test_towardzero): Likewise.
27256 (ctan_test_downward): Likewise.
27257 (ctan_test_upward): Likewise.
27258 (ctanh_test): Likewise.
27259 (ctanh_test_tonearest): Likewise.
27260 (ctanh_test_towardzero): Likewise.
27261 (ctanh_test_downward): Likewise.
27262 (ctanh_test_upward): Likewise.
27263 (erf_test): Likewise.
27264 (erfc_test): Likewise.
27265 (exp_test): Likewise.
27266 (exp_test_tonearest): Likewise.
27267 (exp_test_towardzero): Likewise.
27268 (exp_test_downward): Likewise.
27269 (exp_test_upward): Likewise.
27270 (exp10_test): Likewise.
27271 (exp2_test): Likewise.
27272 (expm1_test): Likewise.
27273 (fmod_test): Likewise.
27274 (gamma_test): Likewise.
27275 (hypot_test): Likewise.
27276 (j0_test): Likewise.
27277 (j1_test): Likewise.
27278 (jn_test): Likewise.
27279 (lgamma_test): Likewise.
27280 (log_test): Likewise.
27281 (log10_test): Likewise.
27282 (log1p_test): Likewise.
27283 (log2_test): Likewise.
27284 (logb_test_downward): Likewise.
27285 (pow_test): Likewise.
27286 (pow_test_tonearest): Likewise.
27287 (pow_test_towardzero): Likewise.
27288 (pow_test_downward): Likewise.
27289 (pow_test_upward): Likewise.
27290 (remainder_test): Likewise.
27291 (remquo_test): Likewise.
27292 (sin_test): Likewise.
27293 (sin_test_tonearest): Likewise.
27294 (sin_test_towardzero): Likewise.
27295 (sin_test_downward): Likewise.
27296 (sin_test_upward): Likewise.
27297 (sincos_test): Likewise.
27298 (sinh_test): Likewise.
27299 (sinh_test_tonearest): Likewise.
27300 (sinh_test_towardzero): Likewise.
27301 (sinh_test_downward): Likewise.
27302 (sinh_test_upward): Likewise.
27303 (sqrt_test): Likewise.
27304 (tan_test): Likewise.
27305 (tan_test_tonearest): Likewise.
27306 (tan_test_towardzero): Likewise.
27307 (tan_test_downward): Likewise.
27308 (tan_test_upward): Likewise.
27309 (tanh_test): Likewise.
27310 (tgamma_test): Likewise.
27311 (y0_test): Likewise.
27312 (y1_test): Likewise.
27313 (yn_test): Likewise.
27315 * math/gen-libm-test.pl (adjust_arg): Remove function.
27316 (special_function): Remove argument $in_func. Only handle
27317 generating output for tables of tests, not inside functions.
27318 (parse_args): Likewise.
27319 (generate_testfile): Remove variable $in_func. Update call to
27321 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27322 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27323 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27324 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27325 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27326 (MAX_VALUE_INIT): Rename macro to max_value.
27327 (MIN_VALUE_INIT): Rename macro to min_value.
27328 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27329 (plus_zero): Remove variable.
27330 (minus_zero): Likewise.
27331 (plus_infty): Likewise.
27332 (minus_infty): Likewise.
27333 (qnan_value): Likewise.
27334 (max_value): Likewise.
27335 (min_value): Likewise.
27336 (min_subnorm_value): Likewise.
27338 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27340 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27341 uint64_t or uint32_t usage.
27342 * crypt/sha256-block.c: Likewise.
27343 * crypt/sha256-crypt.c: Likewise.
27344 * crypt/sha256.c: Likewise.
27345 * crypt/sha512-block.c: Likewise.
27346 * crypt/sha512-crypt.c: Likewise.
27347 * crypt/sha512.c: Likewise.
27348 * debug/backtrace-tst.c: Likewise.
27349 * debug/pcprofiledump.c: Likewise.
27350 * elf/cache.c: Likewise.
27351 * elf/dl-cache.c: Likewise.
27352 * elf/dl-misc.c: Likewise.
27353 * elf/dl-profile.c: Likewise.
27354 * elf/dl-support.c: Likewise.
27355 * elf/ldconfig.c: Likewise.
27356 * elf/sprof.c: Likewise.
27357 * iconv/dummy-repertoire.c: Likewise.
27358 * iconv/iconv_charmap.c: Likewise.
27359 * iconv/skeleton.c: Likewise.
27360 * iconvdata/8bit-generic.c: Likewise.
27361 * iconvdata/cp737.h: Likewise.
27362 * iconvdata/cp775.h: Likewise.
27363 * iconvdata/ibm1008.h: Likewise.
27364 * iconvdata/ibm1025.h: Likewise.
27365 * iconvdata/ibm1046.h: Likewise.
27366 * iconvdata/ibm1097.h: Likewise.
27367 * iconvdata/ibm1112.h: Likewise.
27368 * iconvdata/ibm1122.h: Likewise.
27369 * iconvdata/ibm1123.h: Likewise.
27370 * iconvdata/ibm1124.h: Likewise.
27371 * iconvdata/ibm1129.h: Likewise.
27372 * iconvdata/ibm1130.h: Likewise.
27373 * iconvdata/ibm1132.h: Likewise.
27374 * iconvdata/ibm1133.h: Likewise.
27375 * iconvdata/ibm1137.h: Likewise.
27376 * iconvdata/ibm1140.h: Likewise.
27377 * iconvdata/ibm1141.h: Likewise.
27378 * iconvdata/ibm1142.h: Likewise.
27379 * iconvdata/ibm1143.h: Likewise.
27380 * iconvdata/ibm1144.h: Likewise.
27381 * iconvdata/ibm1145.h: Likewise.
27382 * iconvdata/ibm1146.h: Likewise.
27383 * iconvdata/ibm1147.h: Likewise.
27384 * iconvdata/ibm1148.h: Likewise.
27385 * iconvdata/ibm1149.h: Likewise.
27386 * iconvdata/ibm1153.h: Likewise.
27387 * iconvdata/ibm1154.h: Likewise.
27388 * iconvdata/ibm1155.h: Likewise.
27389 * iconvdata/ibm1156.h: Likewise.
27390 * iconvdata/ibm1157.h: Likewise.
27391 * iconvdata/ibm1158.h: Likewise.
27392 * iconvdata/ibm1160.h: Likewise.
27393 * iconvdata/ibm1161.h: Likewise.
27394 * iconvdata/ibm1162.h: Likewise.
27395 * iconvdata/ibm1163.h: Likewise.
27396 * iconvdata/ibm1164.h: Likewise.
27397 * iconvdata/ibm1166.h: Likewise.
27398 * iconvdata/ibm1167.h: Likewise.
27399 * iconvdata/ibm12712.h: Likewise.
27400 * iconvdata/ibm1390.h: Likewise.
27401 * iconvdata/ibm1399.h: Likewise.
27402 * iconvdata/ibm16804.h: Likewise.
27403 * iconvdata/ibm4517.h: Likewise.
27404 * iconvdata/ibm4899.h: Likewise.
27405 * iconvdata/ibm4909.h: Likewise.
27406 * iconvdata/ibm4971.h: Likewise.
27407 * iconvdata/ibm5347.h: Likewise.
27408 * iconvdata/ibm803.h: Likewise.
27409 * iconvdata/ibm856.h: Likewise.
27410 * iconvdata/ibm901.h: Likewise.
27411 * iconvdata/ibm902.h: Likewise.
27412 * iconvdata/ibm9030.h: Likewise.
27413 * iconvdata/ibm9066.h: Likewise.
27414 * iconvdata/ibm921.h: Likewise.
27415 * iconvdata/ibm922.h: Likewise.
27416 * iconvdata/ibm9448.h: Likewise.
27417 * iconvdata/isiri-3342.h: Likewise.
27418 * iconvdata/jis0201.h: Likewise.
27419 * include/link.h: Likewise.
27420 * include/netdb.h: Likewise.
27421 * inet/check_native.c: Likewise.
27422 * inet/check_pf.c: Likewise.
27423 * inet/getipv4sourcefilter.c: Likewise.
27424 * inet/getnameinfo.c: Likewise.
27425 * inet/getsourcefilter.c: Likewise.
27426 * inet/htonl.c: Likewise.
27427 * inet/setipv4sourcefilter.c: Likewise.
27428 * inet/setsourcefilter.c: Likewise.
27429 * inet/test-inet6_opt.c: Likewise.
27430 * inet/tst-network.c: Likewise.
27431 * locale/C-collate.c: Likewise.
27432 * locale/C-ctype.c: Likewise.
27433 * locale/C-time.c: Likewise.
27434 * locale/C-translit.h: Likewise.
27435 * locale/loadarchive.c: Likewise.
27436 * locale/programs/3level.h: Likewise.
27437 * locale/programs/charmap.c: Likewise.
27438 * locale/programs/charmap.h: Likewise.
27439 * locale/programs/ld-address.c: Likewise.
27440 * locale/programs/ld-collate.c: Likewise.
27441 * locale/programs/ld-ctype.c: Likewise.
27442 * locale/programs/ld-identification.c: Likewise.
27443 * locale/programs/ld-measurement.c: Likewise.
27444 * locale/programs/ld-messages.c: Likewise.
27445 * locale/programs/ld-monetary.c: Likewise.
27446 * locale/programs/ld-name.c: Likewise.
27447 * locale/programs/ld-numeric.c: Likewise.
27448 * locale/programs/ld-paper.c: Likewise.
27449 * locale/programs/ld-telephone.c: Likewise.
27450 * locale/programs/ld-time.c: Likewise.
27451 * locale/programs/linereader.c: Likewise.
27452 * locale/programs/locale.c: Likewise.
27453 * locale/programs/locarchive.c: Likewise.
27454 * locale/programs/locfile.h: Likewise.
27455 * locale/programs/repertoire.c: Likewise.
27456 * locale/programs/simple-hash.c: Likewise.
27457 * locale/programs/simple-hash.h: Likewise.
27458 * malloc/memusage.c: Likewise.
27459 * malloc/memusagestat.c: Likewise.
27460 * nis/nis_defaults.c: Likewise.
27461 * nis/nis_hash.c: Likewise.
27462 * nis/nis_print.c: Likewise.
27463 * nis/nis_xdr.c: Likewise.
27464 * nscd/connections.c: Likewise.
27465 * nscd/hstcache.c: Likewise.
27466 * nscd/nscd_gethst_r.c: Likewise.
27467 * nscd/nscd_getserv_r.c: Likewise.
27468 * nscd/nscd_helper.c: Likewise.
27469 * nscd/servicescache.c: Likewise.
27470 * nss/makedb.c: Likewise.
27471 * nss/nss_db/db-XXX.c: Likewise.
27472 * nss/nss_db/db-initgroups.c: Likewise.
27473 * nss/nss_db/db-netgrp.c: Likewise.
27474 * nss/nss_files/files-network.c: Likewise.
27475 * nss/nss_files/files-parse.c: Likewise.
27476 * posix/bug-regex5.c: Likewise.
27477 * posix/fnmatch_loop.c: Likewise.
27478 * posix/regcomp.c: Likewise.
27479 * posix/regexec.c: Likewise.
27480 * posix/tst-rfc3484-2.c: Likewise.
27481 * posix/tst-rfc3484-3.c: Likewise.
27482 * posix/tst-rfc3484.c: Likewise.
27483 * resolv/nss_dns/dns-canon.c: Likewise.
27484 * resolv/nss_dns/dns-network.c: Likewise.
27485 * resolv/res_init.c: Likewise.
27486 * resolv/res_mkquery.c: Likewise.
27487 * resolv/tst-aton.c: Likewise.
27488 * stdlib/cxa_atexit.c: Likewise.
27489 * stdlib/cxa_finalize.c: Likewise.
27490 * stdlib/gen-fpioconst.c: Likewise.
27491 * stdlib/strtol_l.c: Likewise.
27492 * string/tst-endian.c: Likewise.
27493 * sunrpc/auth_des.c: Likewise.
27494 * sunrpc/clnt_udp.c: Likewise.
27495 * sunrpc/rtime.c: Likewise.
27496 * sunrpc/svcauth_des.c: Likewise.
27497 * sunrpc/xdr.c: Likewise.
27498 * sunrpc/xdr_intXX_t.c: Likewise.
27499 * sunrpc/xdr_rec.c: Likewise.
27500 * sysdeps/generic/ldconfig.h: Likewise.
27501 * sysdeps/generic/ldsodefs.h: Likewise.
27502 * sysdeps/generic/memusage.h: Likewise.
27503 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27505 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27506 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27507 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27508 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27509 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27511 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27512 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27513 * sysdeps/posix/getaddrinfo.c: Likewise.
27514 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27515 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27516 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27517 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27518 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27519 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27520 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27521 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27522 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27523 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27524 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27525 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27526 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27527 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27528 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27529 * sysdeps/x86_64/dl-tls.h: Likewise.
27530 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27531 * time/alt_digit.c: Likewise.
27532 * time/era.c: Likewise.
27533 * wcsmbs/tst-c16c32-1.c: Likewise.
27535 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27537 * math/libm-test.inc (struct test_sincos_data): New type.
27538 (RUN_TEST_LOOP_sincos): New macro.
27539 (sincos_test_data): New variable.
27540 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27542 2013-05-16 Richard Henderson <rth@redhat.com>
27544 * math/atest-exp2.c (LIMB64): New macro.
27545 (CONSTSZ): New macro.
27546 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27548 (print_mpn_fp): ... to function scope.
27549 (read_mpn_hex): Remove.
27550 (get_log2): Remove.
27551 (exp2_mpn): Use mp_log2.
27552 (main): Use mp_exp1.
27554 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27556 * math/libm-test.inc: Remove comment about not testing "inexact"
27558 (INEXACT_EXCEPTION): New macro.
27559 (NO_INEXACT_EXCEPTION): Likewise.
27560 (INVALID_EXCEPTION_OK): Update value.
27561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27562 (OVERFLOW_EXCEPTION_OK): Likewise.
27563 (UNDERFLOW_EXCEPTION_OK): Likewise.
27564 (IGNORE_ZERO_INF_SIGN): Likewise.
27565 (ERRNO_UNCHANGED): Likewise.
27566 (ERRNO_EDOM): Likewise.
27567 (ERRNO_ERANGE): Likewise.
27568 (test_exceptions): Handle testing "inexact" exceptions.
27569 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27570 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27571 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27572 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27574 (rint_towardzero_test_data): Likewise.
27575 (rint_downward_test_data): Likewise.
27576 (rint_upward_test_data): Likewise.
27578 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27579 with OVERFLOW_EXCEPTION.
27580 (exp10_test_data): Likewise.
27581 (exp2_test_data): Likewise.
27582 (expm1_test_data): Likewise.
27583 (lgamma_test_data): Likewise.
27584 (pow_test_data): Likewise.
27585 (tgamma_test_data): Likewise.
27586 (yn_test_data): Remove duplicate test of overflow.
27588 * math/libm-test.inc (struct test_cc_c_data): New type.
27589 (RUN_TEST_LOOP_cc_c): New macro.
27590 (cpow_test_data): New variable.
27591 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27593 * math/libm-test.inc (struct test_f_L_data): New type.
27594 (RUN_TEST_LOOP_f_L): New macro.
27595 (llrint_test_data): New variable.
27596 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27597 (llrint_tonearest_test_data): New variable.
27598 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27599 (llrint_towardzero_test_data): New variable.
27600 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27601 (llrint_downward_test_data): New variable.
27602 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27603 (llrint_upward_test_data): New variable.
27604 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27605 (llround_test_data): New variable.
27606 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27608 2013-05-13 Peter Collingbourne <pcc@google.com>
27610 * math/atest-exp2.c (get_log2): Remove const attribute.
27612 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27614 * math/libm-test.inc (struct test_f_l_data): New type.
27615 (RUN_TEST_LOOP_f_l): New macro.
27616 (lrint_test_data): New variable.
27617 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27618 (lrint_tonearest_test_data): New variable.
27619 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27620 (lrint_towardzero_test_data): New variable.
27621 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27622 (lrint_downward_test_data): New variable.
27623 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27624 (lrint_upward_test_data): New variable.
27625 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27626 (lround_test_data): New variable.
27627 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27629 2013-05-15 Peter Collingbourne <pcc@google.com>
27631 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27632 (EXTRACT_WORDS64) Use where appropriate.
27633 (INSERT_WORDS64) Likewise.
27635 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27636 constraints with x constraints.
27637 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27639 * malloc/obstack.c (_obstack_compat): Add initializer.
27641 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27643 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27644 si_trapno and add si_addr_lsb to _sifields.sigfault.
27645 (si_trapno): Remove macro.
27646 (si_addr_lsb): Define new macro.
27647 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27649 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27651 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27652 instead of TEST_f_l.
27653 (llrint_test_tonearest): Likewise.
27654 (llrint_test_towardzero): Likewise.
27655 (llrint_test_downward): Likewise.
27656 (llrint_test_upward): Likewise.
27657 (llround_test): Likewise.
27659 * math/libm-test.inc (struct test_f_i_data): Add comment.
27660 (RUN_TEST_LOOP_f_b): New macro.
27661 (RUN_TEST_LOOP_f_b_tg): Likewise.
27662 (finite_test_data): New variable.
27663 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27664 (isfinite_test_data): New variable.
27665 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27666 (isinf_test_data): New variable.
27667 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27668 (isnan_test_data): New variable.
27669 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27670 (isnormal_test_data): New variable.
27671 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27672 (issignaling_test_data): New variable.
27673 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27674 (signbit_test_data): New variable.
27675 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27677 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27678 with INVALID_EXCEPTION.
27679 (acosh_test_data): Likewise.
27680 (asin_test_data): Likewise.
27681 (atanh_test_data): Likewise.
27682 (fmod_test_data): Likewise.
27683 (log_test_data): Likewise.
27684 (log10_test_data): Likewise.
27685 (log2_test_data): Likewise.
27686 (pow_test_data): Likewise.
27687 (sqrt_test_data): Likewise.
27688 (y0_test_data): Likewise.
27689 (y1_test_data): Likewise.
27690 (yn_test_data): Likewise.
27692 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27695 * math/libm-test.inc (struct test_ff_i_data): New type.
27696 (RUN_TEST_LOOP_ff_i_tg): New macro.
27697 (isgreater_test_data): New variable.
27698 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27699 (isgreaterequal_test_data): New variable.
27700 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27701 (isless_test_data): New variable.
27702 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27703 (islessequal_test_data): New variable.
27704 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27705 (islessgreater_test_data): New variable.
27706 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27707 (isunordered_test_data): New variable.
27708 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27710 2013-05-14 David S. Miller <davem@davemloft.net>
27712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27714 2013-05-14 Joseph Myers <joseph@codesourcery.com>
27716 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27718 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27720 (struct test_f_i_data): Change type of max_ulp to int.
27722 * math/libm-test.inc (test_ffI_f1_data): New type.
27723 (RUN_TEST_LOOP_ffI_f1): New macro.
27724 (remquo_test_data): New variable.
27725 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27727 * setjmp/tst-setjmp-fp.c: New file.
27728 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27729 (link-libm): New variable.
27730 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27732 * math/libm-test.inc (struct test_f_i_data): New type.
27733 (RUN_TEST_LOOP_f_i): New macro.
27734 (RUN_TEST_LOOP_f_i_tg): Likewise.
27735 (fpclassify_test_data): New variable.
27736 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27737 (ilogb_test_data): New variable.
27738 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27740 * math/libm-test.inc (scalbln_test): Correct function name in END
27743 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27744 (RUN_TEST_LOOP_fI_f1): New macro.
27745 (frexp_test_data): New variable.
27746 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27748 * math/libm-test.inc (struct test_fF_f1_data): New type.
27749 (RUN_TEST_LOOP_fF_f1): New macro.
27750 (modf_test_data): New variable.
27751 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27753 * math/libm-test.inc (struct test_f_f1_data): New type.
27754 (RUN_TEST_LOOP_f_f1): New macro.
27755 (gamma_test_data): New variable.
27756 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27757 (lgamma_test_data): New variable.
27758 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27760 2013-05-13 Carlos O'Donell <carlos@redhat.com>
27762 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27763 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27764 (main): Comment "tls" pseudo-hwcap.
27766 2013-05-13 Joseph Myers <joseph@codesourcery.com>
27768 * math/libm-test.inc (struct test_fl_f_data): New type.
27769 (RUN_TEST_LOOP_fl_f): New variable.
27770 (scalbln_test_data): New variable.
27771 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27773 * math/libm-test.inc (struct test_fi_f_data): New type.
27774 (RUN_TEST_LOOP_fi_f): New macro.
27775 (ldexp_test_data): New variable.
27776 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27777 (scalbn_test_data): New variable.
27778 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27780 * math/libm-test.inc (struct test_c_f_data): New type.
27781 (RUN_TEST_LOOP_c_f): New macro.
27782 (cabs_test_data): New variable.
27783 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27784 (carg_test_data): New variable.
27785 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27786 (cimag_test_data): New variable.
27787 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27788 (creal_test_data): New variable.
27789 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27791 * math/libm-test.inc (struct test_if_f_data): New type.
27792 (RUN_TEST_LOOP_if_f): New macro.
27793 (jn_test_data): New variable.
27794 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27795 (yn_test_data): New variable.
27796 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27798 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27800 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27802 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27803 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27805 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27807 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27808 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27809 (bench-deps): Add bench-timing.h.
27810 * benchtests-bench-skeleton.c: Include bench-timing.h.
27811 (main): Use TIMING_* macros instead of clock_gettime.
27812 * benchtests/bench-timing.h: New file.
27815 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27816 Renamed from _LIB_VERSION.
27817 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27819 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27821 * math/libm-test.inc (struct test_fff_f_data): New type.
27822 (RUN_TEST_LOOP_fff_f): New macro.
27823 (fma_test_data): New variable.
27824 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27825 (fma_towardzero_test_data): New variable.
27826 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27827 (fma_downward_test_data): New variable.
27828 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27829 (fma_upward_test_data): New variable.
27830 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27832 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27833 (struct test_c_c_data): New type.
27834 (RUN_TEST_LOOP_c_c): New macro.
27835 (cacos_test_data): New variable.
27836 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27837 (cacosh_test_data): New variable.
27838 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27839 (casin_test_data): New variable.
27840 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27841 (casinh_test_data): New variable.
27842 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27843 (catan_test_data): New variable.
27844 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27845 (catanh_test_data): New variable.
27846 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27847 (ccos_test_data): New variable.
27848 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27849 (ccosh_test_data): New variable.
27850 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27851 (cexp_test_data): New variable.
27852 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27853 (clog_test_data): New variable.
27854 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27855 (clog10_test_data): New variable.
27856 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27857 (conj_test_data): New variable.
27858 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27859 (cproj_test_data): New variable.
27860 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27861 (csin_test_data): New variable.
27862 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27863 (csinh_test_data): New variable.
27864 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27865 (csqrt_test_data): New variable.
27866 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27867 (ctan_test_data): New variable.
27868 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27869 (ctan_tonearest_test_data): New variable.
27870 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27871 (ctan_towardzero_test_data): New variable.
27872 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27873 (ctan_downward_test_data): New variable.
27874 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27875 (ctan_upward_test_data): New variable.
27876 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27877 (ctanh_test_data): New variable.
27878 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27879 (ctanh_tonearest_test_data): New variable.
27880 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27881 (ctanh_towardzero_test_data): New variable.
27882 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27883 (ctanh_downward_test_data): New variable.
27884 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27885 (ctanh_upward_test_data): New variable.
27886 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27887 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27890 * math/libm-test.inc (struct test_ff_f_data): New type.
27891 (struct test_ff_f_data_nexttoward): Likewise.
27892 (RUN_TEST_LOOP_2_f): New macro.
27893 (RUN_TEST_LOOP_ff_f): Likewise.
27894 (atan2_test_data): New variable.
27895 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27896 (copysign_test_data): New variable.
27897 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27898 (fdim_test_data): New variable.
27899 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27900 (fmax_test_data): New variable.
27901 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27902 (fmin_test_data): New variable.
27903 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27904 (fmod_test_data): New variable.
27905 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27906 (hypot_test_data): New variable.
27907 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27908 (nextafter_test_data): New variable.
27909 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27910 (nexttoward_test_data): New variable.
27911 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27912 (pow_test_data): New variable.
27913 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27914 (pow_tonearest_test_data): New variable.
27915 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27916 (pow_towardzero_test_data): New variable.
27917 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27918 (pow_downward_test_data): New variable.
27919 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27920 (pow_upward_test_data): New variable.
27921 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27922 (remainder_test_data): New variable.
27923 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27924 (scalb_test_data): New variable.
27925 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27926 * sysdeps/i386/fpu/libm-test-ulps: Update.
27928 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27930 * math/libm-test.inc (fma_test): Use max_value instead of local
27932 (nextafter_test): Likewise.
27934 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27935 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27936 (acos_downward_test_data): New variable.
27937 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27938 (acos_upward_test_data): New variable.
27939 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27940 (acosh_test_data): New variable.
27941 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27942 (asin_test_data): New variable.
27943 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27944 (asin_tonearest_test_data): New variable.
27945 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27946 (asin_towardzero_test_data): New variable.
27947 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27948 (asin_downward_test_data): New variable.
27949 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27950 (asin_upward_test_data): New variable.
27951 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27952 (asinh_test_data): New variable.
27953 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27954 (atan_test_data): New variable.
27955 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27956 (atanh_test_data): New variable.
27957 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27958 (cbrt_test_data): New variable.
27959 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27960 (ceil_test_data): New variable.
27961 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27962 (cos_test_data): New variable.
27963 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27964 (cos_tonearest_test_data): New variable.
27965 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27966 (cos_towardzero_test_data): New variable.
27967 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27968 (cos_downward_test_data): New variable.
27969 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27970 (cos_upward_test_data): New variable.
27971 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27972 (cosh_test_data): New variable.
27973 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27974 (cosh_tonearest_test_data): New variable.
27975 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27976 (cosh_towardzero_test_data): New variable.
27977 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27978 (cosh_downward_test_data): New variable.
27979 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27980 (cosh_upward_test_data): New variable.
27981 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27982 (erf_test_data): New variable.
27983 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27984 (erfc_test_data): New variable.
27985 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27986 (exp_test_data): New variable.
27987 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27988 (exp_tonearest_test_data): New variable.
27989 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27990 (exp_towardzero_test_data): New variable.
27991 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27992 (exp_downward_test_data): New variable.
27993 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27994 (exp_upward_test_data): New variable.
27995 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27996 (exp10_test_data): New variable.
27997 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27998 (exp2_test_data): New variable.
27999 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28000 (expm1_test_data): New variable.
28001 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28002 (fabs_test_data): New variable.
28003 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28004 (floor_test_data): New variable.
28005 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28006 (j0_test_data): New variable.
28007 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28008 (j1_test_data): New variable.
28009 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28010 (log_test_data): New variable.
28011 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28012 (log10_test_data): New variable.
28013 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28014 (log1p_test_data): New variable.
28015 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28016 (log2_test_data): New variable.
28017 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28018 (logb_test_data): New variable.
28019 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28020 (logb_downward_test_data): New variable.
28021 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28022 (nearbyint_test_data): New variable.
28023 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28024 (rint_test_data): New variable.
28025 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28026 (rint_tonearest_test_data): New variable.
28027 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28028 (rint_towardzero_test_data): New variable.
28029 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28030 (rint_downward_test_data): New variable.
28031 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28032 (rint_upward_test_data): New variable.
28033 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28034 (round_test_data): New variable.
28035 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28036 (sin_test_data): New variable.
28037 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28038 (sin_tonearest_test_data): New variable.
28039 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28040 (sin_towardzero_test_data): New variable.
28041 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28042 (sin_downward_test_data): New variable.
28043 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28044 (sin_upward_test_data): New variable.
28045 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28046 (sinh_test_data): New variable.
28047 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28048 (sinh_tonearest_test_data): New variable.
28049 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28050 (sinh_towardzero_test_data): New variable.
28051 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28052 (sinh_downward_test_data): New variable.
28053 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28054 (sinh_upward_test_data): New variable.
28055 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28056 (sqrt_test_data): New variable.
28057 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28058 (tan_test_data): New variable.
28059 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28060 (tan_tonearest_test_data): New variable.
28061 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28062 (tan_towardzero_test_data): New variable.
28063 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28064 (tan_downward_test_data): New variable.
28065 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28066 (tan_upward_test_data): New variable.
28067 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28068 (tanh_test_data): New variable.
28069 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28070 (tgamma_test_data): New variable.
28071 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28072 (trunc_test_data): New variable.
28073 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28074 (y0_test_data): New variable.
28075 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28076 (y1_test_data): New variable.
28077 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28078 (significand_test_data): New variable.
28079 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28081 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28084 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28086 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28088 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28090 2013-05-10 Andreas Jaeger <aj@suse.de>
28093 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28094 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28096 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28098 * math/gen-libm-test.pl (adjust_arg): New function.
28099 (special_functions): Handle generating output in both functions
28101 (parse_args): Likewise.
28102 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28103 $in_func argument to parse_args.
28104 * math/libm-test.inc (struct test_f_f_data): New type.
28105 (IF_ROUND_INIT_): New macro.
28106 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28107 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28108 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28109 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28110 (ROUND_RESTORE_): Likewise.
28111 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28112 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28113 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28114 (ROUND_RESTORE_FE_UPWARD): Likewise.
28115 (RUN_TEST_LOOP_f_f): New macro.
28116 (acos_test_data): New variable.
28117 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28118 (acos_tonearest_test_data): New variable.
28119 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28121 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28123 * benchtests/bench-skeleton.c (startup): Fix coding style.
28125 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28128 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28129 negative infinity argument.
28130 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28131 negative infinity argument.
28132 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28133 negative infinity argument.
28134 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28137 2013-05-10 Florian Weimer <fweimer@redhat.com>
28139 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28140 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28141 * iconv/iconv_prog.c (main): Likewise.
28142 * locale/programs/charmap-dir.c (charmap_readdir)
28143 (fopen_uncompressed): Likewise.
28144 * locale/programs/locfile.c (siblings_uncached)
28145 (write_locale_data): Use lstat64 instead of lstat.
28146 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28149 2013-05-10 Andreas Jaeger <aj@suse.de>
28152 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28154 Include <locale.h>.
28156 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28158 * elf/dl-close.c (_dl_close_worker): Add comments.
28160 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28163 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28165 (__ieee754_rem_pio2l): Update comments.
28168 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28170 (__ieee754_rem_pio2l): Update comments.
28172 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28173 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28175 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28178 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28179 (M_PI_34_LOG10El): Likewise.
28180 (M_PI2_LOG10El): Likewise.
28181 (M_PI4_LOG10El): Likewise.
28182 (M_PI_LOG10El): Likewise.
28184 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28188 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28190 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28191 (MINUS_ZERO_INIT): Likewise.
28192 (PLUS_INFTY_INIT): Likewise.
28193 (MINUS_INFTY_INIT): Likewise.
28194 (QNAN_VALUE_INIT): Likewise.
28195 (MAX_VALUE_INIT): Likewise.
28196 (MIN_VALUE_INIT): Likewise.
28197 (MIN_SUBNORM_VALUE_INIT): Likewise.
28198 (plus_zero): Initialize with PLUS_ZERO_INIT.
28199 (minus_zero): Initialize with MINUS_ZERO_INIT.
28200 (plus_infty): Initialize with PLUS_INFTY_INIT.
28201 (minus_infty): Initialize with MINUS_INFTY_INIT.
28202 (qnan_value): Initialize with QNAN_VALUE_INIT.
28203 (max_value): Initialize with MAX_VALUE_INIT.
28204 (min_value): Initialize with MIN_VALUE_INIT.
28205 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28207 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28208 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28209 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28210 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28212 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28213 (RUN_TEST_2_f): Likewise.
28214 (RUN_TEST_ff_f): Likewise.
28215 (RUN_TEST_fi_f): Likewise.
28216 (RUN_TEST_fl_f): Likewise.
28217 (RUN_TEST_fff_f): Likewise.
28218 (RUN_TEST_c_f): Likewise.
28219 (RUN_TEST_f_f1): Likewise.
28220 (RUN_TEST_fF_f1): Likewise.
28221 (RUN_TEST_fI_f1): Likewise.
28222 (RUN_TEST_ffI_f1): Likewise.
28223 (RUN_TEST_c_c): Likewise.
28224 (RUN_TEST_cc_c): Likewise.
28225 (RUN_TEST_f_i): Likewise.
28226 (RUN_TEST_f_i_tg): Likewise.
28227 (RUN_TEST_ff_i_tg): Likewise.
28228 (RUN_TEST_f_b): Likewise.
28229 (RUN_TEST_f_b_tg): Likewise.
28230 (RUN_TEST_f_l): Likewise.
28231 (RUN_TEST_f_L): Likewise.
28232 (RUN_TEST_sincos): Likewise.
28233 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28234 whether to show exceptions. Do not include ");\n" in return
28236 (special_functions): Output call to RUN_TEST_sincos instead of
28237 check_float calls. Update calls to new_test.
28238 (parse_args): Output call to single RUN_TEST_* macro instead of
28239 check_* calls and other assignments. Update calls to new_test.
28245 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28246 input to result for tgamma overflow.
28247 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28248 (gamma_coeff): New variable.
28249 (NCOEFF): New macro.
28250 (gamma_positive): New function.
28251 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28252 underflow here. Use gamma_positive instead of exp (lgamma) for
28254 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28255 (gamma_coeff): New variable.
28256 (NCOEFF): New macro.
28257 (gammaf_positive): New function.
28258 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28259 underflow here. Use gamma_positive instead of exp (lgamma) for
28261 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28262 (gamma_coeff): New variable.
28263 (NCOEFF): New macro.
28264 (gammal_positive): New function.
28265 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28266 underflow here. Use gamma_positive instead of exp (lgamma) for
28268 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28269 (gamma_coeff): New variable.
28270 (NCOEFF): New macro.
28271 (gammal_positive): New function.
28272 (__ieee754_gammal_r): Handle positive infinity, overflow and
28273 underflow here. Handle NaN the same as positive infinity. Remove
28274 check x < 0xffffffff for negative integers. Use gamma_positive
28275 instead of exp (lgamma) for other arguments.
28276 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28277 (gamma_coeff): New variable.
28278 (NCOEFF): New macro.
28279 (gammal_positive): New function.
28280 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28281 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28284 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28285 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28286 * sysdeps/generic/math_private.h (__gamma_productf): New
28288 (__gamma_product): Likewise.
28289 (__gamma_productl): Likewise.
28290 * math/Makefile (libm-calls): Add gamma_product.
28291 * math/libm-test.inc (tgamma_test): Add more tests.
28292 * sysdeps/i386/fpu/libm-test-ulps: Update.
28293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28295 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
28297 * benchtests/bench-skeleton.c (main): Preheat CPU.
28299 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28301 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28303 2013-05-07 Roland McGrath <roland@hack.frob.com>
28305 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28306 and _dl_skip_args_internal.
28308 2013-05-07 Carlos O'Donell <carlos@redhat.com>
28310 * manual/message.texi (Message Translation): Talk about users.
28311 Message to key mapping impacts design.
28313 2013-05-06 Roland McGrath <roland@hack.frob.com>
28315 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28317 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28319 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28320 * sysdeps/wordsize-64/glob64.c: ... here.
28322 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28323 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28326 * debug/getlogin_r_chk.c: Moved to ...
28327 * login/getlogin_r_chk.c: ... here.
28328 * debug/Makefile (routines): Move getlogin_r_chk to ...
28329 * login/Makefile (routines): ... here.
28330 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28331 * login/Versions (libc: GLIBC_2.4): ... here.
28333 * io/poll.c (__poll): Renamed from poll.
28334 Add libc_hidden_def.
28335 (poll): Define as weak alias.
28337 * debug/ptsname_r_chk.c: Moved to ...
28338 * login/ptsname_r_chk.c: ... here.
28339 * debug/Makefile (routines): Move ptsname_r_chk to ...
28340 * login/Makefile (routines): ... here.
28341 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28342 * login/Versions (libc: GLIBC_2.4): ... here.
28344 * posix/getlogin.c: Moved to ...
28345 * login/getlogin.c: ... here.
28346 * posix/getlogin_r.c: Moved to ...
28347 * login/getlogin_r.c: ... here.
28348 * posix/getlogin_r.c: Moved to ...
28349 * login/getlogin_r.c: ... here.
28350 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28351 * login/Makefile (routines): ... here.
28352 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28353 * login/Versions (libc: GLIBC_2.0): ... here.
28355 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28356 (setrlimit): Define as weak alias.
28358 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28359 Call __ names for open, ftruncate, and close.
28360 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28361 (truncate): Define as weak alias.
28363 2013-05-06 Joseph Myers <joseph@codesourcery.com>
28365 * math/gen-libm-test.pl (parse_args): Initialize x before each
28366 test of frexp, modf and remquo.
28368 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28369 test signgam value.
28371 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28375 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28377 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28379 2013-05-06 Roland McGrath <roland@hack.frob.com>
28381 * elf/dl-writev.h: New file.
28382 * elf/dl-misc.c: Include it.
28383 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28384 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28386 2013-05-04 Joseph Myers <joseph@codesourcery.com>
28388 * math/libm-test.inc (noXFails): Remove variable.
28389 (noXPasses): Likewise.
28390 (BUILD_COMPLEX_INT): Remove macro.
28391 (print_screen): Remove xfail argument.
28392 (print_screen_max_error): Likewise.
28393 (update_stats): Likewise.
28394 (print_max_error): Likewise. Update calls to other affected
28396 (print_complex_max_error): Likewise.
28397 (test_single_exception): Update calls to print_screen.
28398 (test_single_errno): Likewise.
28399 (check_float_internal): Remove xfail argument. Update calls to
28400 other affected functions.
28401 (check_float): Likewise.
28402 (check_complex): Likewise.
28403 (check_int): Likewise.
28404 (check_long): Likewise.
28405 (check_bool): Likewise.
28406 (check_longlong): Likewise.
28407 (main): Don't print noXFails and noXPasses.
28408 * math/gen-libm-test.pl (top level): Don't mention expected
28409 failure handling in comment.
28410 (new_test): Don't handle expected failures.
28411 (parse_args): Don't mention expected failure handling in comment.
28412 (generate_testfile): Don't handle expected failures.
28413 (parse_ulps): Likewise.
28414 (print_ulps_file): Likewise.
28415 (get_failure): Remove function.
28416 (output_test): Don't handle expected failures.
28417 * make/README.libm-test: Don't mention expected failure handling.
28419 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28420 (minus_zero): Likewise.
28421 (plus_infty): Likewise.
28422 (minus_infty): Likewise.
28423 (qnan_value): Likewise.
28424 (max_value): Likewise.
28425 (min_value): Likewise.
28426 (min_subnorm_value): Likewise.
28427 (initialize): Do not initialize those variables dynamically.
28429 2013-05-03 Roland McGrath <roland@hack.frob.com>
28431 * io/open.c (__open_2): Moved to ...
28432 * io/open_2.c: ... this new file.
28433 * io/open64.c (__open64_2): Moved to ...
28434 * io/open64_2.c: ... this new file.
28435 * io/openat.c (__openat_2): Moved to ...
28436 * io/openat_2.c: ... this new file.
28437 * io/openat64.c (__openat64_2): Moved to ...
28438 * io/openat64_2.c: ... this new file.
28439 * io/Makefile (routines): Add them.
28440 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28441 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28442 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28443 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28444 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28445 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28446 (__openat64): Add hidden_ver.
28447 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28448 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28450 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28451 Separately conditionalize setting of GLRO(dl_sysinfo) so
28452 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28453 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28455 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28457 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28458 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28460 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28461 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28462 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28463 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28464 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28466 2013-05-03 Joseph Myers <joseph@codesourcery.com>
28468 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28469 test signgam value.
28471 * math/libm-test.inc (hypot_test): Do not use
28472 IGNORE_ZERO_INF_SIGN.
28474 2013-05-03 Andreas Jaeger <aj@suse.de>
28476 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28478 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28479 (PF_MAX): Adjust for VSOCK change.
28481 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28485 2013-05-02 Carlos O'Donell <carlos@redhat.com>
28488 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28489 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28490 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28492 2013-05-02 David S. Miller <davem@davemloft.net>
28494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28496 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
28498 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28500 2013-05-01 Roland McGrath <roland@hack.frob.com>
28502 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28504 2013-05-01 Richard Smith <richard@metafoo.co.uk>
28507 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28508 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28509 Use __attribute__ ((__gnu_inline__)).
28510 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28511 Don't use __attribute__ ((__gnu_inline__)).
28513 2013-05-01 Joseph Myers <joseph@codesourcery.com>
28516 * math/s_catan.c (__catan): Handle small real or imaginary part of
28517 input specially to avoid spurious underflow.
28518 * math/s_catanf.c (__catanf): Likewise.
28519 * math/s_catanh.c (__catanh): Likewise.
28520 * math/s_catanhf.c (__catanhf): Likewise.
28521 * math/s_catanhl.c (__catanhl): Likewise.
28522 * math/s_catanl.c (__catanl): Likewise.
28523 * math/libm-test.inc (catan_test): Add more tests.
28524 (catanh_test): Likewise.
28525 * sysdeps/i386/fpu/libm-test-ulps: Update.
28526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28528 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28532 2013-04-30 Joseph Myers <joseph@codesourcery.com>
28535 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28536 accurately for denominator in atan2.
28537 * math/s_catanf.c (__catanf): Likewise.
28538 * math/s_catanh.c (__catanh): Likewise.
28539 * math/s_catanhf.c (__catanhf): Likewise.
28540 * math/s_catanhl.c (__catanhl): Likewise.
28541 * math/s_catanl.c (__catanl): Likewise.
28542 * math/libm-test.inc (catan_test): Add more tests.
28543 (catanh_test): Likewise.
28544 * sysdeps/i386/fpu/libm-test-ulps: Update.
28545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28547 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28549 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28551 * benchtests/Makefile (bench): Remove slow benchmarks.
28552 * benchtests/atan-inputs: Add slow benchmark inputs.
28553 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28554 (BENCH_FUNC): Accept variant offset.
28556 * benchtests/bench-skeleton.c (main): Run benchmark for each
28558 * benchtests/cos-inputs: Add slow benchmark inputs.
28559 * benchtests/exp-inputs: Likewise.
28560 * benchtests/pow-inputs: Likewise.
28561 * benchtests/sin-inputs: Likewise.
28562 * benchtests/slowatan-inputs: Remove.
28563 * benchtests/slowatan.c: Remove.
28564 * benchtests/slowcos-inputs: Remove.
28565 * benchtests/slowcos.c: Remove.
28566 * benchtests/slowexp-inputs: Remove.
28567 * benchtests/slowexp.c: Remove.
28568 * benchtests/slowpow-inputs: Remove.
28569 * benchtests/slowpow.c: Remove.
28570 * benchtests/slowsin-inputs: Remove.
28571 * benchtests/slowsin.c: Remove.
28572 * benchtests/slowtan-inputs: Remove.
28573 * benchtests/slowtan.c: Remove.
28574 * benchtests/tan-inputs: Add slow benchmark inputs.
28575 * scripts/bench.pl: Parse comments and directives.
28577 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28579 ($(objpfx)bench-%.c): Remove *-ITER.
28580 * benchtests/bench-modf.c: Remove definition of ITER.
28581 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28582 (main): Loop for DURATION seconds instead of fixed number of
28584 * scripts/bench.pl: Don't expect iterations in parameters.
28586 2013-04-29 Roland McGrath <roland@hack.frob.com>
28588 * io/fchdir.c (__fchdir): Renamed from fchdir.
28589 (fchdir): Define as weak alias.
28591 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28593 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28594 (ERRNO_EDOM): Likewise.
28595 (ERRNO_ERANGE): Likewise.
28596 (noErrnoTests): New variable.
28597 (init_max_error): Set errno to 0.
28598 (test_single_errno): New function.
28599 (test_errno): Likewise.
28600 (check_float_internal): Call test_errno. Set errno to 0.
28601 (check_complex): Refer to errno tests in comment.
28602 (check_int): Call test_errno. Set errno to 0.
28603 (check_long): Likewise.
28604 (check_bool): Likewise.
28605 (check_longlong): Likewise.
28606 (cos_test): Use ERRNO_* flags for errno tests instead of
28608 (expm1_test): Likewise.
28609 (fmod_test): Likewise.
28610 (ilogb_test): Likewise.
28611 (lgamma_test): Likewise.
28612 (pow_test): Likewise.
28613 (remainder_test): Likewise.
28614 (sin_test): Likewise.
28615 (tan_test): Likewise.
28616 (yn_test): Likewise.
28617 (initialize): Set errno to 0.
28618 (main): Print number of errno tests.
28619 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28621 2013-04-29 Andreas Jaeger <aj@suse.de>
28624 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28628 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28629 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28633 * stdlib/random.c (__initstate): Return NULL if
28637 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28638 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28641 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28645 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28647 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28648 of individual tests.
28649 (casin_test): Likewise.
28650 (casinh_test): Likewise.
28652 2013-04-27 Joseph Myers <joseph@codesourcery.com>
28655 * math/s_catan.c (__catan): Handle arguments with large real or
28656 imaginary part separately without squaring.
28657 * math/s_catanf.c (__catanf): Likewise.
28658 * math/s_catanh.c (__catanh): Likewise.
28659 * math/s_catanhf.c (__catanhf): Likewise.
28660 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28662 (__catanhl): Handle arguments with large real or imaginary part
28663 separately without squaring.
28664 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28666 (__catanl): Handle arguments with large real or imaginary part
28667 separately without squaring.
28668 * math/libm-test.inc (catan_test): Add more tests.
28669 (catanh_test): Likewise.
28670 * sysdeps/i386/fpu/libm-test-ulps: Update.
28671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28673 2013-04-27 Andreas Jaeger <aj@suse.de>
28676 * stdlib/stdlib.h: Update guards for qecvt.
28677 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28680 2013-04-27 Allan McRae <allan@archlinux.org>
28682 * sysdeps/i386/fpu/libm-test-ulps: Update.
28684 2013-04-26 Joseph Myers <joseph@codesourcery.com>
28687 * math/s_catan.c: Include <float.h>.
28688 (__catan): Ensure underflow exception occurs for underflowed
28690 * math/s_catanf.c: Include <float.h>.
28691 (__catanf): Ensure underflow exception occurs for underflowed
28693 * math/s_catanh.c: Include <float.h>.
28694 (__catanh): Ensure underflow exception occurs for underflowed
28696 * math/s_catanhf.c: Include <float.h>.
28697 (__catanhf): Ensure underflow exception occurs for underflowed
28699 * math/s_catanhl.c: Include <float.h>.
28700 (__catanhl): Ensure underflow exception occurs for underflowed
28702 * math/s_catanl.c: Include <float.h>.
28703 (__catanl): Ensure underflow exception occurs for underflowed
28705 * math/libm-test.inc (catan_test): Add more tests.
28706 (catanh_test): Likewise.
28709 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28710 underflowed result.
28711 * math/s_ccoshf.c (__ccoshf): Likewise.
28712 * math/s_ccoshl.c (__ccoshl): Likewise.
28713 * math/s_csin.c (__csin): Likewise.
28714 * math/s_csinf.c (__csinf): Likewise.
28715 * math/s_csinh.c (__csinh): Likewise.
28716 * math/s_csinhf.c (__csinhf): Likewise.
28717 * math/s_csinhl.c (__csinhl): Likewise.
28718 * math/s_csinl.c (__csinl): Likewise.
28719 * math/libm-test.inc (ccos_test): Add more tests.
28720 (ccosh_test): Likewise.
28721 (csin_test): Likewise.
28722 (csinh_test): Likewise.
28724 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28726 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28727 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28728 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28729 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28730 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28731 powerpc/power5+/fpu folders.
28732 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28735 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28739 2013-04-25 Joseph Myers <joseph@codesourcery.com>
28741 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28742 additions to variable.
28743 [$(config-machine) = x86_64] (modules-names): Likewise.
28744 ($(objpfx)tst-audit3): Remove dependency.
28745 ($(objpfx)tst-audit3.out): Likewise.
28746 ($(objpfx)tst-audit4): Likewise.
28747 ($(objpfx)tst-audit4.out): Likewise.
28748 ($(objpfx)tst-audit5): Likewise.
28749 ($(objpfx)tst-audit5.out): Likewise.
28750 ($(objpfx)tst-audit6): Likewise.
28751 ($(objpfx)tst-audit6.out): Likewise.
28752 ($(objpfx)tst-audit7): Likewise.
28753 ($(objpfx)tst-audit7.out): Likewise.
28754 (tst-audit3-ENV): Remove variable.
28755 (tst-audit4-ENV): Likewise.
28756 (tst-audit5-ENV): Likewise.
28757 (tst-audit6-ENV): Likewise.
28758 (tst-audit7-ENV): Likewise.
28759 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28760 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28761 addition to variable.
28762 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28763 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28764 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28765 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28766 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28767 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28768 tst-audit3, tst-audit4 and tst-audit5.
28769 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28770 tst-audit6 and tst-audit7.
28771 [$(subdir) = elf] (modules-names): Add audit modules for those
28773 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28774 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28775 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28776 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28777 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28778 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28779 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28780 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28781 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28782 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28783 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28784 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28785 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28786 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28787 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28788 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28790 [$(subdir) = elf && $(config-cflags-avx) = yes]
28791 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28792 [$(subdir) = elf && $(config-cflags-avx) = yes]
28793 (CFLAGS-tst-auditmod4a.c): Likewise.
28794 [$(subdir) = elf && $(config-cflags-avx) = yes]
28795 (CFLAGS-tst-auditmod4b.c): Likewise.
28796 [$(subdir) = elf && $(config-cflags-avx) = yes]
28797 (CFLAGS-tst-auditmod6b.c): Likewise.
28798 [$(subdir) = elf && $(config-cflags-avx) = yes]
28799 (CFLAGS-tst-auditmod6c.c): Likewise.
28800 [$(subdir) = elf && $(config-cflags-avx) = yes]
28801 (CFLAGS-tst-auditmod7b.c): Likewise.
28802 * elf/tst-audit3.c: Move to ...
28803 * sysdeps/x86_64/tst-audit3.c: ... here.
28804 * elf/tst-audit4.c: Move to ...
28805 * sysdeps/x86_64/tst-audit4.c: ... here.
28806 * elf/tst-audit5.c: Move to ...
28807 * sysdeps/x86_64/tst-audit5.c: ... here.
28808 * elf/tst-audit6.c: Move to ...
28809 * sysdeps/x86_64/tst-audit6.c: ... here.
28810 * elf/tst-audit7.c: Move to ...
28811 * sysdeps/x86_64/tst-audit7.c: ... here.
28812 * elf/tst-auditmod3a.c: Move to ...
28813 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28814 * elf/tst-auditmod3b.c: Move to ...
28815 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28816 * elf/tst-auditmod4a.c: Move to ...
28817 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28818 * elf/tst-auditmod4b.c: Move to ...
28819 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28820 * elf/tst-auditmod5a.c: Move to ...
28821 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28822 * elf/tst-auditmod5b.c: Move to ...
28823 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28824 * elf/tst-auditmod6a.c: Move to ...
28825 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28826 * elf/tst-auditmod6b.c: Move to ...
28827 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28828 * elf/tst-auditmod6c.c: Move to ...
28829 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28830 * elf/tst-auditmod7a.c: Move to ...
28831 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28832 * elf/tst-auditmod7b.c: Move to ...
28833 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28835 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28838 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28839 define unconditionally.
28840 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28841 define unconditionally.
28842 (INT8_C, INT16_C, etc.): Likewise.
28844 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28846 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28847 __ehdr_start with hidden visibility.
28849 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28851 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28853 * math/libm-test.inc (cos_test): Use accurate hex constants.
28854 (sincost_test): Likewise.
28856 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28858 * math/libm-test.inc (catan_test): Add more tests.
28859 (catanh_test): Likewise.
28861 * math/s_catanf.c (__catanf): Use suffixed floating-point
28863 * math/s_catanhf.c (__catanhf): Likewise.
28864 * math/s_catanhl.c (__catanhl): Likewise.
28865 * math/s_catanl.c (__catanl): Likewise.
28868 * math/s_catan.c (__catan): Calculate imaginary part of result
28869 with log1p not log unless computing log of number close to 0.
28870 * math/s_catanf.c (__catanf): Likewise.
28871 * math/s_catanl.c (__catanl): Likewise.
28872 * math/s_catanh.c (__catanh): Calculate real part of result with
28873 log1p not log unless computing log of number close to 0.
28874 * math/s_catanhf.c (__catanhf): Likewise.
28875 * math/s_catanhl.c (__catanhl): Likewise.
28876 * math/libm-test.inc (catan_test): Add more tests.
28877 (catanh_test): Likewise.
28878 * sysdeps/i386/fpu/libm-test-ulps: Update.
28879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28881 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28883 * benchtests/Makefile: Mention files in which fast and slow
28884 paths of math functions are implemented.
28886 2013-04-23 Roland McGrath <roland@hack.frob.com>
28888 * sysdeps/posix/timespec_get.c: New file.
28890 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28892 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28894 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28896 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28897 powerpc/power5/fpu folders.
28898 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28899 * benchtests/Makefile: Add modf testcase.
28900 * benchtests/bench-modf.c: New file: Benchmark test for mo
28902 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28905 * time/Makefile (tests): Add tst-strptime-whitespace.
28906 * time/strptime_l.c (get_number): Use ISSPACE.
28907 (__strptime_internal): Likewise.
28908 * time/tst-strptime-whitespace.c: New test case.
28910 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28912 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28914 (_nss_files_init): Set it here.
28916 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28918 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28919 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28922 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28924 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28926 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28928 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28931 2013-04-21 David S. Miller <davem@davemloft.net>
28933 * po/ru.po: Update Russion translation from translation project.
28935 2013-04-17 Adam Conrad <adconrad@0c3.net>
28937 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28940 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28942 * configure.in: Remove i386 configure warning. Remove i386 case.
28943 * configure: Regenerate.
28944 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28945 Add example to error message.
28946 * sysdeps/i386/configure: Regenerate.
28948 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28950 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28952 * benchtests/cos-inputs: New file.
28953 * benchtests/slowcos-inputs: New file.
28954 * benchtests/slowcos.c: New file.
28955 * benchtests/slowtan-inputs: New file.
28956 * benchtests/slowtan.c: New file.
28957 * benchtests/tan-inputs: New file.
28959 2013-04-16 Roland McGrath <roland@hack.frob.com>
28961 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28964 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28966 * benchtests/Makefile: Include cppflags-iterator.mk to add
28967 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28969 * Makefile.in (bench-clean): New target.
28970 * benchtests/Makefile (bench-clean): Likewise.
28972 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28974 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28976 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28978 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28980 2013-04-15 Andreas Schwab <schwab@suse.de>
28982 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28984 * nscd/pwdcache.c (cache_addpw): Likewise.
28985 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28988 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28990 * benchtests/Makefile (bench): Write all output to
28991 bench-out.tmp together.
28993 2013-04-15 Andreas Schwab <schwab@suse.de>
28995 * nscd/nscd.c (main): Don't fork again after closing files.
28997 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28999 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29001 * benchtests/Rules (bench-deps): Collect dependencies into a
29002 single variable. Add Makefile to dependencies.
29003 ($(objpfx)bench-%.c): Depend on bench-deps.
29005 2013-04-12 Roland McGrath <roland@hack.frob.com>
29006 Xavier Roche <roche+kml2@exalead.com>
29009 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29010 just that it's a file descriptor.
29011 * manual/llio.texi (Synchronizing AIO Operations): Update description
29012 for EBADF error from aio_fsync.
29014 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29016 * Rules (bench): Move target definition...
29017 * benchtests/Makefile: ... here.
29019 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29021 * math/libm-test.inc (cos_test): Fix PI/2 test.
29022 (sincos_test): Likewise.
29023 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29024 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29026 2013-04-11 Andreas Schwab <schwab@suse.de>
29029 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29030 accept exponent character only when digits were seen.
29031 * stdio-common/Makefile (tests): Add bug26.
29032 * stdio-common/bug26.c: New file.
29035 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29038 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29040 * Makeconfig (rtld-prefix): Define built linker prefix.
29041 * Rules (run-bench): Use it.
29042 * math/Makefile (run-regen-ulps): Likewise.
29044 * Rules (bench): Remove eval.
29046 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29047 Roland McGrath <roland@hack.frob.com>
29048 Ondrej Bilka <neleai@seznam.cz>
29051 * time/getdate.c: Include ctype.h and alloca.h.
29052 (__getdate_r): Trim leading and trailing spaces of input.
29053 * time/tst-getdate.c (tests): Add tests with leading and
29056 2013-04-08 Roland McGrath <roland@hack.frob.com>
29059 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29060 when computing value.
29062 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29064 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29065 Use testrun.sh to run libm tests.
29068 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29070 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29073 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29075 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29077 * Makefile.in (regen-ulps): New target.
29078 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29079 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29080 [ifneq (no,$(PERL)] (regen-ulps): New target.
29081 [ifeq (no,$(PERL)] (regen-ulps): New target.
29082 * math/libm-test.inc (ulps_file_name): Define.
29083 (output_dir): New variable.
29084 (options): Add "output-dir" option.
29085 (parse_opt): Handle 'o' case.
29086 (main): If output_dir is non-NULL use it as a prefix
29088 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29090 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29092 [BZ #10060, #10062]
29093 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29094 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29095 fail configure if __sync_val_compare_and_swap is not inlined.
29096 * sysdeps/i386/configure: Regenerate.
29097 * configure.in: Build for i686 when configured for i386.
29098 * configure: Regenerate.
29099 * README: Remove i386 reference.
29101 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29103 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29104 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29106 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29108 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29109 (lmsnanval): New variables.
29110 (F): Add conversion tests.
29111 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29112 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29114 * stdio-common/tstdiomisc.c (F): Properly collect individual
29117 [BZ #14686, #15336]
29118 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29119 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29120 Instead, use input NaN values or generate a qNaN by arithmetic
29121 operation. Also fix bugs to comply with the standard.
29122 * math/libm-test.inc (remainder_test): Add more tests.
29124 [BZ #15335, #15342]
29125 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29127 input NaN values or generate a qNaN by arithmetic operation.
29129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29132 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29135 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29138 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29139 underflowed result.
29140 * math/s_cexpf.c (__cexpf): Likewise.
29141 * math/s_cexpl.c (__cexpl): Likewise.
29142 * math/libm-test.inc (cexp_test): Add more tests.
29144 2013-04-03 Andreas Schwab <schwab@suse.de>
29147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29148 order arrays from heap if bigger than alloca cutoff.
29150 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29152 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29153 (SNAN_TESTS_double): Refer to GCC PR56831.
29154 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29157 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29159 * Rules (bench): Move bench.out after the run is complete.
29161 * Rules (bench): Echo currently running benchmark.
29163 * benchtests/Makefile (bench): Add atan and slowatan.
29164 * benchtests/atan-inputs: New file.
29165 * benchtests/slowatan-inputs: New file.
29166 * benchtests/slowatan.c: New file.
29168 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29169 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29173 * sysdeps/unix/sysv/linux/kernel-features.h
29174 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29175 __ASSUME_XFS_RESTRICTED_CHOWN.
29176 * sysdeps/unix/sysv/linux/pathconf.c
29177 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29178 Save and restore errno.
29180 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29183 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29184 arguments using __kernel_casinh.
29185 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29186 arguments using __kernel_casinhf.
29187 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29188 arguments using __kernel_casinhl.
29189 * math/libm-test.inc (cacosh_test): Add more tests.
29190 * sysdeps/i386/fpu/libm-test-ulps: Update.
29191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29193 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29195 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29198 * bench/Makefile (bench): Add sin and slowsin.
29199 * benchtests/sin-inputs: New file.
29200 * benchtests/slowsin-inputs: New file.
29201 * benchtests/slowsin.c: New file.
29203 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29204 (bench): Add slowexp and slowpow.
29205 (exp-ITER): Increase iterations.
29206 (pow-ITER): Likewise.
29207 * benchtests/exp-inputs: Change input.
29208 * benchtests/pow-inputs: Likewise.
29209 * benchtests/slowexp-inputs: New file.
29210 * benchtests/slowexp.c: New file.
29211 * benchtests/slowpow-inputs: New file.
29212 * benchtests/slowpow.c: New file.
29214 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29216 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29218 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29219 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29220 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29221 * benchtests/Makefile: Add rint benchtest.
29222 * benchtests/rint-inputs: Input for rint benchtest.
29224 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29226 * Versions.def (libm): Add GLIBC_2.18.
29227 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29228 hidden libm prototypes.
29229 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29230 * math/Makefile (libm-calls): Add s_issignaling.
29231 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29232 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29233 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29235 * math/math.h [__USE_GNU] (issignaling): New macro.
29236 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29237 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29239 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29242 * manual/arith.texi (issignaling): New section.
29243 * manual/libm-err-tab.pl (@all_functions): Update comment.
29244 * math/gen-libm-test.pl (parse_args): Apply special handling for
29246 * math/libm-test.inc (print_float, issignaling_test): New
29248 (check_float_internal): Add issignaling checks.
29249 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29250 default definition.
29251 * sysdeps/powerpc/math-tests.h: New file.
29252 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29254 * math/test-snan.c (TEST_FUNC): Likewise.
29256 2013-03-30 David S. Miller <davem@davemloft.net>
29258 * po/de.po: Update from translation team.
29260 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29263 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29264 imaginary part less than 1.0 and real part less than 0.5
29266 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29267 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29268 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29269 (cacos_test): Add more tests.
29270 (casin_test): Likewise.
29271 (casinh_test): Likewise.
29272 * sysdeps/i386/fpu/libm-test-ulps: Update.
29273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29275 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29277 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29278 ONE with its value.
29280 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29281 (__pow_mp): Replace ONE and MONE with their values.
29282 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29284 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29285 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29286 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29287 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29289 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29291 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29292 (__pow_mp): Replace ZERO and MZERO with their values.
29293 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29294 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29295 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29296 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29297 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29298 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29301 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29303 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29305 2013-03-28 Roland McGrath <roland@hack.frob.com>
29307 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29308 Declare with __attribute__ ((weak)).
29309 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29310 Call __call_tls_dtors only if it's not NULL.
29312 2013-03-28 Roland McGrath <roland@hack.frob.com>
29314 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29315 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29316 magic __ehdr_start linker symbol if it's defined.
29317 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29318 them up here if it was already done.
29320 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29321 (_dl_aux_init): Use const in cast when setting it.
29322 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29323 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29324 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29326 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29328 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29329 * csu/libc-tls.c: Nor here.
29330 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29332 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29333 (__libc_message): Never call vsyslog.
29335 2013-03-28 Alan Modra <amodra@gmail.com>
29337 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29339 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29342 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29345 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29349 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29352 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29353 Don't add gid passed as argument.
29355 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29357 2013-03-27 Joseph Myers <joseph@codesourcery.com>
29360 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29361 imaginary part between 1.0 and 1.5 and real part less than 0.5
29363 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29364 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29365 * math/libm-test.inc (cacos_test): Add more tests.
29366 (casin_test): Likewise.
29367 (casinh_test): Likewise.
29368 * sysdeps/i386/fpu/libm-test-ulps: Update.
29369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29371 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29373 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29376 (denorm): Likewise.
29377 (__dbl_mp): Likewise.
29378 (add_magnitudes): Likewise.
29379 (sub_magnitudes): Likewise.
29387 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29389 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29390 (__dubcos): Likewise.
29391 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29392 (__ieee754_acos): Likewise.
29393 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29394 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29395 (__exp1): Likewise.
29396 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29399 (my_log2): Likewise.
29400 (checkint): Likewise.
29401 * sysdeps/ieee754/dbl-64/e_remainder.c
29402 (__ieee754_remainder): Likewise.
29403 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29405 (bsloww): Likewise.
29406 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29408 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29409 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29410 MANTISSA_STORE_T to store computations on mantissa. Use
29411 macros for rounding and division.
29412 (denorm): Likewise.
29413 (__dbl_mp): Likewise.
29414 (add_magnitudes): Likewise.
29415 (sub_magnitudes): Likewise.
29418 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29419 powers of two in terms of TWOPOW macro.
29420 (mp_no): Make type of mantissa as MANTISSA_T.
29421 [!RADIXI]: Define RADIXI.
29422 [!TWO52]: Define TWO52.
29423 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29425 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29427 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29428 llroundl symbol when building for PPC32.
29430 2013-03-24 Mark H Weaver <mhw@netris.org>
29432 * manual/arith.texi (Normalization Functions): Fix prototypes for
29433 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29435 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29439 high value to check if expl overflow.
29440 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29441 to check for underflow and overflow.
29442 * math/libm-test.inc: Add exp test.
29444 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29447 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29450 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29452 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29455 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29457 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29458 wrap blocks consisting of several statements.
29460 * sysdeps/generic/math-tests.h: New file.
29461 * sysdeps/i386/fpu/math-tests.h: Likewise.
29462 * math/test-snan.c: Include it.
29463 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29465 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29468 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29469 (__ieee754_j0l): Do not improve calculations using cos of twice
29470 input for inputs above LDBL_MAX / 2.0L.
29471 (__ieee754_y0l): Likewise.
29472 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29473 (__ieee754_j1l): Do not improve calculations using cos of twice
29474 input for inputs above LDBL_MAX / 2.0L.
29475 (__ieee754_y1l): Likewise.
29476 * math/libm-test.inc (j0_test): Add another test.
29477 (j1_test): Likewise.
29478 (y0_test): Likewise.
29479 (y1_test): Likewise.
29480 * sysdeps/i386/fpu/libm-test-ulps: Update.
29482 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29484 * Rules ($(objpfx)bench-%.c): Include code from a C source
29487 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29490 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29491 imaginary part 1.0 and real part less than 0.5 specially.
29492 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29493 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29494 * math/libm-test.inc (cacos_test): Add more tests.
29495 (casin_test): Likewise.
29496 (casinh_test): Likewise.
29497 * sysdeps/i386/fpu/libm-test-ulps: Update.
29498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29500 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29502 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29503 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29505 2013-03-20 Joseph Myers <joseph@codesourcery.com>
29507 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29508 * config.make.in (config-cflags-sse4): Remove variable.
29509 (config-cflags-avx): Likewise.
29510 (config-cflags-sse2avx): Likewise.
29511 (config-cflags-novzeroupper): Likewise.
29512 (config-asflags-i686): Likewise.
29513 (have-mfma4): Likewise.
29514 (have-as-vis3): Likewise.
29516 * configure.in (MIG): Do not AC_SUBST.
29517 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29518 (libc_cv_cc_sse4): Do not AC_SUBST.
29519 (libc_cv_cc_avx): Likewise.
29520 (libc_cv_cc_sse2avx): Likewise.
29521 (libc_cv_cc_novzeroupper): Likewise.
29522 (libc_cv_cc_fma4): Likewise.
29523 (libc_cv_as_i686): Likewise.
29524 (libc_cv_sparc_as_vis3): Likewise.
29525 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29527 (config-asflags-i686): Likewise.
29528 (config-cflags-avx): Likewise.
29529 (config-cflags-sse2avx): Likewise.
29530 (have-mfma4): Likewise.
29531 (config-cflags-novzeroupper): Likewise.
29532 * sysdeps/mach/configure.in (MIG): Likewise.
29533 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29534 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29536 (config-cflags-avx): Likewise.
29537 (config-cflags-sse2avx): Likewise.
29538 (have-mfma4): Likewise.
29539 (config-cflags-novzeroupper): Likewise.
29540 * configure: Regenerated.
29541 * sysdeps/i386/configure: Likewise.
29542 * sysdeps/mach/configure: Likewise.
29543 * sysdeps/sparc/configure: Likewise.
29544 * sysdeps/x86_64/configure: Likewise.
29546 2013-03-20 Roland McGrath <roland@hack.frob.com>
29549 * locale/programs/localedef.c (options): Put N_ translation marker
29550 on argument names, not just descriptions.
29552 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29554 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29556 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
29559 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29561 2013-03-19 Roland McGrath <roland@hack.frob.com>
29563 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29564 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29565 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29566 [!BEFORE_ABORT] (before_abort): New function.
29567 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29568 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29569 (writev_for_fatal): New function.
29570 (WRITEV_FOR_FATAL): New macro; call that.
29571 (backtrace_and_maps): New function.
29572 (BEFORE_ABORT): New macro; call that.
29573 (struct str_list): Type removed.
29574 (__libc_message, __libc_fatal): Functions removed.
29575 Include <sysdeps/posix/libc_fatal.c> instead.
29577 2013-03-19 Joseph Myers <joseph@codesourcery.com>
29579 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29581 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29584 2013-03-19 Andreas Schwab <schwab@suse.de>
29586 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29587 * sysdeps/gnu/configure: Regenerate.
29589 * configure.in: Substitute libc_cv_rtlddir.
29590 * configure: Regenerate.
29591 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29592 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29593 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29594 * elf/Makefile (install-others, CFLAGS-interp.c)
29595 (ldso_install, common-ldd-rewrite): Likewise.
29596 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29597 $(inst_slibdir)/$(rtld-installed-name).
29598 * scripts/rellns-sh: Add -p option.
29599 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29602 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29604 * manual/nptl.texi: Renamed to ...
29605 * manual/threads.texi: ... this.
29606 * manual/Makefile (chapters): Update.
29608 2013-03-18 Roland McGrath <roland@hack.frob.com>
29611 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29612 on argument names, not just descriptions.
29613 * malloc/memusagestat.c (options): Likewise.
29614 * nss/getent.c (options): Likewise.
29616 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
29619 * iconv/iconv_prog.c (options): Put N_ translation marker
29620 on argument names, not just descriptions.
29621 * iconv/iconvconfig.c (options): Likewise.
29623 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
29625 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29626 implementation which is faster on all x86_64 architectures.
29627 Tested on AMD, Intel Nehalem, SNB, IVB.
29628 * sysdeps/x86_64/strnlen.S: Likewise.
29630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29631 Remove all multiarch strlen and strnlen versions.
29632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29633 Remove strlen and strnlen related parts.
29635 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29636 Inline strlen part.
29637 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29639 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29640 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29641 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29642 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29643 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29644 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29646 2013-03-17 Carlos O'Donell <carlos@redhat.com>
29648 * manual/memory.texi (Malloc Tunable Parameters):
29649 Sort parameters alphabetically. Add comments for missing entries.
29651 2013-03-17 David S. Miller <davem@davemloft.net>
29653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29655 2013-03-16 Joseph Myers <joseph@codesourcery.com>
29658 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29659 for arguments at most half maximum finite value.
29660 * math/libm-test.inc (j0_test): Add more tests.
29661 (j1_test): Likewise.
29662 (y0_test): Likewise.
29663 (y1_test): Likewise.
29664 * sysdeps/i386/fpu/libm-test-ulps: Update.
29665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29668 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29669 1 / x and functions P and Q for arguments above 0x1p256L.
29670 (__ieee754_y0l): Likewise.
29671 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29672 (__ieee754_y1l): Likewise.
29673 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29674 (j1_test): Likewise.
29675 (y0_test): Likewise.
29676 (y1_test): Likewise.
29678 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29680 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29683 2013-03-15 Roland McGrath <roland@hack.frob.com>
29685 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29686 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29687 zero since it's initialized to EXEC_PAGESIZE.
29689 * sysdeps/unix/sysv/linux/ldsodefs.h
29690 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29691 * sysdeps/generic/ldsodefs.h: ... here.
29693 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29695 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29697 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29699 * math/test-snan.c: Renamed from
29700 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29701 * math/Makefile (tests): Add test-snan.
29702 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29705 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29706 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29708 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29709 __builtin_nan family of functions.
29710 * math/libm-test.inc (initialize): Initialize qnan_value with
29711 __builtin_nan family of functions.
29712 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29714 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29716 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29717 storage class. Initialize qNaN_var and sNaN_var with
29718 __builtin_nan and __builtin_nans families of functions,
29721 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29722 (sqrt_test): Remove duplicate test with qNaN input.
29723 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29724 (round_test, signbit_test, significand_test): Note missing +/-Inf
29725 as well as qNaN tests.
29727 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29728 qNaN_var. Fix a few strings, too.
29729 * math/libm-test.inc (nan_value): Rename to qnan_value.
29730 * math/gen-libm-test.pl (%beautify): Adjust to that.
29731 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29732 * math/test-misc.c (main): Likewise.
29733 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29734 to __qnan_bytes, and __qnan_union, respectively.
29735 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29737 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29738 and lqnanval, respectively.
29739 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29740 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29741 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29742 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29744 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29745 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29748 * math/test-misc.c (main): Fix copy'n'pastos.
29749 * misc/tst-efgcvt.c (special): Likewise.
29751 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29752 Remove declarations.
29754 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29756 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29757 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29758 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29759 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29761 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29764 macro to return vdso values correctly in IFUNC implementations.
29765 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29766 Optimization by using IFUNC.
29768 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29769 Richard Henderson <rth@redhat.com>
29770 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29772 * Makefile.in (bench): New target.
29773 * NEWS: Mention the benchmark framework.
29774 * Rules (bench): Likewise.
29775 (binaries-bench): Generate binaries for functions to
29777 * benchtests/Makefile: New makefile for benchmark tests.
29778 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29780 * benchtests/exp-inputs: New input file for EXP function.
29781 * benchtests/pow-inputs: New input file for POW function.
29782 * scripts/bench.pl: New script to generate source files for
29783 benchmark programs.
29785 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29787 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29788 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29789 computations on mantissa. Use macros for rounding and
29791 (denorm): Likewise.
29792 (__dbl_mp): Likewise.
29793 (add_magnitudes): Likewise.
29794 (sub_magnitudes): Likewise.
29797 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29798 powers of two in terms of TWOPOW macro.
29799 (mp_no): Make type of mantissa as MANTISSA_T.
29800 [!RADIXI]: Define RADIXI.
29801 [!TWO52]: Define TWO52.
29802 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29804 * manual/nptl.texi (cindex): Modify threads to pthreads.
29806 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29808 * sysdeps/x86_64/preconfigure: Regenerated.
29810 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29813 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29815 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29816 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29818 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29819 * math/libm-test.inc (j0_test): Do not allow one spurious
29820 underflow exception.
29821 (y1_test): Likewise.
29823 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29825 * manual/Makefile (chapters): Add nptl.
29826 * manual/debug.texi (Debugging Support): Add link to Threads
29828 * manual/nptl.texi: New file.
29830 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29832 2013-03-14 Petr Baudis <pasky@ucw.cz>
29834 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29835 for non-NULL pointer before the memory validity test. Pointed
29836 out by Holger Brunck <holger.brunck@keymile.com>.
29838 2013-03-13 Andreas Schwab <schwab@suse.de>
29840 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29843 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29845 * timezone/zic.c: Update from tzcode 2013b.
29847 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29849 * manual/install.texi (Configuring and compiling):
29850 Mention i686 and i586.
29851 * INSTALL: Regenerate.
29853 2013-03-12 Roland McGrath <roland@hack.frob.com>
29855 * sysdeps/init_array/elf-init.c: New file.
29857 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29858 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29860 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29861 __gmon_start__ as global, but as static with a .preinit_array pointer.
29862 * sysdeps/init_array/gmon-start.c: New file. Use that.
29863 * sysdeps/init_array/crti.S: New file, empty except for comments.
29864 * sysdeps/init_array/crtn.S: Likewise.
29866 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29868 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29871 Remove Prefer_SSE_for_memop.
29872 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29873 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29874 HAS_PREFER_SSE_FOR_MEMOP.
29875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29878 Remove bzero, memset ifunc support.
29879 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29880 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29881 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29882 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29884 2013-03-11 Andreas Schwab <schwab@suse.de>
29887 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29890 (GLIBC_2.16): Remove pthread_atfork.
29892 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29894 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29895 (ptestcases.h): Likewise.
29897 2013-03-08 Roland McGrath <roland@hack.frob.com>
29899 * Makeconfig ($(common-objpfx)config.status): Depend on
29900 sysdeps/*/preconfigure{,.in} too.
29902 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29904 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29905 (__free_hook): Use void * instead of __malloc_ptr_t.
29906 (__malloc_hook): Likewise.
29907 (__realloc_hook): Likewise.
29908 (__memalign_hook): Likewise.
29909 (__after_morecore_hook): Likewise.
29910 * malloc/arena.c (save_malloc_hook): Likewise.
29911 (save_free_hook): Likewise.
29912 * malloc/hooks.c (malloc_hook_ini): Likewise.
29913 (realloc_hook_ini): Likewise.
29914 (memalign_hook_ini): Likewise.
29915 * malloc/malloc.c (malloc_hook_ini): Likewise.
29916 (realloc_hook_ini): Likewise.
29917 (memalign_hook_ini): Likewise.
29918 (__free_hook): Likewise.
29919 (__malloc_hook): Likewise.
29920 (__realloc_hook): Likewise.
29921 (__memalign_hook): Likewise.
29922 (__libc_malloc): Likewise.
29923 (__libc_free): Likewise.
29924 (__libc_realloc): Likewise.
29925 (__libc_memalign): Likewise.
29926 (__libc_valloc): Likewise.
29927 (__libc_pvalloc): Likewise.
29928 (__libc_calloc): Likewise.
29929 (__posix_memalign): Likewise.
29930 * malloc/morecore.c (__sbrk): Likewise.
29931 (__default_morecore): Likewise.
29933 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29935 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29936 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29937 __malloc_ptrdiff_t.
29939 * malloc/malloc.h (__malloc_size_t): Remove macro.
29940 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29942 (old_memalign_hook): Likewise.
29943 (old_realloc_hook): Likewise.
29944 (struct hdr): Likewise.
29946 (mallochook): Likewise.
29947 (memalignhook): Likewise.
29948 (reallochook): Likewise.
29949 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29950 (tr_old_realloc_hook): Likewise.
29951 (tr_old_memalign_hook): Likewise.
29952 (tr_mallochook): Likewise.
29953 (tr_reallochook): Likewise.
29954 (tr_memalignhook): Likewise.
29956 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29959 default_ldbl_pack and using as default implementation.
29960 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29962 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29963 redundant definition.
29964 (ldbl_insert_mantissa): Likewise.
29965 (ldbl_canonicalize): Likewise.
29966 (ldbl_nearbyint): Likewise.
29967 (ldbl_pack): Rename to ldbl_pack_ppc.
29968 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29969 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29970 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29972 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29975 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29976 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29977 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29979 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29980 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29981 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29983 2013-03-07 Andreas Jaeger <aj@suse.de>
29985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29988 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29990 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29991 Include mpa.h and declare __MPEXP.
29992 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29993 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29994 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29995 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29996 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29997 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29998 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30000 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30001 (__slowpow): Use long double EXPL and LOGL functions to
30003 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30004 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30005 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30006 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30007 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30008 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30011 intermediate variable to calculate exponent.
30013 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30017 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30018 [!NO__SQR]: Define __sqr.
30019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30020 and NO__SQR. Remove all code except __mul and __sqr. Include
30021 sysdeps/ieee754/dbl-64/mpa.c.
30022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30025 * posix/Makefile (tests): Add tst-pathconf.
30026 * posix/tst-pathconf.c: New test case.
30027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30029 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30031 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30033 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30035 2013-03-06 Andreas Jaeger <aj@suse.de>
30037 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30038 definition via __MAP_ANONYMOUS.
30040 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30041 it's not part of Linux headers.
30043 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30044 (MAP_HUGE_MASK): Define.
30046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30048 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30049 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30051 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30052 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30054 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30055 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30057 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30059 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30060 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30061 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30062 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30063 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30064 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30066 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30069 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30070 Handle f2fs and efivarfs.
30072 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30075 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30076 (EFIVARFS_MAGIC): Add.
30077 (F2FS_LINK_MAX): Add.
30079 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30081 * stdio-common/vfprintf.c: Replace __builtin_expect with
30084 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30087 * sysdeps/generic/bp-sym.h: Remove file.
30088 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30089 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30090 <bp-sym.h> and <bp-asm.h>.
30091 (__longjmp): Don't use BP_SYM.
30092 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30094 (memcpy): Don't use BP_SYM.
30095 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30096 <bp-sym.h> and <bp-asm.h>.
30097 (memcpy): Don't use BP_SYM.
30098 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30100 (memcpy): Don't use BP_SYM.
30101 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30103 (memset): Don't use BP_SYM.
30104 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30105 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30106 (__bzero): Don't use BP_SYM.
30107 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30108 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30109 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30110 <bp-sym.h> and <bp-asm.h>.
30111 (memcmp): Don't use BP_SYM. Remove comment about bounded
30113 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30114 <bp-sym.h> and <bp-asm.h>.
30115 (memcpy): Don't use BP_SYM.
30116 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30117 <bp-sym.h> and <bp-asm.h>.
30118 (memset): Don't use BP_SYM.
30119 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30120 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30121 (__bzero): Don't use BP_SYM.
30122 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30123 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30124 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30125 <bp-sym.h> and <bp-asm.h>.
30126 (strncmp): Don't use BP_SYM. Remove comment about bounded
30128 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30129 <bp-sym.h> and <bp-asm.h>.
30130 (memcpy): Don't use BP_SYM.
30131 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30132 <bp-sym.h> and <bp-asm.h>.
30133 (memset): Don't use BP_SYM.
30134 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30135 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30136 (__bzero): Don't use BP_SYM.
30137 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30138 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30139 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30140 <bp-sym.h> and <bp-asm.h>.
30141 (__memchr): Don't use BP_SYM.
30142 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30143 <bp-sym.h> and <bp-asm.h>.
30144 (memcmp): Don't use BP_SYM. Remove comment about bounded
30146 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30147 <bp-sym.h> and <bp-asm.h>.
30148 (memcpy): Don't use BP_SYM.
30149 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30150 <bp-sym.h> and <bp-asm.h>.
30151 (__mempcpy): Don't use BP_SYM.
30152 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30153 <bp-sym.h> and <bp-asm.h>.
30154 (__memrchr): Don't use BP_SYM.
30155 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30156 <bp-sym.h> and <bp-asm.h>.
30157 (memset): Don't use BP_SYM.
30158 (__bzero): Likewise.
30159 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30160 <bp-sym.h> and <bp-asm.h>.
30161 (__rawmemchr): Don't use BP_SYM.
30162 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30163 <bp-sym.h> and <bp-asm.h>.
30164 (__STRCMP): Don't use BP_SYM.
30165 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30166 <bp-sym.h> and <bp-asm.h>.
30167 (strchr): Don't use BP_SYM.
30168 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30169 <bp-sym.h> and <bp-asm.h>.
30170 (__strchrnul): Don't use BP_SYM.
30171 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30172 <bp-sym.h> and <bp-asm.h>.
30173 (strlen): Don't use BP_SYM.
30174 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30175 <bp-sym.h> and <bp-asm.h>.
30176 (strncmp): Don't use BP_SYM. Remove comment about bounded
30178 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30179 <bp-sym.h> and <bp-asm.h>.
30180 (__strnlen): Don't use BP_SYM.
30181 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30182 <bp-sym.h> and <bp-asm.h>.
30183 (__GI__setjmp): Don't use BP_SYM.
30184 (_setjmp): Likewise.
30185 (__sigsetjmp): Likewise.
30186 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30187 (L(start_addresses)): Don't use BP_SYM.
30188 (_start): Likewise.
30189 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30191 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30192 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30193 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30194 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30195 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30197 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30198 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30199 about bounded pointers.
30200 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30201 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30202 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30204 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30205 about bounded pointers. Remove GKM FIXME comments.
30206 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30207 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30209 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30210 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30211 Remove GKM FIXME comments.
30212 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30213 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30214 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30216 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30217 about bounded pointers. Remove GKM FIXME comment.
30218 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30220 (strncmp): Don't use BP_SYM. Remove comment about bounded
30222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30223 <bp-sym.h> and <bp-asm.h>.
30224 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30226 <bp-sym.h> and <bp-asm.h>.
30227 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30230 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30232 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30235 2013-03-05 David S. Miller <davem@davemloft.net>
30237 * po/es.po: Update from translation team.
30239 2013-03-05 Andreas Jaeger <aj@suse.de>
30241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30242 <bits/mman-linux.h>.
30243 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30246 <bits/mman-linux.h> to end of file.
30247 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30249 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30250 <bits/mman-linux.h> to end of file.
30251 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30253 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30254 <bits/mman-linux.h> to end of file.
30256 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30257 (MCL_CURRENT, MCL_FUTURE): Define here.
30259 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30262 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30264 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30266 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30268 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30269 fourth parameter needed for rt_sigprocmask syscall.
30270 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30271 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30272 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30273 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30274 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30275 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30277 2013-03-04 Joseph Myers <joseph@codesourcery.com>
30280 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30281 comment about bounded pointers.
30282 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30283 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30285 2013-03-04 Andreas Jaeger <aj@suse.de>
30287 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30288 common definitions.
30290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30291 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30292 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30293 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30294 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30295 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30297 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30300 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30301 __ieee754_sqrl instead of __sqrl.
30303 2013-03-01 Joseph Myers <joseph@codesourcery.com>
30305 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30306 * sysdeps/powerpc/fpu_control.h: ... here.
30307 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30308 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30309 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30310 * sysdeps/powerpc/bits/mathinline.h: ... here.
30312 2013-03-01 Roland McGrath <roland@hack.frob.com>
30314 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30315 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30316 to just [NEED_DL_SYSINFO_DSO].
30317 * elf/dl-support.c: Likewise.
30318 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30319 * elf/rtld.c (dl_main): Likewise.
30320 * elf/setup-vdso.h (setup_vdso): Likewise.
30321 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30322 * sysdeps/unix/sysv/linux/dl-sysdep.c
30323 (_dl_discover_osversion): Likewise.
30325 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30327 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30328 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30330 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30332 * NEWS: Mention libm performance improvements and non-x86 PI
30335 * csu/libc-start.c (__pthread_initialize_minimal): Change
30336 function arguments.
30337 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30339 2013-02-28 Joseph Myers <joseph@codesourcery.com>
30342 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30343 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30344 <bp-sym.h> and <bp-asm.h>.
30345 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30346 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30348 (memcpy): Don't use BP_SYM.
30349 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30351 (__mpn_add_n): Don't use BP_SYM.
30352 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30353 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30355 (__mpn_addmul_1): Don't use BP_SYM.
30356 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30357 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30359 (_setjmp): Don't use BP_SYM.
30360 (__novmx_setjmp): Likewise.
30361 (__GI__setjmp): Likewise.
30362 (__vmx_setjmp): Likewise.
30363 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30365 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30366 (__bzero): Don't use BP_SYM.
30367 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30368 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30369 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30370 <bp-sym.h> and <bp-asm.h>.
30371 (memcpy): Don't use BP_SYM.
30372 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30373 <bp-sym.h> and <bp-asm.h>.
30374 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30375 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30376 <bp-sym.h> and <bp-asm.h>.
30377 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30378 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30380 (__mpn_lshift): Don't use BP_SYM.
30381 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30382 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30384 (memset): Don't use BP_SYM.
30385 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30386 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30387 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30389 (__mpn_mul_1): Don't use BP_SYM.
30390 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30391 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30392 <bp-sym.h> and <bp-asm.h>.
30393 (memcmp): Don't use BP_SYM.
30394 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30395 <bp-sym.h> and <bp-asm.h>.
30396 (memcpy): Don't use BP_SYM.
30397 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30398 <bp-sym.h> and <bp-asm.h>.
30399 (memset): Don't use BP_SYM.
30400 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30401 <bp-sym.h> and <bp-asm.h>.
30402 (strncmp): Don't use BP_SYM.
30403 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30404 <bp-sym.h> and <bp-asm.h>.
30405 (memcpy): Don't use BP_SYM.
30406 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30407 <bp-sym.h> and <bp-asm.h>.
30408 (memset): Don't use BP_SYM.
30409 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30410 <bp-sym.h> and <bp-asm.h>.
30411 (__memchr): Don't use BP_SYM.
30412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30413 <bp-sym.h> and <bp-asm.h>.
30414 (memcmp): Don't use BP_SYM.
30415 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30416 <bp-sym.h> and <bp-asm.h>.
30417 (memcpy): Don't use BP_SYM.
30418 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30419 <bp-sym.h> and <bp-asm.h>.
30420 (__mempcpy): Don't use BP_SYM.
30421 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30422 <bp-sym.h> and <bp-asm.h>.
30423 (__memrchr): Don't use BP_SYM.
30424 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30425 <bp-sym.h> and <bp-asm.h>.
30426 (memset): Don't use BP_SYM.
30427 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30428 <bp-sym.h> and <bp-asm.h>.
30429 (__rawmemchr): Don't use BP_SYM.
30430 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30431 <bp-sym.h> and <bp-asm.h>.
30432 (__STRCMP): Don't use BP_SYM.
30433 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30434 <bp-sym.h> and <bp-asm.h>.
30435 (strchr): Don't use BP_SYM.
30436 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30437 <bp-sym.h> and <bp-asm.h>.
30438 (__strchrnul): Don't use BP_SYM.
30439 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30440 <bp-sym.h> and <bp-asm.h>.
30441 (strlen): Don't use BP_SYM.
30442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30443 <bp-sym.h> and <bp-asm.h>.
30444 (strncmp): Don't use BP_SYM.
30445 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30446 <bp-sym.h> and <bp-asm.h>.
30447 (__strnlen): Don't use BP_SYM.
30448 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30450 (__mpn_rshift): Don't use BP_SYM.
30451 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30452 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30453 <bp-sym.h> and <bp-asm.h>.
30454 (__sigsetjmp): Don't use BP_SYM.
30455 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30456 (L(start_addresses)): Don't use BP_SYM.
30457 (_start): Likewise.
30458 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30460 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30461 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30462 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30463 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30465 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30466 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30467 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30468 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30470 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30472 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30473 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30475 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30477 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30478 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30479 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30481 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30483 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30485 (strncmp): Don't use BP_SYM,
30486 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30488 (__mpn_sub_n): Don't use BP_SYM.
30489 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30490 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30492 (__mpn_submul_1): Don't use BP_SYM.
30493 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30495 <bp-sym.h> and <bp-asm.h>.
30496 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30498 <bp-sym.h> and <bp-asm.h>.
30499 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30502 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30505 Use ZK to minimize writes to Z.
30506 (sub_magnitudes): Simplify code a bit.
30507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30508 Use ZK to minimize writes to Z.
30509 (sub_magnitudes): Simplify code a bit.
30511 2013-02-27 Roland McGrath <roland@hack.frob.com>
30513 * csu/gmon-start.c: Add special exception to license text.
30515 2013-02-27 Richard Henderson <rth@redhat.com>
30517 * scripts/config.guess: Update from config.git.
30518 * scripts/config.sub: Likewise.
30520 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30522 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30524 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30526 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30528 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30530 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30532 2013-02-26 Roland McGrath <roland@hack.frob.com>
30534 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30535 [$(build-shared = yes].
30537 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30539 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30540 (__mul): Reduce iterations for calculating mantissa.
30542 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30544 (__mpranred): Likewise.
30547 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30548 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30550 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30552 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30553 Define __attribute__.
30555 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30557 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30559 * posix/regex_internal.h (__attribute): Remove.
30560 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30561 (re_string_context_at): Likewise.
30562 (bitset_not): Use __attribute__ and mark function as possibly
30564 (bitset_merge): Likewise.
30565 (bitset_mask): Likewise.
30566 (re_string_char_size_at): Likewise.
30567 (re_string_wchar_at): Likewise.
30568 (re_string_elem_size_at): Likewise.
30570 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30572 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30576 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30580 (denorm): Likewise.
30581 (__dbl_mp): Likewise.
30582 (add_magnitudes): Likewise.
30583 (sub_magnitudes): Likewise.
30587 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30590 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30593 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30597 up changes with default code.
30598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30601 2013-02-24 Allan McRae <allan@archlinux.org>
30603 * manual/socket.texi (The Internet Namespace): Order menu items
30604 to match that in the file.
30606 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30607 node listing of the info page menu.
30609 2013-02-21 Joseph Myers <joseph@codesourcery.com>
30612 * sysdeps/i386/bp-asm.h: Remove file.
30613 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30614 (PARMS): Do not use macros from bp-asm.h.
30618 (__mpn_add_n): Do not use BP_SYM
30619 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30621 (PARMS): Do not use macros from bp-asm.h.
30624 (__mpn_addmul_1): Do not use BP_SYM
30625 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30627 (PARMS): Do not use macros from bp-asm.h.
30628 (SIGMSK): Likewise.
30629 (_setjmp): Likewise. Do not use BP_SYM.
30630 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30632 (PARMS): Do not use macros from bp-asm.h.
30633 (SIGMSK): Likewise.
30634 (setjmp): Likewise. Do not use BP_SYM.
30635 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30637 (PARMS): Do not use macros from bp-asm.h.
30638 (__frexp): Do not use BP_SYM.
30640 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30642 (PARMS): Do not use macros from bp-asm.h.
30643 (__frexpf): Do not use BP_SYM.
30644 (frexpf): Likewise.
30645 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30647 (PARMS): Do not use macros from bp-asm.h.
30648 (__frexpl): Do not use BP_SYM.
30649 (frexpl): Likewise.
30650 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30652 (PARMS): Do not use macros from bp-asm.h.
30653 (__remquo): Do not use BP_SYM.
30654 (remquo): Likewise.
30655 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30657 (PARMS): Do not use macros from bp-asm.h.
30658 (__remquof): Do not use BP_SYM.
30659 (remquof): Likewise.
30660 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30662 (PARMS): Do not use macros from bp-asm.h.
30663 (__remquol): Do not use BP_SYM.
30664 (remquol): Likewise.
30665 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30667 (PARMS): Do not use macros from bp-asm.h.
30670 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30671 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30673 (PARMS): Do not use macros from bp-asm.h.
30674 (strlen): Do not use BP_SYM.
30675 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30677 (PARMS): Do not use macros from bp-asm.h.
30681 (__mpn_add_n): Do not use BP_SYM.
30682 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30684 (PARMS): Do not use macros from bp-asm.h.
30687 (__mpn_addmul_1): Do not use BP_SYM.
30688 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30691 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30693 (PARMS): Do not use macros from bp-asm.h.
30696 (__mpn_lshift): Do not use BP_SYM.
30697 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30699 (PARMS): Do not use macros from bp-asm.h.
30703 (memcpy): Likewise. Do not use BP_SYM.
30704 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30705 libc_hidden_def and weak_alias.
30706 (mempcpy): Do not use BP_SYM in weak_alias.
30707 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30709 (PARMS): Do not use macros from bp-asm.h.
30712 [!BZERO_P] (CHR): Likewise.
30713 (memset): Likewise. Do not use BP_SYM.
30714 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30716 (PARMS): Do not use macros from bp-asm.h.
30719 (__mpn_mul_1): Do not use BP_SYM.
30720 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30722 (PARMS): Do not use macros from bp-asm.h.
30725 (__mpn_rshift): Do not use BP_SYM.
30726 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30728 (PARMS): Do not use macros from bp-asm.h.
30731 (strchr): Likewise. Do not use BP_SYM.
30732 (index): Do not use BP_SYM in weak_alias.
30733 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30735 (PARMS): Do not use macros from bp-asm.h.
30738 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30739 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30741 (PARMS): Do not use macros from bp-asm.h.
30742 (strlen): Do not use BP_SYM.
30743 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30745 (PARMS): Do not use macros from bp-asm.h.
30749 (__mpn_sub_n): Do not use BP_SYM.
30750 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30752 (PARMS): Do not use macros from bp-asm.h.
30755 (__mpn_submul_1): Do not use BP_SYM.
30756 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30758 (PARMS): Do not use macros from bp-asm.h.
30762 (__mpn_add_n): Do not use BP_SYM.
30763 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30766 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30768 (PARMS): Do not use macros from bp-asm.h.
30771 (memcmp): Do not use BP_SYM.
30772 (bcmp): Do not use BP_SYM in weak_alias.
30773 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30775 (PARMS): Do not use macros from bp-asm.h.
30779 (memcpy): Likewise. Do not use BP_SYM.
30780 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30782 (PARMS): Do not use macros from bp-asm.h.
30786 (memmove): Likewise. Do not use BP_SYM.
30787 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30789 (PARMS): Do not use macros from bp-asm.h.
30793 (__mempcpy): Likewise. Do not use BP_SYM.
30794 (mempcpy): Do not use BP_SYM in weak_alias.
30795 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30797 (PARMS): Do not use macros from bp-asm.h.
30800 [!BZERO_P] (CHR): Likewise.
30801 (memset): Likewise. Do not use BP_SYM.
30802 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30804 (PARMS): Do not use macros from bp-asm.h.
30806 (strcmp): Do not use BP_SYM.
30807 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30809 (PARMS): Do not use macros from bp-asm.h.
30812 [USE_AS_STRTOK_R] (SAVE): Likewise.
30813 (FUNCTION): Likewise. Do not use BP_SYM.
30814 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30816 (strtok_r): Likewise.
30817 (__GI___strtok_r): Likewise.
30818 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30819 (PARMS): Do not use macros from bp-asm.h.
30822 (__mpn_lshift): Do not use BP_SYM.
30823 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30824 (PARMS): Do not use macros from bp-asm.h.
30827 (__memchr): Do not use BP_SYM.
30828 (memchr): Do not use BP_SYM in weak_alias.
30829 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30830 (PARMS): Do not use macros from bp-asm.h.
30833 (memcmp): Do not use BP_SYM.
30834 (bcmp): Do not use BP_SYM in weak_alias.
30835 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30836 (PARMS): Do not use macros from bp-asm.h.
30839 (__mpn_mul_1): Do not use BP_SYM.
30840 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30842 (PARMS): Do not use macros from bp-asm.h.
30845 (__rawmemchr): Do not use BP_SYM.
30846 (rawmemchr): Do not use BP_SYM in weak_alias.
30847 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30848 (PARMS): Do not use macros from bp-asm.h.
30851 (__mpn_rshift): Do not use BP_SYM.
30852 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30853 (PARMS): Do not use macros from bp-asm.h.
30854 (SIGMSK): Likewise.
30855 (__sigsetjmp): Likewise. Do not use BP_SYM.
30856 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30857 (_start): Do not use BP_SYM.
30858 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30859 (PARMS): Do not use macros from bp-asm.h.
30862 (__stpcpy): Likewise. Do not use BP_SYM.
30863 (stpcpy): Do not use BP_SYM in weak_alias.
30864 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30866 (PARMS): Do not use macros from bp-asm.h.
30870 (__stpncpy): Likewise. Do not use BP_SYM.
30871 (stpncpy): Do not use BP_SYM in weak_alias.
30872 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30873 (PARMS): Do not use macros from bp-asm.h.
30876 (strchr): Likewise. Do not use BP_SYM.
30877 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30879 (PARMS): Do not use macros from bp-asm.h.
30882 (__strchrnul): Likewise. Do not use BP_SYM.
30883 (strchrnul): Do not use BP_SYM in weak_alias.
30884 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30886 (PARMS): Do not use macros from bp-asm.h.
30888 (strcspn): Do not use BP_SYM.
30889 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30891 (PARMS): Do not use macros from bp-asm.h.
30894 (strpbrk): Likewise. Do not use BP_SYM.
30895 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30897 (PARMS): Do not use macros from bp-asm.h.
30900 (strrchr): Likewise. Do not use BP_SYM.
30901 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30902 (PARMS): Do not use macros from bp-asm.h.
30904 (strspn): Do not use BP_SYM.
30905 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30906 (PARMS): Do not use macros from bp-asm.h.
30910 (FUNCTION): Likewise. Do not use BP_SYM.
30911 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30913 (strtok_r): Likewise.
30914 (__GI___strtok_r): Likewise.
30915 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30916 (PARMS): Do not use macros from bp-asm.h.
30920 (__mpn_sub_n): Do not use BP_SYM.
30921 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30923 (PARMS): Do not use macros from bp-asm.h.
30926 (__mpn_submul_1): Do not use BP_SYM.
30927 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30929 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30931 (PARMS): Do not use macros from bp-asm.h.
30936 (__clone): Do not use BP_SYM.
30937 (clone): Do not use BP_SYM in weak_alias.
30938 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30940 (PARMS): Do not use macros from bp-asm.h.
30942 (__mmap64): Do not use BP_SYM.
30943 (mmap64): Do not use BP_SYM in weak_alias.
30944 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30945 <bp-sym.h> and <bp-asm.h>.
30946 (PARMS): Do not use macros from bp-asm.h.
30947 (__posix_fadvise64_l64): Do not use BP_SYM.
30948 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30949 (PARMS): Do not use macros from bp-asm.h.
30951 (semtimedop): Do not use BP_SYM.
30952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30955 2013-02-21 Allan McRae <allan@archlinux.org>
30957 * manual/message.texi (Charset conversion in gettext):
30958 Move @end statement to beginning of line.
30960 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30967 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30968 (denorm): Likewise.
30969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30972 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30974 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30975 tail-call to the resolved function if pltexit isn't needed.
30977 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30980 or Y being zero as being unlikely.
30981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30984 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30986 * manual/nss.texi (System Databases and Name Service Switch):
30987 Remove frobnicate @pxref.
30989 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30991 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30992 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30994 2013-02-20 Petr Machata <pmachata@redhat.com>
30996 * elf/elf.h (R_ARM_TARGET1): New macro.
30997 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30998 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30999 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31000 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31001 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31002 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31003 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31004 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31005 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31006 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31007 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31008 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31009 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31010 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31011 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31012 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31013 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31014 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31015 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31016 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31017 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31018 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31019 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31020 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31021 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31022 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31023 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31024 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31025 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31026 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31027 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31028 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31029 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31030 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31031 (R_ARM_THM_GOT_BREL12): Likewise.
31032 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31033 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31034 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31035 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31036 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31037 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31038 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31039 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31040 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31042 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31044 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31045 __attribute_used__ to __attribute__ ((unused)).
31047 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31049 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31052 comment formatting.
31053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31055 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31058 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31060 (ENTER): Remove both macro definitions.
31062 (CHECK_BOUNDS_LOW): Likewise.
31063 (CHECK_BOUNDS_HIGH): Likewise.
31064 (CHECK_BOUNDS_BOTH): Likewise.
31065 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31066 (RETURN_BOUNDED_POINTER): Likewise.
31067 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31068 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31069 (POP_ERRNO_LOCATION_RETURN): Likewise.
31070 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31071 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31072 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31074 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31075 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31076 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31077 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31078 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31079 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31080 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31081 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31082 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31083 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31084 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31085 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31086 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31087 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31089 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31090 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31092 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31093 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31094 * sysdeps/i386/i586/memset.S (memset): Likewise.
31095 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31096 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31097 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31099 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31100 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31101 Change uses of L(2) to L(out).
31102 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31103 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31104 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31105 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31106 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31108 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31109 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31111 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31112 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31113 (RETURN): Do not use macro LEAVE.
31114 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31115 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31116 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31117 * sysdeps/i386/i686/memset.S (memset): Likewise.
31118 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31119 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31120 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31121 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31123 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31124 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31125 L(1_2) and L(1_3) into L(1).
31126 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31127 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31128 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31129 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31130 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31131 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31132 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31133 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31134 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31136 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31137 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31138 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31139 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31140 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31141 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31142 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31143 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31144 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31145 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31146 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31147 * sysdeps/i386/strspn.S (strspn): Likewise.
31148 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31150 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31151 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31152 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31153 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31154 L(1_3) into L(1_1).
31155 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31156 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31157 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31159 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31161 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31163 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31166 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31168 * math/atest-exp.c (exp_mpn): Remove ROUND.
31169 * math/atest-exp2.c (exp_mpn): Likewise.
31170 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31172 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31173 * stdlib/tst-tls-atexit-lib.c: Likewise.
31174 * stdlib/tst-tls-atexit.c: Likewise.
31176 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31178 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31179 and __attribute_alloc_size__.
31181 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31183 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31184 __attribute_alloc_size__.
31185 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31186 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31188 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31190 * include/programs/xmalloc.h: New file.
31191 * catgets/gencat.c: Include it.
31192 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31193 * elf/pldd.c: Likewise.
31194 * iconv/iconv_charmap.c: Likewise.
31195 * iconv/iconvconfig.c: Likewise.
31196 * iconv/strtab.c: Likewise.
31197 * locale/programs/locale.c: Likewise.
31198 * locale/programs/localedef.h: Likewise.
31199 * locale/programs/simple-hash.c: Likewise.
31200 * nscd/nscd.h: Likewise.
31201 * nss/makedb.c: Likewise.
31202 * sysdeps/generic/ldconfig.h: Likewise.
31204 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31206 * Versions.def: Add GLIBC_2.18.
31207 * include/link.h (struct link_map): New member l_tls_dtor_count.
31208 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31209 (__call_tls_dtors): Likewise.
31210 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31211 __cxa_thread_atexit_impl.
31212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31220 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31228 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31229 (tests): Add test case tst-tls-atexit.
31230 (modules-names): Add shared library for tst-tls-atexit.
31231 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31232 (GLIBC_PRIVATE): Add __call_tls_dtors.
31233 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31235 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31236 * stdlib/tst-tls-atexit.c: New test case.
31237 * stdlib/tst-tls-atexit-lib.c: New test case.
31239 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31241 * elf/Versions (ld): Add _dl_find_dso_for_object.
31242 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31243 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31244 (dl_open_worker): Use _dl_find_dso_for_object.
31245 * elf/dl-sym.c (do_sym): Likewise.
31246 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31248 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31250 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31251 Syntactic changes only.
31252 (_dl_runtime_profile): Do a tail-call to the resolved function.
31254 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31257 * sysdeps/x86_64/bp-asm.h: Remove file.
31258 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31259 <bp-sym.h> and <bp-asm.h>.
31260 (__clone): Do not use BP_SYM.
31261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31262 <bp-sym.h> and <bp-asm.h>.
31263 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31264 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31266 (_setjmp): Do not use BP_SYM.
31267 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31269 (setjmp): Do not use BP_SYM.
31270 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31272 (mempcpy): Do not use BP_SYM in weak_alias.
31273 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31275 (strchr): Do not use BP_SYM.
31276 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31278 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31279 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31280 (_start): Do not use BP_SYM.
31281 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31283 (strcat): Do not use BP_SYM.
31284 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31286 (STRCMP): Do not use BP_SYM.
31287 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31289 (STRCPY): Do not use BP_SYM.
31290 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31292 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31294 (FUNCTION): Do not use BP_SYM.
31295 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31297 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31299 2013-02-17 Andreas Jaeger <aj@suse.de>
31301 * time/Versions: Sort entries.
31302 * string/Versions: Likewise.
31303 * resolv/Versions: Likewise.
31304 * posix/Versions: Likewise.
31305 * iconv/Versions: Likewise.
31306 * elf/Versions: Likewise.
31307 * wcsmbs/Versions: Likewise.
31309 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31311 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31312 loop termination condition.
31314 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31315 variable to calculate EZ.
31318 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31319 the lower precision input.
31321 2013-02-15 Joseph Myers <joseph@codesourcery.com>
31324 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31325 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31326 (run-via-rtld-prefix): Do not handle %-bp tests.
31327 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31328 (all-object-suffixes): Remove .ob.
31329 (bppfx): Remove variable.
31330 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31331 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31332 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31333 [$(build-bounded) = yes] (libtype.ob): Likewise.
31334 * Makerules (elide-routines.ob): Remove variable.
31335 (do-tests-clean): Do not handle *-bp.out.
31336 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31337 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31338 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31339 (tests): Do not include $(tests-bp.out).
31340 (xtests): Do not include $(xtests-bp.out).
31341 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31342 [$(build-bounded) = yes] ($(addprefix
31343 $(objpfx),$(binaries-bounded))): Remove rule.
31344 ($(objpfx)%-bp.out): Remove rule.
31345 * config.make.in (build-bounded): Remove variable.
31346 * crypt/Makefile [$(build-bounded) = yes]
31347 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31348 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31349 append to variable.
31350 [$(build-bounded) = yes] (install-lib): Likewise.
31351 [$(build-bounded) = yes] (generated): Likewise.
31352 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31354 * intl/Makefile [$(build-bounded) = yes]
31355 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31356 * math/Makefile [$(build-bounded) = yes]
31357 ($(tests:%=$(objpfx)%-bp): Likewise.
31358 * misc/Makefile [$(build-bounded) = yes]
31359 ($(objpfx)tst-tsearch-bp): Likewise.
31360 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31361 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31363 * string/Makefile (o-objects.ob): Remove variable.
31364 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31365 (CFLAGS-.ob): Remove variable.
31366 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31367 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31368 both definitions of variable.
31369 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31370 (ASFLAGS-.ob): Remove variable.
31372 2013-02-14 Joseph Myers <joseph@codesourcery.com>
31375 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31376 Remove __BOUNDED_POINTERS__ from condition.
31377 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31378 * string/bits/string2.h [!__NO_STRING_INLINES &&
31379 !__BOUNDED_POINTERS__]: Likewise.
31380 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31382 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31383 Remove conditional code.
31384 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31385 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31386 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31390 * csu/libc-start.c: Do not include <bp-sym.h>.
31391 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31392 * elf/dl-open.c: Do not include <bp-sym.h>.
31393 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31394 * math/fegetenv.c: Do not include <bp-sym.h>.
31395 (fegetenv): Do not use BP_SYM in versioned symbols.
31396 * nptl/sysdeps/pthread/bits/libc-lockP.h
31397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31400 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31402 (__pthread_mutex_destroy): Likewise.
31403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31404 (__pthread_mutex_lock): Likewise.
31405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31406 (__pthread_mutex_trylock): Likewise.
31407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31408 (__pthread_mutex_unlock): Likewise.
31409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31410 (__pthread_mutexattr_init): Likewise.
31411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31412 (__pthread_mutexattr_destroy): Likewise.
31413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31414 (__pthread_mutexattr_settype): Likewise.
31415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31416 (__pthread_rwlock_init): Likewise.
31417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31418 (__pthread_rwlock_destroy): Likewise.
31419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31420 (__pthread_rwlock_rdlock): Likewise.
31421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31422 (__pthread_rwlock_tryrdlock): Likewise.
31423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31424 (__pthread_rwlock_wrlock): Likewise.
31425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31426 (__pthread_rwlock_trywrlock): Likewise.
31427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31428 (__pthread_rwlock_unlock): Likewise.
31429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31430 (__pthread_key_create): Likewise.
31431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31432 (__pthread_setspecific): Likewise.
31433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31434 (__pthread_getspecific): Likewise.
31435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31438 (_pthread_cleanup_push_defer): Likewise.
31439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31440 (_pthread_cleanup_pop_restore): Likewise.
31441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31442 (pthread_setcancelstate): Likewise.
31443 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31445 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31446 (memchr): Do not use BP_SYM in weak_alias.
31447 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31448 (fegetenv): Do not use BP_SYM in versioned symbols.
31449 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31450 (fesetenv): Do not use BP_SYM in versioned symbols.
31451 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31452 (feupdateenv): Do not use BP_SYM in versioned symbols.
31453 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31454 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31455 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31456 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31457 (open64): Do not use BP_SYM in weak_alias.
31458 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31459 (fegetenv): Do not use BP_SYM in versioned symbols.
31460 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31461 (fesetenv): Do not use BP_SYM in versioned symbols.
31462 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31463 (feupdateenv): Do not use BP_SYM in versioned symbols.
31464 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31465 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31466 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31467 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31468 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31469 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31470 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31472 (__libc_start_main): Do not use BP_SYM.
31474 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31477 redundant return line.
31479 (denorm): Likewise.
31480 (dbl_mp): Likewise.
31481 (sub_magnitudes): Likewise.
31487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31489 (denorm): Likewise.
31490 (dbl_mp): Likewise.
31491 (sub_magnitudes): Likewise.
31498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31500 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31501 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31504 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31505 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31507 of __mul for squares.
31508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31512 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31513 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31515 2013-02-13 Joseph Myers <joseph@codesourcery.com>
31518 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31520 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31521 prototype or function definition. Rename ubp_* variables and
31522 parameters. Remove argv definitions conditional on
31523 [__BOUNDED_POINTERS__].
31524 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31525 * elf/dl-runtime.c (_dl_fixup): Likewise.
31526 * include/set-hooks.h (RUN_HOOK): Likewise.
31527 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31529 * string/strcpy.c (strcpy): Do not use __unbounded.
31530 * sysdeps/generic/frame.h (struct layout): Likewise.
31531 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31532 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31533 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31534 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31535 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31536 (__backtrace): Likewise.
31537 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31539 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31540 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31541 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31543 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31544 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31545 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31546 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31547 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31548 Do not use __unbounded.
31549 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31550 Rename __unboundedrlimits parameter to rlimits in prototype.
31551 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31552 Do not use __unbounded.
31553 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31554 not use __ptrvalue.
31555 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31556 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31557 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31558 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31559 __ptrvalue or __unbounded.
31560 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31561 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31563 (__new_msgctl): Do not use __ptrvalue.
31564 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31566 (__libc_msgrcv): Do not use __ptrvalue.
31567 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31568 startup_info): Do not use __unbounded.
31569 (__libc_start_main): Likewise. Rename ubp_* variables and
31570 parameters. Remove argv definitions conditional on
31571 [__BOUNDED_POINTERS__].
31572 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31574 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31576 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31578 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31580 (__new_shmctl): Do not use __ptrvalue.
31581 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31582 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31584 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31585 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31586 (__libc_sigaction): Likewise.
31587 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31588 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31590 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31592 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
31594 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31596 * string/mempcpy.c: Implement by calling memcpy.
31598 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31605 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31606 values in the mantissa.
31608 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31609 minimize writes to Z.
31610 (sub_magnitudes): Simplify code a bit.
31612 2013-02-12 Roland McGrath <roland@hack.frob.com>
31614 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31615 from the message. The linker prefixes all warnings with that already.
31617 2013-02-12 Andreas Schwab <schwab@suse.de>
31620 * posix/regexec.c (extend_buffers): Add parameter min_len.
31621 (check_matching): Pass minimum needed length.
31622 (clean_state_log_if_needed): Likewise.
31623 (get_subexp): Likewise.
31624 * posix/Makefile (tests): Add bug-regex34.
31625 (bug-regex34-ENV): Define.
31626 * posix/bug-regex34.c: New file.
31629 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31630 elements compare against the byte sequence of it, not its name.
31631 * posix/Makefile (tests): Add bug-regex35.
31632 (bug-regex35-ENV): Define.
31633 * posix/bug-regex35.c: New file.
31635 2013-02-11 Tom de Vries <tom@codesourcery.com>
31637 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31639 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31640 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31641 (CHECK_EOL): Add undef.
31643 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
31645 * bits/stdlib-bsearch.h: New file.
31646 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31647 * stdlib/stdlib.h: Likewise.
31649 2013-02-11 Roland McGrath <roland@hack.frob.com>
31651 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31652 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31654 * manual/search.texi (Array Search Function): Add missing const in
31656 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31657 declaration to use rlim_t.
31658 (Basic Scheduling Functions): Remove erroneous const from
31659 sched_getparam prototype. Remove erroneous * from
31660 sched_get_priority_max and sched_get_priority_min prototypes.
31661 (Resource Usage): Fix summary @comment on vtimes to refer to
31662 sys/vtimes.h rather than vtimes.h.
31663 Add missing *s in vtimes prototype.
31664 (Limits on Resources): Fix ulimit prototype to return long int.
31665 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31666 prototypes to use long int rather than double.
31667 (BSD Random): Fix initstate and setstate to use char *, not void *.
31668 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31669 prototype to make second argument 'struct aiocb64 *const[]'.
31670 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31671 (Status of AIO Operations): Remove erroneous const in aio_return and
31672 aio_return64 prototypes.
31673 (Synchronizing I/O): Fix sync prototype to return void.
31674 * manual/startup.texi (Suboptions): Remove an erroneous const in
31675 getsubopt prototype.
31676 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31677 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31678 use size_t rather than int.
31679 (Scanning All Users): Likewise for getpwent_r.
31680 (Setting Groups): Add missing const to setgroups prototype.
31681 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31682 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31683 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31684 'const void *' rather than 'const char *'.
31685 (Host Address Functions): Likewise for inet_ntop.
31686 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31687 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31688 ssize_t for return value.
31689 (Sending Data): Likewise for send, sendto, sendmsg.
31690 (Socket Option Functions): Add a missing const in setsockopt prototype.
31691 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31692 use wchar_t for the argument.
31693 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31694 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31696 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31697 double/float/long double for second argument.
31698 Fix return types of significand, significandf, significandl.
31699 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31700 argument in fchmod prototype.
31701 (File Owner): Use uid_t and gid_t in fchown prototype.
31702 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31703 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31704 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31705 use 'const struct dirent **' as argument types to CMP function pointer
31707 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31708 (File Times): Fix summary magic @comment for struct utimbuf and utime
31709 to refer to utime.h, not time.h.
31710 * manual/string.texi (Argz Functions): Add missing const in
31711 argz_extract and argz_next prototypes.
31712 (Finding Tokens in a String): Likewise for basename.
31713 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31714 (Copying and Concatenation): Fix typo in wmemmove prototype.
31715 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31716 (Signal Stack): Remove erroneous const in sigstack prototype.
31717 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31719 (Simple Calendar Time): Likewise for stime.
31720 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31722 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31723 say sys/sysctl.h instead.
31724 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31725 and vsyslog prototypes.
31727 2013-02-11 Tom de Vries <tom@codesourcery.com>
31729 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31732 2013-02-11 Roland McGrath <roland@hack.frob.com>
31734 * misc/sys/mman.h: Fix typo in mremap comment.
31736 2013-02-08 Roland McGrath <roland@hack.frob.com>
31738 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31739 the '\0' terminator.
31741 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31744 * debug/segfault.c: Don't include <bp-checks.h>.
31745 * sysdeps/generic/bp-checks.h: Remove file.
31746 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31747 (__GETDENTS): Don't use CHECK_N.
31748 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31749 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31750 (__getgroups): Don't use CHECK_N.
31751 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31752 (setgroups): Don't use CHECK_N.
31753 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31754 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31755 (__libc_msgrcv): Don't use CHECK_N.
31756 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31757 (__libc_msgsnd): Don't use CHECK_N.
31758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31760 (__libc_pread): Don't use CHECK_N.
31761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31762 include <bp-checks.h>.
31763 (__libc_pread64): Don't use CHECK_N.
31764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31765 include <bp-checks.h>.
31766 (__libc_pwrite): Don't use CHECK_N.
31767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31768 include <bp-checks.h>.
31769 (__libc_pwrite64): Don't use CHECK_N.
31770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31772 (__libc_pread): Don't use CHECK_N.
31773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31774 include <bp-checks.h>.
31775 (__libc_pread64): Don't use CHECK_N.
31776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31777 include <bp-checks.h>.
31778 (__libc_pwrite): Don't use CHECK_N.
31779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31780 include <bp-checks.h>.
31781 (__libc_pwrite64): Don't use CHECK_N.
31782 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31783 (do_pread): Don't use CHECK_N.
31784 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31785 (do_pread64): Don't use CHECK_N.
31786 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31787 (do_pwrite): Don't use CHECK_N.
31788 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31789 (do_pwrite64): Don't use CHECK_N.
31790 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31791 (__libc_readv): Don't use CHECK_N.
31792 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31793 (semop): Don't use CHECK_N.
31794 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31796 (semtimedop): Don't use CHECK_N.
31797 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31798 (__libc_pread): Don't use CHECK_N.
31799 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31801 (__libc_pread64): Don't use CHECK_N.
31802 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31804 (__libc_pwrite): Don't use CHECK_N.
31805 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31807 (__libc_pwrite64): Don't use CHECK_N.
31808 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31810 (__libc_msgrcv): Don't use CHECK_N.
31811 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31812 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31813 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31814 (__libc_writev): Don't use CHECK_N.
31816 2013-02-08 Roland McGrath <roland@hack.frob.com>
31818 * string/strcpy.c: Removed unused variable.
31820 * Makeconfig (+sysdep-includes): Define with := rather than =.
31821 Use an existing include/ subdir of each sysdeps dir before it.
31823 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31825 * nscd/connection.c (register_traced_file): Comment function.
31826 [HAVE_INOTIFY] (union __inev): Define.
31827 [HAVE_INOTIFY] (inotify_check_files): New function.
31828 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31829 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31831 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31833 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31835 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31836 loaded if not already and that a failure is permanent.
31838 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31841 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31842 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31844 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31847 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31848 (CHECK_1_NULL_OK): Likewise.
31849 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31850 (__fxstat): Do not use CHECK_1.
31851 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31853 (___fxstat64): Do not use CHECK_1.
31854 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31856 (__fxstatat): Do not use CHECK_1.
31857 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31859 (__fxstatat64): Do not use CHECK_1.
31860 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31862 (__fxstat): Do not use CHECK_1.
31863 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31865 (__fxstatat): Do not use CHECK_1.
31866 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31868 (__getresgid): Do not use CHECK_1.
31869 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31871 (__getresuid): Do not use CHECK_1.
31872 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31874 (__lxstat): Do not use CHECK_1.
31875 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31877 (__old_msgctl): Do not use CHECK_1.
31878 (__new_msgctl): Likewise.
31879 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31881 (__new_setrlimit): Do not use CHECK_1.
31882 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31884 (__old_shmctl): Do not use CHECK_1.
31885 (__new_shmctl): Likewise.
31886 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31888 (__xstat): Do not use CHECK_1.
31889 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31890 (__lxstat): Do not use CHECK_1.
31891 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31893 (___lxstat64): Do not use CHECK_1.
31894 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31895 (__old_msgctl): Do not use CHECK_1.
31896 (__new_msgctl): Likewise.
31897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31899 (__gettimeofday): Do not use CHECK_1.
31900 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31901 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31902 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31904 (__gettimeofday): Do not use CHECK_1.
31905 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31906 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31907 (__new_shmctl): Do not use CHECK_1.
31908 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31910 (do_sigtimedwait): Do not use CHECK_1.
31911 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31913 (do_sigwaitinfo): Do not use CHECK_1.
31914 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31916 (msgctl): Do not use CHECK_1.
31917 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31919 (shmctl): Do not use CHECK_1.
31920 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31921 (ustat): Do not use CHECK_1.
31922 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31924 (__fxstat): Do not use CHECK_1.
31925 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31927 (__fxstatat): Do not use CHECK_1.
31928 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31930 (__lxstat): Do not use CHECK_1.
31931 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31933 (__xstat): Do not use CHECK_1.
31934 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31935 (__xstat): Do not use CHECK_1.
31936 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31937 (___xstat64): Do not use CHECK_1.
31940 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31942 (CHECK_BOUNDS_HIGH): Likewise.
31943 * string/strcpy.c: Do not include <bp-checks.h>.
31944 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31946 2013-02-07 Roland McGrath <roland@hack.frob.com>
31948 * nscd/nscd-client.h (__nscd_drop_map_ref):
31949 Add __attribute__ ((unused)).
31950 * nis/nss-nisplus.h (niserr2nss): Likewise.
31952 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31953 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31955 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31956 Remove inline keyword.
31957 * include/rounding-mode.h (round_away): Likewise.
31958 * libio/wfileops.c (adjust_wide_data): Likewise.
31959 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31960 (__m128i_strloadu_tolower): Likewise.
31961 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31962 (__m128i_strloadu_tolower): Likewise.
31963 * time/mktime.c (ydhms_diff): Likewise.
31964 * locale/elem-hash.h (elem_hash): Likewise.
31965 * locale/setlocale.c (setdata): Likewise.
31966 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31967 (re_string_wchar_at): Likewise.
31968 (bitset_not, bitset_merge, bitset_mask): Likewise.
31969 [!(__GNUC__ > 3)] (inline): Remove macro.
31970 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31971 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31972 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31973 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31974 * string/memcmp.c (memcmp_bytes): Likewise.
31975 * locale/programs/locarchive.c (compute_hashval): Likewise.
31976 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31977 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31978 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31979 * nss/getent.c (print_rpc, print_protocols): Likewise.
31980 (print_passwd, print_group, print_aliases): Likewise.
31981 * nis/nss-nisplus.h (niserr2nss): Likewise.
31982 * nscd/connections.c (restart_p): Likewise.
31983 Change return type to bool.
31985 2013-02-05 Roland McGrath <roland@hack.frob.com>
31987 * Makeconfig (all-Depend-files): Add existing
31988 $(sorted-subdirs:=/Depend) files.
31989 (all-subdirs): Remove nss.
31990 * sysdeps/unix/inet/Subdirs: Add it here instead.
31991 * hesiod/Depend: New file.
31993 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31994 instead of calling alloca.
31996 * io/lseek.c (__lseek): Rename to __libc_lseek.
31997 Define __lseek as an alias.
31999 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32001 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32003 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32004 else clause and remove check for non-standard endianness.
32006 2013-02-04 David S. Miller <davem@davemloft.net>
32008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32010 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32013 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32014 (__ubp_memchr): Remove prototype.
32015 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32016 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32017 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32018 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32019 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32021 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32022 (__ubp_memchr): Likewise.
32023 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32024 (__ubp_memchr): Likewise.
32025 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32026 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32027 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32028 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32030 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32031 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32032 (__getcwd): Do not use CHECK_STRING.
32033 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32035 (__real_chown): Do not use CHECK_STRING.
32036 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32038 (fchownat): Do not use CHECK_STRING.
32039 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32041 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32043 (__lchown): Do not use CHECK_STRING.
32044 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32045 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32046 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32047 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32049 include <bp-checks.h>.
32050 (truncate64): Do not use CHECK_STRING.
32051 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32053 (__real_chown): Do not use CHECK_STRING.
32054 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32056 (__lchown): Do not use CHECK_STRING.
32057 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32059 (__chown): Do not use CHECK_STRING.
32060 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32062 (truncate64): Do not use CHECK_STRING.
32063 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32065 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32066 (__xmknod): Do not use CHECK_STRING.
32067 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32069 (__xmknodat): Do not use CHECK_STRING.
32070 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32071 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32073 2013-02-04 Andreas Schwab <schwab@suse.de>
32076 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32077 * include/netdb.h: Likewise for h_errno.
32078 * elf/tst-stackguard1.c: Include <tls.h>.
32080 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32082 * elf/link.h (struct link_map): Extend the l_addr comment.
32083 * include/link.h (struct link_map): Likewise.
32085 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32088 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32089 (BOUNDED_1): Remove macro.
32090 * debug/backtrace.c: Don't include <bp-checks.h>.
32091 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32092 (__backtrace): Likewise.
32093 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32095 (__backtrace): Don't use BOUNDED_1.
32096 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32098 (__backtrace): Don't use BOUNDED_1.
32099 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32100 (__backtrace): Don't use BOUNDED_1.
32101 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32102 (shmat): Don't use BOUNDED_N.
32104 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32107 * sysdeps/generic/bp-start.h: Remove file.
32108 * csu/libc-start.c: Don't include <bp-start.h>.
32109 (LIBC_START_MAIN): Set up __environ directly instead of using
32110 INIT_ARGV_and_ENVIRON.
32111 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32115 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32117 (CHECK_FCNTL): Likewise.
32118 (CHECK_N_PAGES): Likewise.
32121 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32123 (CHECK_SIGSET_NULL_OK): Likewise.
32124 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32126 (sigpending): Don't use CHECK_SIGSET.
32127 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32129 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32130 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32132 (do_sigsuspend): Don't use CHECK_SIGSET.
32133 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32135 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32136 (do_sigwait): Don't use CHECK_SIGSET.
32137 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32139 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32140 include <bp-checks.h>.
32141 (sigpending): Don't use CHECK_SIGSET.
32142 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32143 include <bp-checks.h>.
32144 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32145 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32147 (sigpending): Don't use CHECK_SIGSET.
32148 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32150 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32153 * sysdeps/generic/bp-semctl.h: Remove file.
32154 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32155 <bp-checks.h> and <bp-semctl.h>.
32156 (__old_semctl): Don't use CHECK_SEMCTL.
32157 (__new_semctl): Likewise.
32158 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32160 (__old_semctl): Don't use CHECK_SEMCTL.
32161 (__new_semctl): Likewise.
32162 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32163 <bp-checks.h> and <bp-semctl.h>.
32164 (__old_semctl): Don't use CHECK_SEMCTL.
32165 (__new_semctl): Likewise.
32166 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32167 <bp-checks.h> and <bp-semctl.h>.
32168 (semctl): Don't use CHECK_SEMCTL.
32171 * Makerules (elide-bp-thunks): Remove variable.
32172 (elide-routines.oS): Don't use $(elide-bp-thunks).
32173 (elide-routines.os): Likewise.
32174 (elide-routines.o): Likewise.
32175 (elide-routines.op): Likewise.
32176 (elide-routines.og): Likewise.
32177 (objects): Don't use $(bp-thunks).
32178 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32180 (common-generated): Do not add s-proto-bp.d.
32181 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32184 Do not generate makefile rules for bounded-pointer thunks.
32185 * sysdeps/generic/bp-thunks.h: Remove file.
32186 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32187 * sysdeps/unix/s-proto-bp.S: Likewise.
32190 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32191 parts of result separately when argument is not close to line from
32192 -i to i and one part of argument is small.
32193 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32194 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32195 * math/libm-test.inc (cacos_test): Add more tests.
32196 (casin_test): Likewise.
32197 (casinh_test): Likewise.
32198 * sysdeps/i386/fpu/libm-test-ulps: Update.
32199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32201 2013-01-31 David S. Miller <davem@davemloft.net>
32203 * po/de.po: Update from translation team.
32205 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32207 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32209 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32211 * configure.in (_AC_PROG_CC_C89): New definition.
32212 * configure: Regenerate.
32214 * configure.in (AC_PROG_CPP): New definition.
32215 * configure: Regenerate.
32217 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32219 * debug/tst-backtrace.h: New file.
32220 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32221 (ret): Remove variable.
32223 (FAIL): Remove macro.
32224 (NO_INLINE): Likewise.
32225 (fn1): Use match function instead of strstr.
32226 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32227 (ret): Remove variable.
32229 (FAIL): Remove macro.
32230 (NO_INLINE): Likewise.
32231 (fn): Use match function instead of strstr.
32232 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32233 (ret): Remove variable.
32235 (FAIL): Remove macro.
32236 (NO_INLINE): Likewise.
32237 (handle_signal): Use match function instead of strstr.
32238 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32239 (ret): Remove variable.
32241 (FAIL): Remove macro.
32242 (NO_INLINE): Likewise.
32243 (handle_signal): Use match function instead of strstr.
32245 2013-01-23 Roland McGrath <roland@hack.frob.com>
32247 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32249 2013-01-23 David S. Miller <davem@davemloft.net>
32251 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32252 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32253 argument of CAS if possible.
32254 * sysdeps/sparc/sparc64/bits/atomic.h
32255 (__arch_compare_and_exchange_val_32_acq): Likewise.
32256 (__arch_compare_and_exchange_val_64_acq): Likewise.
32258 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32260 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32261 * sysdeps/posix/ulimit.c: ... this.
32262 Include <limits.h>.
32263 * sysdeps/unix/bsd/ulimit.c: Remove file.
32265 2013-01-23 Adam Conrad <adconrad@0c3.net>
32267 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32268 (LDFLAGS-tst-array5): Likewise.
32270 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32273 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32274 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32275 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32276 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32278 2013-01-21 David S. Miller <davem@davemloft.net>
32280 * sysdeps/sparc/backtrace.c: New file.
32281 * sysdeps/sparc/sparc32/backtrace.h: New file.
32282 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32283 * sysdeps/sparc/sparc64/backtrace.h: New file.
32284 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32285 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32288 2013-01-21 Andreas Schwab <schwab@suse.de>
32291 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32294 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32300 2013-01-18 Joseph Myers <joseph@codesourcery.com>
32301 Mark Mitchell <mark@codesourcery.com>
32302 Tom de Vries <tom@codesourcery.com>
32303 Paul Pluzhnikov <ppluzhnikov@google.com>
32305 * debug/tst-backtrace2.c: New file.
32306 * debug/tst-backtrace3.c: Likewise.
32307 * debug/tst-backtrace4.c: Likewise.
32308 * debug/tst-backtrace5.c: Likewise.
32309 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32310 (CFLAGS-tst-backtrace3.c): Likewise.
32311 (CFLAGS-tst-backtrace4.c): Likewise.
32312 (CFLAGS-tst-backtrace5.c): Likewise.
32313 (LDFLAGS-tst-backtrace2): Likewise.
32314 (LDFLAGS-tst-backtrace3): Likewise.
32315 (LDFLAGS-tst-backtrace4): Likewise.
32316 (LDFLAGS-tst-backtrace5): Likewise.
32317 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32318 tst-backtrace4 and tst-backtrace5.
32320 2013-01-18 Anton Blanchard <anton@samba.org>
32321 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32323 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32324 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32325 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32326 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32328 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32329 "+r" and remove output regs list as redundant. Add explicit inline
32330 asm to specify register of return val to work around compiler codegen
32331 bug. Remove (int) cast on return value. Add return type parameter to
32332 use in macro so that this macro does not truncate return value for
32334 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32335 pass to INTERNAL_VSYSCALL_NCS.
32336 (INLINE_VSYSCALL): Add 'long int' as return type to
32337 INTERNAL_VSYSCALL_NCS macro invocation.
32338 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32339 INTERNAL_VSYSCALL_NCS macro invocation.
32340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32342 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32345 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32346 Fix application of SIMD FP exception mask.
32348 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32349 mp_no from a power of two.
32350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32351 __mpexp_twomm1. Use __pow_mp.
32353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32356 2013-01-17 David S. Miller <davem@davemloft.net>
32358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32360 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32363 * include/complex.h: Condition contents on [!_COMPLEX_H].
32364 (__kernel_casinhf): New prototype.
32365 (__kernel_casinh): Likewise.
32366 (__kernel_casinhl): Likewise.
32367 * math/Makefile (libm_calls): Add k_casinh.
32368 * math/k_casinh.c: New file.
32369 * math/k_casinhf.c: Likewise.
32370 * math/k_casinhl.c: Likewise.
32371 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32372 finite nonzero arguments.
32373 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32374 finite nonzero arguments.
32375 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32376 finite nonzero arguments.
32377 * math/s_casinh.c: Do not include <float.h>.
32378 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32379 * math/s_casinhf.c: Do not include <float.h>.
32380 (__casinhf): Move code for finite nonzero arguments to
32382 * math/s_casinhl.c: Do not include <float.h>.
32383 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32385 (__casinhl): Move code for finite nonzero arguments to
32387 * math/libm-test.inc (cacos_test): Add more tests.
32388 * sysdeps/i386/fpu/libm-test-ulps: Update.
32389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32391 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32393 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32394 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32395 [!HAVE_MREMAP]: Remove [defined linux] case.
32396 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32398 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32400 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32402 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32404 * elf/elf.h (R_386_SIZE32): New relocation.
32405 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32407 (elf_machine_rela): Likewise.
32408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32409 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32411 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32413 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32414 (FP_FAST_FMA): Do not define.
32415 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32416 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32417 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32418 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32419 !_SOFT_FLOAT]: Likewise.
32420 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32421 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32423 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32424 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32425 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32426 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32427 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32428 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32431 2013-01-16 Andreas Schwab <schwab@suse.de>
32434 * include/stdlib.h (__mktemp): Add declaration.
32435 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32436 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32438 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32440 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32442 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32443 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32444 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32446 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32447 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32449 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32451 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32452 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32453 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32455 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32456 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32458 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32460 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32462 2013-01-15 David S. Miller <davem@davemloft.net>
32464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32465 trunc{,f} to libm-sysdep_routes.
32466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32476 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32477 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32478 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32479 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32480 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32481 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32484 nearbyint{,f} to libm-sysdep_routes.
32485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32496 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32498 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32499 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32501 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32502 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32503 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32505 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32506 libc_feholdexcept and libc_fesetenv.
32508 2013-01-15 Mike Frysinger <vapier@gentoo.org>
32510 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32512 2013-01-14 David S. Miller <davem@davemloft.net>
32514 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32515 (SPARC_ASM_VIS2_IFUNC): Likewise.
32516 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32518 use of 'siam' instruction.
32519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32539 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32552 routines to libm-sysdep_routines.
32553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32556 fdim/fdimf to libm-sysdep_routines.
32557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32565 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32566 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32567 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32568 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32570 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32572 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32573 to optimize copies.
32575 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32580 local variable MPTWO.
32581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32584 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32586 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32589 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32591 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32593 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32595 * manual/pattern.texi (glob_t): Document gl_flags.
32596 (glob64_t): Likewise.
32598 2013-01-11 David S. Miller <davem@davemloft.net>
32600 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32601 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32602 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32603 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32604 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32605 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32606 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32607 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32608 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32609 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32610 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32611 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32612 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32614 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32615 sparc V9 rather than using V8 code.
32616 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32617 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32619 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32621 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32624 2013-01-11 Roland McGrath <roland@hack.frob.com>
32626 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32627 not in the main loop.
32628 * configure: Regenerated.
32630 2013-01-11 Joseph Myers <joseph@codesourcery.com>
32632 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32633 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32635 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32636 [!__GLIBC_HAVE_LONG_LONG] case.
32637 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32638 condition to just #else.
32639 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32640 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32641 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32642 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32644 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32645 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32646 #elif condition to just #else.
32647 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32648 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32649 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32650 #elif condition to just #else.
32652 2013-01-11 Steve Ellcey <sellcey@mips.com>
32654 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32655 (EF_MIPS_ARCH_64): Fix value.
32656 (EF_MIPS_ARCH_32R2): New.
32657 (EF_MIPS_ARCH_64R2): New.
32659 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32661 * Makeconfig (+link-pie-before-libc): New.
32662 (+link-pie-after-libc): Likewise.
32663 (+link-pie-tests): Likewise.
32664 (+link-pie): Rewritten.
32665 (link-before-libc): Remove $(config-LDFLAGS).
32666 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32667 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32668 (config-LDFLAGS): Renamed to ...
32669 (rtld-LDFLAGS): This.
32670 (rtld-tests-LDFLAGS): New macro.
32671 (link-libc-rpath-link): Likewise.
32672 (link-libc-tests-rpath-link): Likewise.
32673 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32674 (link-libc): Prepand $(link-libc-rpath-link).
32675 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32676 (test-program-prefix): New macro.
32677 (test-via-rtld-prefix): Likewise.
32678 (test-program-cmd): Likewise.
32679 (host-test-program-cmd): Likewise.
32680 * Makefile ($(common-objpfx)testrun.sh): Replace
32681 $(run-program-prefix) with $(test-program-prefix).
32682 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32684 ($(common-objpfx)shlib.lds): Likewise.
32685 (build-module-helper): Likewise.
32686 ($(common-objpfx)format.lds): Likewise.
32687 * Rules (binaries-pie-tests): New.
32688 (binaries-pie-notests): Likewise.
32689 (binaries-pie): Rewritten.
32690 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32691 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32692 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32693 (make-test-out): Replace $(host-built-program-cmd) with
32694 $(host-test-program-cmd).
32695 * config.make.in (build-hardcoded-path-in-tests): New variable.
32696 * configure.in (--enable-hardcoded-path-in-tests): New configure
32698 (hardcoded_path_in_tests): New AC_SUBST.
32699 * configure: Regenerated.
32700 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32701 $(built-program-cmd) with $(test-program-cmd).
32702 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32703 (test_program_cmd): This.
32704 * elf/Makefile ($(objpfx)order.out): Run test with
32705 $(test-program-prefix).
32706 ($(objpfx)order2.out): Likewise.
32707 ($(objpfx)tst-initorder.out): Likewise.
32708 ($(objpfx)tst-initorder2.out): Likewise.
32709 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32710 $(test-program-cmd).
32711 ($(objpfx)tst-array1-static.out): Likewise.
32712 ($(objpfx)tst-array2.out): Likewise.
32713 ($(objpfx)tst-array3.out): Likewise.
32714 ($(objpfx)tst-array4.out): Likewise.
32715 ($(objpfx)tst-array5.out): Likewise.
32716 ($(objpfx)tst-array5-static.out): Likewise.
32717 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32718 $(test-program-cmd).
32719 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32720 $(run-program-prefix) with $(test-program-prefix).
32721 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32722 (test_program_prefix): This.
32723 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32724 $(run-program-prefix) with $(test-program-prefix).
32725 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32726 (test_program_prefix): This.
32727 * iconvdata/tst-tables.sh: Likewise.
32728 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32729 $(run-program-prefix) with $(test-program-prefix).
32730 ($(objpfx)tst-translit.out): Likewise.
32731 ($(objpfx)tst-gettext2.out): Likewise.
32732 ($(objpfx)tst-gettext4.out): Likewise.
32733 ($(objpfx)tst-gettext6.out): Likewise.
32734 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32735 (test_program_prefix): This.
32736 * intl/tst-gettext2.sh: Likewise.
32737 * intl/tst-gettext4.sh Likewise.
32738 * intl/tst-gettext6.sh: Likewise.
32739 * intl/tst-translit.sh: Likewise.
32740 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32741 with $(test-program-cmd).
32742 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32743 $(run-program-prefix) with $(test-program-prefix).
32744 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32745 (test_program_prefix): This.
32746 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32747 $(run-program-prefix) with $(test-program-prefix).
32748 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32749 (test_program_prefix): This.
32750 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32751 * posix/Makefile ($(objpfx)globtest.out): Replace
32752 $(run-via-rtld-prefix) and $(test-wrapper) with
32753 $(test-program-prefix) and $(test-via-rtld-prefix).
32754 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32755 $(test-program-prefix).
32756 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32757 $(host-test-program-cmd).
32758 (tst-spawn-ARGS): Likewise.
32759 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32760 $(test-program-prefix).
32761 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32762 (test_via_rtld_prefix): This.
32763 (test_wrapper): Renamed to ...
32764 (test_program_prefix): This.
32765 (run_program_prefix): Replaced by test_program_prefix.
32766 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32767 (test_program_prefix): This.
32768 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32769 with $(host-test-program-cmd).
32770 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32771 $(run-program-prefix) with $(test-program-prefix).
32772 ($(objpfx)tst-printf.out): Likewise.
32773 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32774 $(test-program-cmd).
32775 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32776 (test_program_prefix): This.
32777 * stdio-common/tst-unbputc.sh: Likewise.
32778 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32779 $(run-program-prefix) with $(test-program-prefix).
32780 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32781 (test_program_prefix): This.
32782 * string/Makefile ($(objpfx)tst-svc.out): Replace
32783 $(built-program-cmd) with $(test-program-cmd).
32785 2013-01-11 Andreas Jaeger <aj@suse.de>
32788 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32789 value. Sync with Linux 3.7.
32791 2013-01-10 David S. Miller <davem@davemloft.net>
32793 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32794 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32795 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32797 2013-01-10 Roland McGrath <roland@hack.frob.com>
32799 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32801 * configure: Regenerated.
32803 2013-01-10 David S. Miller <davem@davemloft.net>
32805 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32806 sparc V9 rather than using V8 code.
32807 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32808 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32810 2013-01-10 Roland McGrath <roland@hack.frob.com>
32812 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32813 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32814 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32815 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32816 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32817 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32818 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32819 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32820 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32821 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32822 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32823 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32824 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32825 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32826 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32827 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32828 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32829 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32830 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32831 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32832 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32833 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32834 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32835 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32836 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32837 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32838 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32840 2013-01-10 David S. Miller <davem@davemloft.net>
32842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32844 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32846 * posix/Makefile (tests-static): New variable.
32847 (tests): Add $(tests-static).
32848 (tst-exec-static-ARGS): New variable.
32849 (tst-spawn-static-ARGS): Likewise.
32850 * posix/tst-exec-static.c: New file.
32851 * posix/tst-spawn-static.c: Likewise.
32852 * posix/tst-exec.c: Support run directly.
32853 * posix/tst-spawn.c: Likewise.
32855 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32857 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32859 * math/bits/mathcalls.h (llrint): Likewise.
32860 (llround): Likewise.
32861 * stdlib/stdlib.h (struct drand48_data): Likewise.
32862 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32863 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32864 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32866 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32868 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32869 (elf_greg_t): Likewise.
32870 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32871 (__jmp_buf): Likewise.
32872 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32874 (llrint): Likewise, for all definitions.
32875 (llrintl): Likewise.
32877 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32878 Remove [__GNUC__] condition.
32879 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32880 condition to just [__USE_ISOC99].
32881 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32883 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32886 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32887 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32889 (_POSIX_V6_ILP32_OFF32): Likewise.
32890 (_XBS5_ILP32_OFF32): Likewise.
32891 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32892 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32894 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32896 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32899 doubles __mpexp_twomm1. Adjust usage.
32900 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32903 2013-01-10 Andreas Schwab <schwab@suse.de>
32906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32907 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32909 2013-01-09 David S. Miller <davem@davemloft.net>
32912 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32913 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32914 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32915 (TCP_FASTOPEN): Define.
32916 (tcp_repair_opt): New structure.
32917 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32919 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32920 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32921 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32922 (tcp_cookie_transactions): New structure.
32924 2013-01-09 Anton Blanchard <anton@samba.org>
32926 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32927 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32928 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32929 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32931 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32933 * include/features.h (__USE_ANSI): Remove.
32935 2013-01-09 Roland McGrath <roland@hack.frob.com>
32937 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32939 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32941 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32943 * sysdeps/s390/fpu/libm-test-ulps: Update.
32945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32947 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32951 (denorm): Likewise.
32952 (__mp_dbl): Likewise.
32953 (__dbl_mp): Likewise.
32954 (add_magnitudes): Likewise.
32955 (sub_magnitudes): Likewise.
32961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32965 (denorm): Likewise.
32966 (__mp_dbl): Likewise.
32967 (__dbl_mp): Likewise.
32968 (add_magnitudes): Likewise.
32969 (sub_magnitudes): Likewise.
32975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32979 (denorm): Likewise.
32980 (__mp_dbl): Likewise.
32981 (__dbl_mp): Likewise.
32982 (add_magnitudes): Likewise.
32983 (sub_magnitudes): Likewise.
32990 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32992 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32993 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32994 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32995 2 && __USE_EXTERN_INLINES]: Likewise.
32997 2013-01-08 Andreas Jaeger <aj@suse.de>
33000 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33002 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33003 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33005 2013-01-07 Anton Blanchard <anton@samba.org>
33007 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33008 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33009 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33010 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33011 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33012 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33013 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33014 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33016 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33017 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33018 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33019 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33021 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33022 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33023 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33024 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33025 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33026 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33027 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33028 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33030 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33031 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33032 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33033 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33034 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33035 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33036 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33037 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33039 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33040 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33041 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33042 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33043 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33044 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33045 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33046 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33047 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33049 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33051 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33053 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33054 (__MALLOC_PMT): Likewise.
33055 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33056 [__GNUC__], only on [_LIBC].
33057 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33058 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33059 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33060 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33061 forward declaration.
33062 (realloc_hook_ini): Likewise.
33063 (memalign_hook_ini): Likewise.
33064 (__libc_memalign): Do not use __MALLOC_PMT in variable
33066 (__libc_valloc): Likewise.
33067 (__libc_pvalloc): Likewise.
33068 (__libc_calloc): Likewise.
33069 (__posix_memalign): Likewise.
33072 * math/s_casinh.c: Include <float.h>.
33073 (__casinh): Do not do computation with squaring and square root
33074 for large arguments.
33075 * math/s_casinhf.c: Include <float.h>.
33076 (__casinhf): Do not do computation with squaring and square root
33077 for large arguments.
33078 * math/s_casinhl.c: Include <float.h>.
33079 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33080 (__casinhl): Do not do computation with squaring and square root
33081 for large arguments.
33082 * math/libm-test.inc (casin_test): Add more tests.
33083 (casinh_test): Likewise.
33084 * sysdeps/i386/fpu/libm-test-ulps: Update.
33085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33087 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33089 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33090 (__x86_64_raw_data_cache_size): Likewise.
33091 (__x86_64_data_cache_size_half): Likewise.
33092 (__x86_64_raw_data_cache_size_half): Likewise.
33093 (__x86_64_shared_cache_size): Likewise.
33094 (__x86_64_raw_shared_cache_size): Likewise.
33095 (__x86_64_shared_cache_size_half): Likewise.
33096 (__x86_64_raw_shared_cache_size_half): Likewise.
33097 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33099 (__x86_data_cache_size): This.
33100 (__x86_64_raw_data_cache_size): Renamed to ...
33101 (__x86_raw_data_cache_size): This.
33102 (__x86_64_data_cache_size_half): Renamed to ...
33103 (__x86_data_cache_size_half): This.
33104 (__x86_64_raw_data_cache_size_half): Renamed to ...
33105 (__x86_raw_data_cache_size_half): This.
33106 (__x86_64_shared_cache_size): Renamed to ...
33107 (__x86_shared_cache_size): This.
33108 (__x86_64_raw_shared_cache_size): Renamed to ...
33109 (__x86_raw_shared_cache_size): This.
33110 (__x86_64_shared_cache_size_half): Renamed to ...
33111 (__x86_shared_cache_size_half): This.
33112 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33113 (__x86_raw_shared_cache_size_half): This.
33114 * sysdeps/x86_64/memcpy.S: Updated.
33115 * sysdeps/x86_64/memset.S: Likewise.
33116 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33120 2013-01-04 David S. Miller <davem@davemloft.net>
33122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33124 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33126 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33127 1 to avoid redefinition warning.
33128 (__USE_GNU): Don't define.
33129 (init_signaling_nan): Protoize.
33131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33133 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33135 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33137 (__cpymn): Likewise.
33138 (norm): Remove commented code.
33139 (denorm): Likewise.
33140 (__mp_dbl): Likewise.
33142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33143 (__cpymn): Likewise.
33144 (norm): Remove commented code.
33145 (denorm): Likewise.
33146 (__mp_dbl): Likewise.
33149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33150 mp_no value for 1.0 and 2.0.
33151 (norm): Use RADIXI instead of radixi.d.
33152 (denorm): Likewise.
33153 (__mul): Use 0.0 instead of zero.d.
33154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33155 mp_no value for 1.0 and 2.0.
33156 (norm): Use RADIXI instead of radixi.d.
33157 (denorm): Likewise.
33158 (__mul): Use 0.0 instead of zero.d.
33160 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33163 * math/s_casinh.c (__casinh): Reduce finite argument to first
33164 quadrant then set signs of results at the end.
33165 * math/s_casinhf.c (__casinhf): Likewise.
33166 * math/s_casinhl.c (__casinhl): Likewise.
33167 * math/libm-test.inc (casin_test): Add more tests.
33168 (casinh_test): Likewise.
33169 * sysdeps/i386/fpu/libm-test-ulps: Update.
33170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33172 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33174 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33176 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33178 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33180 (denorm): Likewise.
33181 (__mp_dbl): Likewise.
33184 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33185 and adjust the header comment.
33187 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33188 variable name from declaration.
33190 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33193 Initialize COMMON_CPUID_INDEX_7 element.
33194 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33195 (CPUID_RTM): Likewise.
33196 (HAS_RTM): Likewise.
33197 (COMMON_CPUID_INDEX_7): New enum.
33199 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33202 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33203 size is zero, record memory as freed.
33205 2013-01-03 Andreas Jaeger <aj@suse.de>
33207 * po/ia.po: Add new Interlingua translation.
33209 2012-01-03 Allan McRae <allan@archlinux.org>
33211 * locale/programs/localedef.c: Fix description of '--posix' flag.
33213 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33215 * NEWS: Update dates in second copyright notice.
33216 * README: Update copyright dates in example.
33217 * manual/libc.texinfo: Update copyright dates.
33218 * scripts/test-installation.pl: Update copyright date in --version
33221 * hurd/ctty-input.c: Fix copyright notice formatting.
33222 * hurd/ctty-output.c: Likewise.
33223 * hurd/dtable.c: Likewise.
33224 * hurd/hurd-raise.c: Likewise.
33225 * hurd/hurdprio.c: Likewise.
33226 * hurd/msgportdemux.c: Likewise.
33227 * misc/sys/file.h: Likewise.
33228 * misc/sys/ioctl.h: Likewise.
33229 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33230 * sysdeps/mach/hurd/chdir.c: Likewise.
33231 * sysdeps/mach/hurd/fchdir.c: Likewise.
33232 * sysdeps/mach/hurd/rename.c: Likewise.
33233 * sysdeps/mach/hurd/rmdir.c: Likewise.
33234 * sysdeps/mach/hurd/seekdir.c: Likewise.
33235 * sysdeps/mach/hurd/setsid.c: Likewise.
33236 * sysdeps/posix/wait3.c: Likewise.
33238 * All files with FSF copyright notices: Update copyright dates
33239 using scripts/update-copyrights.
33240 * intl/plural.c: Regenerated.
33241 * locale/programs/charmap-kw.h: Likewise.
33242 * locale/programs/locfile-kw.h: Likewise.
33244 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33246 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33249 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33250 calculation loop and add branch prediction.
33252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33253 check access beyond bounds of m1np.
33255 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33257 (__inv): Remove local variable MPTWO to use the global
33259 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33262 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33263 MP3HALFS static const.
33265 2013-01-01 David S. Miller <davem@davemloft.net>
33267 * po/ca.po: Update from translation team.
33269 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33271 * scripts/update-copyrights: New file.
33272 * Makeconfig: Reformat copyright notice.
33273 * ctype/ctype.h: Likewise.
33274 * debug/swprintf_chk.c: Likewise.
33275 * elf/dl-cache.c: Likewise.
33276 * elf/dl-debug.c: Likewise.
33277 * elf/dl-object.c: Likewise.
33278 * grp/initgroups.c: Likewise.
33279 * hurd/Makefile: Likewise.
33280 * hurd/hurd/signal.h: Likewise.
33281 * hurd/hurdfault.c: Likewise.
33282 * hurd/hurdioctl.c: Likewise.
33283 * hurd/hurdlookup.c: Likewise.
33284 * hurd/intr-msg.c: Likewise.
33285 * iconv/gconv_open.c: Likewise.
33286 * libio/swprintf.c: Likewise.
33287 * locale/lc-ctype.c: Likewise.
33288 * locale/nl_langinfo.c: Likewise.
33289 * mach/Machrules: Likewise.
33290 * mach/Makefile: Likewise.
33291 * malloc/obstack.h: Likewise.
33292 * manual/Makefile: Likewise.
33293 * manual/tsort.awk: Likewise.
33294 * misc/bits/stab.def: Likewise.
33295 * nis/nis_print_group_entry.c: Likewise.
33296 * nis/nis_table.c: Likewise.
33297 * nis/nss_compat/compat-pwd.c: Likewise.
33298 * nis/nss_compat/compat-spwd.c: Likewise.
33299 * po/Makefile: Likewise.
33300 * posix/fnmatch.c: Likewise.
33301 * posix/regex.h: Likewise.
33302 * resolv/Makefile: Likewise.
33303 * resolv/nss_dns/dns-network.c: Likewise.
33304 * resolv/res_hconf.c: Likewise.
33305 * scripts/gen-sorted.awk: Likewise.
33306 * soft-fp/soft-fp.h: Likewise.
33307 * stdio-common/printf.h: Likewise.
33308 * stdlib/monetary.h: Likewise.
33309 * stdlib/random.c: Likewise.
33310 * stdlib/random_r.c: Likewise.
33311 * sysdeps/generic/Makefile: Likewise.
33312 * sysdeps/gnu/Makefile: Likewise.
33313 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33315 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33317 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33320 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33321 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33323 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33324 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33325 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33326 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33327 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33328 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33329 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33330 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33331 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33333 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33334 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33335 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33336 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33337 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33338 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33339 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33340 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33341 * sysdeps/mach/hurd/errnos.awk: Likewise.
33342 * sysdeps/mach/hurd/fork.c: Likewise.
33343 * sysdeps/mach/hurd/getcwd.c: Likewise.
33344 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33345 * sysdeps/mach/hurd/mmap.c: Likewise.
33346 * sysdeps/mach/hurd/utimes.c: Likewise.
33347 * sysdeps/mach/hurd/xmknod.c: Likewise.
33348 * sysdeps/posix/profil.c: Likewise.
33349 * sysdeps/posix/readdir_r.c: Likewise.
33350 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33351 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33352 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33353 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33355 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33356 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33357 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33359 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33360 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33361 * sysdeps/pthread/lio_listio.c: Likewise.
33362 * sysdeps/sparc/dl-procinfo.h: Likewise.
33363 * sysdeps/unix/i386/sysdep.S: Likewise.
33364 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33365 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33366 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33367 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33369 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33370 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33371 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33372 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33373 * sysdeps/wordsize-32/divdi3.c: Likewise.
33374 * time/sys/time.h: Likewise.
33375 * wcsmbs/Makefile: Likewise.
33377 2013-01-01 David S. Miller <davem@davemloft.net>
33379 * po/fr.po: Update from translation team.
33381 * catgets/gencat.c: Update copyright year.
33382 * csu/version.c: Likewise.
33383 * debug/catchsegv.sh: Likewise.
33384 * debug/pcprofiledump.c: Likewise.
33385 * debug/xtrace.sh: Likewise.
33386 * elf/ldconfig.c: Likewise.
33387 * elf/ldd.bash.in: Likewise.
33388 * elf/pldd.c: Likewise.
33389 * elf/sotruss.ksh: Likewise.
33390 * elf/sprof.c: Likewise.
33391 * iconv/iconv_prog.c: Likewise.
33392 * iconv/iconvconfig.c: Likewise.
33393 * locale/programs/locale.c: Likewise.
33394 * locale/programs/localedef.c: Likewise.
33395 * login/programs/pt_chown.c: Likewise.
33396 * malloc/memusage.sh: Likewise.
33397 * malloc/memusagestat.c: Likewise.
33398 * malloc/mtrace.pl: Likewise.
33399 * nscd/nscd.c: Likewise.
33400 * nss/getent.c: Likewise.
33401 * nss/makedb.c: Likewise.
33402 * posix/getconf.c: Likewise.
33404 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33406 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33409 2012-12-30 Mike Frysinger <vapier@gentoo.org>
33411 * math/bits/mathcalls.h (modf): Use __nonnull.
33413 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33415 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33416 (split): Use macro CN instead of the bare value.
33417 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33420 instead of the bare value.
33421 (power1): Likewise.
33423 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33425 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33427 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33429 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33431 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33432 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33433 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33434 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33436 2012-12-28 Andreas Jaeger <aj@suse.de>
33438 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33439 values are from Linux 3.7.
33441 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33442 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33444 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33446 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33449 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33451 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33452 variables with preprocessor constants.
33453 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33454 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33455 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33457 2012-12-27 Bruno Haible <bruno@clisp.org>
33460 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33463 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33466 and use variable directly.
33467 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33469 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33471 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33472 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33474 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33476 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33477 include directive. Remove local variable MPONE.
33478 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33479 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33480 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33482 2012-12-25 David S. Miller <davem@davemloft.net>
33484 * version.h (RELEASE): Set to "development".
33485 (VERSION): Set to "2.17.90".
33486 * NEWS: Add 2.18 section.
33488 2012-12-21 David S. Miller <davem@davemloft.net>
33490 * po/hr.po: Update from translation team.
33492 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33494 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33496 2012-12-19 Steve Ellcey <sellcey@mips.com>
33498 * NEWS: Mention new memcpy for MIPS.
33500 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33502 * manual/contrib.texi (Contributors): Spelling correction.
33504 2012-12-15 David S. Miller <davem@davemloft.net>
33506 * po/ru.po: Update from translation team.
33508 2012-12-13 David S. Miller <davem@davemloft.net>
33510 * NEWS: Mention IFUNC testsuite enhancements.
33512 * po/pl.po: Update from translation team.
33513 * po/bg.po: Likewise.
33515 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33516 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33518 2012-12-11 David S. Miller <davem@davemloft.net>
33520 * po/sv.po: Update from translation team.
33522 * po/vi.po: Update from translation team.
33524 * po/cs.po: Update from translation team.
33526 * po/de.po: Update from translation team.
33527 * po/eo.po: Likewise.
33528 * po/nl.po: Likewise.
33530 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33533 * manual/argp.texi (Argp Helper Functions): Move node to follow
33534 Argp Parsing State.
33537 * manual/conf.texi (Limits on File System Capacity): Mention if
33538 terminating null is included in the max size.
33540 2012-12-10 Andreas Jaeger <aj@suse.de>
33542 * po/cs.po: Update from translation team.
33544 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33546 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33547 void pointer and cast to uintptr_t.
33548 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33550 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33551 * sysdeps/s390/s390-64/memset.S: Likewise.
33553 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
33556 * menual/message.texi (Message Translation): Fix typos.
33557 (Helper programs for gettext): Likewise.
33559 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33562 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33565 2012-12-07 David S. Miller <davem@davemloft.net>
33567 * po/libc.pot: Update.
33569 2012-12-07 Richard Henderson <rth@redhat.com>
33572 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33573 normal/normal case to before the switch.
33574 (_FP_DIV): Likewise.
33576 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33577 Mike Frysinger <vapier@gentoo.org>
33579 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33580 check for __NR_fadvise64_64.
33582 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33584 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33585 0, not just to plain "0" as a statement.
33586 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33589 2012-12-06 Joseph Myers <joseph@codesourcery.com>
33591 * NEWS: Use sourceware.org in Bugzilla URL.
33593 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33596 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33598 * stdio-common/tst-put-error.c (do_test): Add newline to the
33599 padded test to ensure flush.
33601 2012-12-05 Jeff Law <law@redhat.com>
33603 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33605 2012-12-05 Joseph Myers <joseph@codesourcery.com>
33607 * README: Don't refer to ports add-on as distributed separately.
33608 Mention AArch64 in list of systems supported in the ports add-on.
33610 * LICENSES: Add more non-FSF copyright and license notices.
33612 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33615 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33617 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33618 10000 as width of padded output.
33620 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33622 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33625 variable LX with __attribute__ ((unused)).
33626 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33628 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33629 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33630 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33631 with __attribute__ ((unused)).
33633 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
33635 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33637 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33639 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33640 (CFLAGS-nldbl-acos.c): New variable.
33641 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33642 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33643 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33644 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33645 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33646 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33647 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33648 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33649 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33650 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33651 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33652 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33653 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33654 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33655 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33656 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33657 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33658 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33659 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33660 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33661 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33662 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33663 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33664 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33665 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33666 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33667 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33668 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33669 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33670 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33671 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33672 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33673 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33674 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33675 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33676 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33677 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33678 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33679 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33680 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33681 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33682 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33683 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33684 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33685 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33686 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33687 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33688 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33689 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33690 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33691 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33692 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33693 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33694 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33695 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33696 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33697 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33698 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33699 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33700 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33701 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33702 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33703 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33704 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33705 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33706 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33707 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33708 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33709 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33710 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33711 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33712 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33713 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33714 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33715 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33716 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33717 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33718 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33719 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33720 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33721 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33722 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33723 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33724 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33725 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33726 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33727 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33728 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33729 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33730 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33731 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33732 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33733 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33734 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33735 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33736 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33737 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33740 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33744 whole low double instead of just low 47 bits when splitting values
33747 2012-12-03 Allan McRae <allan@archlinux.org>
33749 * manual/stdio.texi (Predefined Printf Handlers): Remove
33750 @hsep and @vsep usage.
33752 2012-12-03 Mike Frysinger <vapier@gentoo.org>
33754 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33755 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33757 2012-12-03 Jeff Law <law@redhat.com>
33759 * time/sys/time.h (settimeofday): Do not mark TV argument
33762 2012-12-01 Mike Frysinger <vapier@gentoo.org>
33764 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33765 when currently writing and seek to current position when not.
33766 * libio/Makefile (tests): Remove bug-fclose1.
33767 * libio/bug-fclose1.c: Delete.
33769 2012-12-01 Joseph Myers <joseph@codesourcery.com>
33771 * manual/arith.texi (feenableexcept): Fix typo.
33772 (fedisableexcept): Likewise.
33774 2012-11-30 Roland McGrath <roland@hack.frob.com>
33776 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33777 second, differently-typed declaration, rather than a cast.
33779 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33781 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33782 * include/rpc/svc.h: ... here.
33784 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33787 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33788 depending n and resplen2 to catch cases where answer
33791 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33793 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33794 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33796 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33798 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33800 2012-11-29 Roland McGrath <roland@hack.frob.com>
33802 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33804 2012-11-28 Jeff Law <law@redhat.com>
33807 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33808 dataset_temporary. Track alloca usage into alloca_used.
33809 If dataset is large allocate and release it via malloc/free.
33811 2012-06-04 Florian Weimer <fweimer@redhat.com>
33814 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33816 2012-11-28 David S. Miller <davem@davemloft.net>
33818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33820 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33823 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33824 of pi/2 rounded to nearest to 64 bits.
33825 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33826 nearest to 64 bits.
33827 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33830 2012-11-28 Jeff Law <law@redhat.com>
33831 Martin Osvald <mosvald@redhat.com>
33834 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33835 * sunrpc/svc.c: Include time.h.
33836 (__svc_accept_failed): New function.
33837 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33838 any reason other than EINTR, call __svc_accept_failed.
33839 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33840 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33842 2012-11-28 Andreas Schwab <schwab@suse.de>
33844 * scripts/abilist.awk: Also handle indirect functions in .opd
33847 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33850 * sysdeps/x86/fpu/powl_helper.c: New file.
33851 * sysdeps/x86/fpu/Makefile: Likewise.
33852 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33854 (__ieee754_powl): Use __powl_helper for finite arguments except
33855 integer exponents below 8.
33856 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33858 (__ieee754_powl): Use __powl_helper for finite arguments except
33859 integer exponents below 8.
33860 * math/libm-test.inc (pow_test): Add more tests and enable some
33861 previously disabled tests.
33862 * sysdeps/i386/fpu/libm-test-ulps: Update.
33863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33865 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33866 Carlos O'Donell <carlos_odonell@mentor.com>
33868 * nss/makedb.c (is_prime): Assert that input is odd and greater
33869 than 4. Note that fact in a comment too.
33870 (next_prime): Add 4 to input.
33872 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33875 * libio/Makefile (tests): Add test case tst-fwrite-error.
33876 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33877 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33878 * libio/tst-fwrite-error.c: New test case.
33880 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33882 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33883 before casting to void *.
33884 * include/libc-internal.h (__pointer_type): New macro.
33885 (__integer_if_pointer_type_sub): Likewise.
33886 (__integer_if_pointer_type): Likewise.
33887 (cast_to_integer): Likewise.
33888 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33889 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33890 before casting to atomic64_t.
33891 (atomic_exchange_acq): Likewise.
33892 (__arch_exchange_and_add_body): Likewise.
33893 (__arch_add_body): Likewise.
33894 (atomic_add_negative): Likewise.
33895 (atomic_add_zero): Likewise.
33897 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33899 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33900 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33901 (add_fdes): Likewise.
33902 (linear_search_fdes): Likewise.
33903 (binary_search_unencoded_fdes): Likewise.
33905 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33907 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33909 2012-11-24 Adam Conrad <adconrad@0c3.net>
33911 * configure.in: Autodetect C++ header directories.
33912 * configure: Regenerated.
33914 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33916 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33918 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33922 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33924 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33925 LDBL_MANT_DIG == 106]: Disable some tests.
33926 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33928 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33932 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33933 input for small inputs. Return +/- pi/2 for large inputs.
33934 * math/libm-test.inc (atan_test): Add more tests.
33936 * sysdeps/generic/unwind-dw2-fde-glibc.c
33937 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33938 __attribute__ ((unused)).
33941 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33942 x * y if x and y are nonzero and z is zero.
33945 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33946 nonzero exponents with absolute value below 0x1p-117 to +/-
33950 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33951 up arguments below 2**-450, not just those below 2**-500.
33952 * math/libm-test.inc (hypot_test): Add another test.
33955 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33956 Return a+b for ratio over 2**120, not 2**60.
33957 * math/libm-test.inc (hypot_test): Add another test.
33959 * math/libm-test.inc (clog_test): Use
33960 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33961 (clog10_test): Likewise.
33964 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33966 2012-11-22 Andreas Schwab <schwab@suse.de>
33968 * sysdeps/i386/fpu/libm-test-ulps: Update.
33970 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33972 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33973 printf output with newline.
33975 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33978 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33979 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33980 -z nodlopen, -z initfirst and -z execstack support.
33981 * configure: Regenerated.
33983 * elf/elf.h (DF_1_NODIRECT): New macro.
33984 (DF_1_IGNMULDEF): Likewise.
33985 (DF_1_NOKSYMS): Likewise.
33986 (DF_1_NOHDR): Likewise.
33987 (DF_1_EDITED): Likewise.
33988 (DF_1_NORELOC): Likewise.
33989 (DF_1_SYMINTPOSE): Likewise.
33990 (DF_1_GLOBAUDIT): Likewise.
33991 (DF_1_SINGLETON): Likewise.
33992 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33993 DT_1_SUPPORTED_MASK bits.
33994 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33996 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33998 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34000 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34002 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34005 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34006 (sendmmsg): Move declarations...
34007 * socket/sys/socket.h: ... here.
34008 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34009 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34011 * socket/recvmmsg.c: ... this new file.
34012 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34013 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34014 definition of __sendmmsg hidden.
34015 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34016 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34017 Move ENOSYS stub into and include it from...
34018 * socket/sendmmsg.c: ... this new file.
34019 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34020 (sysdep_routines): Move recvmmsg and sendmmsg...
34021 * socket/Makefile (routines): ... here.
34022 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34023 (GLIBC_PRIVATE): Add __sendmmsg.
34024 * include/sys/socket.h (__sendmmsg): Add declarations.
34025 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34028 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34031 variable I1 with __attribute__ ((unused)).
34032 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34034 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34036 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34037 DUMMY variables with __attribute__ ((unused)).
34039 * bits/byteswap.h: Include <bits/types.h>.
34040 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34042 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34044 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34045 string_t. Do not manually set errno.
34046 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34047 length with __strnlen. Make sure to both set errno and return it on
34050 2012-11-19 David S. Miller <davem@davemloft.net>
34052 With help from Joseph Myers.
34053 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34054 very large arguments properly.
34055 * math/libm-test.inc (atan_test): New tests.
34056 (atan2_test): New tests.
34057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34060 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34063 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34066 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34067 [POSIX] (EADDRNOTAVAIL): Likewise.
34068 [POSIX] (EAFNOSUPPORT): Likewise.
34069 [POSIX] (EALREADY): Likewise.
34070 [POSIX] (ECONNABORTED): Likewise.
34071 [POSIX] (ECONNREFUSED): Likewise.
34072 [POSIX] (ECONNRESET): Likewise.
34073 [POSIX] (EDESTADDRREQ): Likewise.
34074 [POSIX] (EDQUOT): Likewise.
34075 [POSIX] (EHOSTUNREACH): Likewise.
34076 [POSIX] (EIDRM): Likewise.
34077 [POSIX] (EISCONN): Likewise.
34078 [POSIX] (ELOOP): Likewise.
34079 [POSIX] (EMULTIHOP): Likewise.
34080 [POSIX] (ENETDOWN): Likewise.
34081 [POSIX] (ENETUNREACH): Likewise.
34082 [POSIX] (ENOBUFS): Likewise.
34083 [POSIX] (ENODATA): Likewise.
34084 [POSIX] (ENOLINK): Likewise.
34085 [POSIX] (ENOMSG): Likewise.
34086 [POSIX] (ENOPROTOOPT): Likewise.
34087 [POSIX] (ENOSR): Likewise.
34088 [POSIX] (ENOSTR): Likewise.
34089 [POSIX] (ENOTCONN): Likewise.
34090 [POSIX] (ENOTSOCK): Likewise.
34091 [POSIX] (EOPNOTSUPP): Likewise.
34092 [POSIX] (EOVERFLOW): Likewise.
34093 [POSIX] (EPROTO): Likewise.
34094 [POSIX] (EPROTONOSUPPORT): Likewise.
34095 [POSIX] (EPROTOTYPE): Likewise.
34096 [POSIX] (ESTALE): Likewise.
34097 [POSIX] (ETIME): Likewise.
34098 [POSIX] (ETXTBSY): Likewise.
34099 [POSIX] (EWOULDBLOCK): Likewise.
34100 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34101 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34102 [POSIX] (SEEK_CUR): Likewise.
34103 [POSIX] (SEEK_END): Likewise.
34104 [POSIX || UNIX98] (mode_t): Do not require.
34105 [POSIX] (off_t): Likewise.
34106 [POSIX] (pid_t): Likewise.
34107 [POSIX] (sys/stat.h): Do not allow header.
34108 [POSIX] (unistd.h): Likewise.
34109 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34110 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34111 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34112 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34114 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34115 sigevent): Specify elements.
34116 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34118 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34119 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34121 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34122 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34123 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34124 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34125 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34126 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34127 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34128 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34129 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34130 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34131 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34132 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34133 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34134 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34136 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34138 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34140 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34142 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34143 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34144 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34145 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34146 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34147 Specify lower bound on value.
34148 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34149 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34150 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34151 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34152 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34153 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34154 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34155 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34157 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34159 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34160 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34161 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34162 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34163 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34164 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34165 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34166 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34167 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34168 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34169 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34170 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34171 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34172 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34173 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34174 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34176 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34178 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34179 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34180 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34181 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34182 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34183 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34185 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34186 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34187 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34188 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34189 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34190 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34191 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34193 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34194 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34195 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34196 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34197 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34198 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34199 specify as optional.
34200 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34201 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34202 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34203 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34204 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34205 [XPG3] (NL_LANGMAX): Likewise.
34206 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34207 [POSIX || XPG3] (NL_NMAX): Likewise.
34208 [POSIX || XPG3] (NL_SETMAX): Likewise.
34209 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34210 [XPG3] (NZERO): Likewise.
34211 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34212 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34213 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34214 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34215 (REG_ERANGE): Expect.
34216 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34218 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34219 Use (void) in prototype.
34220 [POSIX] (*_t): Allow.
34221 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34222 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34223 (WRDE_BADVAL): Expect.
34225 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34227 [XPG3 || XPG4] (O_RSYNC): Likewise.
34228 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34230 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34231 [XPG3 || XPG4] (sigqueue): Likewise.
34232 [XPG3 || XPG4] (sigtimedwait): Likewise.
34233 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34234 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34235 [XPG3 || XPG4] (vsnprintf): Likewise.
34236 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34238 [XPG3 || XPG4] (blksize_t): Likewise.
34239 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34241 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34242 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34243 [XPG3 || XPG4] (struct itimerspec): Likewise.
34244 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34245 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34246 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34247 [XPG3 || XPG4] (clockid_t): Likewise.
34248 [XPG3 || XPG4] (timer_t): Likewise.
34249 [XPG3 || XPG4] (clock_getres): Likewise.
34250 [XPG3 || XPG4] (clock_gettime): Likewise.
34251 [XPG3 || XPG4] (clock_settime): Likewise.
34252 [XPG3 || XPG4] (nanosleep): Likewise.
34253 [XPG3 || XPG4] (timer_create): Likewise.
34254 [XPG3 || XPG4] (timer_delete): Likewise.
34255 [XPG3 || XPG4] (timer_gettime): Likewise.
34256 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34257 [XPG3 || XPG4] (timer_settime): Likewise.
34258 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34259 [XPG3 || XPG4] (getlogin_r): Likewise.
34260 [XPG3 || XPG4] (pread): Likewise.
34261 [XPG3 || XPG4] (pthread_atfork): Likewise.
34262 [XPG3 || XPG4] (pwrite): Likewise.
34265 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34268 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34270 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34271 finalizing MALLSTREAM.
34273 * sysdeps/mach/hurd/syncfs.c: New file.
34275 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34278 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34279 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34280 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34281 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34282 (_nss_dns_gethostbyname4_r): Likewise.
34283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34284 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34286 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34289 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34291 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34293 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34294 * elf/cache.c (print_entry): Print ",AArch64" for
34297 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34298 * elf/cache.c (print_entry): Print ",hard-float" for
34301 2012-11-18 David S. Miller <davem@davemloft.net>
34303 With help from Joseph Myers.
34304 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34306 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34308 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34309 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34311 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34312 * math/libm-test.inc (y0_test): New tests.
34313 (y1_test): New tests.
34314 * sysdeps/i386/fpu/libm-test-ulps: Update.
34315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34318 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34320 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34322 * configure: Regenerated.
34324 2012-11-17 David S. Miller <davem@davemloft.net>
34327 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34328 nonzero exponents with absolute value below 0x1p-128 to +/-
34331 2012-11-17 Joseph Myers <joseph@codesourcery.com>
34333 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34335 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34337 * posix/getconf-speclist.c: New file.
34338 * posix/posix-envs.def: Likewise.
34339 * posix/confstr.c (START_ENV_GROUP): New macro.
34340 (END_ENV_GROUP): Likewise.
34341 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34342 (KNOWN_PRESENT_ENV_STRING): Likewise.
34343 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34344 (UNKNOWN_ENVIRONMENT): Likewise.
34345 (confstr): Include posix-envs.def instead of handling
34346 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34347 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34348 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34349 (END_ENV_GROUP): Likewise.
34350 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34351 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34352 (UNKNOWN_ENVIRONMENT): Likewise.
34353 (__sysconf): Include posix-envs.def instead of handling associated
34354 cases directly here.
34355 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34356 preprocessing getconf-speclist.c rather than running getconf or
34357 generating empty file.
34359 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34361 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34363 2012-11-16 Andrej Lajovic <natrij@gmail.com>
34366 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34368 2012-11-16 David S. Miller <davem@davemloft.net>
34370 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34371 smaller than LDBL_EPSILON/2.0L, just return xm1.
34373 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34375 * elf/tst-array1.c (init): Set constructor priority to 1000.
34376 (fini): Set destructor priority to 1000.
34377 * elf/tst-array2dep.c: Likewise.
34379 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34382 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34383 (_IO_new_file_xsputn): Also return EOF if none of the input
34384 data was written when overflow failed.
34385 * libio/iopadn.c (_IO_padn): Likewise.
34386 * libio/iowpadn.c (_IO_wpadn): Likewise.
34387 * stdio-common/tst-put-error.c: Add copyright notice.
34388 (do_test): Add case for printing padded string.
34389 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34390 _IO_padn returned error.
34391 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34392 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34395 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34397 * libio/libioP.h: Add comment note that the references to C++
34398 bits are now obsolete.
34400 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34402 * math/libm-test.inc (check_complex): Use asprintf.
34404 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34406 * debug/pcprofiledump.c (print_version): Update copyright year.
34407 * malloc/memusagestat.c (print_version): Likewise.
34409 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34412 * elf/Makefile (tests): Add tst-audit8.
34413 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34414 ($(objpfx)tst-audit8.out): New target.
34415 (tst-audit8-ENV): New variable.
34416 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34417 audit if l_reloc_result is NULL.
34418 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34419 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34420 * elf/tst-audit8.c: New file.
34422 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34424 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34425 * misc/Makefile (CFLAGS-select.c): Define.
34426 * posix/Makefile (CFLAGS-pause.c): Define.
34428 2012-11-13 David S. Miller <davem@davemloft.net>
34430 * crypt/Makefile: Move test targets after toplevel Rules
34431 inclusion. Grab any necessary sysdep routines when linking.
34432 * crypt/md5.c (md5_process_block): Remove define, we will always
34433 name it __md5_process_block.
34434 (md5_finish_ctx): Update md5_process_block call.
34435 (md5_stream): Likewise.
34436 (md5_process_bytes): Likewise.
34437 (md5_process_block): Rename to __md5_process_block and move to ...
34438 * crypt/md5-block.c: ... here.
34439 * crypt/sha256.c (sha256_process_block): Move to ...
34440 * crypt/sha256-block.c: ... here.
34441 * crypt/sha512.c (sha512_process_block): Move to ...
34442 * crypt/sha512-block.c: ... here.
34443 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34445 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34446 * sysdeps/sparc/sparc64/multiarch/Makefile
34447 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34449 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34450 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34452 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34453 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34454 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34455 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34456 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34457 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34458 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34459 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34460 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34462 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34463 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34465 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34467 2012-11-13 Joseph Myers <joseph@codesourcery.com>
34469 * timezone/tzselect.ksh: Update from tzcode git revision
34470 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34471 * timezone/zdump.c: Likewise.
34472 * timezone/zic.c: Likewise.
34473 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34474 in TZVERSION setting, not $(PKGVERSION).
34475 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34476 REPORT_BUGS_TO settings.
34479 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34482 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34484 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34485 detection to immediately after _FP_ROUND().
34486 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34489 2012-11-11 David S. Miller <davem@davemloft.net>
34491 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34493 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34494 __close rather than their public counterparts.
34496 2012-11-10 Joseph Myers <joseph@codesourcery.com>
34498 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34500 [UNIX98] (sem_timedwait): Do not expect.
34501 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34502 [XPG4 || UNIX98] (sockatmark): Do not expect.
34503 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34504 (clock_getcpuclockid): Do not expect.
34505 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34506 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34508 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34509 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34510 [UNIX98] (vwscanf): Likewise.
34511 [UNIX98] (vswscanf): Likewise.
34513 2012-11-09 Joseph Myers <joseph@codesourcery.com>
34515 * timezone/version.h: Remove file.
34516 * timezone/README: Do not refer to version.h.
34517 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34518 $(objpfx)version.h.
34519 ($(objpfx)zdump.o): Likewise.
34520 ($(objpfx)version.h): New target.
34522 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34524 * timezone/README: Don't mention modification to tzselect.ksh.
34525 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34526 work on unmodified tzselect.ksh. Substitute version numbers in
34529 * Makefile (format-me): Remove.
34530 (INSTALL): Adjust indentation. Use commands directly instead of
34531 using $(format-me).
34533 * aclocal.m4 (ACX_PKGVERSION): New macro.
34534 (ACX_BUGURL): Likewise.
34535 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34536 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34537 (REPORT_BUGS_TO): Likewise.
34538 * configure: Regenerated.
34539 * config.h.in (PKGVERSION): New macro.
34540 (REPORT_BUGS_TO): Likewise.
34541 * config.make.in (PKGVERSION): New variable.
34542 (PKGVERSION_TEXI): Likewise.
34543 (REPORT_BUGS_TO): Likewise.
34544 (REPORT_BUGS_TEXI): Likewise.
34545 * Makefile (format-me): Use -I$(common-objpfx)manual.
34546 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34547 ($(common-objpfx)manual/%): New target.
34548 (manual/%): Remove target.
34549 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34550 (print_version): Use PKGVERSION.
34551 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34552 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34553 and REPORT_BUGS_TO.
34554 ($(objpfx)xtrace): Likewise.
34555 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34556 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34557 (print_version): Use PKGVERSION.
34558 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34559 (do_version): Use PKGVERSION.
34560 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34562 (common-ldd-rewrite): Likewise.
34563 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34564 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34565 (print_version): Use PKGVERSION.
34566 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34567 * elf/pldd.c (argp_program_bug_address): Remove variable.
34568 (more_help): New function.
34569 (argp): Use more_help.
34570 (print_version): Use PKGVERSION.
34571 * elf/sln.c (main): Use PKGVERSION.
34572 (usage): Use REPORT_BUGS_TO.
34573 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34574 (top level): Use PKGVERSION.
34575 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34576 (print_version): Use PKGVERSION.
34577 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34578 (print_version): Use PKGVERSION.
34579 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34580 (print_version): Use PKGVERSION.
34581 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34582 (print_version): Use PKGVERSION.
34583 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34584 (print_version): Use PKGVERSION.
34585 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34586 (print_version): Use PKGVERSION.
34587 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34589 ($(objpfx)memusage): Likewise.
34590 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34591 (do_version): Use PKGVERSION.
34592 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34593 (print_version): Use PKGVERSION.
34594 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34595 ($PKGVERSION): New variable.
34596 ($REPORT_BUGS_TO): Likewise.
34597 (usage): Use $REPORT_BUGS_TO.
34598 (top level): Use $PKGVERSION.
34599 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34600 ($(objpfx)pkgvers.texi): New rule.
34601 ($(objpfx)stamp-pkgvers): Likewise.
34602 * manual/install.texi: Include pkgvers.texi.
34603 (--with-pkgversion): Document new configure option.
34604 (--with-bugurl): Likewise.
34605 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34606 than necessarily for this particular distribution. Use
34607 REPORT_BUGS_TO for where to report bugs.
34608 * INSTALL: Regenerated.
34609 * manual/libc.texinfo: Include pkgvers.texi.
34610 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34611 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34612 (print_version): Use PKGVERSION.
34613 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34614 (print_version): Use PKGVERSION.
34615 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34616 (print_version): Use PKGVERSION.
34617 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34618 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34620 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34621 (print_version): Use PKGVERSION.
34622 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34623 (print_version): Use PKGVERSION.
34624 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34627 * timezone/checktab.awk: Update from tzcode 2012i.
34628 * timezone/ialloc.c: Likewise.
34629 * timezone/private.h: Likewise.
34630 * timezone/scheck.c: Likewise.
34631 * timezone/tzfile.h: Likewise.
34632 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34633 (TZVERSION): Hardcode tzcode version number.
34634 * timezone/zdump.c: Update from tzcode 2012i.
34635 * timezone/zic.c: Likewise.
34636 * timezone/version.h: New file.
34637 * timezone/README: Describe version.h. Update upstream location.
34640 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34641 (mktemp): Enable declaration.
34642 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34643 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34644 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34645 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34659 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34660 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34661 for copies of such integer values.
34662 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34663 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34665 2012-11-09 Andreas Jaeger <aj@suse.de>
34667 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34668 definitions and declarations that are provided by
34669 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34671 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34673 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34674 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34675 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34678 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34680 * elf/elf.h: Update comment before AArch64 relocations.
34682 2012-11-07 David S. Miller <davem@davemloft.net>
34684 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34685 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34686 (__start_context): Declare.
34687 (__makecontext_ret): Delete.
34688 (__makecontext): Hook up __start_context instead of
34690 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34691 (sysdep_routines): Add __start_context when in stdlib.
34693 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34695 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34696 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34697 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34699 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34700 (READELF): New variable. Use it instead of hardcoded "readelf".
34702 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34704 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34705 * sysdeps/x86/Makefile: Here.
34706 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34707 * sysdeps/x86/tst-xmmymm.sh: This.
34709 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34711 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34713 [UNIX98] (pthread_barrier_t): Do not expect.
34714 [UNIX98] (pthread_barrierattr_t): Likewise.
34715 [UNIX98] (pthread_spinlock_t): Likewise.
34716 [UNIX98] (pthread_barrier_destroy): Likewise.
34717 [UNIX98] (pthread_barrier_init): Likewise.
34718 [UNIX98] (pthread_barrier_wait): Likewise.
34719 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34720 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34721 [UNIX98] (pthread_barrierattr_init): Likewise.
34722 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34723 [UNIX98] (pthread_getcpuclockid): Likewise.
34724 [UNIX98] (pthread_mutex_timedlock): Likewise.
34725 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34726 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34727 [UNIX98] (pthread_sigmask): Likewise.
34728 [UNIX98] (pthread_spin_destroy): Likewise.
34729 [UNIX98] (pthread_spin_init): Likewise.
34730 [UNIX98] (pthread_spin_lock): Likewise.
34731 [UNIX98] (pthread_spin_trylock): Likewise.
34732 [UNIX98] (pthread_spin_unlock): Likewise.
34733 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34735 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34736 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34737 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34738 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34739 [XPG3 || XPG4] (pthread_key_t): Likewise.
34740 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34741 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34742 [XPG3 || XPG4] (pthread_once_t): Likewise.
34743 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34744 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34746 [XPG3 || XPG4] (pthread_t): Likewise.
34748 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34750 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34752 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34753 Change function return type to int.
34755 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34756 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34757 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34758 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34759 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34760 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34761 [!POSIX] (posix_madvise): Likewise.
34762 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34764 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34765 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34766 (mode_t): Likewise.
34767 (posix_mem_offset): Likewise.
34768 (posix_typed_mem_get_info): Likewise.
34769 (posix_typed_mem_open): Likewise.
34771 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34772 Change condition to [XOPEN2K8].
34774 * conform/conformtest.pl: Preprocess allow-header data with -x c
34775 instead of from stdin.
34776 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34777 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34778 [C99-based standards] (cerfc): Likewise.
34779 [C99-based standards] (cexp2): Likewise.
34780 [C99-based standards] (cexpm1): Likewise.
34781 [C99-based standards] (clog10): Likewise.
34782 [C99-based standards] (clog1p): Likewise.
34783 [C99-based standards] (clog2): Likewise.
34784 [C99-based standards] (clgamma): Likewise.
34785 [C99-based standards] (ctgamma): Likewise.
34786 [C99-based standards] (cerff): Likewise.
34787 [C99-based standards] (cerfcf): Likewise.
34788 [C99-based standards] (cexp2f): Likewise.
34789 [C99-based standards] (cexpm1f): Likewise.
34790 [C99-based standards] (clog10f): Likewise.
34791 [C99-based standards] (clog1pf): Likewise.
34792 [C99-based standards] (clog2f): Likewise.
34793 [C99-based standards] (clgammaf): Likewise.
34794 [C99-based standards] (ctgammaf): Likewise.
34795 [C99-based standards] (cerfl): Likewise.
34796 [C99-based standards] (cerfcl): Likewise.
34797 [C99-based standards] (cexp2l): Likewise.
34798 [C99-based standards] (cexpm1l): Likewise.
34799 [C99-based standards] (clog10l): Likewise.
34800 [C99-based standards] (clog1pl): Likewise.
34801 [C99-based standards] (clog2l): Likewise.
34802 [C99-based standards] (clgammal): Likewise.
34803 [C99-based standards] (ctgammal): Likewise.
34804 * conform/data/inttypes.h-data [C99-based standards]: Include
34805 stdint.h-data. Remove all expectations for stdint.h contents.
34806 [C99-based standards] (PRI*): Do not allow.
34807 [C99-based standards] (SCN*): Likewise.
34808 [C99-based standards] (*_t): Likewise.
34809 [C99-based-standards] (PRId8): Expect macro.
34810 [C99-based-standards] (PRIi8): Likewise.
34811 [C99-based-standards] (PRIo8): Likewise.
34812 [C99-based-standards] (PRIu8): Likewise.
34813 [C99-based-standards] (PRIx8): Likewise.
34814 [C99-based-standards] (PRIX8): Likewise.
34815 [C99-based-standards] (SCNd8): Likewise.
34816 [C99-based-standards] (SCNi8): Likewise.
34817 [C99-based-standards] (SCNo8): Likewise.
34818 [C99-based-standards] (SCNu8): Likewise.
34819 [C99-based-standards] (SCNx8): Likewise.
34820 [C99-based-standards] (PRIdLEAST8): Likewise.
34821 [C99-based-standards] (PRIiLEAST8): Likewise.
34822 [C99-based-standards] (PRIoLEAST8): Likewise.
34823 [C99-based-standards] (PRIuLEAST8): Likewise.
34824 [C99-based-standards] (PRIxLEAST8): Likewise.
34825 [C99-based-standards] (PRIXLEAST8): Likewise.
34826 [C99-based-standards] (SCNdLEAST8): Likewise.
34827 [C99-based-standards] (SCNiLEAST8): Likewise.
34828 [C99-based-standards] (SCNoLEAST8): Likewise.
34829 [C99-based-standards] (SCNuLEAST8): Likewise.
34830 [C99-based-standards] (SCNxLEAST8): Likewise.
34831 [C99-based-standards] (PRIdFAST8): Likewise.
34832 [C99-based-standards] (PRIiFAST8): Likewise.
34833 [C99-based-standards] (PRIoFAST8): Likewise.
34834 [C99-based-standards] (PRIuFAST8): Likewise.
34835 [C99-based-standards] (PRIxFAST8): Likewise.
34836 [C99-based-standards] (PRIXFAST8): Likewise.
34837 [C99-based-standards] (SCNdFAST8): Likewise.
34838 [C99-based-standards] (SCNiFAST8): Likewise.
34839 [C99-based-standards] (SCNoFAST8): Likewise.
34840 [C99-based-standards] (SCNuFAST8): Likewise.
34841 [C99-based-standards] (SCNxFAST8): Likewise.
34842 [C99-based-standards] (PRId16): Likewise.
34843 [C99-based-standards] (PRIi16): Likewise.
34844 [C99-based-standards] (PRIo16): Likewise.
34845 [C99-based-standards] (PRIu16): Likewise.
34846 [C99-based-standards] (PRIx16): Likewise.
34847 [C99-based-standards] (PRIX16): Likewise.
34848 [C99-based-standards] (SCNd16): Likewise.
34849 [C99-based-standards] (SCNi16): Likewise.
34850 [C99-based-standards] (SCNo16): Likewise.
34851 [C99-based-standards] (SCNu16): Likewise.
34852 [C99-based-standards] (SCNx16): Likewise.
34853 [C99-based-standards] (PRIdLEAST16): Likewise.
34854 [C99-based-standards] (PRIiLEAST16): Likewise.
34855 [C99-based-standards] (PRIoLEAST16): Likewise.
34856 [C99-based-standards] (PRIuLEAST16): Likewise.
34857 [C99-based-standards] (PRIxLEAST16): Likewise.
34858 [C99-based-standards] (PRIXLEAST16): Likewise.
34859 [C99-based-standards] (SCNdLEAST16): Likewise.
34860 [C99-based-standards] (SCNiLEAST16): Likewise.
34861 [C99-based-standards] (SCNoLEAST16): Likewise.
34862 [C99-based-standards] (SCNuLEAST16): Likewise.
34863 [C99-based-standards] (SCNxLEAST16): Likewise.
34864 [C99-based-standards] (PRIdFAST16): Likewise.
34865 [C99-based-standards] (PRIiFAST16): Likewise.
34866 [C99-based-standards] (PRIoFAST16): Likewise.
34867 [C99-based-standards] (PRIuFAST16): Likewise.
34868 [C99-based-standards] (PRIxFAST16): Likewise.
34869 [C99-based-standards] (PRIXFAST16): Likewise.
34870 [C99-based-standards] (SCNdFAST16): Likewise.
34871 [C99-based-standards] (SCNiFAST16): Likewise.
34872 [C99-based-standards] (SCNoFAST16): Likewise.
34873 [C99-based-standards] (SCNuFAST16): Likewise.
34874 [C99-based-standards] (SCNxFAST16): Likewise.
34875 [C99-based-standards] (PRId32): Likewise.
34876 [C99-based-standards] (PRIi32): Likewise.
34877 [C99-based-standards] (PRIo32): Likewise.
34878 [C99-based-standards] (PRIu32): Likewise.
34879 [C99-based-standards] (PRIx32): Likewise.
34880 [C99-based-standards] (PRIX32): Likewise.
34881 [C99-based-standards] (SCNd32): Likewise.
34882 [C99-based-standards] (SCNi32): Likewise.
34883 [C99-based-standards] (SCNo32): Likewise.
34884 [C99-based-standards] (SCNu32): Likewise.
34885 [C99-based-standards] (SCNx32): Likewise.
34886 [C99-based-standards] (PRIdLEAST32): Likewise.
34887 [C99-based-standards] (PRIiLEAST32): Likewise.
34888 [C99-based-standards] (PRIoLEAST32): Likewise.
34889 [C99-based-standards] (PRIuLEAST32): Likewise.
34890 [C99-based-standards] (PRIxLEAST32): Likewise.
34891 [C99-based-standards] (PRIXLEAST32): Likewise.
34892 [C99-based-standards] (SCNdLEAST32): Likewise.
34893 [C99-based-standards] (SCNiLEAST32): Likewise.
34894 [C99-based-standards] (SCNoLEAST32): Likewise.
34895 [C99-based-standards] (SCNuLEAST32): Likewise.
34896 [C99-based-standards] (SCNxLEAST32): Likewise.
34897 [C99-based-standards] (PRIdFAST32): Likewise.
34898 [C99-based-standards] (PRIiFAST32): Likewise.
34899 [C99-based-standards] (PRIoFAST32): Likewise.
34900 [C99-based-standards] (PRIuFAST32): Likewise.
34901 [C99-based-standards] (PRIxFAST32): Likewise.
34902 [C99-based-standards] (PRIXFAST32): Likewise.
34903 [C99-based-standards] (SCNdFAST32): Likewise.
34904 [C99-based-standards] (SCNiFAST32): Likewise.
34905 [C99-based-standards] (SCNoFAST32): Likewise.
34906 [C99-based-standards] (SCNuFAST32): Likewise.
34907 [C99-based-standards] (SCNxFAST32): Likewise.
34908 [C99-based-standards] (PRId64): Likewise.
34909 [C99-based-standards] (PRIi64): Likewise.
34910 [C99-based-standards] (PRIo64): Likewise.
34911 [C99-based-standards] (PRIu64): Likewise.
34912 [C99-based-standards] (PRIx64): Likewise.
34913 [C99-based-standards] (PRIX64): Likewise.
34914 [C99-based-standards] (SCNd64): Likewise.
34915 [C99-based-standards] (SCNi64): Likewise.
34916 [C99-based-standards] (SCNo64): Likewise.
34917 [C99-based-standards] (SCNu64): Likewise.
34918 [C99-based-standards] (SCNx64): Likewise.
34919 [C99-based-standards] (PRIdLEAST64): Likewise.
34920 [C99-based-standards] (PRIiLEAST64): Likewise.
34921 [C99-based-standards] (PRIoLEAST64): Likewise.
34922 [C99-based-standards] (PRIuLEAST64): Likewise.
34923 [C99-based-standards] (PRIxLEAST64): Likewise.
34924 [C99-based-standards] (PRIXLEAST64): Likewise.
34925 [C99-based-standards] (SCNdLEAST64): Likewise.
34926 [C99-based-standards] (SCNiLEAST64): Likewise.
34927 [C99-based-standards] (SCNoLEAST64): Likewise.
34928 [C99-based-standards] (SCNuLEAST64): Likewise.
34929 [C99-based-standards] (SCNxLEAST64): Likewise.
34930 [C99-based-standards] (PRIdFAST64): Likewise.
34931 [C99-based-standards] (PRIiFAST64): Likewise.
34932 [C99-based-standards] (PRIoFAST64): Likewise.
34933 [C99-based-standards] (PRIuFAST64): Likewise.
34934 [C99-based-standards] (PRIxFAST64): Likewise.
34935 [C99-based-standards] (PRIXFAST64): Likewise.
34936 [C99-based-standards] (SCNdFAST64): Likewise.
34937 [C99-based-standards] (SCNiFAST64): Likewise.
34938 [C99-based-standards] (SCNoFAST64): Likewise.
34939 [C99-based-standards] (SCNuFAST64): Likewise.
34940 [C99-based-standards] (SCNxFAST64): Likewise.
34941 [C99-based-standards] (PRIdMAX): Likewise.
34942 [C99-based-standards] (PRIiMAX): Likewise.
34943 [C99-based-standards] (PRIoMAX): Likewise.
34944 [C99-based-standards] (PRIuMAX): Likewise.
34945 [C99-based-standards] (PRIxMAX): Likewise.
34946 [C99-based-standards] (PRIXMAX): Likewise.
34947 [C99-based-standards] (SCNdMAX): Likewise.
34948 [C99-based-standards] (SCNiMAX): Likewise.
34949 [C99-based-standards] (SCNoMAX): Likewise.
34950 [C99-based-standards] (SCNuMAX): Likewise.
34951 [C99-based-standards] (SCNxMAX): Likewise.
34952 [C99-based-standards] (PRIdPTR): Likewise.
34953 [C99-based-standards] (PRIiPTR): Likewise.
34954 [C99-based-standards] (PRIoPTR): Likewise.
34955 [C99-based-standards] (PRIuPTR): Likewise.
34956 [C99-based-standards] (PRIxPTR): Likewise.
34957 [C99-based-standards] (PRIXPTR): Likewise.
34958 [C99-based-standards] (SCNdPTR): Likewise.
34959 [C99-based-standards] (SCNiPTR): Likewise.
34960 [C99-based-standards] (SCNoPTR): Likewise.
34961 [C99-based-standards] (SCNuPTR): Likewise.
34962 [C99-based-standards] (SCNxPTR): Likewise.
34963 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34965 * conform/data/stdint.h-data: Update comments to clarify
34967 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34969 [C99-based standards] (INT8_MAX): Likewise.
34970 [C99-based standards] (INT16_MIN): Likewise.
34971 [C99-based standards] (INT16_MAX): Likewise.
34972 [C99-based standards] (INT32_MIN): Likewise.
34973 [C99-based standards] (INT32_MAX): Likewise.
34974 [C99-based standards] (INT64_MIN): Likewise.
34975 [C99-based standards] (INT64_MAX): Likewise.
34976 [C99-based standards] (UINT8_MAX): Likewise.
34977 [C99-based standards] (UINT16_MAX): Likewise.
34978 [C99-based standards] (UINT32_MAX): Likewise.
34979 [C99-based standards] (UINT64_MAX): Likewise.
34980 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34981 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34982 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34983 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34984 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34985 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34986 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34987 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34988 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34989 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34990 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34991 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34992 [C99-based standards] (INT_FAST8_MIN): Likewise.
34993 [C99-based standards] (INT_FAST8_MAX): Likewise.
34994 [C99-based standards] (INT_FAST16_MIN): Likewise.
34995 [C99-based standards] (INT_FAST16_MAX): Likewise.
34996 [C99-based standards] (INT_FAST32_MIN): Likewise.
34997 [C99-based standards] (INT_FAST32_MAX): Likewise.
34998 [C99-based standards] (INT_FAST64_MIN): Likewise.
34999 [C99-based standards] (INT_FAST64_MAX): Likewise.
35000 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35001 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35002 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35003 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35004 [C99-based standards] (INTPTR_MIN): Likewise.
35005 [C99-based standards] (INTPTR_MAX): Likewise.
35006 [C99-based standards] (UINTPTR_MAX): Likewise.
35007 [C99-based standards] (INTMAX_MIN): Likewise.
35008 [C99-based standards] (INTMAX_MAX): Likewise.
35009 [C99-based standards] (UINTMAX_MAX): Likewise.
35010 [C99-based standards] (PTRDIFF_MIN): Likewise.
35011 [C99-based standards] (PTRDIFF_MAX): Likewise.
35012 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35013 [C99-based standards] (SIZE_MAX): Likewise.
35014 [C99-based standards] (WCHAR_MAX): Likewise.
35015 [C99-based standards] (WINT_MAX): Likewise.
35016 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35017 constraint on value.
35018 [C99-based standards] (WCHAR_MIN): Likewise.
35019 [C99-based standards] (WINT_MIN): Likewise.
35020 [C99-based standards] (*_t): Allow.
35021 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35022 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35023 Include math.h-data and complex.h-data. Remove all expectations
35024 of math.h and complex.h contents.
35025 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35027 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35028 (struct tm): Expect tag.
35029 [C99-based-standards] (wcstof): Expect function.
35030 [C99-based-standards] (wcstold): Likewise.
35031 [C99-based-standards] (wcstoll): Likewise.
35032 [C99-based-standards] (wcstoull): Likewise.
35033 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35034 macro-int-constant. Specify type.
35035 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35036 constraint on value.
35037 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35039 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35041 [ISO C standards]: Do not allow headers.
35042 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35043 wcs[abcdefghijklmnopqrstuvwxyz]*.
35044 [ISO C standards] (*_t): Do not allow.
35045 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35047 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35048 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35050 [ISO C standards]: Do not allow headers.
35051 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35052 is[abcdefghijklmnopqrstuvwxyz]*.
35053 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35054 to[abcdefghijklmnopqrstuvwxyz]*.
35055 [ISO C standards] (*_t): Do not allow.
35056 * conform/data/stdalign.h-data: New file.
35057 * conform/data/stdbool.h-data: Likewise.
35058 * conform/data/stdnoreturn.h-data: Likewise.
35060 2012-11-07 Roland McGrath <roland@hack.frob.com>
35063 * manual/filesys.texi (Directory Entries): Typo fix.
35064 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35066 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35068 * elf/elf.h (EM_AARCH64): New macro.
35069 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35070 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35071 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35072 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35073 (R_AARCH64_TLSDESC): Likewise.
35074 (NT_ARM_TLS): Likewise.
35075 (NT_ARM_HW_BREAK): Likewise.
35076 (NT_ARM_HW_WATCH): Likewise.
35078 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35081 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35082 (__ieee754_powl): Saturate nonzero exponents with absolute value
35083 below 0x1p-79 to +/- 0x1p-79.
35084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35085 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35086 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35087 nonzero exponents with absolute value below 0x1p-32 to +/-
35089 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35090 (__ieee754_powl): Saturate nonzero exponents with absolute value
35091 below 0x1p-79 to +/- 0x1p-79.
35092 * math/libm-test.inc (pow_test): Add more tests.
35094 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35096 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35097 _dl_s390_cap_flags with kernel. Increase string length.
35098 (_dl_s390_platforms): Add z196 and zEC12.
35100 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35102 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35103 Change XOPEN21K to XOPEN2K.
35105 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35107 * string/memmove.c: Use memcpy when possible.
35109 2012-11-06 Andreas Jaeger <aj@suse.de>
35111 * po/eo.po: Update from translation team.
35113 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35117 exponent and small x and y exponents, scale x or y up. Increase
35118 by 2 the exponent used in scaling up.
35119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35121 * math/libm-test.inc (fma_test): Add more tests.
35122 (fma_test_towardzero): Likewise.
35123 (fma_test_downward): Likewise.
35124 (fma_test_upward): Likewise.
35126 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35129 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35133 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35134 namespace for names of struct fields.
35135 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35137 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35138 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35140 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35143 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35145 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35147 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35151 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35154 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35158 definitely overflow as x * y not x * y + z.
35159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35161 * math/libm-test.inc (fma_test): Add more tests.
35162 (fma_test_towardzero): Likewise.
35163 (fma_test_downward): Likewise.
35164 (fma_test_upward): Likewise.
35166 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35170 * include/stub-tag.h: Remove file.
35171 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35173 * manual/maint.texi (Porting): Don't reference it.
35174 * Makerules ($(objpfx)stubs): Likewise.
35175 * dirent/closedir.c: Don't include <stub-tag.h>.
35176 * dirent/dirfd.c: Likewise.
35177 * dirent/fdopendir.c: Likewise.
35178 * dirent/getdents.c: Likewise.
35179 * dirent/getdents64.c: Likewise.
35180 * dirent/opendir.c: Likewise.
35181 * dirent/readdir.c: Likewise.
35182 * dirent/readdir64.c: Likewise.
35183 * dirent/readdir64_r.c: Likewise.
35184 * dirent/readdir_r.c: Likewise.
35185 * dirent/rewinddir.c: Likewise.
35186 * dirent/seekdir.c: Likewise.
35187 * dirent/telldir.c: Likewise.
35188 * gmon/profil.c: Likewise.
35189 * grp/setgroups.c: Likewise.
35190 * inet/if_index.c: Likewise.
35191 * io/access.c: Likewise.
35192 * io/chdir.c: Likewise.
35193 * io/chmod.c: Likewise.
35194 * io/chown.c: Likewise.
35195 * io/close.c: Likewise.
35196 * io/dup.c: Likewise.
35197 * io/dup2.c: Likewise.
35198 * io/dup3.c: Likewise.
35199 * io/euidaccess.c: Likewise.
35200 * io/faccessat.c: Likewise.
35201 * io/fchdir.c: Likewise.
35202 * io/fchmod.c: Likewise.
35203 * io/fchmodat.c: Likewise.
35204 * io/fchown.c: Likewise.
35205 * io/fchownat.c: Likewise.
35206 * io/fcntl.c: Likewise.
35207 * io/flock.c: Likewise.
35208 * io/fstatfs.c: Likewise.
35209 * io/fstatfs64.c: Likewise.
35210 * io/fstatvfs.c: Likewise.
35211 * io/fstatvfs64.c: Likewise.
35212 * io/futimens.c: Likewise.
35213 * io/fxstat.c: Likewise.
35214 * io/fxstat64.c: Likewise.
35215 * io/fxstatat.c: Likewise.
35216 * io/fxstatat64.c: Likewise.
35217 * io/getcwd.c: Likewise.
35218 * io/isatty.c: Likewise.
35219 * io/lchmod.c: Likewise.
35220 * io/lchown.c: Likewise.
35221 * io/link.c: Likewise.
35222 * io/linkat.c: Likewise.
35223 * io/lseek.c: Likewise.
35224 * io/lseek64.c: Likewise.
35225 * io/lxstat64.c: Likewise.
35226 * io/mkdir.c: Likewise.
35227 * io/mkdirat.c: Likewise.
35228 * io/mkfifo.c: Likewise.
35229 * io/mkfifoat.c: Likewise.
35230 * io/open.c: Likewise.
35231 * io/open64.c: Likewise.
35232 * io/openat.c: Likewise.
35233 * io/openat64.c: Likewise.
35234 * io/pipe.c: Likewise.
35235 * io/pipe2.c: Likewise.
35236 * io/poll.c: Likewise.
35237 * io/posix_fadvise.c: Likewise.
35238 * io/posix_fadvise64.c: Likewise.
35239 * io/posix_fallocate.c: Likewise.
35240 * io/posix_fallocate64.c: Likewise.
35241 * io/read.c: Likewise.
35242 * io/readlink.c: Likewise.
35243 * io/readlinkat.c: Likewise.
35244 * io/rmdir.c: Likewise.
35245 * io/sendfile.c: Likewise.
35246 * io/sendfile64.c: Likewise.
35247 * io/statfs.c: Likewise.
35248 * io/statfs64.c: Likewise.
35249 * io/statvfs.c: Likewise.
35250 * io/statvfs64.c: Likewise.
35251 * io/symlink.c: Likewise.
35252 * io/symlinkat.c: Likewise.
35253 * io/ttyname.c: Likewise.
35254 * io/ttyname_r.c: Likewise.
35255 * io/umask.c: Likewise.
35256 * io/unlink.c: Likewise.
35257 * io/unlinkat.c: Likewise.
35258 * io/utime.c: Likewise.
35259 * io/utimensat.c: Likewise.
35260 * io/write.c: Likewise.
35261 * io/xmknod.c: Likewise.
35262 * io/xmknodat.c: Likewise.
35263 * io/xstat.c: Likewise.
35264 * io/xstat64.c: Likewise.
35265 * login/getpt.c: Likewise.
35266 * login/grantpt.c: Likewise.
35267 * login/unlockpt.c: Likewise.
35268 * math/e_acoshl.c: Likewise.
35269 * math/e_acosl.c: Likewise.
35270 * math/e_asinl.c: Likewise.
35271 * math/e_atan2l.c: Likewise.
35272 * math/e_atanhl.c: Likewise.
35273 * math/e_coshl.c: Likewise.
35274 * math/e_expl.c: Likewise.
35275 * math/e_fmodl.c: Likewise.
35276 * math/e_gammal_r.c: Likewise.
35277 * math/e_hypotl.c: Likewise.
35278 * math/e_j0l.c: Likewise.
35279 * math/e_j1l.c: Likewise.
35280 * math/e_jnl.c: Likewise.
35281 * math/e_lgammal_r.c: Likewise.
35282 * math/e_log10l.c: Likewise.
35283 * math/e_log2l.c: Likewise.
35284 * math/e_logl.c: Likewise.
35285 * math/e_powl.c: Likewise.
35286 * math/e_rem_pio2l.c: Likewise.
35287 * math/e_sinhl.c: Likewise.
35288 * math/e_sqrtl.c: Likewise.
35289 * math/fclrexcpt.c: Likewise.
35290 * math/fedisblxcpt.c: Likewise.
35291 * math/feenablxcpt.c: Likewise.
35292 * math/fegetenv.c: Likewise.
35293 * math/fegetexcept.c: Likewise.
35294 * math/fegetround.c: Likewise.
35295 * math/feholdexcpt.c: Likewise.
35296 * math/fesetenv.c: Likewise.
35297 * math/fesetround.c: Likewise.
35298 * math/feupdateenv.c: Likewise.
35299 * math/fgetexcptflg.c: Likewise.
35300 * math/fraiseexcpt.c: Likewise.
35301 * math/fsetexcptflg.c: Likewise.
35302 * math/ftestexcept.c: Likewise.
35303 * math/k_cosl.c: Likewise.
35304 * math/k_rem_pio2l.c: Likewise.
35305 * math/k_sinl.c: Likewise.
35306 * math/k_tanl.c: Likewise.
35307 * math/s_asinhl.c: Likewise.
35308 * math/s_atanl.c: Likewise.
35309 * math/s_cbrtl.c: Likewise.
35310 * math/s_erfl.c: Likewise.
35311 * math/s_expm1l.c: Likewise.
35312 * math/s_log1pl.c: Likewise.
35313 * math/s_tanhl.c: Likewise.
35314 * misc/acct.c: Likewise.
35315 * misc/brk.c: Likewise.
35316 * misc/chflags.c: Likewise.
35317 * misc/chroot.c: Likewise.
35318 * misc/fchflags.c: Likewise.
35319 * misc/fgetxattr.c: Likewise.
35320 * misc/flistxattr.c: Likewise.
35321 * misc/fremovexattr.c: Likewise.
35322 * misc/fsetxattr.c: Likewise.
35323 * misc/fsync.c: Likewise.
35324 * misc/ftruncate.c: Likewise.
35325 * misc/futimes.c: Likewise.
35326 * misc/futimesat.c: Likewise.
35327 * misc/getdomain.c: Likewise.
35328 * misc/getdtsz.c: Likewise.
35329 * misc/gethostid.c: Likewise.
35330 * misc/gethostname.c: Likewise.
35331 * misc/getloadavg.c: Likewise.
35332 * misc/getpagesize.c: Likewise.
35333 * misc/getsysstats.c: Likewise.
35334 * misc/getxattr.c: Likewise.
35335 * misc/gtty.c: Likewise.
35336 * misc/ioctl.c: Likewise.
35337 * misc/lgetxattr.c: Likewise.
35338 * misc/listxattr.c: Likewise.
35339 * misc/llistxattr.c: Likewise.
35340 * misc/lremovexattr.c: Likewise.
35341 * misc/lsetxattr.c: Likewise.
35342 * misc/lutimes.c: Likewise.
35343 * misc/madvise.c: Likewise.
35344 * misc/mincore.c: Likewise.
35345 * misc/mlock.c: Likewise.
35346 * misc/mlockall.c: Likewise.
35347 * misc/mmap.c: Likewise.
35348 * misc/mprotect.c: Likewise.
35349 * misc/msync.c: Likewise.
35350 * misc/munlock.c: Likewise.
35351 * misc/munlockall.c: Likewise.
35352 * misc/munmap.c: Likewise.
35353 * misc/preadv.c: Likewise.
35354 * misc/preadv64.c: Likewise.
35355 * misc/ptrace.c: Likewise.
35356 * misc/pwritev.c: Likewise.
35357 * misc/pwritev64.c: Likewise.
35358 * misc/readv.c: Likewise.
35359 * misc/reboot.c: Likewise.
35360 * misc/remap_file_pages.c: Likewise.
35361 * misc/removexattr.c: Likewise.
35362 * misc/revoke.c: Likewise.
35363 * misc/select.c: Likewise.
35364 * misc/setdomain.c: Likewise.
35365 * misc/setegid.c: Likewise.
35366 * misc/seteuid.c: Likewise.
35367 * misc/sethostid.c: Likewise.
35368 * misc/sethostname.c: Likewise.
35369 * misc/setregid.c: Likewise.
35370 * misc/setreuid.c: Likewise.
35371 * misc/setxattr.c: Likewise.
35372 * misc/sstk.c: Likewise.
35373 * misc/stty.c: Likewise.
35374 * misc/swapoff.c: Likewise.
35375 * misc/swapon.c: Likewise.
35376 * misc/sync.c: Likewise.
35377 * misc/syncfs.c: Likewise.
35378 * misc/syscall.c: Likewise.
35379 * misc/truncate.c: Likewise.
35380 * misc/ualarm.c: Likewise.
35381 * misc/usleep.c: Likewise.
35382 * misc/ustat.c: Likewise.
35383 * misc/utimes.c: Likewise.
35384 * misc/vhangup.c: Likewise.
35385 * misc/writev.c: Likewise.
35386 * posix/_exit.c: Likewise.
35387 * posix/alarm.c: Likewise.
35388 * posix/execve.c: Likewise.
35389 * posix/fexecve.c: Likewise.
35390 * posix/fork.c: Likewise.
35391 * posix/fpathconf.c: Likewise.
35392 * posix/getaddrinfo.c: Likewise.
35393 * posix/getegid.c: Likewise.
35394 * posix/geteuid.c: Likewise.
35395 * posix/getgid.c: Likewise.
35396 * posix/getgroups.c: Likewise.
35397 * posix/getlogin.c: Likewise.
35398 * posix/getlogin_r.c: Likewise.
35399 * posix/getpgid.c: Likewise.
35400 * posix/getpid.c: Likewise.
35401 * posix/getppid.c: Likewise.
35402 * posix/getresgid.c: Likewise.
35403 * posix/getresuid.c: Likewise.
35404 * posix/getsid.c: Likewise.
35405 * posix/getuid.c: Likewise.
35406 * posix/glob64.c: Likewise.
35407 * posix/nanosleep.c: Likewise.
35408 * posix/pathconf.c: Likewise.
35409 * posix/pause.c: Likewise.
35410 * posix/posix_madvise.c: Likewise.
35411 * posix/pread.c: Likewise.
35412 * posix/pread64.c: Likewise.
35413 * posix/pwrite.c: Likewise.
35414 * posix/pwrite64.c: Likewise.
35415 * posix/sched_getaffinity.c: Likewise.
35416 * posix/sched_getp.c: Likewise.
35417 * posix/sched_gets.c: Likewise.
35418 * posix/sched_primax.c: Likewise.
35419 * posix/sched_primin.c: Likewise.
35420 * posix/sched_rr_gi.c: Likewise.
35421 * posix/sched_setaffinity.c: Likewise.
35422 * posix/sched_setp.c: Likewise.
35423 * posix/sched_sets.c: Likewise.
35424 * posix/sched_yield.c: Likewise.
35425 * posix/setgid.c: Likewise.
35426 * posix/setlogin.c: Likewise.
35427 * posix/setpgid.c: Likewise.
35428 * posix/setresgid.c: Likewise.
35429 * posix/setresuid.c: Likewise.
35430 * posix/setsid.c: Likewise.
35431 * posix/setuid.c: Likewise.
35432 * posix/sleep.c: Likewise.
35433 * posix/spawni.c: Likewise.
35434 * posix/sysconf.c: Likewise.
35435 * posix/times.c: Likewise.
35436 * posix/wait.c: Likewise.
35437 * posix/wait3.c: Likewise.
35438 * posix/wait4.c: Likewise.
35439 * posix/waitpid.c: Likewise.
35440 * resolv/gai_sigqueue.c: Likewise.
35441 * resource/getpriority.c: Likewise.
35442 * resource/getrlimit.c: Likewise.
35443 * resource/getrusage.c: Likewise.
35444 * resource/nice.c: Likewise.
35445 * resource/setpriority.c: Likewise.
35446 * resource/setrlimit.c: Likewise.
35447 * resource/ulimit.c: Likewise.
35448 * rt/aio_cancel.c: Likewise.
35449 * rt/aio_fsync.c: Likewise.
35450 * rt/aio_read.c: Likewise.
35451 * rt/aio_sigqueue.c: Likewise.
35452 * rt/aio_suspend.c: Likewise.
35453 * rt/aio_write.c: Likewise.
35454 * rt/clock_getres.c: Likewise.
35455 * rt/clock_gettime.c: Likewise.
35456 * rt/clock_nanosleep.c: Likewise.
35457 * rt/clock_settime.c: Likewise.
35458 * rt/lio_listio.c: Likewise.
35459 * rt/mq_close.c: Likewise.
35460 * rt/mq_getattr.c: Likewise.
35461 * rt/mq_notify.c: Likewise.
35462 * rt/mq_open.c: Likewise.
35463 * rt/mq_receive.c: Likewise.
35464 * rt/mq_send.c: Likewise.
35465 * rt/mq_setattr.c: Likewise.
35466 * rt/mq_timedreceive.c: Likewise.
35467 * rt/mq_timedsend.c: Likewise.
35468 * rt/mq_unlink.c: Likewise.
35469 * rt/shm_open.c: Likewise.
35470 * rt/shm_unlink.c: Likewise.
35471 * rt/timer_create.c: Likewise.
35472 * rt/timer_delete.c: Likewise.
35473 * rt/timer_getoverr.c: Likewise.
35474 * rt/timer_gettime.c: Likewise.
35475 * rt/timer_settime.c: Likewise.
35476 * setjmp/__longjmp.c: Likewise.
35477 * setjmp/setjmp.c: Likewise.
35478 * signal/kill.c: Likewise.
35479 * signal/killpg.c: Likewise.
35480 * signal/raise.c: Likewise.
35481 * signal/sigaction.c: Likewise.
35482 * signal/sigaltstack.c: Likewise.
35483 * signal/sigblock.c: Likewise.
35484 * signal/sigignore.c: Likewise.
35485 * signal/sigintr.c: Likewise.
35486 * signal/signal.c: Likewise.
35487 * signal/sigpause.c: Likewise.
35488 * signal/sigpending.c: Likewise.
35489 * signal/sigqueue.c: Likewise.
35490 * signal/sigreturn.c: Likewise.
35491 * signal/sigset.c: Likewise.
35492 * signal/sigsetmask.c: Likewise.
35493 * signal/sigstack.c: Likewise.
35494 * signal/sigsuspend.c: Likewise.
35495 * signal/sigtimedwait.c: Likewise.
35496 * signal/sigvec.c: Likewise.
35497 * signal/sigwait.c: Likewise.
35498 * signal/sigwaitinfo.c: Likewise.
35499 * signal/sysv_signal.c: Likewise.
35500 * socket/accept.c: Likewise.
35501 * socket/accept4.c: Likewise.
35502 * socket/bind.c: Likewise.
35503 * socket/connect.c: Likewise.
35504 * socket/getpeername.c: Likewise.
35505 * socket/getsockname.c: Likewise.
35506 * socket/getsockopt.c: Likewise.
35507 * socket/isfdtype.c: Likewise.
35508 * socket/listen.c: Likewise.
35509 * socket/recv.c: Likewise.
35510 * socket/recvfrom.c: Likewise.
35511 * socket/recvmsg.c: Likewise.
35512 * socket/send.c: Likewise.
35513 * socket/sendmsg.c: Likewise.
35514 * socket/sendto.c: Likewise.
35515 * socket/setsockopt.c: Likewise.
35516 * socket/shutdown.c: Likewise.
35517 * socket/sockatmark.c: Likewise.
35518 * socket/socket.c: Likewise.
35519 * socket/socketpair.c: Likewise.
35520 * stdio-common/ctermid.c: Likewise.
35521 * stdio-common/cuserid.c: Likewise.
35522 * stdio-common/remove.c: Likewise.
35523 * stdio-common/rename.c: Likewise.
35524 * stdio-common/renameat.c: Likewise.
35525 * stdio-common/tempname.c: Likewise.
35526 * stdlib/getcontext.c: Likewise.
35527 * stdlib/makecontext.c: Likewise.
35528 * stdlib/setcontext.c: Likewise.
35529 * stdlib/swapcontext.c: Likewise.
35530 * stdlib/system.c: Likewise.
35531 * streams/fattach.c: Likewise.
35532 * streams/fdetach.c: Likewise.
35533 * streams/getmsg.c: Likewise.
35534 * streams/getpmsg.c: Likewise.
35535 * streams/putmsg.c: Likewise.
35536 * streams/putpmsg.c: Likewise.
35537 * sysdeps/unix/bsd/getpt.c: Likewise.
35538 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35539 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35540 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35543 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35544 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35545 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35546 * sysvipc/msgctl.c: Likewise.
35547 * sysvipc/msgget.c: Likewise.
35548 * sysvipc/msgrcv.c: Likewise.
35549 * sysvipc/msgsnd.c: Likewise.
35550 * sysvipc/semctl.c: Likewise.
35551 * sysvipc/semget.c: Likewise.
35552 * sysvipc/semop.c: Likewise.
35553 * sysvipc/semtimedop.c: Likewise.
35554 * sysvipc/shmat.c: Likewise.
35555 * sysvipc/shmctl.c: Likewise.
35556 * sysvipc/shmdt.c: Likewise.
35557 * sysvipc/shmget.c: Likewise.
35558 * termios/tcdrain.c: Likewise.
35559 * termios/tcflow.c: Likewise.
35560 * termios/tcflush.c: Likewise.
35561 * termios/tcgetattr.c: Likewise.
35562 * termios/tcgetpgrp.c: Likewise.
35563 * termios/tcsendbrk.c: Likewise.
35564 * termios/tcsetattr.c: Likewise.
35565 * termios/tcsetpgrp.c: Likewise.
35566 * time/adjtime.c: Likewise.
35567 * time/clock.c: Likewise.
35568 * time/getitimer.c: Likewise.
35569 * time/gettimeofday.c: Likewise.
35570 * time/setitimer.c: Likewise.
35571 * time/settimeofday.c: Likewise.
35572 * time/stime.c: Likewise.
35573 * time/time.c: Likewise.
35575 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35577 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35580 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35582 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35584 2012-11-03 Joseph Myers <joseph@codesourcery.com>
35587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35588 FE_TONEAREST before applying Dekker multiplication and Knuth
35589 addition. Clear inexact exceptions and check for exact zero
35590 results afterwards.
35591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35592 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35594 * math/libm-test.inc (fma_test): Add more tests.
35595 (fma_test_towardzero): Likewise.
35596 (fma_test_downward): Likewise.
35597 (fma_test_upward): Likewise.
35598 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35600 (libc_fesetround): New macro.
35601 (libc_fesetroundf): Likewise.
35602 (libc_fesetroundl): Likewise.
35603 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35605 (libc_fesetround_387): Likewise.
35606 (libc_fesetroundf): New macro.
35607 (libc_fesetround): Likewise.
35608 (libc_fesetroundl): Likewise.
35609 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35611 (libc_fesetroundf): New macro.
35612 (libc_fesetround): Likewise.
35613 (libc_fesetroundl): Likewise.
35614 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35615 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35616 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35618 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35619 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35621 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35622 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35624 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35628 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35629 integer constant usable in #if and use that to give value to enum
35631 (FE_DIVBYZERO): Likewise.
35632 (FE_UNDERFLOW): Likewise.
35633 (FE_OVERFLOW): Likewise.
35634 (FE_INVALID): Likewise.
35635 (FE_INVALID_SNAN): Likewise.
35636 (FE_INVALID_ISI): Likewise.
35637 (FE_INVALID_IDI): Likewise.
35638 (FE_INVALID_ZDZ): Likewise.
35639 (FE_INVALID_IMZ): Likewise.
35640 (FE_INVALID_COMPARE): Likewise.
35641 (FE_INVALID_SOFTWARE): Likewise.
35642 (FE_INVALID_SQRT): Likewise.
35643 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35644 (FE_TONEAREST): Likewise.
35645 (FE_TOWARDZERO): Likewise.
35646 (FE_UPWARD): Likewise.
35647 (FE_DOWNWARD): Likewise.
35648 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35649 (FE_DIVBYZERO): Likewise.
35650 (FE_OVERFLOW): Likewise.
35651 (FE_UNDERFLOW): Likewise.
35652 (FE_INEXACT): Likewise.
35653 (FE_TONEAREST): Likewise.
35654 (FE_DOWNWARD): Likewise.
35655 (FE_UPWARD): Likewise.
35656 (FE_TOWARDZERO): Likewise.
35657 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35658 (FE_UNDERFLOW): Likewise.
35659 (FE_OVERFLOW): Likewise.
35660 (FE_DIVBYZERO): Likewise.
35661 (FE_INVALID): Likewise.
35662 (FE_TONEAREST): Likewise.
35663 (FE_TOWARDZERO): Likewise.
35664 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35665 (FE_OVERFLOW): Likewise.
35666 (FE_UNDERFLOW): Likewise.
35667 (FE_DIVBYZERO): Likewise.
35668 (FE_INEXACT): Likewise.
35669 (FE_TONEAREST): Likewise.
35670 (FE_TOWARDZERO): Likewise.
35671 (FE_UPWARD): Likewise.
35672 (FE_DOWNWARD): Likewise.
35673 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35674 (FE_DIVBYZERO): Likewise.
35675 (FE_OVERFLOW): Likewise.
35676 (FE_UNDERFLOW): Likewise.
35677 (FE_INEXACT): Likewise.
35678 (FE_TONEAREST): Likewise.
35679 (FE_DOWNWARD): Likewise.
35680 (FE_UPWARD): Likewise.
35681 (FE_TOWARDZERO): Likewise.
35683 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35685 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35687 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35689 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35690 commands. Quote $PWD.
35691 (blacklist_exports): Don't use remove_newlines. Replace "declare
35693 (remove_newlines): Remove.
35695 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35697 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35698 * stdlib/stdlib.h (atof): Moved to ...
35699 * include/bits/stdlib-float.h: Here. New file.
35700 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35701 * stdlib/bits/stdlib-float.h: New file.
35702 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35704 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35707 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35709 * conform/conformtest.pl (@headers): Add fenv.h.
35710 * conform/data/fenv.h-data: New file.
35711 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35712 include of <math/fenv.h>.
35714 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35715 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35716 && !UNIX98]. Enables tests for XOPEN2K8.
35717 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35718 POSIX2008]: Likewise.
35720 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35721 (struct rusage): Do not expect type or its members.
35724 * math/math.h (FP_NAN): Define macro to integer constant usable in
35725 #if and use that to give value to enum constant.
35726 (FP_INFINITE): Likewise.
35727 (FP_ZERO): Likewise.
35728 (FP_SUBNORMAL): Likewise.
35729 (FP_NORMAL): Likewise.
35731 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35733 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35734 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35737 2012-11-02 Roland McGrath <roland@hack.frob.com>
35739 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35740 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35741 autoconf-time if not.
35742 * configure.in: Remove AC_PREREQ.
35744 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35746 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35747 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35748 of the internal implementation.
35750 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35752 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35753 except include of <misc/sys/syslog.h>.
35755 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35758 function returns with a NULL context exit with zero.
35760 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35762 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35764 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35766 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35767 (run_program_cmd): This.
35768 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35769 (tst_langinfo): New variable. Use it.
35771 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35773 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35774 floating point opcodes.
35776 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35778 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35781 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35783 * sysdeps/mach/hurd/powerpc: Remove directory.
35784 * sysdeps/mach/powerpc: Likewise.
35786 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35788 * scripts/check-local-headers.sh: Ignore c++ headers.
35790 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35792 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35793 __libc_cleanup_region_start argument.
35795 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35800 x * y using scaling, not as x * y + z.
35801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35802 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35803 * math/libm-test.inc (fma_test): Add more tests.
35804 (fma_test_towardzero): Likewise.
35805 (fma_test_downward): Likewise.
35806 (fma_test_upward): Likewise.
35808 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35810 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35812 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35814 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35817 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35819 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35821 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35828 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35831 Fix the order of the list for glibc 2.17.
35832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35835 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35839 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35842 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35843 for low part of x being zero before using __atanl (y).
35844 * math/libm-test.inc (atan2_test): Add another test.
35846 * manual/install.texi (Configuring and compiling): Document
35847 general use of test-wrapper and test-wrapper-env.
35848 * INSTALL: Regenerated.
35850 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35851 (__fma): Do not extract and scale down low bits on after-rounding
35852 systems when result rounded to normal precision would have normal
35854 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35855 (__fmal): Do not extract and scale down low bits on after-rounding
35856 systems when result rounded to normal precision would have normal
35858 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35859 (__fmal): Do not extract and scale down low bits on after-rounding
35860 systems when result rounded to normal precision would have normal
35862 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35864 (fma_test): Add more tests.
35865 (fma_test_towardzero): Likewise.
35866 (fma_test_downward): Likewise.
35867 (fma_test_upward): Likewise.
35869 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35871 * sysdeps/i386/tininess.h: Renamed to ...
35872 * sysdeps/x86/tininess.h: This.
35873 * sysdeps/x86_64/tininess.h: Removed.
35875 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35877 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35878 input. Use $(build-program-cmd).
35879 ($(objpfx)tst-array1-static.out): Likewise.
35880 ($(objpfx)tst-array2.out): Likewise.
35881 ($(objpfx)tst-array3.out): Likewise.
35882 ($(objpfx)tst-array4.out): Likewise.
35883 ($(objpfx)tst-array5.out): Likewise.
35884 ($(objpfx)tst-array5-static.out): Likewise.
35886 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35888 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35891 * nss/nsswitch.h (nss_interface_function): Provide new
35892 macro for use with NSS functions.
35893 * grp/initgroups.c: Use new macro.
35894 * nss/getXXbyYY.c: Likewise.
35895 * nss/getXXbyYY_r.c: Likewise.
35896 * nss/getXXent.c: Likewise.
35897 * nss/getXXent_r.c: Likewise.
35898 * sysdeps/posix/getaddrinfo.c: Likewise.
35900 2012-10-30 Andreas Jaeger <aj@suse.de>
35902 * po/ru.po: Update Russion translation from translation project.
35904 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35909 result and shift together with sticky bit instead of replicating
35910 round-to-nearest rounding.
35911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35912 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35913 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35914 missing underflow exceptions.
35915 (fma_test_towardzero): Add more tests.
35916 (fma_test_downward): Likewise.
35917 (fma_test_upward): Likewise.
35920 * sysdeps/generic/tininess.h: New file.
35921 * sysdeps/i386/tininess.h: Likewise.
35922 * sysdeps/sh/tininess.h: Likewise.
35923 * sysdeps/x86_64/tininess.h: Likewise.
35924 * stdlib/tst-strtod-underflow.c: Likewise.
35925 * stdlib/tst-tininess.c: Likewise.
35926 * stdlib/strtod_l.c: Include <tininess.h>.
35927 (round_and_return): Do not set errno for exact underflow cases.
35928 Force an underflow exception when setting errno for underflow.
35929 Determine underflow based on rounding to normal precision if
35930 TININESS_AFTER_ROUNDING.
35931 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35932 ERANGE for exact underflow cases.
35933 * stdlib/Makefile (tests): Add tst-tininess and
35934 tst-strtod-underflow.
35935 ($(objpfx)tst-tininess): Use $(link-libm).
35936 ($(objpfx)tst-strtod-underflow): Likewise.
35938 2012-10-30 Andreas Jaeger <aj@suse.de>
35941 * elf/Makefile (tests): Remove conditional for have-initfini-array
35942 since this is now always required and the variable does not exist
35944 (tests-static): Likewise.
35945 (modules-names): Likewise.
35947 * po/eo.po: Add Esperanto translation from translation project.
35949 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35950 merged with constructor/destructor.
35951 (init_array): Likewise.
35952 * elf/tst-array2dep.c (fini_array): Likewise.
35953 (init_array): Likewise.
35955 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35957 * manual/message.texi: Delete @cartouche tags.
35959 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35961 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35963 * sysdeps/mach/hurd/fsync.c: Likewise.
35965 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35966 [_POSIX_REALTIME_SIGNALS]: Change condition to
35967 [_POSIX_REALTIME_SIGNALS > 0].
35969 2012-10-27 Andreas Jaeger <aj@suse.de>
35971 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35972 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35974 [__WORDSIZE != 64]: Likewise.
35976 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35978 * iconvdata/tst-table.sh: Remove ${SHELL}.
35979 * iconvdata/tst-tables.sh: Likewise.
35981 2012-10-25 David S. Miller <davem@davemloft.net>
35983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35984 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35989 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35990 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35991 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35994 2012-10-25 Roland McGrath <roland@hack.frob.com>
35996 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35997 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36000 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36001 Jim Blandy <jimb@codesourcery.com>
36003 * scripts/cross-test-ssh.sh: New file.
36004 * manual/install.texi (Configuring and compiling): Document use of
36006 * INSTALL: Regenerated.
36008 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36010 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36013 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36015 * Makeconfig (run-program-prefix): Fix comment.
36017 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36018 Jim Blandy <jimb@codesourcery.com>
36020 * Makeconfig (test-wrapper): New variable,
36021 (test-wrapper-env): Likewise.
36022 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36023 (run-built-tests): Define to yes.
36024 (run-program-prefix): Use $(test-wrapper).
36025 (built-program-cmd): Likewise.
36026 * Rules (make-test-out): Use $(test-wrapper-env) and
36027 $(host-built-program-cmd).
36028 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36029 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36031 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36032 $(test-wrapper-env) to tst-rtld-load-self.sh.
36033 ($(objpfx)order2.out): Use $(test-wrapper).
36034 ($(objpfx)tst-initorder.out): Likewise.
36035 ($(objpfx)tst-initorder2.out): Likewise.
36036 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36037 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36038 (test_wrapper_env): New variable. Use it to run ld.so.
36039 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36040 Use it to run ld.so.
36041 (test_wrapper_env): Likewise.
36042 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36043 $(test-wrapper) to run-iconv-test.sh.
36044 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36045 (ICONV): Use $test_wrapper.
36046 * posix/Makefile ($(objpfx)globtest.out): Pass
36047 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36048 globtest.sh, not $(run-program-prefix).
36049 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36050 (test_wrapper): Likewise.
36051 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36052 set together with run_via_rtld_prefix.
36053 (run_program_prefix): Define in terms of test_wrapper and
36054 run_via_rtld_prefix.
36056 2012-10-24 Roland McGrath <roland@hack.frob.com>
36058 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36059 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36063 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36064 Declare __clock_getres, __clock_gettime, __clock_settime,
36065 __clock_nanosleep, and __clock_getcpuclockid.
36066 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36067 Remove librt_hidden_def (clock_gettime).
36068 * sysdeps/unix/clock_gettime.c: Likewise.
36069 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36070 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36071 * rt/clock_getres.c: Define __clock_getres as an alias.
36072 * sysdeps/posix/clock_getres.c: Likewise.
36073 * rt/clock_settime.c: Define __clock_settime as an alias.
36074 * sysdeps/unix/clock_settime.c: Likewise.
36075 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36076 * sysdeps/unix/clock_nanosleep.c: Likewise.
36077 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36078 * rt/clock-compat.c: New file.
36079 * rt/Makefile (librt-routines): Add clock-compat and move
36080 $(clock-routines) to ...
36081 (routines): ... here, new variable.
36082 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36083 Don't add get_clockfreq here.
36084 * rt/Versions (libc: GLIBC_2.17): New version set.
36085 Add clock_* symbols here.
36086 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36087 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36088 (GLIBC_2.17): Add clock_* symbols.
36089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36091 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36100 * NEWS: Mention the move.
36102 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36103 Use __open, __read, __close rather than their public counterparts.
36104 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36105 (__get_clockfreq_via_cpuinfo): Likewise.
36106 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36107 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36109 * config.h.in (HAVE_IFUNC): New #undef.
36110 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36112 * configure: Regenerated.
36114 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36116 * configure.in: Move READELF check to start of file.
36117 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36118 libc_cv_asm_gnu_indirect_function in the process.
36119 * configure: Regenerated.
36121 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36123 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36124 send the output to /dev/null.
36125 (libc_cv_cc_with_libunwind): Likewise.
36126 (libc_cv_as_noexecstack): Likewise.
36127 * configure: Regenerate.
36129 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36131 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36133 * posix/globtest.sh (TMPDIR): Do not set.
36134 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36135 (testout): Likewise.
36137 2012-10-24 Andreas Jaeger <aj@suse.de>
36139 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36140 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36141 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36142 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36143 posix_fadvise64, posix_fallocate64.
36145 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36146 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36147 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36149 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36151 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36154 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36155 <bits/fcntl-linux.h>.
36156 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36159 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36160 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36161 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36162 [__WORDSIZE != 64]: Likewise.
36164 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36166 * Makeconfig (run-built-tests): New variable.
36167 * Rules [$(cross-compiling) = yes]: Change condition to
36168 [$(run-built-tests) = no].
36169 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36170 to [$(run-built-tests) = yes].
36171 * elf/Makefile [$(cross-compiling) = no]: Likewise
36172 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36173 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36174 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36175 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36176 * io/Makefile [$(cross-compiling) = no]: Likewise.
36177 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36178 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36179 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36180 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36181 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36182 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36183 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36184 * string/Makefile [$(cross-compiling) = no]: Likewise.
36186 * posix/Makefile ($(objpfx)globtest.out): Pass
36187 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36188 $(rtld-installed-name).
36189 * posix/globtest.sh (elf_objpfx): Remove variable.
36190 (rtld_installed_name): Likewise.
36191 (library_path): Likewise.
36192 (run_program_prefix): New variable. Use for running globtest
36195 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36196 Joseph Myers <joseph@codesourcery.com>
36198 * Makeconfig (host-built-program-cmd): New variable.
36199 * elf/Makefile (tst-stackguard1-ARGS): Use
36200 $(host-built-program-cmd).
36201 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36202 (tst-spawn-ARGS): Likewise.
36203 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36205 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36206 Jim Blandy <jimb@codesourcery.com>
36208 * Makeconfig (run-via-rtld-prefix): New variable.
36209 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36210 (built-program-cmd): Likewise.
36212 2012-10-22 Andreas Jaeger <aj@suse.de>
36214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36215 __O_RSYNC if it exists, otherwise to O_SYNC.
36217 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36218 Joseph Myers <joseph@codesourcery.com>
36220 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36222 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36224 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36227 2012-10-22 Andreas Jaeger <aj@suse.de>
36229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36234 bits/fcntl-linux.h.
36236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36237 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36244 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36245 Joseph Myers <joseph@codesourcery.com>
36247 * config.make.in (NM): New variable.
36249 2012-10-21 Andreas Jaeger <aj@suse.de>
36251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36252 definitions and declarations that are provided by
36253 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36255 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36258 * elf/Makefile (tests-static): Add tst-leaks1-static.
36259 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36260 ($(objpfx)tst-leaks1-static): New rule.
36261 ($(objpfx)tst-leaks1-static-mem): Likewise.
36262 (tst-leaks1-static-ENV): New macro.
36263 * elf/dl-open.c (dl_open_worker): Check the main application
36264 only if SHARED is defined.
36265 * elf/tst-leaks1-static.c: New file.
36267 2012-10-20 Andreas Jaeger <aj@suse.de>
36269 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36270 generic values for Linux.
36271 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36272 and declarations that are provided by <bits/fcntl-linux.h> and
36273 include <bits/fcntl-linux.h>.
36274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36275 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36277 2012-10-20 Roland McGrath <roland@hack.frob.com>
36279 * io/fcntl.h: Move include of <bits/types.h> to the top and
36280 include it unconditionally.
36282 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36284 * wcsmbs/Makefile (tests-ifunc): New variable.
36285 (tests): Add $(tests-ifunc).
36286 * wcsmbs/test-wcschr-ifunc.c: New file.
36287 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36288 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36289 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36290 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36291 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36293 * string/Makefile (tests-ifunc): New variable.
36294 (tests): Add $(tests-ifunc).
36295 * string/test-memccpy.c (TEST_NAME): New macro.
36296 * string/test-memchr.c (TEST_NAME): Likewise.
36297 * string/test-memcmp.c (TEST_NAME): Likewise.
36298 * string/test-memcpy.c (TEST_NAME): Likewise.
36299 * string/test-memmem.c (TEST_NAME): Likewise.
36300 * string/test-memmove.c (TEST_NAME): Likewise.
36301 * string/test-memset.c (TEST_NAME): Likewise.
36302 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36303 * string/test-stpcpy.c (TEST_NAME): Likewise.
36304 * string/test-stpncpy.c (TEST_NAME): Likewise.
36305 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36306 * string/test-strcasestr.c (TEST_NAME): Likewise.
36307 * string/test-strcat.c (TEST_NAME): Likewise.
36308 * string/test-strchr.c (TEST_NAME): Likewise.
36309 * string/test-strcmp.c(TEST_NAME): Likewise.
36310 * string/test-strcpy.c (TEST_NAME): Likewise.
36311 * string/test-strcspn.c (TEST_NAME): Likewise.
36312 * string/test-strlen.c (TEST_NAME): Likewise.
36313 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36314 * string/test-strncmp.c (TEST_NAME): Likewise.
36315 * string/test-strncpy.c (TEST_NAME): Likewise.
36316 * string/test-strnlen.c (TEST_NAME): Likewise.
36317 * string/test-strpbrk.c (TEST_NAME): Likewise.
36318 * string/test-strrchr.c (TEST_NAME): Likewise.
36319 * string/test-strspn.c (TEST_NAME): Likewise.
36320 * string/test-strstr.c (TEST_NAME): Likewise.
36321 * string/test-bcopy-ifunc.c: New file.
36322 * string/test-bzero-ifunc.c: Likewise.
36323 * string/test-memccpy-ifunc.c: Likewise.
36324 * string/test-memchr-ifunc.c: Likewise.
36325 * string/test-memcmp-ifunc.c: Likewise.
36326 * string/test-memcpy-ifunc.c: Likewise.
36327 * string/test-memmem-ifunc.c: Likewise.
36328 * string/test-memmove-ifunc.c: Likewise.
36329 * string/test-mempcpy-ifunc.c: Likewise.
36330 * string/test-memset-ifunc.c: Likewise.
36331 * string/test-rawmemchr-ifunc.c: Likewise.
36332 * string/test-stpcpy-ifunc.c: Likewise.
36333 * string/test-stpncpy-ifunc.c: Likewise.
36334 * string/test-strcasecmp-ifunc.c: Likewise.
36335 * string/test-strcasestr-ifunc.c: Likewise.
36336 * string/test-strcat-ifunc.c: Likewise.
36337 * string/test-strchr-ifunc.c: Likewise.
36338 * string/test-strchrnul-ifunc.c: Likewise.
36339 * string/test-strcmp-ifunc.c: Likewise.
36340 * string/test-strcpy-ifunc.c: Likewise.
36341 * string/test-strcspn-ifunc.c: Likewise.
36342 * string/test-strlen-ifunc.c: Likewise.
36343 * string/test-strncasecmp-ifunc.c: Likewise.
36344 * string/test-strncat-ifunc.c: Likewise.
36345 * string/test-strncmp-ifunc.c: Likewise.
36346 * string/test-strncpy-ifunc.c: Likewise.
36347 * string/test-strnlen-ifunc.c: Likewise.
36348 * string/test-strpbrk-ifunc.c: Likewise.
36349 * string/test-strrchr-ifunc.c: Likewise.
36350 * string/test-strspn-ifunc.c: Likewise.
36351 * string/test-strstr-ifunc.c: Likewise.
36353 * debug/Makefile (tests-ifunc): New variable.
36354 (tests): Add $(tests-ifunc).
36355 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36356 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36357 * debug/test-stpcpy_chk-ifunc.c: New file.
36358 * debug/test-strcpy_chk-ifunc.c: Likewise.
36360 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36363 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36364 header is not read in.
36366 2012-10-19 Joseph Myers <joseph@codesourcery.com>
36368 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36369 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36370 directly. Pass built executable to script as
36371 $(built-program-cmd).
36372 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36373 $testprogram without using LD_LIBRARY_PATH and $ldso.
36375 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36376 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36377 $(rtld-installed-name).
36378 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36379 (rtld_installed_name): Likewise.
36380 (library_path): Likewise.
36381 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36382 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36383 $(run-program-prefix) to tst-tables.sh.
36384 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36385 it to run tst-table-from and tst-table-to.
36386 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36387 Pass it to tst-table.sh.
36388 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36389 $(run-program-prefix) to tst-gettext.sh.
36390 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36392 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36394 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36395 to run tst-gettext.
36396 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36397 to run tst-gettext2.
36398 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36399 to run tst-translit.
36400 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36401 $(run-program-prefix) to tst-mtrace.sh.
36402 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36404 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36405 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36406 $(rtld-installed-name).
36407 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36408 (rtld_installed_name): Likewise.
36409 (run_program_prefix): New variable. Use it to run wordexp-test.
36411 * Makeconfig (ARCH): Remove all definitions.
36412 (machine): Likewise.
36413 [ARCH]: Remove conditional code.
36414 [!objdir]: Give error.
36415 [!objdir] (objpfx): Remove.
36416 [!objdir] (common-objpfx): Likewise.
36417 [!objdir] (common-objdir): Likewise.
36418 * configure.in (config_makefile): Remove. Hardcode Makefile in
36419 AC_CONFIG_FILES call.
36420 * configure: Regenerated.
36423 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36425 (testout): Likewise.
36427 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36428 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36429 $(rtld-installed-name).
36430 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36431 (rtld_installed_name): Likwise.
36432 (runit): Remove function.
36433 (run_getconf): New variable, Use it for running getconf binary.
36435 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36438 * string/test-memmem.c (check_result): New function.
36439 (do_one_test): Use it.
36440 (check1): New function.
36441 (test_main): Use it.
36443 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36445 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36447 2012-10-18 Joseph Myers <joseph@codesourcery.com>
36449 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36450 (_G_LSEEK64): Likewise.
36451 (_G_MMAP64): Likewise.
36452 (_G_FSTAT64): Likewise.
36453 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36454 (_G_LSEEK64): Likewise.
36455 (_G_MMAP64): Likewise.
36456 (_G_FSTAT64): Likewise.
36457 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36458 unconditional. Call __mmap64 directly.
36459 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36460 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36461 __lseek64 directly.
36462 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36463 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36465 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36466 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36467 __lseek64 directly.
36468 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36469 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36470 __lseek64 directly.
36471 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36472 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36473 __lseek64 directly.
36474 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36475 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36476 __fxstat64 directly.
36477 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36478 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36480 (freopen64) [!_G_OPEN64]: Remove conditional code.
36481 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36483 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36484 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36486 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36487 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36489 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36490 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36492 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36493 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36495 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36496 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36498 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36499 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36501 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36503 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36506 * manual/memory.texi (Malloc Tunable Parameters): Add note
36507 about free list pointers overwriting some perturb bytes.
36508 Wording suggested by Roland McGrath.
36510 2012-10-17 Joseph Myers <joseph@codesourcery.com>
36512 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36513 (lgamma_test): Likewise.
36514 (tgamma_test): Likewise.
36516 2012-10-16 Florian Weimer <fweimer@redhat.com>
36519 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36520 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36522 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36524 * NEWS: Mention BZ #14716.
36525 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36526 when removing AVAILABLE1_USES_J macro.
36528 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36530 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36531 (__bswap_64): __uint64_t for unsigned 64-bit int.
36533 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36535 * include/string.h (memmem): Declare libc hidden alias.
36536 * string/memmem.c (memmem): Define libc hidden alias.
36537 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36538 __read, __close instead of open, read, close.
36540 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36543 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36545 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36546 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36547 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36549 (__rawmemchr_sse2): Likewise.
36550 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36551 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36552 (__strchr_sse2): Likewise.
36553 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36554 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36555 (__strcasecmp_sse2): Likewise.
36556 (__strncasecmp_sse2): Likewise.
36557 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36558 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36559 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36560 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36561 (__strrchr_sse2): Likewise.
36562 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36564 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36565 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36566 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36567 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36568 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36569 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36570 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36571 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36572 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36573 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36574 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36575 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36576 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36577 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36578 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36579 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36580 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36581 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36582 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36583 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36584 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36585 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36586 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36587 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36588 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36589 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36590 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36591 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36592 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36593 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36595 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36597 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36598 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36599 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36600 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36602 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36604 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36605 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36606 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36607 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36609 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36610 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36611 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36612 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36613 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36614 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36615 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36616 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36617 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36618 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36619 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36620 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36621 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36622 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36623 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36624 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36625 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36626 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36627 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36628 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36629 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36630 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36631 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36632 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36633 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36634 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36635 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36636 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36637 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36638 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36639 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36640 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36641 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36642 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36643 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36644 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36645 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36646 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36647 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36648 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36649 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36651 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36652 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36653 * include/ifunc-impl-list.h: New file.
36654 * misc/ifunc-impl-list.c: Likewise.
36655 * misc/Makefile (routines): Add ifunc-impl-list.
36656 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36657 * string/test-string.h: Include <ifunc-impl-list.h>.
36658 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36659 TEST_NAME]: New variables.
36660 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36662 (test_init): Call __libc_ifunc_impl_list to initialize
36663 func_list if TEST_IFUNC and TEST_NAME are defined.
36665 * string/Makefile (strop-tests): Add bcopy and bzero.
36666 * string/test-bcopy.c: New file.
36667 * string/test-bzero.c: Likewise.
36668 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36670 * string/test-memset.c: Support bzero test if TEST_BZERO is
36672 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36674 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36676 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36679 2012-10-10 Joseph Myers <joseph@codesourcery.com>
36681 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36682 * configure: Regenerated.
36684 * Makeconfig (+link-static-before-libc): Don't include
36685 $(link-static-libc).
36687 * libio/libio.h (_IO_pos_t): Remove.
36689 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36691 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36694 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36696 * crypt/crypt-entry.c: Include fips-private.h.
36697 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36698 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36699 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36700 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36702 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36704 * crypt/crypt-private.h: Include stdbool.h.
36705 (_ufc_setup_salt_r): Return bool.
36706 * crypt/crypt-entry.c: Include errno.h.
36707 (__crypt_r): Return NULL with EINVAL for bad salt.
36708 * crypt/crypt_util.c (bad_for_salt): New.
36709 (_ufc_setup_salt_r): Check that salt is long enough and within
36710 the specified alphabet.
36711 * crypt/badsalttest.c: New file.
36712 * crypt/Makefile (tests): Add it.
36713 ($(objpfx)badsalttest): New.
36715 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36717 * NEWS: Add entry for BZ #14602.
36719 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36721 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36723 * math/libm-test.inc: Update comment listing what functions and
36725 (isgreater_test): New function.
36726 (isgreaterequal_test): Likewise.
36727 (isless_test): Likewise.
36728 (islessequal_test): Likewise.
36729 (islessgreater_test): Likewise.
36730 (isunordered_test): Likewise.
36731 (main): Call the new functions.
36733 2012-10-09 Roland McGrath <roland@hack.frob.com>
36735 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36736 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36737 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36738 * sysdeps/i386/configure: Regenerated.
36739 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36740 * sysdeps/mach/configure: Regenerated.
36741 * sysdeps/mach/hurd/configure: Regenerated.
36742 * sysdeps/powerpc/configure: Regenerated.
36743 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36744 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36745 * sysdeps/s390/s390-32/configure: Regenerated.
36746 * sysdeps/s390/s390-64/configure: Regenerated.
36747 * sysdeps/sh/configure: Regenerated.
36748 * sysdeps/sparc/configure: Regenerated.
36749 * sysdeps/unix/sysv/linux/configure: Regenerated.
36750 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36751 * sysdeps/x86_64/configure: Regenerated.
36753 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36754 defined. Don't check if MAP is NULL.
36756 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36758 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36759 (_G_stat64): Likewise.
36760 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36761 (_G_stat64): Likewise.
36762 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36763 instead of struct _G_stat64.
36764 * libio/fileops.c (mmap_remap_check): Likewise.
36765 (decide_maybe_mmap): Likewise.
36766 (_IO_new_file_seekoff): Likewise.
36767 (_IO_file_stat): Likewise.
36768 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36770 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36771 instead of struct _G_stat64.
36772 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36774 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36777 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36779 (CHECK_EOL): New macro.
36780 (two_way_short_needle): Check beginning of haystack for EOL. Use
36782 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36783 Replace with CHECK_EOL.
36784 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36785 Replace with CHECK_EOL.
36787 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36789 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36791 * math/libm-test.inc: Update comment listing what functions and
36793 (finite_test): New function.
36794 (isinf_test): Likewise.
36795 (isnan_test): Likewise.
36796 (fpclassify_test): Test subnormal input.
36797 (isfinite_test): Likewise.
36798 (isnormal_test): Likewise.
36799 (main): Call the new functions.
36801 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36804 * Makerules (%.dynsym): Force C locale when running
36805 $(OBJDUMP) --dynamic-syms.
36807 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36809 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36812 2012-10-06 David S. Miller <davem@davemloft.net>
36814 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36815 upper 32-bits of the length value in %o2 since we use branch-on-register
36816 tests which consider the entire 64-bit register.
36818 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36820 * string/test-strstr.c (check2): Add a test for page boundary.
36822 2012-10-05 David S. Miller <davem@davemloft.net>
36824 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36825 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36827 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36829 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36830 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36831 and bzero when HWCAP_SPARC_CRYPTO is present.
36833 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36836 * string/test-strstr.c (check2): New function.
36837 (test_main): Call check2.
36839 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36841 * string/bug-strcasestr1.c (do_test): Moved to ...
36842 * string/test-strcasestr.c (check1): Here. New function.
36843 (do_one_test): Break out result checking code into ...
36844 (check_result): This. New function.
36845 (do_one_test): Call check_result.
36846 (test_main): Call check1.
36847 * string/bug-strchr1.c (do_test): Moved to ...
36848 * string/test-strchr.c (check1): Here. New function.
36849 (do_one_test): Break out result checking code into ...
36850 (check_result): This. New function.
36851 (do_one_test): Call check_result.
36852 (test_main): Call check1.
36853 * string/bug-strstr1.c (main): Moved to ...
36854 * string/test-strstr.c (check1): Here. New function.
36855 (do_one_test): Break out result checking code into ...
36856 (check_result): This. New function.
36857 (do_one_test): Call check_result.
36858 (test_main): Call check1.
36859 * string/bug-strcasestr1.c: Removed.
36860 * string/bug-strchr1.c: Likewise.
36861 * string/bug-strstr1.c: Likewise.
36863 * elf/Makefile (dl-routines): Add hwcaps.
36864 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36865 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36866 (_dl_important_hwcaps): Moved to ...
36867 * elf/dl-hwcaps.c: Here. New file.
36868 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36871 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36872 if IS_IN_rtld isn't defined.
36874 * elf/dl-support.c (_dl_sysinfo_map): New.
36875 Include "get-dynamic-info.h" and "setup-vdso.h".
36876 (_dl_non_dynamic_init): Call setup_vdso.
36877 * elf/dynamic-link.h: Don't include <assert.h>.
36878 (elf_get_dynamic_info): Moved to ...
36879 * elf/get-dynamic-info.h: Here. New file.
36880 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36881 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36882 * elf/setup-vdso.h: Here. New file.
36883 * elf/rtld.c: Include "setup-vdso.h".
36884 (dl_main): Call setup_vdso.
36886 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36888 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36889 creal in comment listing functions tested. List finite, isinf,
36890 isnan, isless, islessequal, isgreater, isgreaterequal,
36891 islessgreater, isunordered, lgamma_r and pow10 as functions and
36892 macros not tested. Mention which functions not tested are aliases
36893 for other functions. Fix typo. Note that signs of NaNs are not
36896 * scripts/config.guess: Update from config.git.
36897 * scripts/config.sub: Likewise.
36899 2012-10-04 Roland McGrath <roland@hack.frob.com>
36901 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36902 * misc/madvise.c (madvise): Renamed to __madvise.
36903 Make madvise a weak alias.
36904 * include/sys/mman.h: Declare __madvise.
36905 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36906 * sysdeps/unix/syscalls.list
36907 (madvise): Make __madvise the strong name, and madvise a weak alias.
36908 * sysdeps/unix/sysv/linux/syscalls.list
36909 (madvise, mmap): Remove redundant entries.
36910 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36911 * malloc/malloc.c (mtrim): Likewise.
36912 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36914 2012-10-03 Roland McGrath <roland@hack.frob.com>
36916 * sysdeps/mach/hurd/dl-cache.c: File removed.
36917 * config.h.in (USE_LDCONFIG): New #undef.
36918 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36919 * configure: Regenerated.
36920 * elf/Makefile (dl-routines): Add dl-cache only under
36921 [$(use-ldconfig) = yes].
36922 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36923 cache on [USE_LDCONFIG].
36924 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36926 * elf/rtld.c (dl_main): Likewise.
36928 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36930 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36931 _SC_LEVEL4_CACHE_LINESIZE.
36933 2012-10-03 Roland McGrath <roland@hack.frob.com>
36935 * sysdeps/unix/bsd/confstr.h: File removed.
36937 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36939 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36942 2012-10-02 Roland McGrath <roland@hack.frob.com>
36944 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36945 Make 'mapoff' field ElfW(Off) rather than off_t.
36947 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36949 * nscd/Makefile: Remove nscd-cflags and all its users.
36950 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36951 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36954 * malloc.c (malloc_printerr): Clarify error message.
36956 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36960 Set bit_FMA_Usable if FMA is supported.
36961 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36963 (bit_FMA4_Usable): Updated.
36964 (index_FMA_Usable): New macro.
36965 (CPUID_FMA): Likewise
36966 (HAS_FMA): Defined with bit_FMA_Usable.
36968 2012-10-01 Roland McGrath <roland@hack.frob.com>
36970 * bits/types.h (__swblk_t): Type removed.
36971 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36972 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36974 (__SWBLK_T_TYPE): Likewise.
36975 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36976 (__SWBLK_T_TYPE): Likewise.
36977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36978 (__SWBLK_T_TYPE): Likewise.
36979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36980 (__SWBLK_T_TYPE): Likewise.
36982 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36983 Honza Horak <hhorak@redhat.com>
36985 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36986 (xdr_mapname): Use YPMAXMAP as maxsize.
36987 (xdr_peername): Use YPMAXPEER as maxsize.
36988 (xdr_keydat): Use YPAXRECORD as maxsize.
36989 (xdr_valdat): Use YPMAXRECORD as maxsize.
36991 2012-10-01 Roland McGrath <roland@hack.frob.com>
36993 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36995 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36996 * csu/init-first.c: ... here.
36997 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36998 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36999 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37000 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37001 * sysdeps/i386/init-first.c: File removed.
37002 * sysdeps/sh/init-first.c: File removed.
37004 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37008 if x * y might underflow to zero and z is zero.
37009 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37011 * math/libm-test.inc (min_subnorm_value): New variable.
37012 (fma_test): Add more tests.
37013 (fma_test_towardzero): Likewise.
37014 (fma_test_downward): Likewise
37015 (fma_test_upward): Likewise.
37016 (initialize): Set min_subnorm_value.
37018 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37023 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37024 mode for addition resulting in exact zero.
37025 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37028 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37029 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37030 * math/libm-test.inc (fma_test): Add more tests.
37031 (fma_test_towardzero): New function.
37032 (fma_test_downward): Likewise.
37033 (fma_test_upward): Likewise.
37034 (main): Call the new functions.
37036 2012-09-28 David S. Miller <davem@davemloft.net>
37038 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37040 2012-09-28 Roland McGrath <roland@hack.frob.com>
37042 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37043 instead of SIGALRM.
37045 * sysdeps/gnu/_G_config.h: Moved to ...
37046 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37047 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37048 * sysdeps/generic/_G_config.h: ... here.
37050 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37052 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37054 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37055 Conditionalize target on [libnss_test1.so-version].
37057 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37059 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37060 (elfobjdir): Move out of conditionals.
37062 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37063 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37064 (__nss_lookup_function): Conditionalize label remove_from_tree on
37065 [!DO_STATIC_NSS || SHARED], matching its only use.
37067 2012-09-28 David S. Miller <davem@davemloft.net>
37069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37070 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37072 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37074 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37076 when HWCAP_SPARC_CRYPTO is present.
37078 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37080 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37082 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37085 * stdio-common/vfprintf.c (process_string_arg): Revert
37088 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37090 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37092 * stdio-common/tst-sprintf.c: Include <locale.h>
37093 (main): Test sprintf's handling of incomplete multibyte
37096 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37098 * elf/dl-runtime.c (VERSYMIDX): Removed.
37099 * elf/dl-version.c (VERSYMIDX): Likewise.
37100 * elf/do-rel.h (VERSYMIDX): Likewise.
37101 (VALIDX): Likewise.
37102 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37103 * elf/rtld.c (VALIDX): Likewise.
37104 (ADDRIDX): Likewise.
37105 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37106 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37107 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37108 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37109 (VALIDX): Likewise.
37110 (ADDRIDX): Likewise.
37112 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37114 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37116 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37119 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37121 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37122 addresses are in the same scope as 192.0.2/24.
37123 * posix/gai.conf: Document new scope table defaults.
37125 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37128 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37129 for ftell. Compute offsets from write pointers instead.
37130 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37132 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37135 * libio/Makefile (tests): New test case tst-fseek.
37136 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37137 combination works in wide mode.
37138 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37139 state when the external buffer state changes.
37141 2012-09-27 David S. Miller <davem@davemloft.net>
37144 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37145 pass reloc->r_addend in as the 'high' argument to
37146 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37150 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37152 * rt/tst-aio2.c: Include <pthread.h>.
37153 * rt/tst-aio3.c: Likewise.
37155 2012-09-27 Steve Ellcey <sellcey@mips.com>
37157 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37159 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37161 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37162 contents on [SHARED].
37164 2012-09-26 Marek Polacek <polacek@redhat.com>
37168 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37169 for C++ and GCC <4.3 as well as for non GCC compilers.
37171 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37175 2012-09-25 Roland McGrath <roland@hack.frob.com>
37177 * Makefile.in (all, install): Declare with .PHONY.
37178 Reported by Michael Hope <michael.hope@linaro.org>.
37180 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37182 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37183 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37185 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37187 (sydep_routines): Add the new and the internal functions.
37188 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37189 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37191 (GLIBC_2.17): Add the new function.
37192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37193 (GLIBC_2.17): Likewise.
37194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37195 (GLIBC_2.17): Likewise.
37196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37197 (GLIBC_2.17): Likewise.
37198 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37200 2012-09-25 Alan Modra <amodra@gmail.com>
37202 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37203 Add release barrier before setting once_control to say
37204 initialisation is done. Add hints on lwarx. Use macro in
37206 (clear_once_control): Add release barrier.
37208 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37211 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37213 * math/s_clog10.c (__clog10): Likewise.
37214 * math/s_clog10f.c (__clog10f): Likewise.
37215 * math/s_clog10l.c (__clog10l): Likewise.
37216 * math/s_clogf.c (__clogf): Likewise.
37217 * math/s_clogl.c (__clogl): Likewise.
37218 * math/Makefile (libm-calls): Add x2y2m1.
37219 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37220 (__x2y2m1): Likewise.
37221 (__x2y2m1l): Likewise.
37222 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37223 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37224 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37225 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37226 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37227 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37228 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37229 * sysdeps/i386/fpu/libm-test-ulps: Update.
37230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37233 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37234 int as type of variable DEPTH.
37235 (glob): Use size_t instead of int as type of variables NEWCOUNT
37238 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37240 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37241 Add s_sincosf-sse2.
37242 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37243 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37244 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37245 macros for using routine as __sincosf_ia32.
37246 Use macro for function declaration and weak_alias.
37247 * sysdeps/i386/fpu/libm-test-ulps: Update.
37249 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37252 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37253 subnormal argument.
37254 * math/s_cexpf.c (__cexpf): Likewise.
37255 * math/s_csinf.c (__csinf): Likewise.
37256 * math/s_csinhf.c (__csinhf): Likewise.
37257 * math/s_ctanf.c (__ctanf): Likewise.
37258 * math/s_ctanhf.c (__ctanhf): Likewise.
37259 * math/s_ccosh.c (__ccoshf): Likewise.
37260 * math/s_cexp.c (__cexpl): Likewise.
37261 * math/s_csin.c (__csin): Likewise.
37262 * math/s_csinh.c (__csinh): Likewise.
37263 * math/s_ctan.c (__ctan): Likewise.
37264 * math/s_ctanh.c (ctanh): Likewise.
37265 * math/s_ccoshl.c (__ccoshl): Likewise.
37266 * math/s_cexpl.c (__cexpl): Likewise.
37267 * math/s_csinl.c (__csinl): Likewise.
37268 * math/s_csinhl.c (__csinhl): Likewise.
37269 * math/s_ctanl.c (__ctanl): Likewise.
37270 * math/s_ctanhl.c (__ctanhl): Likewise.
37272 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37274 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37275 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37276 (_IO_off_t): Define to __off_t, not _G_off_t.
37277 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37278 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37279 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37280 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37281 type of __dummy and __dummy2 fields.
37282 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37283 (_G_ssize_t): Likewise.
37284 (_G_off_t): Likewise.
37285 (_G_pid_t): Likewise.
37286 (_G_uid_t): Likewise.
37287 (_G_wchar_t): Likewise.
37288 (_G_wint_t): Likewise.
37289 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37290 (_G_ssize_t): Likewise.
37291 (_G_off_t): Likewise.
37292 (_G_pid_t): Likewise.
37293 (_G_uid_t): Likewise.
37294 (_G_wchar_t): Likewise.
37295 (_G_wint_t): Likewise.
37296 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37297 (_G_ssize_t): Likewise.
37298 (_G_off_t): Likewise.
37299 (_G_pid_t): Likewise.
37300 (_G_uid_t): Likewise.
37301 (_G_wchar_t): Likewise.
37302 (_G_wint_t): Likewise.
37304 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37306 * malloc/arena.c: Include malloc-sysdep.h.
37307 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37308 is sufficient to shrink the heap or an unmap is needed.
37309 * sysdeps/generic/malloc-sysdep.h: New file. Define
37310 new function check_may_shrink_heap.
37311 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37312 new function check_may_shrink_heap.
37314 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37316 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37319 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37321 * catgets/test-gencat.sh: Add "set -e".
37322 * elf/tst-pathopt.sh: Likewise.
37323 * grp/tst_fgetgrent.sh: Likewise.
37324 * iconvdata/run-iconv-test.sh: Likewise.
37325 * intl/tst-gettext.sh: Likewise.
37326 * intl/tst-gettext2.sh: Likewise.
37327 * intl/tst-gettext4.sh: Likewise.
37328 * intl/tst-gettext6.sh: Likewise.
37329 * intl/tst-translit.sh: Likewise.
37330 * io/ftwtest-sh: Likewise.
37331 * libio/test-freopen.sh: Likewise.
37332 * malloc/tst-mtrace.sh: Likewise.
37333 * posix/globtest.sh: Likewise.
37334 * posix/tst-getconf.sh: Likewise.
37335 * posix/wordexp-tst.sh: Likewise.
37336 * stdio-common/tst-printf.sh: Likewise.
37337 * stdio-common/tst-unbputc.sh: Likewise.
37338 * stdlib/tst-fmtmsg.sh: Likewise.
37339 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37340 * catgets/Makefile: Do not specify -e option when running
37341 testsuite shell scripts.
37342 * elf/Makefile: Likewise.
37343 * grp/Makefile: Likewise.
37344 * iconvdata/Makefile: Likewise.
37345 * intl/Makefile: Likewise.
37346 * io/Makefile: Likewise.
37347 * libio/Makefile: Likewise.
37348 * malloc/Makefile: Likewise.
37349 * posix/Makefile: Likewise.
37350 * stdio-common/Makefile: Likewise.
37351 * stdlib/Makefile: Likewise.
37352 * sysdeps/x86_64/Makefile: Likewise.
37354 * io/ftwtest-sh: Add copyright header.
37355 * posix/globtest.sh: Likewise.
37356 * posix/tst-getconf.sh: Likewise.
37357 * posix/wordexp-tst.sh: Likewise.
37358 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37360 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37363 * Makeconfig (+link): Defined as $(+link-static) if
37364 $(build-shared) isn't yes.
37365 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37367 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37369 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37372 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37373 new chunk size with MALLOC_ALIGN_MASK.
37375 2012-09-24 Joseph Myers <joseph@codesourcery.com>
37378 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37380 (__printf_fphex): Determine rounding using get_rounding_mode and
37382 * stdio-common/tst-printf-round.c (struct hex_test): New
37384 (hex_tests): New variable.
37385 (test_hex_in_one_mode): New function.
37386 (do_test): Also run tests for hex float output.
37388 2012-09-21 Joseph Myers <joseph@codesourcery.com>
37390 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37391 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37392 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37393 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37394 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37395 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37396 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37397 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37399 2012-09-20 Joseph Myers <joseph@codesourcery.com>
37401 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37402 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37403 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37404 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37406 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37409 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37411 * elf/tst-rtld-load-self.sh: New test.
37412 * elf/Makefile: Run it.
37414 2012-09-18 Joseph Myers <joseph@codesourcery.com>
37416 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37417 (tst-writev-ENV): Remove.
37418 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37420 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37422 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37424 2012-09-17 Joseph Myers <joseph@codesourcery.com>
37426 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37428 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37430 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37431 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37432 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37435 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37438 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37439 * config.make.in (have-cpp-asm-debuginfo): Removed.
37440 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37441 * configure: Regenerated.
37443 2012-09-14 Joseph Myers <joseph@codesourcery.com>
37446 * stdio-common/printf_fp.c: Include <stdbool.h> and
37448 (___printf_fp): Determine rounding using get_rounding_mode and
37450 * stdio-common/tst-printf-round.c: New file.
37451 * stdio-common/Makefile (tests): Add tst-printf-round.
37452 (link-libm): New variable.
37453 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37455 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37458 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37459 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37461 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37464 2012-09-13 Joseph Myers <joseph@codesourcery.com>
37466 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37467 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37468 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37469 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37471 2012-09-12 Joseph Myers <joseph@codesourcery.com>
37474 * include/rounding-mode.h: New file.
37475 * sysdeps/generic/get-rounding-mode.h: Likewise.
37476 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37477 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37478 (MAX_VALUE): New macro.
37479 (MIN_VALUE): Likewise.
37480 (overflow_value): New function.
37481 (underflow_value): Likewise.
37482 (round_and_return): Use overflow_value and underflow_value to
37483 determine return values in overflow and underflow cases. Use
37484 round_away to determine rounding depending on rounding mode.
37485 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37486 determine return values in overflow and underflow cases.
37487 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37488 (struct test_results): New structure.
37489 (struct test): Use struct test_results to store expected results
37490 for all rounding modes.
37491 (TEST): Include expected results for all rounding modes.
37492 (test_in_one_mode): New function.
37493 (do_test): Use test_in_one_mode to compute and check results.
37494 Check results for all rounding modes.
37495 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37498 2012-12-09 Allan McRae <allan@archlinux.org>
37500 * sysdeps/i386/fpu/libm-test-ulps: Update
37502 2012-09-11 Joseph Myers <joseph@codesourcery.com>
37504 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37505 (_G_int32_t): Likewise.
37506 (_G_uint16_t): Likewise.
37507 (_G_uint32_t): Likewise.
37508 (_G_HAVE_BOOL): Likewise.
37509 (_G_HAVE_ATEXIT): Likewise.
37510 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37511 (_G_HAVE_IO_FILE_OPEN): Likewise.
37512 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37513 (_G_int32_t): Likewise.
37514 (_G_uint16_t): Likewise.
37515 (_G_uint32_t): Likewise.
37516 (_G_HAVE_BOOL): Likewise.
37517 (_G_HAVE_ATEXIT): Likewise.
37518 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37519 (_G_HAVE_IO_FILE_OPEN): Likewise.
37520 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37521 (_G_int32_t): Likewise.
37522 (_G_uint16_t): Likewise.
37523 (_G_uint32_t): Likewise.
37524 (_G_HAVE_BOOL): Likewise.
37525 (_G_HAVE_ATEXIT): Likewise.
37526 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37527 (_G_HAVE_IO_FILE_OPEN): Likewise.
37529 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37531 * csu/libc-tls.c: Update copyright years.
37533 2012-09-10 Joseph Myers <joseph@codesourcery.com>
37535 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37536 [!_G_USING_THUNKS]: Remove conditional code.
37537 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37538 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37540 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37541 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37542 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37543 (_G_VTABLE_LABEL_PREFIX): Likewise.
37544 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37545 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37546 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37547 (_G_VTABLE_LABEL_PREFIX): Likewise.
37548 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37549 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37550 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37551 (_G_VTABLE_LABEL_PREFIX): Likewise.
37552 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37554 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37556 * libio/Makefile: Include ../Makeconfig before tests.
37557 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37558 only if $(build-shared) is yes.
37560 * iconv/gconv_db.c: Update copyright years.
37562 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37564 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37565 unwind info if defined PIC. Fix special cases description.
37566 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37568 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37570 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37572 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37574 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37576 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37579 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37580 (LDLIBS-tst-chk4): This.
37581 (LDFLAGS-tst-chk5): Renamed to ...
37582 (LDLIBS-tst-chk5): This.
37583 (LDFLAGS-tst-chk6): Renamed to ...
37584 (LDLIBS-tst-chk6): This.
37585 (LDFLAGS-tst-lfschk4): Renamed to ...
37586 (LDLIBS-tst-lfschk4): This.
37587 (LDFLAGS-tst-lfschk5): Renamed to ...
37588 (LDLIBS-tst-lfschk5): This.
37589 (LDFLAGS-tst-lfschk6): Renamed to ...
37590 (LDLIBS-tst-lfschk6): This.
37592 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37593 on $(common-objpfx)soversions.mk.
37595 2012-09-07 Joseph Myers <joseph@codesourcery.com>
37598 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37601 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37603 * malloc/arena.c (arena_get_retry): New function that gets
37604 another arena for the caller to try its request on.
37605 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37606 current arena cannot fulfill the request.
37607 (__libc_memalign): Likewise.
37608 (__libc_memalign): Likewise.
37609 (__libc_pvalloc): Likewise.
37610 (__libc_calloc): Likewise.
37612 2012-09-05 John Tobey <john.tobey@gmail.com>
37615 * manual/arith.texi (Operations on Complex): Fix description
37616 of carg branch cut.
37618 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37621 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37625 * manual/memory.texi (Memory): Make order of menu items match
37628 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37630 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37631 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37632 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37634 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37636 * csu/libc-tls.c (static_dtv): Renamed to ...
37637 (_dl_static_dtv): This. Make it global.
37638 (_dl_initial_dtv): Removed.
37639 (__libc_setup_tls): Updated.
37640 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37641 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37644 2012-09-06 Petr Machata <pmachata@redhat.com>
37646 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37647 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37648 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37649 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37651 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37654 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37655 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37658 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37661 * Makeconfig (link-static-before-libc): Replace $(+prector)
37663 (link-static-after-libc): Replace $(+postctor) with
37665 (link-bounded): Replace $(+prector)/$(+postctor) with
37666 $(+prectorT)/$(+postctorT).
37667 (+prectorT): New macro.
37668 (+postctorT): Likewise.
37670 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37672 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37673 (round_str): Handle values above the maximum for IBM long double
37675 * stdlib/tst-strtod-round.c (tests): Regenerated.
37677 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37679 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37681 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37682 zarch_nohighgprs around the zarch optimized routines.
37683 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37684 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37685 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37688 2012-09-05 David S. Miller <davem@davemloft.net>
37690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37692 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37693 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37694 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37695 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37698 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37700 * malloc/arena.c: Fold copyright years.
37701 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37703 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37705 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37707 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37709 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37711 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37713 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37714 change internal state upon failure.
37716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37718 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37719 * malloc/memusage.c (mmap): Likewise.
37720 (mmap64, mremap): Likewise. Adjust name in comment.
37722 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37724 * libio/fileops.c: Fix typos in comments.
37725 * libio/oldfileops.c: Likewise.
37726 * libio/wfileops.c: Likewise.
37728 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37731 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37732 (tst-malloc-usable-ENV): Set environment for test case.
37733 * malloc/hooks.c (malloc_check_get_size): New function to get
37735 * malloc/malloc.c (musable): Use malloc_check_get_size.
37736 * malloc/tst-malloc-usable.c: New test case.
37738 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37740 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37742 2012-09-05 Allan McRae <allan@archlinux.org>
37745 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37746 determine header location.
37747 * configure: Regenerated.
37749 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37751 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37753 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37754 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37756 (test): Regenerate.
37758 2012-09-04 David S. Miller <davem@davemloft.net>
37760 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37761 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37762 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37764 2012-09-04 Florian Weimer <fweimer@redhat.com>
37766 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37769 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37771 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37774 * libio/iogetdelim.c: Include <limits.h>.
37775 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37776 + len + 1 would overflow.
37778 2012-09-03 Andreas Jaeger <aj@suse.de>
37780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37781 * sysdeps/i386/fpu/libm-test-ulps: Update.
37783 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37785 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37786 Add s_sinf-sse2, s_conf-sse2.
37788 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37789 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37790 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37791 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37793 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37794 for using routine as __sinf_ia32.
37795 Use macro for function declaration and weak_alias.
37796 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37797 for using routine as __cosf_ia32.
37798 Use macro for function declaration and weak_alias.
37800 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37801 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37803 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37804 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37807 * math/libm-test.inc (cos_test): Add more test cases.
37808 (sin_test): Likewise.
37809 (sincos_test): Likewise.
37811 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37813 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37814 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37816 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37818 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37821 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37822 first element of the GOT.
37823 (elf_machine_load_address): Return the difference between
37824 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37826 2012-09-01 Allan McRae <allan@archlinux.org>
37829 * configure.in (AWK): Require gawk version 3.0 or later.
37830 * configure: Regenerated.
37832 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37834 * sysdeps/unix/sysv/linux/kernel-features.h
37835 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37836 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37837 [__NR_clock_getres]: Make code unconditional.
37838 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37839 (clock_getcpuclockid): Remove code left unreachable by removal of
37841 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37842 code unconditional.
37843 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37844 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37845 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37846 Make code unconditional.
37847 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37848 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37849 * sysdeps/unix/sysv/linux/clock_settime.c
37850 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37852 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37853 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37855 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37858 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37859 scripts/test-installation.pl.
37861 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37862 and $ld_so_version if it is set.
37864 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37867 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37868 failure if reading from procfs failed.
37869 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37871 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37873 * sysdeps/unix/sysv/linux/kernel-features.h
37874 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37875 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37876 Remove conditional code.
37877 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37878 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37879 Remove conditional code.
37880 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37881 * sysdeps/unix/sysv/linux/i386/fxstat.c
37882 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37883 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37884 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37885 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37886 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37887 * sysdeps/unix/sysv/linux/i386/lxstat.c
37888 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37889 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37890 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37891 Remove conditional code.
37892 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37893 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37894 Remove conditional code.
37895 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37896 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37897 <kernel-features.h>.
37898 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37900 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37901 Remove conditional code.
37902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37903 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37904 Remove conditional.
37906 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37909 * NEWS: Add fixed bug number.
37911 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37914 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37915 underflowing exponent in case of negative sign.
37916 * stdlib/tst-strtod-round-data: Add more tests.
37917 * stdlib/tst-strtod-round.c (tests): Regenerated.
37920 * stdlib/strtod_l.c (NDIG): Remove.
37921 (HEXNDIG): Likewise.
37922 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37923 smallest representable value.
37924 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37925 lie within an exact representation of 1/2 ulp of the result.
37926 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37928 (TENS_P9_IDX): Define unconditionally.
37929 (TENS_P9_SIZE): Likewise.
37930 (TENS_P10_IDX): Likewise.
37931 (TENS_P10_SIZE): Likewise.
37932 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37933 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37934 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37935 entries for 10^2^13 and 10^2^14.
37936 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37937 (TENS_P13_IDX): Define.
37938 (TENS_P13_SIZE): Likewise.
37939 (TENS_P14_IDX): Likewise.
37940 (TENS_P14_SIZE): Likewise.
37941 (_fpioconst_pow10): Change array size to
37942 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37944 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37945 1024]: Add entries for 10^2^13 and 10^2^14.
37946 [LAST_POW10 > _LAST_POW10]: Remove #error.
37947 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37948 (_fpioconst_pow10): Change array size to
37949 FPIOCONST_POW10_ARRAY_SIZE.
37950 * stdlib/gen-fpioconst.c: New file.
37951 * stdlib/gen-tst-strtod-round.c: Likewise.
37952 * stdlib/tst-strtod-round-data: Likewise.
37953 * stdlib/tst-strtod-round.c: Likewise.
37954 * stdlib/Makefile (tests): Add tst-strtod-round.
37957 * stdlib/strtod_l.c: Include <stdint.h>.
37958 (NDEBUG): Do not define.
37959 (round_and_return): Change EXPONENT parameter to type intmax_t.
37960 Rearrange calculations to avoid internal overflow possibilities.
37961 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37962 Rearrange calculations to avoid internal overflow possibilities.
37963 Assert that number fits inside MPNSIZE limbs.
37964 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37965 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37966 calculations and add assertions to avoid internal overflow
37967 possibilities. Add casts to avoid signed/unsigned operations.
37968 * stdlib/tst-strtod-overflow.c: New file.
37969 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37971 2012-08-25 Marek Polacek <polacek@redhat.com>
37973 * time/time.h: Fix some typos in comments.
37975 2012-08-23 Roland McGrath <roland@hack.frob.com>
37977 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37978 * posix/tst-rfc3484-2.c: Likewise.
37979 * posix/tst-rfc3484-3.c: Likewise.
37981 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37983 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37984 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37986 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37988 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37989 #include of fxstatat64.c.
37991 2012-08-22 Roland McGrath <roland@hack.frob.com>
37993 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37994 * shadow/getspent_r.c: Likewise.
37995 * shadow/getspnam.c: Likewise.
37996 * shadow/getspnam_r.c: Likewise.
37997 * gshadow/getsgent.c: Likewise.
37998 * gshadow/getsgent_r.c: Likewise.
37999 * gshadow/getsgnam.c: Likewise.
38000 * gshadow/getsgnam_r.c: Likewise.
38001 * inet/getnetbyad.c: Likewise.
38002 * inet/getnetbyad_r.c: Likewise.
38003 * inet/getnetbynm.c: Likewise.
38004 * inet/getnetbynm_r.c: Likewise.
38005 * inet/getnetent.c: Likewise.
38006 * inet/getnetent_r.c: Likewise.
38007 * inet/getproto.c: Likewise.
38008 * inet/getproto_r.c: Likewise.
38009 * inet/getprtent.c: Likewise.
38010 * inet/getprtent_r.c: Likewise.
38011 * inet/getprtname.c: Likewise.
38012 * inet/getprtname_r.c: Likewise.
38013 * inet/getrpcbyname.c: Likewise.
38014 * inet/getrpcbyname_r.c: Likewise.
38015 * inet/getrpcbynumber.c: Likewise.
38016 * inet/getrpcbynumber_r.c: Likewise.
38017 * inet/getrpcent.c: Likewise.
38018 * inet/getrpcent_r.c: Likewise.
38019 * inet/getaliasent.c: Likewise.
38020 * inet/getaliasent_r.c: Likewise.
38021 * inet/getaliasname.c: Likewise.
38022 * inet/getaliasname_r.c: Likewise.
38023 * nscd/getgrgid_r.c: Likewise.
38024 * nscd/getgrnam_r.c: Likewise.
38025 * nscd/gethstbyad_r.c: Likewise.
38026 * nscd/gethstbynm3_r.c: Likewise.
38027 * nscd/getpwnam_r.c: Likewise.
38028 * nscd/getpwuid_r.c: Likewise.
38029 * nscd/getsrvbynm_r.c: Likewise.
38030 * nscd/getsrvbypt_r.c: Likewise.
38031 * nscd/gai.c: Likewise.
38033 * configure.in (build_nscd): New substituted variable, set
38034 by --disable-build-nscd and defaults to $use_nscd.
38035 * configure: Regenerated.
38036 * config.make.in (build-nscd): New substituted variable.
38037 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38038 Change conditional to require [$(build-nscd) = yes] as well.
38039 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38042 * configure.in (use_nscd): New substituted variable, set by
38043 --disable-nscd. If enabled, define USE_NSCD.
38044 * configure: Regenerated.
38045 * config.h.in: Add USE_NSCD.
38046 * config.make.in (use-nscd): New substituted variable.
38047 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38048 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38049 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38050 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38051 (CFLAGS-getgrnam_r.c): Likewise.
38052 (CFLAGS-initgroups.c): Likewise.
38053 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38054 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38056 * inet/getnetgrent_r.c
38057 (nscd_setnetgrent): New function, broken out of ...
38058 (setnetgrent): ... here. Call it.
38059 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38060 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38061 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38062 * nscd/Makefile (routines, aux): Move definitions after include of
38063 Makeconfig. Conditionalize on [$(use-nscd) != no].
38064 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38065 Conditionalize on [USE_NSCD].
38066 (is_nscd, nscd_init_cb): Likewise.
38067 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38068 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38069 * nss/nss_db/db-init.c: Likewise.
38070 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38072 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38073 (make_request): Use it.
38074 (cache_valid_p): New function.
38075 (__check_pf): Use it.
38076 * NEWS: Add item for --disable-nscd.
38078 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38080 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38081 to support sed >= 4.2.1-20-ga9bf076.
38082 * configure: Regenerated.
38084 2012-08-22 Roland McGrath <roland@hack.frob.com>
38086 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38087 Conditionalize whole body on [IREL].
38089 2012-08-22 Jeff Law <law@redhat.com>
38092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38093 if the family is PF_UNSPEC.
38095 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38097 * Makerules (lib-version): Rename from V.
38098 (install-lib-nosubdir): Change V to lib-version.
38100 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38103 * powerpc32/power6/wcschr.c: New file.
38104 * powerpc32/power6/wcscpy.c: New file.
38105 * powerpc32/power6/wcsrchr.c: New file.
38106 * powerpc64/power6/wcschr.c: New file.
38107 * powerpc64/power6/wcscpy.c: New file.
38108 * powerpc64/power6/wcsrchr.c: New file.
38110 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38112 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38113 (two_way_short_needle): Use it.
38114 * string/strstr.c (AVAILABLE1_USES_J): Define.
38115 * string/strcasestr.c: Likewise.
38117 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38119 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38122 * NEWS: Add an entry.
38123 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38124 define their defaults.
38125 (two_way_short_needle): Detect end-of-string on-the-fly.
38126 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38127 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38128 * string/bug-strcasestr1.c: New test.
38129 * string/Makefile: Run it.
38131 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38134 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38135 the first character.
38137 2012-08-21 Roland McGrath <roland@hack.frob.com>
38139 * csu/elf-init.c (__libc_csu_irel): Function removed.
38140 * csu/libc-start.c (apply_irel): New function.
38141 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38143 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38145 * sysdeps/unix/sysv/linux/kernel-features.h
38146 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38147 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38148 <kernel-features.h>.
38149 [__NR_fadvise64_64]: Make code unconditional.
38150 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38151 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38152 !__NR_fadvise64_64)]: Likewise.
38153 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38154 !__NR_fadvise64_64))]: Likewise.
38155 [__NR_fadvise64]: Make code unconditional.
38156 [!__NR_fadvise64]: Remove conditional code.
38157 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38158 <kernel-features.h>.
38159 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38161 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38164 not include <kernel-features.h>.
38165 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38167 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38169 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38170 include <kernel-features.h>.
38171 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38173 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38176 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38179 slight instruction rearrangements per scrollpipe analysis.
38180 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38182 2012-08-20 Roland McGrath <roland@hack.frob.com>
38184 * manual/syslog.texi (syslog; vsyslog, closelog):
38185 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38186 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38188 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38189 DSOCAPS to match condition on defining it.
38191 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38193 * sysdeps/unix/sysv/linux/kernel-features.h
38194 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38196 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38197 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38199 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38200 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38202 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38203 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38205 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38206 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38208 * sysdeps/unix/sysv/linux/kernel-features.h
38209 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38210 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38212 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38213 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38214 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38215 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38216 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38217 Make code unconditional.
38218 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38219 (__mmap64) [!__NR_mmap2]: Likewise.
38220 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38221 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38222 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38223 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38224 [__NR_mmap2]: Make code unconditional.
38225 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38226 (__mmap64) [!__NR_mmap2]: Likewise.
38228 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38230 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38232 2012-08-18 Andreas Jaeger <aj@suse.de>
38234 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38236 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38238 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38239 * include/unistd.h (__have_sock_cloexec): Likewise.
38240 (__have_pipe2): Likewise.
38241 (__have_dup3): Likewise.
38243 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38246 * include/unistd.h (__have_pipe2): Change define into an extern int.
38247 (__have_dup3): Likewise.
38248 * socket/have_sock_cloexec.c: Include fcntl.h.
38249 (__have_pipe2): New variable.
38250 (__have_dup3): Likewise.
38252 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38254 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38256 2012-08-17 Marek Polacek <polacek@redhat.com>
38258 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38259 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38261 2012-08-17 Roland McGrath <roland@hack.frob.com>
38263 * configure.in: Add AC_SUBST for sysheaders.
38264 * configure: Regenerated.
38265 * config.make.in (sysheaders): New substituted variable.
38267 * sysdeps/unix/mkfifo.c: Moved ...
38268 * sysdeps/posix/mkfifo.c: ... here.
38269 * sysdeps/unix/mkfifoat.c: Moved ...
38270 * sysdeps/posix/mkfifoat.c: ... here.
38272 * sysdeps/unix/utime.c: Moved ...
38273 * sysdeps/posix/utime.c: ... here.
38275 * sysdeps/unix/time.c: Moved ...
38276 * sysdeps/posix/time.c: ... here.
38277 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38278 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38280 * sysdeps/unix/nice.c: Moved ...
38281 * sysdeps/posix/nice.c: ... here.
38283 * sysdeps/unix/alarm.c: Moved ...
38284 * sysdeps/posix/alarm.c: ... here.
38286 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38288 2012-08-17 Jeff Law <law@redhat.com>
38290 * intl/Makefile (codeset_mo): New variable.
38291 ($(codeset_mo)): New target.
38292 (tst-codeset.out): Depend on that. Remove explicit rule.
38293 (tst-gettext3.out, tst-gettext5.out): Likewise.
38294 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38295 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38296 * intl/tst-codeset.sh: Remove.
38297 * intl/tst-gettext3.sh: Likewise.
38298 * intl/tst-gettext5.sh: Likewise.
38300 2012-08-17 Roland McGrath <roland@hack.frob.com>
38302 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38303 * sysdeps/unix/syscalls.list: ... here.
38305 * sysdeps/posix/getaddrinfo.c
38306 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38307 (gaiconf_init, gaiconf_reload): Use them.
38308 [!_STATBUF_ST_NSEC]
38309 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38310 Define using time_t rather than struct timespec.
38312 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38313 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38315 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38317 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38318 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38321 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38322 __libc_cleanup_push argument.
38324 * bits/param.h: New file.
38325 * misc/sys/param.h: New file.
38326 * include/sys/param.h: New file.
38327 * misc/Makefile (headers): Add bits/param.h.
38328 * sysdeps/generic/sys/param.h: File removed.
38329 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38330 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38331 * sysdeps/mach/hurd/bits/param.h: New file.
38332 * sysdeps/mach/hurd/sys/param.h: File removed.
38334 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38337 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38339 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38340 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38343 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38344 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38345 rather than -D_IO_MTSAFE_IO conditionally.
38346 * stdio-common/Makefile (CPPFLAGS): Likewise.
38347 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38348 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38349 Use $(libio-mtsafe).
38350 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38351 of -D_IO_MTSAFE_IO.
38352 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38353 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38354 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38355 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38356 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38357 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38358 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38359 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38360 (CFLAGS-fread_u_chk.c): Likewise.
38361 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38362 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38363 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38364 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38365 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38366 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38367 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38368 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38369 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38371 * libio/Makefile: Test [$(libc-reentrant) = yes]
38372 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38375 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38376 * sysdeps/pthread/configure: File removed.
38377 * sysdeps/pthread/Makeconfig: New file.
38378 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38379 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38381 2012-08-16 Gary Benson <gbenson@redhat.com>
38383 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38384 unmapping the first object in a namespace.
38386 2012-08-16 Roland McGrath <roland@hack.frob.com>
38388 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38389 (__internal_setnetgrent): ... this. Add internal_function to
38390 definition. Add libc_hidden_def.
38391 (setnetgrent): Update caller.
38392 (internal_endnetgrent): Renamed to ...
38393 (__internal_endnetgrent): ... this. Add internal_function to
38394 definition. Add libc_hidden_def.
38395 (endnetgrent): Update caller.
38396 (internal_getnetgrent_r): Renamed to ...
38397 (__internal_getnetgrent_r): ... this. Add internal_function to
38398 definition. Add libc_hidden_def.
38399 (__getnetgrent_r): Update caller.
38400 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38402 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38404 * stdlib/longlong.h: Update from GCC.
38406 2012-08-16 Roland McGrath <roland@hack.frob.com>
38408 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38409 on _QL, which is set by umul_ppmm but never used.
38410 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38411 variables, which are set by GMP macros but never used.
38412 * stdio-common/_itowa.c (_itowa): Likewise.
38413 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38414 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38416 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38418 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38419 struct La_sh_regs is not constant.
38420 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38421 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38422 and struct La_sparc64_regs are not constant.
38424 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38426 * sysdeps/unix/sysv/linux/kernel-features.h
38427 (__ASSUME_POSIX_TIMERS): Remove.
38428 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38429 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38430 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38431 Make code unconditional.
38432 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38433 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38434 Make code unconditional.
38435 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38436 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38437 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38438 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38439 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38440 Make code unconditional.
38441 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38442 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38443 (__libc_missing_posix_timers): Remove.
38445 2012-08-15 Roland McGrath <roland@hack.frob.com>
38447 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38448 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38450 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38452 * elf/dl-sym.c: Include <stdlib.h>.
38454 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38455 constants, which avoids warnings in 32-bit builds.
38457 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38458 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38460 * misc/lseek.c: File moved to ...
38461 * io/lseek.c: ... here.
38463 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38465 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38466 shifting LEN more than 31 bits at once.
38468 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38471 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38472 segmentation fault for a case of two empty input strings.
38473 * string/test-strncasecmp.c (check1): Renamed to...
38474 (bz12205): ...this.
38475 (bz14195): Add new testcase for two empty input strings and N > 0.
38476 (test_main): Call new testcase, adapt for renamed function.
38478 2012-08-15 Andreas Jaeger <aj@suse.de>
38481 * crypt/md5test2.c: New test, based on test supplied by Serge
38482 Belyshev <belyshev@depni.sinp.msu.ru>.
38483 * crypt/Makefile (xtests): Add md5test-giant..
38484 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38486 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38489 * crypt/md5.c (md5_process_block): Don't assume the buffer
38490 length is less than 2**32.
38491 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38492 length is less than 2**64.
38494 2012-08-15 Roland McGrath <roland@hack.frob.com>
38496 * string/str-two-way.h: Include <sys/param.h>.
38497 (MAX): Macro removed.
38499 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38500 Move #define and #undef of memmove to just before and after
38501 including <string.h>.
38503 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38504 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38505 and after including <string.h>. Move declarations of
38506 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38507 to before #include "string/memmove.c".
38509 * include/dirent.h: Declare __getdirentries.
38511 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38512 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38514 2012-08-14 Mike Frysinger <vapier@gentoo.org>
38516 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38517 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38518 * sysdeps/i386/configure: Regenerated.
38519 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38520 STABS_CURRENT_FILE, and STABS_FUN.
38521 (END): Remove call to STABS_FUN_END.
38522 (STABS_CURRENT_FILE1): Delete.
38523 (STABS_CURRENT_FILE): Likewise.
38524 (STABS_FUN): Likewise.
38525 (STABS_FUN_END): Likewise.
38526 (STABS_FUN2): Likewise.
38527 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38528 * sysdeps/x86_64/configure: Regenerated.
38530 2012-08-14 Roland McGrath <roland@hack.frob.com>
38532 * elf/dl-open.c: Include <atomic.h>.
38533 * elf/dl-lookup.c: Likewise.
38535 2012-08-14 Joseph Myers <joseph@codesourcery.com>
38537 * sysdeps/unix/sysv/linux/kernel-features.h
38538 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38539 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38541 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38543 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38544 condition on __ASSUME_CLONE_THREAD_FLAGS.
38546 2012-08-14 Andreas Jaeger <aj@suse.de>
38548 * sysdeps/i386/fpu/libm-test-ulps: Update.
38550 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38552 * include/atomic.h (atomic_exchange_and_add): Split into ...
38553 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38556 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38560 2012-08-13 Jeff Law <law@redhat.com>
38562 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38563 null byte in the output string.
38565 2012-08-10 Joseph Myers <joseph@codesourcery.com>
38567 * sysdeps/unix/sysv/linux/kernel-features.h
38568 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38569 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38570 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38571 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38572 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38573 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38574 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38576 2012-08-09 Jeff Law <law@redhat.com>
38579 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38580 When avoid_arena is set, don't retry in the that arena. Pick the
38581 next one, whatever it might be.
38582 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38583 (arena_lock): Pass in new parameter to arena_get2.
38584 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38586 (__libc_malloc): Unify retrying after main arena failure with
38587 __libc_memalign version.
38588 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38590 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38593 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38594 to __redirect_strstr.
38595 (__strstr_sse42): Use typeof __redirect_strstr.
38596 (__strstr_ia32): Likewise.
38597 (__libc_strstr): New prototype.
38598 (strstr): Renamed to ...
38599 (__libc_strstr): This.
38600 (strstr): New strong alias of __libc_strstr.
38601 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38602 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38605 (__libc_time): New prototype.
38606 (time_ifunc): Replace time with __libc_time.
38607 (time): New strong alias and hidden definition of __libc_time.
38608 (__GI_time): Remove strong alias.
38609 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38610 Include <stddef.h>.
38611 (memmove): Redefined to __redirect_memmove.
38612 (__memmove_sse2): Use typeof __redirect_memmove.
38613 (__memmove_ssse3): Likewise.
38614 (__memmove_ssse3_back): Likewise.
38615 (__libc_memmove): New prototype.
38616 (memmove): Renamed to ...
38617 (__libc_memmove): This.
38618 (memmove): New strong alias of __libc_memmove.
38620 2012-08-08 Mark Salter <msalter@redhat.com>
38623 (R_MN10300_TLS_GD): Define.
38624 (R_MN10300_TLS_LD): Likewise.
38625 (R_MN10300_TLS_LDO): Likewise.
38626 (R_MN10300_TLS_GOTIE): Likewise.
38627 (R_MN10300_TLS_IE): Likewise.
38628 (R_MN10300_TLS_LE): Likewise.
38629 (R_MN10300_TLS_DTPMOD): Likewise.
38630 (R_MN10300_TLS_DTPOFF): Likewise.
38631 (R_MN10300_TLS_TPOFF): Likewise.
38632 (R_MN10300_SYM_DIFF): Likewise.
38633 (R_MN10300_ALIGN): Likewise.
38634 (R_MN10300_NUM): Update.
38636 2012-08-08 Joseph Myers <joseph@codesourcery.com>
38638 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38641 2012-08-08 Roland McGrath <roland@hack.frob.com>
38643 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38645 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38646 sysdeps/unix -> sysdeps/posix move.
38647 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38649 2012-08-07 Allan McRae <allan@archlinux.org>
38652 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38653 (SUNOS_CPP): Likewise.
38654 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38656 (open_input): Call CPP using execvp.
38658 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38660 * sysdeps/unix/sysv/linux/kernel-features.h
38661 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38662 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38663 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38664 (__ASSUME_WAITID_SYSCALL): Likewise.
38665 * sysdeps/unix/sysv/linux/dl-execstack.c
38666 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38667 code unconditional.
38668 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38670 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38671 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38672 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38674 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38676 [__ASSUME_WAITID_SYSCALL]: Likewise.
38677 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38679 2012-08-07 Roland McGrath <roland@hack.frob.com>
38681 * sysdeps/unix/closedir.c: Renamed to ...
38682 * sysdeps/posix/closedir.c: ... here.
38683 * sysdeps/unix/dirfd.c: Renamed to ...
38684 * sysdeps/posix/dirfd.c: ... here.
38685 * sysdeps/unix/dirstream.h: Renamed to ...
38686 * sysdeps/posix/dirstream.h: ... here.
38687 * sysdeps/unix/fdopendir.c: Renamed to ...
38688 * sysdeps/posix/fdopendir.c: ... here.
38689 * sysdeps/unix/opendir.c: Renamed to ...
38690 * sysdeps/posix/opendir.c: ... here.
38691 * sysdeps/unix/readdir.c: Renamed to ...
38692 * sysdeps/posix/readdir.c: ... here.
38693 * sysdeps/unix/readdir_r.c: Renamed to ...
38694 * sysdeps/posix/readdir_r.c: ... here.
38695 * sysdeps/unix/rewinddir.c: Renamed to ...
38696 * sysdeps/posix/rewinddir.c: ... here.
38697 * sysdeps/unix/seekdir.c: Renamed to ...
38698 * sysdeps/posix/seekdir.c: ... here.
38699 * sysdeps/unix/telldir.c: Renamed to ...
38700 * sysdeps/posix/telldir.c: ... here.
38701 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38702 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38703 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38704 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38706 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38707 * bits/fcntl.h: ... here.
38709 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38711 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38712 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38713 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38714 (struct flock): Move l_start, l_len to the beginning.
38715 Use __pid_t for l_pid.
38716 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38717 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38718 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38719 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38720 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38721 [__USE_LARGEFILE64] (struct flock64): New type.
38722 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38724 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38725 * bits/dirent.h: ... here.
38727 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38728 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38730 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38732 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38733 Change from 2.6.0 to 2.6.16.
38734 * sysdeps/unix/sysv/linux/configure: Regenerated.
38735 * sysdeps/unix/sysv/linux/kernel-features.h
38736 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38737 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38739 (__ASSUME_UTIMES): Likewise.
38740 (__ASSUME_CLONE_STOPPED): Remove.
38741 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38742 architectures, not kernel version.
38743 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38744 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38745 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38746 (__ASSUME_WAITID_SYSCALL): Likewise.
38747 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38748 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38749 * README: State 2.6.16 as minimum Linux kernel version. Do not
38750 refer to older versions.
38752 2012-08-06 Roland McGrath <roland@hack.frob.com>
38754 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38755 Define alphasort64 as an alias.
38756 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38757 Define versionsort64 as an alias.
38758 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38759 Define scandir64 as an alias.
38760 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38761 Define scandirat64 as an alias.
38762 * dirent/alphasort64.c (alphasort64):
38763 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38764 * dirent/versionsort64.c: Likewise.
38765 * dirent/scandir64.c: Likewise.
38766 * dirent/scandirat64.c: Likewise.
38767 * sysdeps/wordsize-64/alphasort.c: File removed.
38768 * sysdeps/wordsize-64/alphasort64.c: File removed.
38769 * sysdeps/wordsize-64/scandir.c: File removed.
38770 * sysdeps/wordsize-64/scandir64.c: File removed.
38771 * sysdeps/wordsize-64/scandirat.c: File removed.
38772 * sysdeps/wordsize-64/scandirat64.c: File removed.
38773 * sysdeps/wordsize-64/versionsort.c: File removed.
38774 * sysdeps/wordsize-64/versionsort64.c: File removed.
38775 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38776 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38777 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38778 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38779 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38780 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38781 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38782 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38784 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38786 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38788 [defined __arch64__ || defined __sparcv9]
38789 (__INO_T_MATCHES_INO64_T): New macro.
38790 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38791 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38792 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38793 * sysdeps/unix/sysv/linux/bits/dirent.h
38794 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38795 (_DIRENT_MATCHES_DIRENT64): New macro.
38797 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38798 Define lockf64 as an alias.
38799 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38800 Define fseeko64 as an alias.
38801 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38802 Define ftello64 as an alias.
38803 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38804 Define _IO_fgetpos64 and fgetpos64 as aliases.
38805 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38806 Define _IO_fsetpos64 and fsetpos64 as aliases.
38807 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38808 Conditionalize body on this.
38809 * libio/fseeko64.c: Likewise.
38810 * libio/ftello64.c: Likewise.
38811 * libio/iofgetpos64.c: Likewise.
38812 * libio/iofsetpos64.c: Likewise.
38813 * sysdeps/wordsize-64/lockf.c: File removed.
38814 * sysdeps/wordsize-64/lockf64.c: File removed.
38815 * sysdeps/wordsize-64/fseeko.c: File removed.
38816 * sysdeps/wordsize-64/fseeko64.c: File removed.
38817 * sysdeps/wordsize-64/ftello.c: File removed.
38818 * sysdeps/wordsize-64/ftello64.c: File removed.
38819 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38820 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38821 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38822 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38823 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38824 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38825 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38826 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38827 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38828 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38829 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38830 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38831 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38832 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38834 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38836 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38838 [defined __arch64__ || defined __sparcv9]
38839 (__OFF_T_MATCHES_OFF64_T): New macro.
38840 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38841 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38843 (__OFF_T_MATCHES_OFF64_T): New macro.
38845 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38847 * stdlib/secure-getenv.c (__secure_getenv): Replace
38848 GLIBC_2_16 with GLIBC_2_17.
38850 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38852 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38853 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38855 2012-08-03 David S. Miller <davem@davemloft.net>
38857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38859 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38863 (__ASSUME_CORRECT_SI_PID): Likewise.
38864 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38865 (__ASSUME_TMPFS_NAME): Likewise.
38866 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38867 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38868 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38869 (HAVE_AUX_SECURE): Make definition unconditional.
38870 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38871 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38873 2012-08-03 Roland McGrath <roland@hack.frob.com>
38875 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38876 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38877 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38878 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38879 __eloop_threshold instead of SYMLOOP_MAX.
38881 * sysdeps/generic/eloop-threshold.h: New file.
38882 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38884 * elf/chroot_canon.c (chroot_canon): Likewise.
38886 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38890 Change to 2.6.0 everywhere.
38891 * sysdeps/unix/sysv/linux/configure: Regenerated.
38892 * sysdeps/unix/sysv/linux/kernel-features.h
38893 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38894 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38896 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38897 (__ASSUME_FUTEX_REQUEUE): Remove.
38898 (__ASSUME_STATFS64): Define unconditionally.
38899 (__ASSUME_AT_SECURE): Likewise.
38900 (__ASSUME_CORRECT_SI_PID): Likewise.
38901 (__ASSUME_TGKILL): Define without depending on kernel version for
38903 (__ASSUME_UTIMES): Likewise.
38904 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38906 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38907 (__ASSUME_TMPFS_NAME): Likewise.
38908 * README: Update reference to Linux kernel versions.
38910 2012-08-02 Marek Polacek <polacek@redhat.com>
38913 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38914 libc_cv_asm_type_prefix with %.
38915 * configure: Regenerated.
38916 * include/libc-symbols.h: Remove comment about
38917 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38918 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38919 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38920 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38921 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38922 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38923 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38924 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38925 * elf/tst-unique2mod1.c: Likewise.
38926 * elf/tst-unique1mod2.c: Likewise.
38927 * elf/tst-unique1mod1.c: Likewise.
38928 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38929 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38930 Replace ASM_TYPE_DIRECTIVE with .type.
38931 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38932 * sysdeps/i386/sysdep.h: Likewise.
38933 * sysdeps/x86_64/sysdep.h: Likewise.
38934 * sysdeps/sh/sysdep.h: Likewise.
38935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38936 Do not define ASM_TYPE_DIRECTIVE.
38937 * sysdeps/powerpc/sysdep.h: Likewise.
38938 * sysdeps/powerpc/powerpc32/sysdep.h:
38939 Replace ASM_TYPE_DIRECTIVE with .type.
38940 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38941 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38942 * sysdeps/i386/fpu/e_powf.S: Likewise.
38943 * sysdeps/i386/fpu/e_expl.S: Likewise.
38944 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38945 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38946 * sysdeps/i386/fpu/e_pow.S: Likewise.
38947 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38948 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38949 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38950 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38951 * sysdeps/i386/fpu/e_log2.S: Likewise.
38952 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38953 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38954 * sysdeps/i386/fpu/e_powl.S: Likewise.
38955 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38956 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38957 * sysdeps/i386/fpu/e_logl.S: Likewise.
38958 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38959 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38960 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38961 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38962 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38963 * sysdeps/i386/fpu/e_log.S: Likewise.
38964 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38965 * sysdeps/i386/fpu/e_logf.S: Likewise.
38966 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38967 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38968 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38969 * sysdeps/i386/fpu/e_log10.S: Likewise.
38970 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38971 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38972 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38973 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38974 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38975 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38976 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38977 * sysdeps/i386/i686/strtok.S: Likewise.
38978 * sysdeps/i386/i386-mcount.S: Likewise.
38979 * sysdeps/i386/strtok.S: Likewise.
38980 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38981 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38982 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38983 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38984 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38985 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38986 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38987 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38988 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38989 * sysdeps/x86_64/_mcount.S: Likewise.
38990 * sysdeps/x86_64/strtok.S: Likewise.
38991 * sysdeps/sh/_mcount.S: Likewise.
38993 2012-08-01 Roland McGrath <roland@hack.frob.com>
38995 * libio/iofopen.c: Include <fcntl.h>.
38996 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38997 (_IO_fopen64, fopen64): Define as aliases.
38998 * libio/iofopen64.c: Include <fcntl.h>.
38999 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39000 Conditionalize body on this.
39001 * sysdeps/wordsize-64/iofopen.c: File removed.
39002 * sysdeps/wordsize-64/iofopen64.c: File removed.
39004 2012-08-01 Marek Polacek <polacek@redhat.com>
39006 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39007 Use dlfcn directly instead of a variable.
39008 (binfmt-subdir): Do not define.
39011 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39013 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39014 Remove all definitions.
39015 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39016 <kernel-features.h>.
39017 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39018 (miss_F_GETOWN_EX): Remove all definitions.
39019 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39021 [!__ASSUME_FCNTL64]: Remove conditional code.
39022 [__ASSUME_FCNTL64]: Make code unconditional.
39023 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39024 <kernel-features.h>.
39025 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39026 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39027 (lockf64) [__NR_fcntl64]: Make code unconditional.
39028 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39030 * sysdeps/unix/sysv/linux/kernel-features.h
39031 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39032 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39033 Make code unconditional.
39034 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39035 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39037 [__NR_vfork]: Make code unconditional.
39038 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39039 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39041 [__NR_vfork]: Make code unconditional.
39042 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39043 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39045 2012-08-01 Roland McGrath <roland@hack.frob.com>
39047 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39048 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39050 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39051 Define mkstemp64 as an alias.
39052 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39053 Define mkstemps64 as an alias.
39054 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39055 Define mkostemp64 as an alias.
39056 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39057 Define mkostemps64 as an alias.
39058 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39059 Conditionalize body on this.
39060 * misc/mkostemp64.c: Likewise.
39061 * misc/mkostemps64.c: Likewise.
39062 * misc/mkstemps64.c: Likewise.
39063 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39064 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39065 * sysdeps/wordsize-64/mkostemp.c: File removed.
39066 * sysdeps/wordsize-64/mkstemp.c: File removed.
39067 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39068 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39069 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39070 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39073 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39074 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39075 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39076 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39078 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39079 compat_symbol macros from <shlib-compat.h> rather than the underlying
39080 default_symbol_version and symbol_version macros, so that DEFAULT
39081 lines in shlib-versions are respected.
39082 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39084 2012-08-01 Florian Weimer <fweimer@redhat.com>
39086 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39087 Declare with warn_unused_result.
39088 (setgid, setregid, setegid, setresgid): Likewise.
39089 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39091 * WUR-REPORT: Remove set*id functions.
39093 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39095 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39097 2012-07-31 Roland McGrath <roland@hack.frob.com>
39100 * include/sys/socket.h (__libc_accept, __libc_accept4):
39101 Add attribute_hidden.
39102 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39104 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39106 * inet/getnetgrent_r.c (setup): Likewise.
39108 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39110 2012-07-31 David S. Miller <davem@davemloft.net>
39112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39114 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39117 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39118 value between 1.0 and 2.0 and smaller part has absolute value less
39120 * math/s_clog10.c (__clog10): Likewise.
39121 * math/s_clog10f.c (__clog10f): Likewise.
39122 * math/s_clog10l.c (__clog10l): Likewise.
39123 * math/s_clogf.c (__clogf): Likewise.
39124 * math/s_clogl.c (__clogl): Likewise.
39125 * math/libm-test.inc (clog_test): Add more tests.
39126 (clog10_test): Likewise.
39127 * sysdeps/i386/fpu/libm-test-ulps: Update.
39128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39130 2012-07-31 Florian Weimer <fweimer@redhat.com>
39132 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39133 Exit with zero in case no suitable GID is found, and write a
39134 message to standard error.
39136 2012-07-30 Roland McGrath <roland@hack.frob.com>
39138 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39140 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39141 (MAXPATHLEN): Removed.
39142 (NOGROUP, NODEV): New macros.
39143 (setbit, clrbit, isset, isclr): New macros.
39144 (howmany, roundup, powerof2): New macros.
39145 (DEV_BSIZE): New macro.
39147 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39148 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39150 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39151 definition on [!__NO_LONG_DOUBLE_MATH].
39153 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39154 PTR_MANGLE and PTR_DEMANGLE.
39156 * socket/accept4.c (accept4): Rename to __libc_accept4.
39157 Define accept4 as a weak alias.
39159 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39160 on [_DIRENT_HAVE_D_TYPE].
39161 * io/ftw.c (ftw_dir): Likewise.
39163 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39165 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39167 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39168 Use the BSD numbers rather than the arbitrary ones we had.
39169 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39170 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39171 (SIGXCPU, SIGXFSZ): New macros.
39174 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39175 initializer on [_LIBC_REENTRANT].
39177 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39178 definitions inside [_POSIX_MAPPED_FILES].
39180 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39182 * dirent/opendir.c: Include <fcntl.h>.
39184 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39185 (__libc_getspecific): Likewise.
39186 (__libc_key_create): Likewise.
39188 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39189 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39190 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39191 (tmpfile64): Define as alias.
39192 * sysdeps/wordsize-64/tmpfile.c: File removed.
39193 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39194 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39195 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39197 * stdio-common/vfscanf.c: Include <stdbool.h>.
39198 * nss/makedb.c: Likewise.
39199 * stdio-common/_i18n_number.h: Likewise.
39200 * argp/argp-help.c: Likewise.
39201 * posix/wordexp.c: Likewise.
39202 * sysdeps/posix/spawni.c: Likewise.
39203 * nss/nss_files/files-initgroups.c: Likewise.
39204 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39205 * nss/nss_files/files-initgroups.c: Likewise.
39206 * nss/nss_db/db-netgrp.c: Likewise.
39207 * nss/nss_db/db-initgroups.c: Likewise.
39208 * io/fchmodat.c: Include <sys/stat.h>.
39210 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39211 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39213 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39216 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39217 Add multiple inclusion protection.
39219 2012-07-27 David S. Miller <davem@davemloft.net>
39221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39223 2012-07-27 Gary Benson <gbenson@redhat.com>
39226 * elf/rtld.c: Include <stap-probe.h>.
39227 (dl_main): Added static probes "init_start" and "init_complete".
39228 * elf/dl-load.c: Include <stap-probe.h>.
39229 (lose): Take new parameter "nsid".
39230 Added static probe "map_failed".
39231 (_dl_map_object_from_fd): Pass namespace id to lose.
39232 Added static probe "map_start".
39233 (open_verify): Pass namespace id to lose.
39234 * elf/dl-open.c: Include <stap-probe.h>.
39235 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39236 and "reloc_complete".
39237 * elf/dl-close.c: Include <stap-probe.h>.
39238 (_dl_close_worker): Added static probes "unmap_start" and
39240 * elf/rtld-debugger-interface.txt: New file documenting the above.
39242 2012-07-26 Roland McGrath <roland@hack.frob.com>
39244 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39245 rather than a string variable.
39246 * sunrpc/rpc_main.c (h_output): Likewise.
39247 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39249 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39251 * inet/check_native.c: New file.
39253 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39256 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39257 if larger part has absolute value 1.0.
39258 * math/s_clog10.c (__clog10): Likewise.
39259 * math/s_clog10f.c (__clog10f): Likewise.
39260 * math/s_clog10l.c (__clog10l): Likewise.
39261 * math/s_clogf.c (__clogf): Likewise.
39262 * math/s_clogl.c (__clogl): Likewise.
39263 * math/libm-test.inc (clog_test): Add more tests.
39264 (clog10_test): Likewise.
39265 * sysdeps/i386/fpu/libm-test-ulps: Update.
39266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39268 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39269 (pltexit): Likewise.
39270 (La_regs): Likewise.
39271 (La_retval): Likewise.
39272 (int_retval): Likewise.
39273 Update #error for removed macros to refer only to definitions in
39275 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39277 (pltexit): Likewise.
39278 (La_regs): Likewise.
39279 (La_retval): Likewise.
39280 (int_retval): Likewise.
39281 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39283 (pltexit): Likewise.
39284 (La_regs): Likewise.
39285 (La_retval): Likewise.
39286 (int_retval): Likewise.
39287 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39289 (pltexit): Likewise.
39290 (La_regs): Likewise.
39291 (La_retval): Likewise.
39292 (int_retval): Likewise.
39293 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39295 (pltexit): Likewise.
39296 (La_regs): Likewise.
39297 (La_retval): Likewise.
39298 (int_retval): Likewise.
39299 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39301 (pltexit): Likewise.
39302 (La_regs): Likewise.
39303 (La_retval): Likewise.
39304 (int_retval): Likewise.
39305 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39307 (pltexit): Likewise.
39308 (La_regs): Likewise.
39309 (La_retval): Likewise.
39310 (int_retval): Likewise.
39311 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39312 macro definitions in tst-audit.h.
39313 * sysdeps/i386/tst-audit.h: New file.
39314 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39315 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39316 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39317 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39318 * sysdeps/sh/tst-audit.h: Likewise.
39319 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39320 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39321 * sysdeps/x86_64/tst-audit.h: Likewise.
39323 2012-07-26 Andreas Jaeger <aj@suse.de>
39325 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39328 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39329 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39330 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39332 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39333 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39334 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39336 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39339 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39341 (si_call_addr, si_syscall, si_arch): Define new macro.
39342 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39344 (si_call_addr, si_syscall, si_arch): Define new marcro.
39345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39347 (si_call_addr, si_syscall, si_arch): Define new macro.
39348 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39350 (si_call_addr, si_syscall, si_arch): Define new macro.
39352 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39356 Change to 2.4.21 where previously 2.4.1.
39357 * sysdeps/unix/sysv/linux/configure: Regenerated.
39358 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39359 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39360 Linux kernel version.
39361 (__ASSUME_STD_AUXV): Remove.
39362 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39364 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39365 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39366 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39367 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39368 (__ASSUME_NETLINK_SUPPORT): Likewise.
39369 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39370 (__no_netlink_support): Remove conditional definition.
39371 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39373 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39374 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39375 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39376 (if_nameindex_ioctl): Remove.
39377 (if_nameindex_netlink): Do not handle __no_netlink_support.
39378 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39380 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39381 Remove conditional code.
39382 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39384 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39386 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39387 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39388 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39390 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39391 [!__ASSUME_STD_AUXV]: Remove conditional code.
39392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39393 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39394 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39396 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39397 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39399 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39401 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39402 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39404 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39406 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39409 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39412 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39413 code unconditional.
39414 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39416 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39418 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39421 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39423 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39426 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39427 code unconditional.
39428 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39430 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39432 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39435 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39436 code unconditional.
39437 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39439 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39441 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39444 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39446 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39447 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39448 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39449 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39450 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39451 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39452 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39453 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39454 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39455 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39456 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39457 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39458 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39459 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39460 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39461 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39462 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39463 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39464 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39466 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39467 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39468 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39470 2012-07-25 Florian Weimer <fweimer@redhat.com>
39472 * Versions.def: Add GLIBC_2.17.
39473 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39474 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39475 Introduce __libc_secure_getenv.
39476 * stdlib/Versions (2.17): Add secure_getenv
39477 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39478 * stdlib/secure-getenv.c: Rename __secure_getenv to
39479 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39480 symbol __secure_getenv for GLIBC_2.0.
39481 * stdlib/tst-secure-getenv.c: New.
39482 * stdlib/Makefile (tests): Add testcase.
39483 * manual/startup.texi (Environment Access): Document
39485 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39486 __libc_secure_getenv.
39487 * inet/ruserpass.c (ruserpass): Likewise.
39488 * malloc/mtrace.c (mtrace): Likewise.
39489 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39490 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39491 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39492 * sysdeps/posix/tempname.c: Likewise. Evaluate
39493 HAVE_SECURE_GETENV.
39494 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39495 __secure_getenv to __libc_secure_getenv.
39496 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39509 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39511 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39512 (struct La_i86_retval): Likewise.
39513 (struct La_x86_64_regs): Likewise.
39514 (struct La_x86_64_retval): Likewise.
39515 (struct La_x32_regs): Likewise.
39516 (struct La_x32_retval): Likewise.
39517 (struct La_ppc32_regs): Likewise.
39518 (struct La_ppc32_retval): Likewise.
39519 (struct La_ppc64_regs): Likewise.
39520 (struct La_ppc64_retval): Likewise.
39521 (struct La_sh_regs): Likewise.
39522 (struct La_sh_retval): Likewise.
39523 (struct La_s390_32_regs): Likewise.
39524 (struct La_s390_32_retval): Likewise.
39525 (struct La_s390_64_regs): Likewise.
39526 (struct La_s390_64_retval): Likewise.
39527 (struct La_sparc32_regs): Likewise.
39528 (struct La_sparc32_retval): Likewise.
39529 (struct La_sparc64_regs): Likewise.
39530 (struct La_sparc64_retval): Likewise.
39531 (struct audit_ifaces): Remove architecture-specific pltenter and
39533 * sysdeps/i386/ldsodefs.h: New file.
39534 * sysdeps/powerpc/ldsodefs.h: Likewise.
39535 * sysdeps/s390/ldsodefs.h: Likewise.
39536 * sysdeps/sh/ldsodefs.h: Likewise.
39537 * sysdeps/sparc/ldsodefs.h: Likewise.
39538 * sysdeps/x86_64/ldsodefs.h: Likewise.
39540 2012-07-25 Marek Polacek <polacek@redhat.com>
39543 * math/libm-test.inc (yn_test): Add another test.
39544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39545 to ERANGE when the result is +-Inf.
39546 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39547 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39548 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39549 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39551 2012-07-24 Joseph Myers <joseph@codesourcery.com>
39553 * conform/data/time.h-data (NULL): Use macro-constant. Require
39555 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39557 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39559 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39561 * configure.in <sysdeps resolving>: Correct printing
39563 * configure: Regenerate.
39565 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39567 * math/w_ilogb.c: Include <limits.h>.
39568 * math/w_ilogbl.c: Likewise.
39570 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39572 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39573 va_copy. Document allowing for unavailable va_copy only as
39574 pre-C99 compatibility.
39575 * manual/string.texi (Copying and Concatenation): Use va_copy
39576 instead of __va_copy in concat example.
39578 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39580 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39581 (__sendto): Use create_address_port. Initialize APORT and deallocate
39584 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39585 with O_NOLINK passed to __file_name_lookup.
39587 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39588 with O_NOLINK passed to __file_name_lookup.
39590 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39591 negative N or less than NGIDS.
39593 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39594 type to string_t. Set ERANGE as errno and return it if NAME is not big
39595 enough. Use memcpy instead of strncpy.
39597 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39599 * elf/Makefile (check-data): Remove.
39600 (localplt.data): New vpath directive.
39601 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39602 instead of $(check-data).
39603 * scripts/data/localplt-generic.data: Move to ...
39604 * sysdeps/generic/localplt.data: ... here.
39605 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39606 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39607 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39610 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39613 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39616 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39619 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39622 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39626 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39628 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39629 PPC32 and PPC64 files.
39630 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39631 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39633 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39635 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39636 __makecontext_ret to ...
39637 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39638 ... here and call exit if uc_link is NULL. New file.
39639 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39640 __makecontext_ret.S.
39641 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39642 __makecontext_ret to ...
39643 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39644 ... here and call exit if uc_link is NULL. New file.
39645 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39646 __makecontext_ret.S.
39648 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39650 * elf/elf.h (R_390_IRELATIVE): New definition.
39651 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39652 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39653 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39654 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39655 (elf_machine_lazy_rel): Likewise.
39656 * sysdeps/s390/dl-irel.h: New file.
39657 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39658 * sysdeps/s390/s390-64/memset.S: New asm code.
39659 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39660 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39661 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39662 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39663 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39664 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39665 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39666 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39667 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39668 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39669 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39670 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39671 * sysdeps/s390/s390-32/memset.S: New asm code.
39672 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39674 2012-07-17 Marek Polacek <polacek@redhat.com>
39677 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39678 * sysdeps/s390/s390-64/configure.in: Likewise.
39679 * sysdeps/sparc/configure.in: Likewise.
39680 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39681 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39682 * sysdeps/i386/configure.in: Likewise.
39683 * sysdeps/x86_64/configure.in: Likewise.
39684 * sysdeps/sh/configure.in: Likewise.
39685 * sysdeps/s390/s390-32/configure: Regenerated.
39686 * sysdeps/s390/s390-64/configure: Likewise.
39687 * sysdeps/x86_64/configure: Likewise.
39688 * sysdeps/sh/configure: Likewise.
39689 * sysdeps/powerpc/powerpc64/configure: Likewise.
39690 * sysdeps/powerpc/powerpc32/configure: Likewise.
39691 * sysdeps/sparc/configure: Likwise.
39692 * sysdeps/i386/configure: Likewise.
39694 * elf/dl-open.c: Comment fixes.
39696 2012-07-17 Joseph Myers <joseph@codesourcery.com>
39698 * Makefile [CXX] (check-data): Remove.
39699 [CXX] (c++-types.data): New vpath directive.
39700 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39701 vpath. Do not allow for C++ type data being missing.
39702 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39703 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39704 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39705 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39706 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39707 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39708 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39711 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39714 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39717 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39720 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39723 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39726 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39729 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39732 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39733 definitions to architecture-specific files.
39734 (TLS_IE): Likewise.
39735 (TLS_LD): Likewise.
39736 (TLS_GD): Likewise.
39737 * sysdeps/i386/tls-macros.h: New file.
39738 * sysdeps/powerpc/tls-macros.h: Likewise.
39739 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39740 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39741 * sysdeps/sh/tls-macros.h: Likewise.
39742 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39743 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39744 * sysdeps/x86_64/tls-macros.h: Likewise.
39746 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39748 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39749 zero value for regular exit case.
39751 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39752 (__start_context): Preserve zero value for regular exit case.
39754 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39755 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39757 * manual/setjmp.texi (setcontext): Clarify normal process
39758 termination when uc_link is the null pointer.
39759 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39762 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39764 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39765 preprocessor. Test for each exception mask separately.
39767 2012-07-16 Andreas Jaeger <aj@suse.de>
39769 * po/ru.po: Update from translation team.
39771 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39773 * conform/data/string.h-data (NULL): Use macro-constant. Require
39775 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39776 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39777 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39778 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39781 2012-07-13 Andreas Jaeger <aj@suse.de>
39783 * po/fr.po: Update from translation team.
39785 2012-07-12 Marek Polacek <polacek@redhat.com>
39788 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39789 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39792 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39795 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39796 Change to 2.4.1 where previously 2.4.0.
39797 * sysdeps/unix/sysv/linux/configure: Regenerated.
39798 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39799 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39801 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39802 (__ASSUME_AT_CLKTCK): Remove.
39803 (__ASSUME_AT_PAGESIZE): Likewise.
39804 (__ASSUME_AT_XID): Likewise.
39805 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39806 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39807 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39809 (HAVE_AUX_PAGESIZE): Likewise.
39810 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39811 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39812 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39814 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39818 the temporary buffer used to invoke __gethostbyname2_r,
39819 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39820 host_data / struct gaih_addrtuple.
39821 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39822 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39823 header file nss/nsswitch.h.
39824 * nss/nsswitch.h (global scope): Add definition of implementation
39825 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39826 resolv/nss_dns/dns-host.c).
39828 2012-07-11 Andreas Jaeger <aj@suse.de>
39830 * po/fr.po: Update from translation team.
39832 * po/sv.po: Update from translation team
39833 * po/fr.po: Another update from translation team.
39835 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39837 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39838 for subnormals or multiply small sinh result by itself.
39839 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39842 2012-07-11 David S. Miller <davem@davemloft.net>
39844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39846 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39849 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39850 (INTERNAL_MARK): Shift it here.
39852 2012-07-10 Marek Polacek <polacek@redhat.com>
39855 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39856 libc_cv_asm_global_directive with .globl.
39857 * configure: Regenerated.
39858 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39860 * sysdeps/i386/configure: Regenerated.
39861 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39863 * sysdeps/x86_64/configure: Regenerated.
39864 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39865 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39866 * elf/tst-unique2mod2.c: Likewise.
39867 * elf/tst-unique2mod1.c: Likewise.
39868 * elf/tst-unique1mod2.c: Likewise.
39869 * elf/tst-unique1mod1.c: Likewise.
39870 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39871 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39872 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39873 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39874 * sysdeps/mach/sysdep.h: Likewise.
39875 * sysdeps/i386/sysdep.h: Likewise.
39876 * sysdeps/i386/i386-mcount.S: Likewise.
39877 * sysdeps/x86_64/_mcount.S: Likewise.
39878 * sysdeps/x86_64/sysdep.h: Likewise.
39879 * sysdeps/sh/_mcount.S: Likewise.
39880 * sysdeps/sh/sysdep.h: Likewise.
39881 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39882 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39883 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39884 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39885 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39886 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39887 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39888 * locale/localeinfo.h: Likewise.
39889 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39890 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39892 2012-07-09 Roland McGrath <roland@hack.frob.com>
39895 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39897 * manual/message.texi (The Uniforum approach): Likewise.
39898 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39899 (glibc iconv Implementation): Likewise.
39901 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39904 * math/s_clog.c (__clog): Avoid scaling a value down where that
39905 could result in underflow.
39906 * math/s_clog10.c (__clog10): Likewise.
39907 * math/s_clog10f.c (__clog10f): Likewise.
39908 * math/s_clog10l.c (__clog10l): Likewise.
39909 * math/s_clogf.c (__clogf): Likewise.
39910 * math/s_clogl.c (__clogl): Likewise.
39911 * math/libm-test.inc (clog_test): Add more tests.
39912 (clog10_test): Likewise.
39913 * sysdeps/i386/fpu/libm-test-ulps: Update.
39914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39916 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39919 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39920 by 7 not 8 to examine high bit of fractional part.
39923 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39924 for call to __mcount_internal.
39925 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39926 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39927 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39929 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39932 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39933 approximation for values within 0x1p-13f of an odd multiple of
39935 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39936 exception. Add more tests.
39937 * sysdeps/i386/fpu/libm-test-ulps: Update.
39940 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39941 inputs and return -1 for them. Do not check for +Inf in case not
39942 reachable for +Inf.
39943 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39944 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39945 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39946 and return -1 for them. Do not check for +Inf in case not
39947 reachable for +Inf.
39948 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39950 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39951 and return -1 for them. Do not check for +Inf in case not
39952 reachable for +Inf.
39953 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39954 spurious underflow.
39955 * sysdeps/i386/fpu/libm-test-ulps: Update.
39956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39958 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39960 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39962 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39966 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39967 could result in spurious underflow. Scale down values above
39968 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39969 * math/s_csqrtf.c (__csqrtf): Likewise.
39970 * math/s_csqrtl.c (__csqrtl): Likewise.
39971 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39972 spurious underflow.
39973 * sysdeps/i386/fpu/libm-test-ulps: Update.
39974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39976 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39978 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39980 * catgets/xopen-msg.awk: New file.
39981 * catgets/xopen-msg.sed: Removed.
39983 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39985 * intl/po2test.awk: New file.
39986 * intl/po2test.sed: Removed.
39988 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39991 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39992 or multiply small sinh result by itself.
39993 * math/s_ctanf.c (__ctanf): Likewise.
39994 * math/s_ctanh.c (__ctanh): Likewise.
39995 * math/s_ctanhf.c (__ctanhf): Likewise.
39996 * math/s_ctanhl.c (__ctanhl): Likewise.
39997 * math/s_ctanl.c (__ctanl): Likewise.
39998 * math/libm-test.inc (ctan_test_tonearest): New function.
39999 (ctan_test_towardzero): Likewise.
40000 (ctan_test_downward): Likewise.
40001 (ctan_test_upward): Likewise.
40002 (ctanh_test_tonearest): Likewise.
40003 (ctanh_test_towardzero): Likewise.
40004 (ctanh_test_downward): Likewise.
40005 (ctanh_test_upward): Likewise.
40006 (main): Call these new functions.
40007 * sysdeps/i386/fpu/libm-test-ulps: Update.
40008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40010 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40012 * .gitignore: Delete /ports entry.
40014 2012-07-03 Andreas Jaeger <aj@suse.de>
40016 * po/bg.po: Update from translation team.
40017 * po/cs.po: Likewise.
40018 * po/de.po: Likewise.
40019 * po/hr.po: Likewise.
40020 * po/nl.pl: Likewise.
40021 * po/pl.po: Likewise.
40022 * po/vi.po: Likewise.
40024 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40026 * Makeconfig [!+link] (+link-before-libc): New variable.
40027 [!+link] (+link-after-libc): Likewise.
40028 [!+link] (+link-tests): Likewise.
40029 [!+link] (+link): Define in terms of $(+link-before-libc) and
40030 $(+link-after-libc).
40031 [!+link-static] (+link-static-before-libc): New variable.
40032 [!+link-static] (+link-static-after-libc): Likewise.
40033 [!+link-static] (+link-static-tests): Likewise.
40034 [!+link-static] (+link-static): Define in terms of
40035 $(+link-static-before-libc) and $(+link-static-after-libc).
40036 [build-shared] (link-libc-before-gnulib): New variable.
40037 [build-shared] (link-libc-tests): Likewise.
40038 [build-shared] (link-libc): Define in terms of
40039 $(link-libc-before-gnulib).
40040 [!build-shared] (link-libc-tests): New variable.
40041 (link-libc-static-tests): New variable.
40042 [!gnulib] (gnulib-arch): New variable.
40043 [!gnulib] (gnulib-tests): Likewise.
40044 [!gnulib] (static-gnulib-arch): Likewise.
40045 [!gnulib] (static-gnulib-tests): Likewise.
40046 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40047 Define with "=" instead of ":=".
40048 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40049 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40050 * Rules (binaries-all-notests): New variable.
40051 (binaries-all-tests): Likewise.
40052 (binaries-static-notests): Likewise.
40053 (binaries-static-tests): Likewise.
40054 (binaries-all): Define using $(binaries-all-notests) and
40055 $(binaries-all-tests).
40056 (binaries-static): Define using $(binaries-static-notests) and
40057 $(binaries-static-tests).
40058 (binaries-shared-tests): New variable.
40059 (binaries-shared-notests): Likewise.
40060 (binaries-shared): Remove variable.
40061 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40062 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40063 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40064 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40065 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40066 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40067 * elf/Makefile (sln-modules): New variable.
40068 (extra-objs): Add $(sln-modules:=.o).
40069 (ldconfig-modules): Add static-stubs.
40070 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40071 * elf/static-stubs.c: New file.
40074 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40075 by 7 not 8 to examine high bit of fractional part. Use volatile
40076 variables when splitting into final array of floats if
40077 __FLT_EVAL_METHOD__ != 0.
40078 * math/libm-test.inc (cos_test): Add another test.
40079 (sin_test): Likewise.
40080 * sysdeps/i386/fpu/libm-test-ulps: Update.
40083 * math/libm-test.inc (cosh_test): Add more tests.
40085 * version.h (RELEASE): Set to "development".
40086 (VERSION): Set to "2.16.90".
40088 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40090 * NEWS: Update copyright. Remove last-updated date.
40091 Mention math library bug fixes and timezone data changes.
40092 * README: Mention GNU/Hurd, x32, and HPPA support status.
40094 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40096 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40098 2012-06-27 Andreas Jaeger <aj@suse.de>
40100 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40102 2012-06-25 Andreas Jaeger <aj@suse.de>
40104 * sysdeps/s390/fpu/libm-test-ulps: Update.
40106 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40107 Thomas Schwinge <thomas@codesourcery.com>
40109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40110 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40114 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40116 * sysdeps/mach/start.c: Remove file.
40117 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40118 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40119 * sysdeps/sh/init-first.c: Likewise.
40121 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40122 registers for frame unwinding purposes, add CFI directives.
40123 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40124 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40125 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40128 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40129 __fortify_fail returning.
40130 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40132 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40133 sysdeps/sh/____longjmp_chk.S.
40134 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40135 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40136 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40137 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40139 * sysdeps/sh/abort-instr.h: New file.
40140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40141 process in case exit returns.
40143 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40144 initialize the GOT register before use.
40146 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40147 calculation of ARGC > 4.
40149 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40150 meaningful names to some local labels.
40152 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40153 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40155 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40156 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40157 (__arch_compare_and_exchange_val_16_acq): Likewise.
40158 (__arch_compare_and_exchange_val_32_acq): Likewise.
40159 (atomic_exchange_and_add): Fix gUSA sequence.
40160 (atomic_add): Likewise.
40161 (atomic_add_negative): Likewise.
40162 (atomic_add_zero): Likewise.
40163 (atomic_bit_test_set): Likewise.
40165 2012-06-22 Andreas Schwab <schwab@redhat.com>
40168 * include/link.h (struct link_map): Add l_free_initfini.
40169 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40171 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40172 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40173 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40176 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40178 * configure.in: Use AC_LANG_SOURCE.
40179 * configure: Regenerate.
40181 2012-06-22 Roland McGrath <roland@hack.frob.com>
40183 * configure.in (libc_cv_localstatedir): New substituted variable.
40184 * configure: Regenerated.
40185 * config.make.in (localstatedir): New variable, substituted from
40186 libc_cv_localstatedir.
40187 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40188 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40189 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40190 * sysdeps/gnu/configure: Regenerated.
40192 2012-06-21 Jeff Law <law@redhat.com>
40195 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40196 free. Simplify list management for _LIBC case.
40198 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40201 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40202 Clear sign bit of 64-bit integer value before comparing against
40205 * sysdeps/mach/configure: Regenerated.
40207 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40210 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40212 2012-06-21 Jeff Law <law@redhat.com>
40215 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40216 uint16_t for elements in the "seen" array to avoid char overflows.
40217 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40218 * elf/dl-open.c (dl_open_worker): Likewise.
40220 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40222 * scripts/list-sources.sh: Scan PORTS for translations.
40223 * po/libc.pot: Regenerated.
40225 2012-06-21 Andreas Jaeger <aj@suse.de>
40228 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40230 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40231 * bits/byteswap-16.h (__bswap_16): Likewise.
40232 * bits/byteswap.h (__bswap_constant_16): Likewise.
40234 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40237 * sysdeps/i386/fpu_control.h: Removed.
40238 * sysdeps/x86_64/fpu_control.h: Moved to ...
40239 * sysdeps/x86/fpu_control.h: Here.
40241 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40242 (_FPU_SETCW): Likewise.
40244 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40247 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40248 * sysdeps/x86/fpu/bits/mathinline.h: This.
40249 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40253 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40254 functions if __x86_64__ is defined.
40256 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40258 * string/endian.h: Add !__ASSEMBLER__ condition for including
40259 conversion interfaces.
40261 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40264 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40265 of ABS(x) in calculating zero to negative powers other than odd
40267 * math/libm-test.inc (pow_test): Add more tests.
40269 2012-06-15 Andreas Jaeger <aj@suse.de>
40271 * manual/contrib.texi (Contributors): Update entry of Liubov
40272 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40275 2012-06-15 Cyril Hrubis <metan@ucw.cz>
40277 * string/string.h: Add __wur to GNU version of strerror_r.
40279 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40282 * string/Makefile (tests): Add tst-strtok_r.
40283 * string/tst-strtok_r.c: New file.
40284 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40285 RAX_LP/RDX_LP on SAVE_PTR.
40287 2012-06-14 Roland McGrath <roland@hack.frob.com>
40289 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40291 2012-06-14 Joseph Myers <joseph@codesourcery.com>
40293 * libm_test.inc (csqrt_test): Allow more spurious underflow
40295 (j0_test): Likewise.
40296 (j1_test): Likewise.
40297 (y0_test): Likewise.
40298 (y1_test): Likewise.
40300 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40302 * po/Makefile (libc.pot): Use UTF-8 charset.
40304 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40307 Suppress sign-conversion warning from FD_SET.
40308 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40309 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40310 not unsigned long int.
40311 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40313 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40317 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40318 __extern_always_inline instead of __extern_inline.
40319 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40320 (__signbit): Likewise.
40321 (__signbitl): Support C++ namespace.
40322 (lrintf): New inline function.
40324 (llrintf): Likewise.
40325 (llrint): Likewise.
40335 (floorf): Likewise.
40336 (nearbyint): Likewise.
40337 (nearbyintf): Likewise.
40339 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40341 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40342 non-default versions.
40344 2012-06-11 Roland McGrath <roland@hack.frob.com>
40347 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40349 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40351 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40352 (FE_UPWARD, FE_DOWNWARD): Don't define.
40353 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40354 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40356 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40358 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40359 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40361 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40363 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40364 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40365 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40366 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40368 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40371 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40372 * sysdeps/i386/fpu/Implies: New file.
40373 * sysdeps/x86_64/fpu/Implies: Likewise.
40374 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40375 * sysdeps/x86/fpu/bits/fenv.h: This.
40377 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40380 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40383 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40384 character 0xffff that matches the last element of the
40387 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40389 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40392 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40394 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40395 values higher than 25.6283.
40397 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40400 subnormal exponent extraction and add some __builtin_expect.
40401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40402 Fix for subnormal mantissa calculation.
40404 2012-06-04 Mike Frysinger <vapier@gentoo.org>
40406 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40407 cpu2 is -1 and errno is not ENOSYS.
40409 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40412 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40413 * sysdeps/x86/bits/string.h: This.
40414 * sysdeps/x86_64/bits/string.h: Removed.
40416 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40417 if not compiling for x86-64, but compiling for >= i486.
40419 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40420 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40422 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40423 New macro from Linux kernel 3.4.0.
40424 (FP_XSTATE_MAGIC2): Likewise.
40425 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40426 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40427 (struct _fpx_sw_bytes): New struct.
40428 (struct _xsave_hdr): Likewise.
40429 (struct _ymmh_state): Likewise.
40430 (struct _xstate): Likewise.
40432 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40433 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40434 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40435 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40436 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40437 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40439 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40440 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40441 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40442 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40443 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40444 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40446 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40449 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40450 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40451 (sysdep_headers): Include sys/platform/ppc.h.
40452 * sysdeps/powerpc/test-gettimebase.c: Test for
40453 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40454 * manual/Makefile (appendices): Include platform.texi.
40455 * manual/contrib.texi (Contributors): Update @node pointers.
40456 * manual/maint.texi (Maintenance): Likewise.
40457 (Platform): New node.
40458 * manual/platform.texi: New file. Document the new features.
40460 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40461 Jakub Jelinek <jakub@redhat.com>
40464 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40465 where __builtin_expect is unavailable.
40467 2012-06-03 David S. Miller <davem@davemloft.net>
40469 * stdlib/longlong.h: Updated from GCC.
40471 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40474 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40475 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40478 (GLIBC_2.16): Likewise.
40480 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40482 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40484 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40487 (default-abi): New variable.
40488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40489 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40491 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40493 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40495 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40498 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40499 definition. Document in comment.
40501 2012-06-01 David S. Miller <davem@davemloft.net>
40503 * stdlib/longlong.h: Updated from GCC.
40505 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40508 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40509 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40510 sys/debugreg.h sys/io.h here.
40511 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40512 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40514 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40515 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40516 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40517 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40518 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40519 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40521 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40522 Define only if __x86_64__ is defined.
40524 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40528 Use int64_t for variable i.
40529 * math/libm-test.inc (fmod_test): Add more tests.
40531 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40532 z computation is not scheduled after fetestexcept.
40533 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40534 Use math_force_eval instead of asm to ensure calculation scheduled
40535 before exception test.
40536 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40537 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40539 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40542 computation is not scheduled after fetestexcept.
40544 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40547 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40548 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40550 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40552 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40553 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40555 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40558 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40560 (__WCHAR_MIN): Support __WORDSIZE == 64.
40561 (__WCHAR_MAX): Likewise.
40563 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40564 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40567 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40568 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40571 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40572 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40574 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40575 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40577 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40578 Defined to 1 if __x86_64__ isn't defined.
40579 (_STAT_VER_LINUX_OLD): New.
40580 (st_atime): Remove duplicate.
40581 (st_mtime): Likewise.
40582 (st_ctime): Likewise.
40584 2012-05-31 David S. Miller <davem@davemloft.net>
40586 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40589 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40591 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40595 * elf/dl-reloc.c: Include <_itoa.h>.
40596 (_dl_reloc_bad_type): Remove use of INTUSE.
40597 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40598 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40599 * stdio-common/psiginfo.c (psiginfo): Likewise.
40600 * stdio-common/psignal.c (psignal): Likewise.
40601 * string/strsignal.c (strsignal): Likewise.
40602 * include/signal.h (_sys_siglist): Declare hidden proto.
40603 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40604 INTVARDEF with libc_hidden_data_def.
40605 * stdio-common/itoa-udigits.c: Likewise.
40606 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40607 (_itoa_lower_digits_internal): Remove declaration.
40608 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40609 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40610 (_sys_sigabbrev_internal): Remove aliases.
40611 (_sys_siglist): Define hidden alias.
40613 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40618 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40621 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40622 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40624 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40625 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40626 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40627 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40629 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40631 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40632 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40633 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40635 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40643 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40644 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40645 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40647 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40648 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40649 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40650 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40651 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40652 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40654 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40655 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40657 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40658 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40660 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40662 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40664 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40665 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40667 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40669 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40670 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40671 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40673 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40675 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40677 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40679 * math/math.h (M_El): Use two more decimal places.
40680 (M_LOG2El): Likewise.
40681 (M_LOG10El): Likewise.
40682 (M_LN2l): Likewise.
40683 (M_LN10l): Likewise.
40685 (M_PI_2l): Likewise.
40686 (M_PI_4l): Likewise.
40687 (M_1_PIl): Likewise.
40688 (M_2_PIl): Likewise.
40689 (M_2_SQRTPIl): Likewise.
40690 (M_SQRT2l): Likewise.
40691 (M_SQRT1_2l): Likewise.
40693 2012-05-31 David S. Miller <davem@davemloft.net>
40695 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40696 values between float registers.
40697 * sysdeps/sparc/sparc64/memset.S: Likewise.
40698 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40700 2012-05-31 Mike Frysinger <vapier@gentoo.org>
40702 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40703 -D_FORTIFY_SOURCE=1.
40704 (CPPFLAGS-tst-longjmp_chk.c): Define.
40705 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40706 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40707 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40708 CFLAGS-tst-wchar-h.c.
40710 2012-05-31 Marek Polacek <polacek@redhat.com>
40713 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40714 __endmntent_internal): Remove declaration.
40715 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40716 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40717 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40719 2012-05-30 David S. Miller <davem@davemloft.net>
40721 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40722 (___Q_simulate_exceptions): Use real FP ops rather than writing
40724 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40727 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40730 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40731 * sysdeps/x86/bits/xtitypes.h: This.
40733 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40734 * sysdeps/x86/bits/wordsize.h: This.
40736 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40737 * sysdeps/x86/bits/huge_vall.h: This.
40739 * sysdeps/i386/bits/select.h: Removed.
40740 * sysdeps/x86_64/bits/select.h: Renamed to ...
40741 * sysdeps/x86/bits/select.h: This.
40743 * sysdeps/i386/bits/setjmp.h: Removed.
40744 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40745 * sysdeps/x86/bits/setjmp.h: This.
40747 * sysdeps/i386/bits/mathdef.h: Removed.
40748 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40749 * sysdeps/x86/bits/mathdef.h: This.
40751 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40754 * include/sys/socket.h (__connect_internal)
40755 (__libc_sa_len_internal): Remove declaration.
40756 (__connect, __libc_sa_len): Declare hidden_proto.
40757 (SA_LEN): Remove use of INTUSE.
40758 * socket/connect.c: Add libc_hidden_def.
40759 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40760 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40761 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40763 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40764 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40765 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40766 of adding _internal alias.
40768 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40771 * sysdeps/i386/bits/link.h: Removed.
40772 * sysdeps/i386/bits/linkmap.h: Likewise.
40773 * sysdeps/x86_64/bits/link.h: Renamed to ...
40774 * sysdeps/x86/bits/link.h: This.
40775 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40776 * sysdeps/x86/bits/linkmap.h: This.
40778 * sysdeps/i386/bits/endian.h: Removed.
40779 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40780 * sysdeps/x86/bits/endian.h: This.
40782 * sysdeps/i386/bits/byteswap.h: Removed.
40783 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40784 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40785 * sysdeps/x86/bits/byteswap.h: This.
40786 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40787 * sysdeps/x86/bits/byteswap-16.h: This.
40788 * sysdeps/i386/Implies: Add x86.
40789 * sysdeps/x86_64/Implies: Likewise.
40791 2012-05-30 David S. Miller <davem@davemloft.net>
40793 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40794 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40795 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40796 (FP_TRAPPING_EXCEPTIONS): Define.
40797 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40798 (FP_TRAPPING_EXCEPTIONS): Define.
40799 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40800 subnormals only when inexact has been signalled or underflow
40801 exceptions are enabled.
40802 (_FP_PACK_CANONICAL): Likewise.
40804 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40807 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40808 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40810 2012-05-30 Richard Henderson <rth@twiddle.net>
40812 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40813 with #ifndef NOT_IN_libc.
40815 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40816 marked to avoid plt entry.
40818 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40821 * Makeconfig (default-abi): New macro.
40822 (abi-includes): Likewise.
40823 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40824 $(abi-$(default-abi)-lib-soname) for soname if defined.
40825 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40827 * Makefile (installed-stubs): Likewise.
40828 * include/stubs-biarch.h: Removed.
40829 * scripts/lib-names.awk: Only handle one library at a time.
40830 * scripts/soversions.awk: Remove WORDSIZE support.
40831 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40833 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40835 (syscall-list-default-condition): Likewise.
40836 (syscall-list-default-condition): Likewise.
40837 (syscall-list-includes): Likewise.
40838 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40839 syscall-list-* with abi-*. Handle undefined abi-variants.
40840 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40841 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40842 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40843 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40844 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40845 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40847 (syscall-list-32-options): Likewise.
40848 (syscall-list-32-condition): Likewise.
40849 (syscall-list-64-options): Likewise.
40850 (syscall-list-64-condition): Likewise.
40851 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40853 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40856 (abi-64-ld-soname): New macro.
40857 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40858 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40861 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40862 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40864 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40866 * sysdeps/unix/sysv/linux/kernel-features.h
40867 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40868 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40869 include <kernel-features.h>.
40870 [!__NR_ftruncate64]: Remove conditional code.
40871 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40872 [__NR_ftruncate64]: Make code unconditional.
40873 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40874 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40875 include <kernel-features.h>.
40876 [!__NR_ftruncate64]: Remove conditional code.
40877 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40878 [__NR_ftruncate64]: Make code unconditional.
40879 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40881 include <kernel-features.h>.
40882 [!__NR_ftruncate64]: Remove conditional code.
40883 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40884 [__NR_ftruncate64]: Make code unconditional.
40885 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40887 include <kernel-features.h>.
40888 [!__NR_ftruncate64]: Remove conditional code.
40889 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40890 [__NR_ftruncate64]: Make code unconditional.
40891 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40893 * configure.in (libc_cv_fpie): Weaken to a compile test using
40894 LIBC_TRY_CC_OPTION.
40895 * configure: Regenerated.
40897 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40912 2012-05-27 David S. Miller <davem@davemloft.net>
40914 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40916 (__Q_simulate_exceptions): Return void. Change to simulate
40917 exceptions by writing into the %fsr.
40918 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40919 (__Qp_handle_exceptions): Likewise.
40921 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40922 __Qp_handle_exceptions.
40923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40924 __Qp_handle_exceptions.
40925 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40926 as unused and give dummy FP_RND_NEAREST initializer.
40927 (FP_INHIBIT_RESULTS): Define.
40928 (___Q_simulate_exceptions): Update declaration.
40929 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40932 as unused and give dummy FP_RND_NEAREST initializer.
40933 (__Qp_handle_exceptions): Update declaration.
40934 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40937 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40939 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40940 the temporary FPU control word.
40941 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40942 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40943 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40944 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40945 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40946 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40947 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40948 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40949 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40950 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40951 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40953 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40955 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40958 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40960 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40961 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40962 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40963 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40965 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40966 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40969 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40971 * po/h.po: Update from translation team.
40973 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40975 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40977 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40978 handling of denormals.
40979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40980 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40981 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40982 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40983 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40988 2012-05-26 Marek Polacek <polacek@redhat.com>
40991 * math/libm-test.inc (fma_test): Don't always expect underflow
40994 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40997 * elf/tst-execstack.c: Include stackinfo.h.
40998 (do_test): Adjust test case to ensure that pthread_getattr_np
40999 behaviour remains the same after marking stack executable.
41001 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41003 * sysdeps/unix/sysv/linux/kernel-features.h
41004 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41005 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41007 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41008 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41009 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41011 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41012 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41014 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41016 * configure.in: Define the default includes to being none.
41017 * configure: Regenerated.
41019 2012-05-25 Roland McGrath <roland@hack.frob.com>
41021 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41022 * sysdeps/x86_64/setjmp.S: Likewise.
41023 * sysdeps/i386/bsd-setjmp.S: Likewise.
41024 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41025 * sysdeps/i386/setjmp.S: Likewise.
41026 * sysdeps/i386/__longjmp.S: Likewise.
41027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41028 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41030 * include/stap-probe.h: New file.
41031 * configure.in: Handle --enable-systemtap.
41032 * configure: Regenerated.
41033 * config.h.in (USE_STAP_PROBE): New #undef.
41034 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41035 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41036 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41038 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41041 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41042 to 2.4.0 where earlier.
41043 * sysdeps/unix/sysv/linux/configure: Regenerated.
41044 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41045 <kernel-features.h>.
41046 [__ASSUME_32BITUIDS]: Make code unconditional.
41047 [!__ASSUME_32BITUIDS]: Remove conditional code.
41048 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41049 <kernel-features.h>.
41050 [__ASSUME_32BITUIDS]: Make code unconditional.
41051 [!__ASSUME_32BITUIDS]: Remove conditional code.
41052 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41053 [__ASSUME_32BITUIDS]: Make code unconditional.
41054 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41055 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41056 <kernel-features.h>.
41057 [__ASSUME_32BITUIDS]: Make code unconditional.
41058 [!__ASSUME_32BITUIDS]: Remove conditional code.
41059 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41060 <kernel-features.h>.
41061 [__ASSUME_32BITUIDS]: Make code unconditional.
41062 [!__ASSUME_32BITUIDS]: Remove conditional code.
41063 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41064 <kernel-features.h>.
41065 [__ASSUME_32BITUIDS]: Make code unconditional.
41066 [!__ASSUME_32BITUIDS]: Remove conditional code.
41067 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41068 <kernel-features.h>.
41069 [__ASSUME_32BITUIDS]: Make code unconditional.
41070 [!__ASSUME_32BITUIDS]: Remove conditional code.
41071 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41072 <kernel-features.h>.
41073 [__ASSUME_32BITUIDS]: Make code unconditional.
41074 [!__ASSUME_32BITUIDS]: Remove conditional code.
41075 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41076 <kernel-features.h>.
41077 [__ASSUME_32BITUIDS]: Make code unconditional.
41078 [!__ASSUME_32BITUIDS]: Remove conditional code.
41079 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41080 <kernel-features.h>.
41081 [__ASSUME_32BITUIDS]: Make code unconditional.
41082 [!__ASSUME_32BITUIDS]: Remove conditional code.
41083 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41084 <kernel-features.h>.
41085 [__ASSUME_32BITUIDS]: Make code unconditional.
41086 [!__ASSUME_32BITUIDS]: Remove conditional code.
41087 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41088 <kernel-features.h>.
41089 [__ASSUME_32BITUIDS]: Make code unconditional.
41090 [!__ASSUME_32BITUIDS]: Remove conditional code.
41091 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41092 <kernel-features.h>.
41093 [__ASSUME_32BITUIDS]: Make code unconditional.
41094 [!__ASSUME_32BITUIDS]: Remove conditional code.
41095 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41096 <kernel-features.h>.
41097 [__NR_setresgid] (__setresgid): Do not declare.
41098 [__ASSUME_32BITUIDS]: Make code unconditional.
41099 [!__ASSUME_32BITUIDS]: Remove conditional code.
41100 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41101 <kernel-features.h>.
41102 [__NR_setresuid] (__setresuid): Do not declare.
41103 [__ASSUME_32BITUIDS]: Make code unconditional.
41104 [!__ASSUME_32BITUIDS]: Remove conditional code.
41105 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41106 <kernel-features.h>.
41107 [__ASSUME_32BITUIDS]: Make code unconditional.
41108 [!__ASSUME_32BITUIDS]: Remove conditional code.
41109 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41110 <kernel-features.h>.
41111 [__ASSUME_32BITUIDS]: Make code unconditional.
41112 [!__ASSUME_32BITUIDS]: Remove conditional code.
41113 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41114 <kernel-features.h>.
41115 [__ASSUME_32BITUIDS]: Make code unconditional.
41116 [!__ASSUME_32BITUIDS]: Remove conditional code.
41117 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41118 <kernel-features.h>.
41119 [__ASSUME_32BITUIDS]: Make code unconditional.
41120 [!__ASSUME_32BITUIDS]: Remove conditional code.
41121 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41122 <kernel-features.h>.
41123 [__ASSUME_32BITUIDS]: Make code unconditional.
41124 [!__ASSUME_32BITUIDS]: Remove conditional code.
41125 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41126 <kernel-features.h>.
41127 [__ASSUME_32BITUIDS]: Make code unconditional.
41128 [!__ASSUME_32BITUIDS]: Remove conditional code.
41129 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41130 <kernel-features.h>.
41131 [__ASSUME_32BITUIDS]: Make code unconditional.
41132 [!__ASSUME_32BITUIDS]: Remove conditional code.
41133 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41134 <kernel-features.h>.
41135 [__ASSUME_32BITUIDS]: Make code unconditional.
41136 [!__ASSUME_32BITUIDS]: Remove conditional code.
41137 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41138 <kernel-features.h>.
41139 [__ASSUME_32BITUIDS]: Make code unconditional.
41140 [!__ASSUME_32BITUIDS]: Remove conditional code.
41141 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41142 <kernel-features.h>.
41143 [__ASSUME_32BITUIDS]: Make code unconditional.
41144 [!__ASSUME_32BITUIDS]: Remove conditional code.
41145 * sysdeps/unix/sysv/linux/kernel-features.h
41146 (__ASSUME_SETRESUID_SYSCALL): Remove.
41147 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41148 (__ASSUME_32BITUIDS): Likewise.
41149 (__ASSUME_LDT_WORKS): Likewise.
41150 (__ASSUME_O_DIRECTORY): Likewise.
41151 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41152 architecture but not kernel version.
41153 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41154 (__ASSUME_MMAP2_SYSCALL): Likewise.
41155 (__ASSUME_STAT64_SYSCALL): Likewise.
41156 (__ASSUME_IPC64): Likewise.
41157 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41158 <kernel-features.h>.
41159 [__ASSUME_32BITUIDS]: Make code unconditional.
41160 [!__ASSUME_32BITUIDS]: Remove conditional code.
41161 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41162 <kernel-features.h>.
41163 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41164 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41165 132096]: Remove conditional code.
41166 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41167 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41168 <kernel-features.h>.
41169 [__ASSUME_32BITUIDS]: Make code unconditional.
41170 [!__ASSUME_32BITUIDS]: Remove conditional code.
41171 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41172 <kernel-features.h>.
41173 [__ASSUME_32BITUIDS]: Make code unconditional.
41174 [!__ASSUME_32BITUIDS]: Remove conditional code.
41175 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41176 <kernel-features.h>.
41177 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41179 (__setresgid): Do not declare.
41180 [__ASSUME_32BITUIDS]: Make code unconditional.
41181 [!__ASSUME_32BITUIDS]: Remove conditional code.
41182 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41183 <kernel-features.h>.
41184 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41186 (__setresuid): Do not declare.
41187 [__ASSUME_32BITUIDS]: Make code unconditional.
41188 [!__ASSUME_32BITUIDS]: Remove conditional code.
41189 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41190 <kernel-features.h>.
41191 [__ASSUME_32BITUIDS]: Make code unconditional.
41192 [!__ASSUME_32BITUIDS]: Remove conditional code.
41193 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41194 <kernel-features.h>.
41195 [__ASSUME_32BITUIDS]: Make code unconditional.
41196 [!__ASSUME_32BITUIDS]: Remove conditional code.
41198 2012-05-25 Richard Henderson <rth@twiddle.net>
41200 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41201 dl_hwcap to ifunc resolver.
41202 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41204 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41205 dl_hwcap to ifunc resolver.
41206 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41208 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41211 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41212 for |x| <= 2**-26, not 2**-57.
41213 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41216 2012-05-24 Jeff Law <law@redhat.com>
41218 * stdio-common/Makefile (tests): Add bug25.
41219 * stdio-common/bug25.c: New test.
41221 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41224 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41225 multiple of MALLOC_ALIGNMENT in size.
41226 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41228 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41230 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41232 (FILENAME_MAX): Use macro-int-constant.
41233 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41234 (_IOFBF): Use macro-int-constant.
41235 (_IOLBF): Likewise.
41236 (_IONBF): Likewise.
41237 (SEEK_CUR): Likewise.
41238 (SEEK_END): Likewise.
41239 (SEEK_SET): Likewise.
41240 (TMP_MAX): Likewise.
41241 (EOF): Use macro-int-constant. Require < 0.
41242 (NULL): Use macro-constant. Require == 0.
41243 (stdin): Require type to be FILE *.
41244 (stdout): Likewise.
41245 (stderr): Likewise.
41246 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41247 macro-int-constant.
41248 (EXIT_SUCCESS): Likewise.
41249 (NULL): Use macro-constant. Require == 0.
41250 (RAND_MAX): Use macro-int-constant.
41251 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41252 [C99-based standards] (strtof): Require function.
41253 [C99-based standards] (strtold): Likewise.
41254 [C99-based standards] (strtoll): Likewise.
41255 [C99-based standards] (strtoull): Likewise.
41256 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41257 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41258 [ISO || ISO99 || ISO11] (math.h): Likewise.
41259 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41260 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41261 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41263 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41266 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41267 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41268 * intl/dgettext.c (DCGETTEXT): Likewise.
41269 * intl/gettext.c (DCGETTEXT): Likewise.
41270 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41271 * posix/regex_internal.h (gettext): Likewise.
41272 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41273 Remove declaration.
41274 * include/argz.h (__argz_count_internal)
41275 (__argz_stringify_internal): Remove declaration.
41276 (__argz_count, __argz_stringify): Declare hidden proto.
41277 * intl/dcgettext.c: Remove use of INTDEF.
41278 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41279 * string/argz-stringify.c: Likewise.
41280 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41281 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41282 Declare hidden proto.
41283 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41284 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41285 Declare hidden proto.
41286 * include/stdio.h (__asprintf_internal): Don't declare.
41287 (__asprintf): Don't define as macro. Declare hidden proto.
41288 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41289 (__fsetlocking): Declare hidden proto.
41290 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41291 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41293 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41294 (_IO_setlinebuf): Remove use of INTUSE.
41295 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41296 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41297 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41298 Remove declaration.
41299 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41300 (_IO_do_flush): Remove use of INTUSE.
41301 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41302 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41303 (_IO_adjust_column, _IO_least_wmarker)
41304 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41305 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41306 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41307 (_IO_default_doallocate, _IO_wdefault_doallocate)
41308 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41309 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41310 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41311 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41312 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41313 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41314 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41315 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41316 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41317 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41318 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41319 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41320 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41322 (_IO_flush_all_internal, _IO_adjust_column_internal)
41323 (_IO_default_uflow_internal, _IO_default_finish_internal)
41324 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41325 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41326 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41327 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41328 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41329 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41330 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41331 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41332 (_IO_file_close_internal, _IO_file_close_it_internal)
41333 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41334 (_IO_file_init_internal, _IO_file_attach_internal)
41335 (_IO_file_fopen_internal, _IO_file_read_internal)
41336 (_IO_file_sync_internal, _IO_file_seek_internal)
41337 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41338 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41339 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41340 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41341 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41342 (_IO_list_all_internal, _IO_link_in_internal)
41343 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41344 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41345 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41346 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41347 (_IO_do_write_internal, _IO_padn_internal)
41348 (_IO_getline_info_internal, _IO_getline_internal)
41349 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41350 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41351 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41352 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41353 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41354 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41355 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41356 with libc_hidden_ver, remove use of INTUSE.
41357 * libio/genops.c: Likewise.
41358 * libio/freopen.c: Likewise.
41359 * libio/freopen64.c: Likewise.
41360 * libio/iofclose.c: Likewise.
41361 * libio/iofdopen.c: Likewise.
41362 * libio/iofflush.c: Likewise.
41363 * libio/iofflush_u.c: Likewise.
41364 * libio/iofgets.c: Likewise.
41365 * libio/iofgets_u.c: Likewise.
41366 * libio/iofopen.c: Likewise.
41367 * libio/iofopncook.c: Likewise.
41368 * libio/iofread.c: Likewise.
41369 * libio/iofread_u.c: Likewise.
41370 * libio/ioftell.c: Likewise.
41371 * libio/iofwrite.c: Likewise.
41372 * libio/iogetline.c: Likewise.
41373 * libio/iogets.c: Likewise.
41374 * libio/iogetwline.c: Likewise.
41375 * libio/iopadn.c: Likewise.
41376 * libio/iopopen.c: Likewise.
41377 * libio/ioseekoff.c: Likewise.
41378 * libio/ioseekpos.c: Likewise.
41379 * libio/iosetbuffer.c: Likewise.
41380 * libio/iosetvbuf.c: Likewise.
41381 * libio/ioungetc.c: Likewise.
41382 * libio/ioungetwc.c: Likewise.
41383 * libio/iovdprintf.c: Likewise.
41384 * libio/iovsprintf.c: Likewise.
41385 * libio/iovsscanf.c: Likewise.
41386 * libio/memstream.c: Likewise.
41387 * libio/obprintf.c: Likewise.
41388 * libio/oldfileops.c: Likewise.
41389 * libio/oldiofclose.c: Likewise.
41390 * libio/oldiofdopen.c: Likewise.
41391 * libio/oldiofopen.c: Likewise.
41392 * libio/oldiopopen.c: Likewise.
41393 * libio/oldstdfiles.c: Likewise.
41394 * libio/putc.c: Likewise.
41395 * libio/setbuf.c: Likewise.
41396 * libio/setlinebuf.c: Likewise.
41397 * libio/stdfiles.c: Likewise.
41398 * libio/strops.c: Likewise.
41399 * libio/vasprintf.c: Likewise.
41400 * libio/vscanf.c: Likewise.
41401 * libio/vsnprintf.c: Likewise.
41402 * libio/vswprintf.c: Likewise.
41403 * libio/wfiledoalloc.c: Likewise.
41404 * libio/wfileops.c: Likewise.
41405 * libio/wgenops.c: Likewise.
41406 * libio/wmemstream.c: Likewise.
41407 * libio/wstrops.c: Likewise.
41408 * libio/__fpurge.c: Likewise.
41409 * libio/__fsetlocking.c: Likewise.
41410 * assert/assert.c: Likewise.
41411 * debug/fgets_chk.c: Likewise.
41412 * debug/fgets_u_chk.c: Likewise.
41413 * debug/fread_chk.c: Likewise.
41414 * debug/fread_u_chk.c: Likewise.
41415 * debug/gets_chk.c: Likewise.
41416 * debug/obprintf_chk.c: Likewise.
41417 * debug/vasprintf_chk.c: Likewise.
41418 * debug/vdprintf_chk.c: Likewise.
41419 * debug/vsnprintf_chk.c: Likewise.
41420 * debug/vsprintf_chk.c: Likewise.
41421 * malloc/mtrace.c: Likewise.
41422 * misc/error.c: Likewise.
41423 * misc/syslog.c: Likewise.
41424 * stdio-common/asprintf.c: Likewise.
41425 * stdio-common/fxprintf.c: Likewise.
41426 * stdio-common/getw.c: Likewise.
41427 * stdio-common/isoc99_fscanf.c: Likewise.
41428 * stdio-common/isoc99_scanf.c: Likewise.
41429 * stdio-common/isoc99_vfscanf.c: Likewise.
41430 * stdio-common/isoc99_vscanf.c: Likewise.
41431 * stdio-common/isoc99_vsscanf.c: Likewise.
41432 * stdio-common/printf-prs.c: Likewise.
41433 * stdio-common/printf_fp.c: Likewise.
41434 * stdio-common/printf_fphex.c: Likewise.
41435 * stdio-common/printf_size.c: Likewise.
41436 * stdio-common/putw.c: Likewise.
41437 * stdio-common/scanf.c: Likewise.
41438 * stdio-common/sprintf.c: Likewise.
41439 * stdio-common/tmpfile.c: Likewise.
41440 * stdio-common/vfprintf.c: Likewise.
41441 * stdio-common/vfscanf.c: Likewise.
41442 * stdlib/strfmon_l.c: Likewise.
41443 * sunrpc/openchild.c: Likewise.
41444 * sunrpc/xdr_stdio.c: Likewise.
41445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41446 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41448 2012-05-24 Roland McGrath <roland@hack.frob.com>
41450 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41452 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41453 in the third column, to generate for the shared library an IFUNC
41454 that uses _dl_vdso_vsym.
41455 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41456 * Makeconfig (object-suffixes-noshared): New variable.
41458 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41459 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41460 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41461 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41464 * include/sys/time.h (__gettimeofday): Remove macro.
41465 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41466 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41468 (__gettimeofday): Add libc_hidden_def.
41469 (gettimeofday): Add libc_hidden_weak.
41470 * sysdeps/mach/gettimeofday.c: Likewise.
41471 * sysdeps/posix/gettimeofday.c: Likewise.
41472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41473 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41475 (__gettimeofday_internal): Remove strong_alias.
41476 (__gettimeofday): Add libc_hidden_def.
41477 (gettimeofday): Add libc_hidden_weak.
41478 * sysdeps/unix/syscalls.list (gettimeofday):
41479 Remove __gettimeofday_internal alias.
41481 2012-05-24 Daniel Jacobowitz <drow@false.org>
41482 H.J. Lu <hongjiu.lu@intel.com>
41485 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41486 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41487 (largebin_index_32_big): New.
41488 (largebin_index): Use it for 16-byte alignment.
41489 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41490 correction with front_misalign.
41492 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41520 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41521 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41523 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41527 * math/libm-test.inc (exp_test): Add test from bug 14036.
41528 (pow_test): Add test from bug 10846.
41530 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41532 (special_function): Do not include flags in test name.
41533 (parse_args): Likewise.
41534 * sysdeps/i386/fpu/libm-test-ulps: Update.
41535 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41536 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41537 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41540 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41542 * math/libm-test.inc ("Philosophy"): Update comment about
41544 (UNDERFLOW_EXCEPTION): New macro.
41545 (UNDERFLOW_EXCEPTION_OK): Likewise.
41546 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41547 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41548 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41549 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41550 (INVALID_EXCEPTION_OK): Update value.
41551 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41552 (OVERFLOW_EXCEPTION_OK): Likewise.
41553 (IGNORE_ZERO_INF_SIGN): Likewise.
41554 (test_exceptions): Handle underflow exceptions.
41555 (acos_test): Update for underflow exception expectations.
41556 (cexp_test): Likewise.
41557 (clog_test): Likewise.
41558 (clog10_test): Likewise.
41559 (csqrt_test): Likewise.
41560 (ctan_test): Likewise.
41561 (ctanh_test): Likewise.
41562 (exp_test): Likewise.
41563 (exp10_test): Likewise.
41564 (exp2_test): Likewise.
41565 (expm1_test): Likewise.
41566 (fma_test): Likewise.
41567 (j0_test): Likewise.
41568 (jn_test): Likewise.
41569 (nexttoward_test): Likewise.
41570 (pow_test): Likewise.
41571 (scalbn_test): Likewise.
41572 (scalbln_test): Likewise.
41573 (tan_test): Likewise.
41574 (y1_test): Likewise.
41575 * sysdeps/i386/fpu/libm-test-ulps: Update.
41576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41578 2012-05-23 David S. Miller <davem@davemloft.net>
41580 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41581 (__libc_sigaction): Remove unused local variables.
41583 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41585 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41587 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41589 mktime: avoid signed integer overflow
41590 * time/mktime.c (__mktime_internal): Do not mishandle the case
41591 where diff == INT_MIN.
41593 mktime: simplify computation of average
41594 * time/mktime.c (ranged_convert): Use new time_t_avg function
41595 instead of rolling our own (probably-slower) code.
41597 mktime: do not assume signed right shift propagates sign bit
41598 * time/mktime.c (isdst_differ): New static function.
41599 (__mktime_internal): No need to normalize tm_isdst now.
41600 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41603 mktime: merge another wrapv change from gnulib
41604 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41605 from some compilers.
41607 mktime: remove incorrect attempt at unusual arithmetics
41608 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41609 The code didn't really work on such machines anyway.
41610 (TYPE_MINIMUM): Assume two's complement.
41611 (twos_complement_arithmetic): Verify that long_int and time_t
41612 are two's complement (or unsigned, in the latter case).
41614 mktime: check signed shifts on long_int and time_t, too
41615 * time/mktime.c (SHR): Check that shifts work as desired
41616 on the types long_int and time_t too, as SHR is used on
41619 mktime: do not assume 'long' is wide enough
41620 * time/mktime.c (verify): Move decl up.
41621 (long_int): New type.
41622 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41623 to remove assumption in the code that 'long' is wide enough to
41624 store year values. This assumption is not true on x32 and on
41625 some non-glibc platforms.
41627 mktime: merge wrapv change from gnulib
41628 * time/mktime.c (WRAPV): New macro.
41629 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41630 (guess_time_tm, __mktime_internal): Do not assume that signed
41631 integer overflow wraps around; modern compilers generate code
41632 where this assumption is no longer valid.
41634 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41636 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41637 Replace "jmp L(pseudo_end)" with "ret".
41638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41641 2012-05-23 Andreas Jaeger <aj@suse.de>
41643 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41644 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41646 2012-05-23 Andreas Jaeger <aj@suse.de>
41647 Maximilian Attems <max@stro.at>
41649 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41652 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41654 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41655 code so that pseudo_end is just ret and the stack pointer is
41656 correct also for static library in error case.
41658 2012-05-23 Joseph Myers <joseph@codesourcery.com>
41660 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41661 move to syscalls.list.
41662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41667 * manual/install.texi (Running make install): Do not mention Linux
41668 kernel version for which pt_chown is not needed.
41669 (Linux): Do not mention problems with nscd with 2.0 kernels.
41670 * INSTALL: Regenerated.
41672 2012-05-23 Andreas Jaeger <aj@suse.de>
41674 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41675 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41677 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41678 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41679 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41680 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41681 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41682 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41683 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41684 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41685 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41686 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41687 * sysdeps/unix/sysv/linux/bits/in.h
41688 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41690 2012-05-22 Roland McGrath <roland@hack.frob.com>
41692 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41693 (PREPARE_VERSION): Just use assert instead, it will be elided
41694 under [NDEBUG] anyway.
41696 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41698 * sysdeps/unix/sysv/linux/Makefile: Include
41699 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41700 (sysdep_routines): Remove sysctl.
41701 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41702 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41703 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41704 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41705 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41707 2012-05-22 Andreas Jaeger <aj@suse.de>
41709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41710 that pseudo_end is just ret and the stack pointer is correct also
41711 for static library in error case.
41713 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41716 * nss/nsswitch.c (defconfig_entries): New variable.
41717 (__nss_database_lookup): Don't leak defconfig entries.
41718 (nss_parse_service_list): Don't leak on error paths.
41719 (free_database_entries): New function.
41720 (free_defconfig): New function.
41721 (free_mem): Move common code to free_database_entries.
41723 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41725 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41727 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41729 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41730 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41733 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41734 (INTERNAL_SYSCALL_TYPES): Likewise.
41735 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41736 (LOAD_REGS_TYPES_[1-6]): Likewise.
41737 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41738 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41740 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41742 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41743 copysignl for GLIBC_2_0.
41744 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41745 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41747 logbl for GLIBC_2_0.
41748 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41749 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41751 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41754 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41756 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41759 * time/mktime.c: Update copyright years.
41761 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41763 mktime: merge comment-quoting-style change from gnulib
41764 * time/mktime.c: Quote 'like this' in comments.
41765 The GNU coding standards suggest that we no longer quote `like this',
41766 as "`" and "'" are typically rendered asymmetrically nowadays.
41767 The typical gnulib style is to quote 'like this' when quoting
41768 code, and "like this" when quoting English.
41770 * time/mktime.c (compile-command): Add "-I.".
41772 mktime: merge mktime-internal.h change from gnulib
41773 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41775 mktime: merge time_r change from gnulib
41776 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41778 mktime: merge DEBUG change from gnulib
41779 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41780 case system <time.h> has a #define.
41782 mktime: merge <sys/types.h> change from gnulib
41783 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41784 since <time.t> is now guaranteed to define time_t.
41786 mktime: merge HAVE_CONFIG_H change from gnulib
41787 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41789 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41794 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41796 (struct rusage): Use anonymous union to pad each field to
41799 2012-05-21 David S. Miller <davem@davemloft.net>
41801 * Makefules (o-iterator): Remove .s cases.
41802 (compile-command.s): Delete.
41803 (COMPILE.s): Delete.
41804 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41806 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41808 * configure.in (libc_cv_predef_stack_protector): Only consider
41809 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41810 * configure: Regenerated.
41812 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41815 New macro. Use R*LP on int and pointer.
41816 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41817 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41818 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41819 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41821 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41822 [__WORDSIZE_TIME64_COMPAT32] instead of
41823 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41824 (struct utmp): Likewise.
41825 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41826 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41828 (__WORDSIZE_TIME64_COMPAT32): This.
41829 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41830 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41831 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41832 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41833 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41834 (__WORDSIZE_TIME64_COMPAT32): New macro.
41836 2012-05-21 Andreas Jaeger <aj@suse.de>
41838 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41839 only if [SHARED]. Add prototype for __wcschr_ia32.
41841 2012-05-21 Roland McGrath <roland@hack.frob.com>
41843 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41844 of %rbp unmolested in the jmp_buf while mangling the low bits.
41845 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41846 unmolested high bits of %rbp while demangling the low bits.
41847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41849 2012-05-21 Andreas Jaeger <aj@suse.de>
41851 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41852 * sunrpc/svc_simple.c: Use it for registerrpc.
41853 * sunrpc/xcrypt.c: Use it for passwd2des.
41855 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41857 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41859 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41860 Don't define if [__SYSCALL_WORDSIZE != 32].
41861 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41864 2012-05-21 Bruno Haible <bruno@clisp.org>
41865 Andreas Jaeger <aj@suse.de>
41867 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41868 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41869 inptr and inend for must_buffer_ch.
41870 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41871 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41872 * stdio-common/Makefile (tests): Remove bug15.
41873 (bug15-ENV): Remove macro.
41874 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41877 2012-05-19 Andreas Jaeger <aj@suse.de>
41878 Roland McGrath <roland@hack.frob.com>
41880 * manual/contrib.texi: Completely rewritten. It contains now an
41881 alphabetical list of contributors and their contributions.
41883 2012-05-21 Richard Henderson <rth@twiddle.net>
41885 * misc/getauxval.c (__getauxval): Use unsigned long int.
41886 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41887 (getauxval): Use unsigned long int.
41889 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41891 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41893 2012-05-21 Roland McGrath <roland@hack.frob.com>
41895 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41896 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41897 __alignof__ (long double).
41899 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41903 2012-05-20 Richard Henderson <rth@twiddle.net>
41905 * misc/getauxval.c: New file.
41906 * misc/sys/auxv.h: New file.
41907 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41908 (routines): Add getauxval.
41909 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41910 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41911 * elf/dl-sysdep.c (_dl_auxv): Remove.
41912 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41913 * elf/dl-support.c (_dl_auxv): New variable.
41914 (_dl_aux_init): Initialize it.
41915 * manual/startup.texi (Auxiliary Vector): New node.
41916 * sysdeps/generic/bits/hwcap.h: New file.
41917 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41918 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41919 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41920 * sysdeps/sparc/sysdep.h: ... here. Include it.
41921 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41934 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41938 2012-05-19 David S. Miller <davem@davemloft.net>
41940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41942 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41945 * math/s_ccosh.c: Include <float.h>
41946 (__ccosh): Avoid internal overflow calculating sinh and cosh
41947 values before multiplying by sin and cos values.
41948 * math/s_ccoshf.c: Likewise.
41949 * math/s_ccoshl.c: Likewise.
41950 * math/s_csin.c: Likewise.
41951 * math/s_csinf.c: Likewise.
41952 * math/s_csinl.c: Likewise.
41953 * math/s_csinh.c: Likewise.
41954 * math/s_csinhf.c: Likewise.
41955 * math/s_csinhl.c: Likewise.
41956 * math/libm-test.inc (ccos_test): Add more tests.
41957 (ccosh_test): Likewise.
41958 (csin_test): Likewise.
41959 (csinh_test): Likewise.
41960 * sysdeps/i386/fpu/libm-test-ulps: Update.
41961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41963 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41965 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41966 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41968 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41970 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41972 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41973 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41974 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41975 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41976 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41977 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41978 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41979 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41980 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41981 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41982 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41983 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41984 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41985 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41986 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41987 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41988 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41989 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41990 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41991 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41992 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41993 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41994 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41995 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41996 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41997 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41998 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41999 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42000 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42001 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42002 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42004 2012-05-18 Andreas Jaeger <aj@suse.de>
42006 * csu/.gitignore: Delete.
42008 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42010 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42011 (timex): Use __syscall_slong_t.
42013 2012-05-18 Andreas Jaeger <aj@suse.de>
42014 Carlos O'Donell <carlos_odonell@mentor.com>
42016 * manual/install.texi (Configuring and compiling): Update
42017 description about files modified in the source directory.
42018 * INSTALL: Regenerated.
42020 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42022 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42023 value. Use "or" to set return value to -1.
42024 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42025 negate return value.
42027 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42029 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42030 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42031 failure if the compiler has Graphite support disabled.
42032 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42034 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42035 (CFLAGS-memmove.c): Likewise.
42036 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42039 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42041 * sysdeps/x86_64/x32/_itoa.h: New file.
42043 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42044 getdents system call only if kernel and user dirents have the
42045 same d_ino and d_off.
42047 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42048 LLONG_MAX != LONG_MAX.
42049 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42050 (_fitoa_word): Likewise.
42052 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42054 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42055 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42056 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42058 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42059 include <bits/wordsize.h>. Check __x86_64__ instead of
42061 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42062 if __x86_64__ is defined. Use anonymous union on fpstate.
42064 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42067 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42069 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42070 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42072 Refer to _rtld_local_ro instead of _rtld_global_ro.
42073 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42075 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42077 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42079 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42080 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42081 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42083 * sysdeps/powerpc/powerpc32/dl-machine.c
42084 (__elf_machine_runtime_setup) [PROF]: Don't reference
42087 2012-05-18 Andreas Jaeger <aj@suse.de>
42089 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42090 function only available for GCCs before 3.4 since GCC 3.4
42091 introduced a builtin.
42093 (llrintf): Likewise.
42094 (llrint): Likewise.
42101 (nearbyint): Likewise.
42102 (nearbyintf): Likewise.
42106 (floorf): Likewise.
42108 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42110 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42111 on both fields and cast pointer to __syscall_ulong_t.
42113 * bits/types.h (__fsword_t): New type.
42114 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42115 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42117 (__FSWORD_T_TYPE): Likewise.
42118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42119 (__FSWORD_T_TYPE): Likewise.
42120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42121 (__FSWORD_T_TYPE): Likewise.
42122 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42123 (__FSWORD_T_TYPE): Likewise.
42124 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42125 __SWORD_TYPE with __fsword_t.
42126 (statfs64): Likewise.
42128 2012-05-17 David S. Miller <davem@davemloft.net>
42130 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42132 2012-05-17 Andreas Jaeger <aj@suse.de>
42134 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42137 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42139 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42141 2012-05-17 Andreas Jaeger <aj@suse.de>
42143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42146 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42148 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42150 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42152 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42153 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42155 2012-05-17 Andreas Jaeger <aj@suse.de>
42156 Carlos O'Donell <carlos_odonell@mentor.com>
42159 * sysdeps/x86_64/multiarch/init-arch.h
42160 (bit_YMM_Usable): Rename to...
42161 (bit_AVX_Usable): ... this.
42162 (bit_FMA4_Usable): New macro.
42163 (bit_XMM_state): New macro.
42164 (bit_YMM_state): New macro.
42165 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42166 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42167 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42168 (CPUID_OSXSAVE): New macro.
42169 (CPUID_AVX): New macro.
42170 (CPUID_FMA4): New macro.
42171 (index_YMM_Usable): Rename to...
42172 (index_AVX_Usable): ... this.
42173 (HAS_AVX): Use HAS_ARCH_FEATURE.
42174 (HAS_FMA4): Likewise.
42175 (HAS_YMM_USABLE): Remove.
42176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42177 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42179 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42180 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42181 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42182 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42183 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42185 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42187 * math/libm-test.c: Support platforms without multiple rounding modes.
42188 * math/bug-nextafter.c: Support platforms without FP exceptions.
42189 * math/bug-nexttoward.c: Likewise.
42190 * math/test-fenv.c: Likewise.
42191 * math/test-misc.c: Likewise.
42192 * stdlib/bug-getcontext.c: Likewise.
42194 2012-05-17 Andreas Jaeger <aj@suse.de>
42196 * manual/examples/search.c (critter_cmp): Change signature to
42198 * manual/string.texi (Collation Functions): Likewise.
42200 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42202 * bits/types.h: Fold copyright years.
42203 * bits/typesizes.h: Likewise.
42204 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42207 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42208 * time/time.h: Likewise.
42210 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42213 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42214 in instead of returning them. Return void.
42215 (__libc_mallinfo): Accumulate over all arenas.
42216 (__malloc_stats): Adjust for change in int_mallinfo interface.
42218 2012-05-16 Roland McGrath <roland@hack.frob.com>
42221 * configure.in (NM): Add AC_CHECK_TOOL for it.
42222 (libc_extra_cflags): New substituted variable.
42223 Check for -fstack-protector being used implicitly.
42224 * configure: Regenerated.
42225 * config.make.in (config-extra-cflags): New variable,
42226 gets @libc_extra_cflags@.
42227 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42230 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42231 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42232 * configure: Regenerated.
42233 * config.make.in (CPPUNDEFS): New substituted variable.
42234 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42235 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42236 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42240 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42241 (mq_attr): Use __syscall_slong_t.
42243 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42245 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42246 Check __x86_64__ instead of __WORDSIZE.
42247 (_STAT_VER_LINUX): Likewise.
42248 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42249 __syscall_ulong_t and __syscall_slong_t.
42250 (stat64): Likewise.
42252 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42254 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42256 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42258 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42260 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42262 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42265 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42266 include <bits/wordsize.h>. Check __x86_64__ instead of
42268 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42270 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42272 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42273 include <bits/wordsize.h>. Check __x86_64__ instead of
42275 (user_regs_struct): Use "__extension__ unsigned long long"
42276 instead of "unsigned long" if __x86_64__ is defined.
42277 (user): Likewise. Pad after pointer field if __ILP32__ is
42280 2012-05-16 Joseph Myers <joseph@codesourcery.com>
42282 * configure.in (makeinfo): Require version 4.5 or later. Allow
42284 * configure: Regenerated.
42285 * manual/install.texi (texinfo): Increase version requirement to
42287 * INSTALL: Regenerated.
42289 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42291 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42293 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42295 * sysdeps/x86_64/x32/ffs.c: New file.
42297 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42299 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42300 defined. Use __syscall_ulong_t.
42301 (shminfo): Use __syscall_ulong_t.
42302 (shm_info): Likewise.
42304 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42307 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42309 (msgqnum_t): Use __syscall_ulong_t.
42310 (msglen_t): Likewise.
42311 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42314 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42315 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42317 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42319 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42320 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42322 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42325 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42326 include <bits/wordsize.h>. Check __x86_64__ instead of
42329 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42330 "unsigned long long int" if __x86_64__ is defined.
42331 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42333 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42334 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42335 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42337 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42339 (GET_PC): Cast to uintptr_t first.
42340 (GET_FRAME): Likewise.
42341 (GET_STACK): Likewise.
42343 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42344 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42345 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42346 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42347 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42348 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42349 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42350 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42351 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42352 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42353 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42354 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42355 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42356 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42357 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42358 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42359 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42360 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42361 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42362 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42363 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42364 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42365 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42366 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42367 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42368 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42369 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42370 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42371 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42373 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42375 * Makerules (+depfiles): Also collect depfiles from .oS in
42377 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42378 .oS, $(libnldbl-routines)).
42380 * Makerules (native-compile-mkdep-flags): Define.
42381 * sunrpc/Makefile (extra-objs): Add $(addprefix
42382 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42383 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42384 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42385 calling $(make-target-directory).
42387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42389 * bits/types.h (__snseconds_t): Removed.
42390 * time/time.h (struct timespec): Replace __snseconds_t with
42392 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42393 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42395 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42396 (__SNSECONDS_T_TYPE): Likewise.
42397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42398 (__SNSECONDS_T_TYPE): Likewise.
42399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42400 (__SNSECONDS_T_TYPE): Likewise.
42402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42404 * sysdeps/mach/hurd/bits/typesizes.h
42405 (__SYSCALL_SLONG_TYPE): New macro.
42406 (__SYSCALL_ULONG_TYPE): Likewise.
42408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42410 * bits/types.h (__syscall_slong_t): New type.
42411 (__syscall_ulong_t): Likewise.
42413 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42414 (__SYSCALL_ULONG_TYPE): Likewise.
42415 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42416 (__SYSCALL_SLONG_TYPE): Likewise.
42417 (__SYSCALL_ULONG_TYPE): Likewise.
42418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42419 (__SYSCALL_SLONG_TYPE): Likewise.
42420 (__SYSCALL_ULONG_TYPE): Likewise.
42421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42422 (__SYSCALL_SLONG_TYPE): Likewise.
42423 (__SYSCALL_ULONG_TYPE): Likewise.
42425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42427 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42428 Add sigaltstack-offsets.sym.
42429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42430 <sigaltstack-offsets.h>.
42431 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42432 longjmp_msg pointer.
42433 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42434 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42436 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42438 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42440 * elf/stackguard-macros.h: Remove file.
42441 * sysdeps/generic/stackguard-macros.h: New file.
42442 * sysdeps/i386/stackguard-macros.h: Likewise.
42443 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42444 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42445 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42446 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42447 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42448 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42449 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42450 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42451 <elf/stackguard-macros.h>.
42454 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42455 __aligned__ in attribute.
42456 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42457 (gregset_t): Likewise.
42459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42461 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42462 * sysdeps/x86_64/64/Implies-after: Here. New file.
42463 * sysdeps/x86_64/x32/Implies-after: New file.
42465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42467 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42468 and access return value for _dl_profile_fixup. Use R10_LP to
42471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42473 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42477 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42478 * sysdeps/x86_64/x32/sysdep.h: New file.
42480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42482 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42483 * sysdeps/x86_64/setjmp.S: Likewise.
42485 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42487 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42488 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42489 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42490 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42491 remove unused global constant.
42493 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42495 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42496 include of <not-cancel.h>.
42498 2012-05-15 Roland McGrath <roland@hack.frob.com>
42500 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42502 2012-05-15 Jeff Law <law@redhat.com>
42503 Andreas Jaeger <aj@suse.de>
42506 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42508 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42509 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42510 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42511 code changing __hst_map_handle.map.
42513 2012-05-15 Roland McGrath <roland@hack.frob.com>
42515 * configure.in (sysnames): Look for Implies-before and Implies-after
42517 * configure: Regenerated.
42519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42521 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42522 8-byte data alignment with LP_SIZE alignment.
42524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42526 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42531 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42535 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42536 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42539 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42543 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42544 (stackinfo_sub_sp): Likewise.
42546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42548 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42563 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42567 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42568 into R11_LP and load __x86_64_shared_cache_size_half into
42571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42573 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42576 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42584 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42585 powerpc32/power7/fpu/s_logb.c via #include.
42586 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42587 powerpc32/power7/fpu/s_logbf.c via #include.
42588 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42589 powerpc32/power7/fpu/s_logbl.c via #include.
42591 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42593 * README.libm: Remove file.
42595 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42597 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42598 count for x32. Use R*_LP and omit operand-size suffix.
42600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42602 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42603 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42604 * sysdeps/x86_64/x32/shlib-versions: New file.
42606 2012-05-14 Roland McGrath <roland@hack.frob.com>
42608 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42609 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42610 Use _dl_fatal_printf instead.
42612 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42614 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42615 set if not set by the user. Do not allow for being unset.
42616 * sysdeps/unix/sysv/linux/configure: Regenerated.
42618 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42620 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42621 the `q' suffix from lea and replace .quad with ASM_ADDR.
42623 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42626 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42628 (PTR_DEMANGLE): Likewise.
42630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42632 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42634 (ASM_ADDR): Likewise.
42635 (RAX_LP): Likewise.
42636 (RBP_LP): Likewise.
42637 (RBX_LP): Likewise.
42638 (RCX_LP): Likewise.
42639 (RDI_LP): Likewise.
42640 (RSI_LP): Likewise.
42641 (RSP_LP): Likewise.
42644 (R10_LP): Likewise.
42645 (R10_LP): Likewise.
42646 (R11_LP): Likewise.
42647 (R12_LP): Likewise.
42648 (R13_LP): Likewise.
42649 (R14_LP): Likewise.
42650 (R15_LP): Likewise.
42652 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42654 * sysdeps/x86_64/x32/dl-machine.h: New file.
42656 2012-05-14 Andreas Jaeger <aj@suse.de>
42658 * manual/Makefile (subdir): Remove export of subdir.
42659 (all): Remove target.
42660 (.PHONY): Remove all from list.
42661 (mkinstalldirs): Remove.
42662 (.PHONY): Remove installdirs from list.
42663 ($(inst_infodir)/libc.info): Use make-target-directory.
42664 (installdirs): Remove.
42665 (subdir_%): Remove.
42666 (glibc-targets): Remove.
42669 ($(objpfx)stubs ../po/manual.pot): Remove.
42670 ($(objpfx)stamp%): Remove.
42671 (make-target-directory): Remove.
42672 (subdir_install): Remove.
42673 (routines): Remove.
42680 * manual/.gitignore: Remove, it's not needed anymore.
42681 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42683 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42685 (texis): Renamed to $(objpfx)texis.
42686 (texis-path): New, contains path to generated files.
42687 (chapters.%): Use texis-path for complete path, add extra argument
42689 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42690 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42691 (summary,texi, stamp-summary): Use complete path of
42692 files. Generate files in build dir.
42693 (dir-add.texi): Build in build dir.
42694 (libm-err.texi,stamp-libm-err): Likewise.
42695 (version.texi, stamp-version): Likewise.
42696 (.%c.texi): Likewise.
42697 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42698 (mostlyclean): Remove target.
42699 (realclean): Remove target.
42700 (generated): Add new variable with contents from mostlyclean and
42701 realclean, remove entries duplicated in common-mostlyclean, add
42702 stamp-libm-err and stamp-version.
42703 (generated-dirs): Add libc directory.
42704 ($(inst_infodir)/libc.info): Install files from build dir.
42706 * manual/install.texi (Configuring and compiling): Adjust since
42707 the info files are not part of the tar ball anymore.
42709 2012-05-14 Andreas Jaeger <aj@suse.de>
42711 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42714 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42718 to 2.2.0 where earlier.
42719 * sysdeps/unix/sysv/linux/configure: Regenerated.
42720 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42721 Remove conditional code.
42722 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42723 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42724 Remove conditional code.
42725 [!__NR_lchown]: Likewise.
42726 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42727 [__NR_lchown]: Likewise.
42728 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42729 comment referencing __ASSUME_LCHOWN_SYSCALL.
42730 * sysdeps/unix/sysv/linux/i386/sigaction.c
42731 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42732 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42733 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42734 Remove conditional code.
42735 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42736 (__protocol_available): Remove #if 0 code.
42737 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42739 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42740 * sysdeps/unix/sysv/linux/kernel-features.h
42741 (__ASSUME_GETCWD_SYSCALL): Don't define.
42742 (__ASSUME_REALTIME_SIGNALS): Likewise.
42743 (__ASSUME_PREAD_SYSCALL): Likewise.
42744 (__ASSUME_PWRITE_SYSCALL): Likewise.
42745 (__ASSUME_POLL_SYSCALL): Likewise.
42746 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42747 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42749 (__ASSUME_SIOCGIFNAME): Don't define.
42750 (__ASSUME_MSG_NOSIGNAL): Likewise.
42751 (__ASSUME_SENDFILE): Define unconditionally.
42752 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42753 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42755 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42756 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42757 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42758 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42759 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42760 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42761 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42763 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42766 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42769 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42775 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42778 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42781 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42784 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42786 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42787 Remove conditional code.
42788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42789 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42790 Remove conditional code.
42791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42792 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42793 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42794 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42795 Remove conditional code.
42796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42797 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42798 Remove conditional code.
42799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42800 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42801 Remove conditional code.
42802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42803 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42804 Remove conditional code.
42805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42806 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42807 Remove conditional code.
42808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42809 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42812 * sysdeps/unix/sysv/linux/sigaction.c
42813 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42814 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42815 * sysdeps/unix/sysv/linux/sigpending.c
42816 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42817 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42818 * sysdeps/unix/sysv/linux/sigprocmask.c
42819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42821 * sysdeps/unix/sysv/linux/sigsuspend.c
42822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42824 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42825 (__libc_missing_rt_sigs): Remove.
42826 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42827 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42828 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42829 Remove conditional code.
42830 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42831 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42833 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42834 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42835 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42836 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42838 2012-05-14 Andreas Jaeger <aj@suse.de>
42840 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42841 it's not used in glibc.
42842 (__coshm1): Likewise.
42843 (__acosh1p): Likewise.
42846 * manual/string.texi (Copying and Concatenation): Add missing
42847 variable in concat example.
42848 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42850 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42853 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42854 __builtin_clzl with __builtin_clzll.
42856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42859 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42862 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42864 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42865 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42866 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42867 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42869 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42871 * NEWS: Update ia64 info.
42873 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42875 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42878 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42880 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42881 * sysdeps/unix/syscalls.list (dup3): Likewise.
42882 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42883 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42885 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42887 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42888 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42890 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42892 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42894 (TLS_IE): Use mov/add instead of movq/addq to load thread
42896 (TLS_GD_PREFIX): New.
42899 2012-05-11 David S. Miller <davem@davemloft.net>
42901 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42902 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42903 (_FPU_SETCW): Likewise.
42905 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42907 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42908 is 32-byte aligned.
42910 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42913 * iconvdata/gb18030.c: Update tables.
42914 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42915 characters specially.
42916 (BODY for TO_LOOP): Add encoding of missing ranges.
42918 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42921 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42922 * sysdeps/mach/hurd/dup3.c: Likewise.
42923 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42924 * sysdeps/powerpc/memmove.c:: Likewise.
42926 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42928 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42929 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42931 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42933 * elf/elf.h (R_X86_64_RELATIVE64): New.
42934 (R_X86_64_NUM): Updated.
42935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42936 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42937 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42938 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42939 tst-quad1pie tst-quad2pie
42940 (modules-names): Add tst-quadmod1 tst-quadmod2.
42941 ($(objpfx)tst-quad1): New dependency.
42942 ($(objpfx)tst-quad2): Likewise.
42943 ($(objpfx)tst-quad1pie): Likewise.
42944 ($(objpfx)tst-quad2pie): Likewise.
42945 * sysdeps/x86_64/tst-quad1.c: New file.
42946 * sysdeps/x86_64/tst-quad1pie.c: New file.
42947 * sysdeps/x86_64/tst-quad2.c: Likewise.
42948 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42949 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42950 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42951 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42952 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42954 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42956 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42957 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42958 * streams/stropts.h (t_scalar_t): Define type.
42960 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42961 (_PATH_PRESERVE): Set to "/var/lib".
42962 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42964 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42967 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42968 if __dir_mkfile succeeded.
42970 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42971 checking for _hurd_dtablesize. Unlock it right after having
42972 finished _hurd_dtable allocation.
42974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42976 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42977 * sysdeps/mach/hurd/configure: Regenerated.
42978 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42979 special-casing to...
42980 * sysdeps/gnu/configure.in: ... this new file.
42981 * sysdeps/unix/sysv/linux/configure: Regenerated.
42982 * sysdeps/gnu/configure: New generated file.
42984 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42985 for Linux: use nsec instead of usec, as well as:
42986 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42987 members of type struct timespec.
42988 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42990 (struct stat64): Likewise.
42991 (_STATBUF_ST_NSEC): New macro.
42992 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42994 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42995 __strtoul_internal rather than strtoul.
42997 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42999 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43002 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43004 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43005 which preserves existing values.
43006 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43008 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43010 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43011 TIMEOUT values. Return EINVAL for NFDS values either negative or
43012 greater than FD_SETSIZE.
43014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43016 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43017 allocated, call __vm_protect to finish enabling the existing space, and
43018 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43019 allocate the remainder.
43021 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43023 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43024 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43028 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43029 sysdeps/mach/hurd/readlink.c.
43031 * posix/tst-sysconf.c (posix_options): Only use
43032 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43033 _POSIX_SYNCHRONIZED_IO when they are defined
43034 * sysdeps/mach/hurd/bits/posix_opt.h:
43035 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43036 (_XOPEN_REALTIME): Undefine macro.
43037 (_XOPEN_REALTIME_THREADS): Undefine macro.
43038 (_XOPEN_SHM): Undefine macro.
43039 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43041 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43043 (_POSIX_ASYNC_IO): Undefine macro.
43044 (_POSIX_PRIORITIZED_IO): Undefine macro.
43045 (_POSIX_SPIN_LOCKS): Define macro to -1.
43047 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43048 SA_NODEFER, SA_RESETHAND.
43049 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43050 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43055 * elf/Makefile (pldd-modules): Define unconditionally.
43057 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43059 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43063 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43064 Return ENOENT when name is empty.
43065 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43069 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43071 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43075 Fix mlock in all cases except non-readable pages.
43076 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43077 instead of VM_PROT_ALL as parameter to __vm_wire function.
43079 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43080 (__mkdir): When path is `/', just fail with EEXIST.
43081 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43085 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43086 <sys/uio.h> (for writev).
43087 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43088 and <sys/param.h> (for MIN).
43090 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43092 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43093 REQUESTED_TIME. Properly set the remaining time and return EINTR
43096 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43098 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43099 Depend on against $(link-rpcuserlibs).
43101 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43103 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43104 (__libc_stack_end): Do not use attribute_relro.
43105 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43106 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43107 to libthread-provided value.
43108 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43114 * bits/libc-lock.h (__libc_once_get): New macro.
43115 * sysdeps/mach/bits/libc-lock.h: Likewise.
43116 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43118 instead of using implementation details.
43120 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43121 * libio/freopen.c: Likewise.
43122 * libio/freopen64.c: Likewise.
43123 * misc/syslog.c: Likewise.
43124 * nscd/connections.c: Likewise.
43125 * nscd/netgroupcache.c: Likewise.
43126 * sysdeps/posix/getcwd.c: Likewise.
43128 2012-05-10 Roland McGrath <roland@hack.frob.com>
43130 * math/w_ilogbf.c: Add #include <limits.h>.
43132 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43134 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43135 path instead of returning without unlocking.
43137 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43138 immediate-write ioctls.
43139 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43141 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43143 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43144 __builtin_frame_address instead of making assumptions about the
43145 location of the return address relative to DATA. Force early load of
43146 the return address.
43147 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43148 __builtin_frame_address.
43151 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43152 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43153 implement dup3 and do some further code clean-ups.
43154 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43155 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43159 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43161 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43162 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43163 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43164 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43165 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43168 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43169 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43170 when handler == SIG_ERR, not when handler != SIG_ERR.
43172 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43174 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43175 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43178 accept4 for GNU Hurd.
43179 * include/sys/socket.h (__libc_accept4): New prototype.
43180 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43181 to implement __libc_accept4.
43182 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43184 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43186 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43187 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43188 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43189 signal-defines.sym.
43191 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43193 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43195 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43197 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43198 assertion on O_CLOEXEC flag.
43199 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43200 * hurd/intern-fd.c: Likewise.
43201 * hurd/port2fd.c: Likewise.
43203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43206 * bits/in.h (IPV6_PKTINFO): Define new macro.
43207 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43209 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43214 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43215 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43216 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43217 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43219 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43220 * math/libm-test.inc (logb_test) : Additional logb tests.
43222 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43223 Andreas Jaeger <aj@suse.de>
43225 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43226 * configure: Regenerated.
43227 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43228 * config.make.in (link-obsolete-rpc): New substituted variable.
43229 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43230 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43231 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43232 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43233 so that libc.a contains the symbols.
43234 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43235 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43236 * sunrpc/auth_none.c: Likewise.
43237 * sunrpc/auth_unix.c: Likewise.
43238 * sunrpc/authdes_prot.c: Likewise.
43239 * sunrpc/authuxprot.c: Likewise.
43240 * sunrpc/clnt_gen.c: Likewise.
43241 * sunrpc/clnt_perr.c: Likewise.
43242 * sunrpc/clnt_raw.c: Likewise.
43243 * sunrpc/clnt_simp.c: Likewise.
43244 * sunrpc/clnt_tcp.c: Likewise.
43245 * sunrpc/clnt_udp.c: Likewise.
43246 * sunrpc/clnt_unix.c: Likewise.
43247 * sunrpc/des_crypt.c: Likewise.
43248 * sunrpc/des_soft.c: Likewise.
43249 * sunrpc/get_myaddr.c: Likewise.
43250 * sunrpc/key_call.c: Likewise.
43251 * sunrpc/key_prot.c: Likewise.
43252 * sunrpc/netname.c: Likewise.
43253 * sunrpc/pm_getmaps.c: Likewise.
43254 * sunrpc/pm_getport.c: Likewise.
43255 * sunrpc/pmap_clnt.c: Likewise.
43256 * sunrpc/pmap_prot.c: Likewise.
43257 * sunrpc/pmap_prot2.c: Likewise.
43258 * sunrpc/pmap_rmt.c: Likewise.
43259 * sunrpc/publickey.c: Likewise.
43260 * sunrpc/rpc_cmsg.c: Likewise.
43261 * sunrpc/rpc_common.c: Likewise.
43262 * sunrpc/rpc_dtable.c: Likewise.
43263 * sunrpc/rpc_prot.c: Likewise.
43264 * sunrpc/rpc_thread.c: Likewise.
43265 * sunrpc/rtime.c: Likewise.
43266 * sunrpc/svc.c: Likewise.
43267 * sunrpc/svc_auth.c: Likewise.
43268 * sunrpc/svc_raw.c: Likewise.
43269 * sunrpc/svc_run.c: Likewise.
43270 * sunrpc/svc_tcp.c: Likewise.
43271 * sunrpc/svc_udp.c: Likewise.
43272 * sunrpc/svc_unix.c: Likewise.
43273 * sunrpc/svcauth_des.c: Likewise.
43274 * sunrpc/xcrypt.c: Likewise.
43275 * sunrpc/xdr.c: Likewise.
43276 * sunrpc/xdr_array.c: Likewise.
43277 * sunrpc/xdr_float.c: Likewise.
43278 * sunrpc/xdr_intXX_t.c: Likewise.
43279 * sunrpc/xdr_mem.c: Likewise.
43280 * sunrpc/xdr_rec.c: Likewise.
43281 * sunrpc/xdr_ref.c: Likewise.
43282 * sunrpc/xdr_sizeof.c: Likewise.
43283 * sunrpc/xdr_stdio.c: Likewise.
43285 2012-05-10 Roland McGrath <roland@hack.frob.com>
43287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43288 change. Update copyright years.
43290 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43292 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43294 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43295 Joseph Myers <joseph@codesourcery.com>
43296 Paul Pluzhnikov <ppluzhnikov@google.com>
43299 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43301 [cross-compiling] (extra-libs): Likewise.
43302 [cross-compiling] (extra-libs-others): Likewise.
43303 [cross-compiling] (librpcsvc-routines): Likewise.
43304 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43305 [cross-compiling] (omit-deps): Likewise.
43306 (sunrpc-CPPFLAGS): New variable.
43307 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43308 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43309 (cross-rpcgen-objs): New variable.
43310 (extra-objs): Append $(cross-rpcgen-objs).
43311 ($(cross-rpcgen-objs)): New rule.
43312 ($(objpfx)cross-rpcgen): Likewise.
43313 (rpcgen-cmd): Define to use $(built-program-file). Expand
43315 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43316 ($(objpfx)x%.stmp): Likewise.
43317 * sunrpc/proto.h [IS_IN_build] (_): Define.
43318 [IS_IN_build] (_libc_intl_domainname): Likewise.
43320 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43322 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43323 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43324 and R_X86_64_TPOFF64.
43326 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43328 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43329 sysdeps/unix/sysv/syscalls.list.
43332 * sysdeps/unix/sysv/syscalls.list: Remove file.
43334 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43337 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43338 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43339 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43340 (__LC_IDENTIFICATION): Make these macros useful in #if
43341 expressions, as required by C99.
43343 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43345 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43346 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43349 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43351 * stdlib/longlong.h: Updated from GCC.
43353 2012-05-09 Andreas Jaeger <aj@suse.de>
43355 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43356 default is first entry.
43357 (run_mode): Set type.
43358 (main): Remove informal message about syslog.
43359 (options): Fix typo.
43362 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43365 (llrintf): Likewise.
43366 (llrint): Likewise.
43369 (nearbyint): Likewise.
43370 (nearbyintf): Likewise.
43372 2012-05-09 Andreas Jaeger <aj@suse.de>
43373 Pedro Alves <palves@redhat.com>
43375 * nscd/nscd.c (run_mode): Use enum.
43376 (main): Cleanup coding style issue.
43378 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
43379 Andreas Jaeger <aj@suse.de>
43381 * nscd/nscd.c (go_background): Replaced with...
43382 (run_mode): ... this.
43383 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43384 (options): Add -F --foreground.
43385 (main): Implement it.
43386 (parse_opt): Parse it.
43388 2012-05-09 Andreas Jaeger <aj@suse.de>
43391 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43392 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43393 -Wconversion warning.
43394 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43397 2012-05-09 Joseph Myers <joseph@codesourcery.com>
43399 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43401 (LC_ALL): Use macro-int-constant.
43402 (LC_COLLATE): Likewise.
43403 (LC_CTYPE): Likewise.
43404 (LC_MESSAGES): Likewise.
43405 (LC_MONETARY): Likewise.
43406 (LC_NUMERIC): Likewise.
43407 (LC_TIME): Likewise.
43408 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43409 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43411 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43413 [C99-based standards] (float_t): Expect type.
43414 [C99-based standards] (double_t): Expect type.
43415 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43417 [C99-based standards] (HUGE_VALL): Likewise.
43418 [C99-based standards] (INFINITY): Likewise.
43419 [C99-based standards] (NAN): Likewise.
43420 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43421 [C99-based standards] (FP_NAN): Likewise.
43422 [C99-based standards] (FP_NORMAL): Likewise.
43423 [C99-based standards] (FP_SUBNORMAL): Likewise.
43424 [C99-based standards] (FP_ZERO): Likewise.
43425 [C99-based standards] (FP_FAST_FMA): Use
43426 optional-macro-int-constant. Specify type. Require == 1.
43427 [C99-based standards] (FP_FAST_FMAF): Likewise.
43428 [C99-based standards] (FP_FAST_FMAL): Likewise.
43429 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43430 [C99-based standards] (FP_ILOGBNAN): Likewise.
43431 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43433 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43434 [C99-based standards] (math_errhandling): Specify type.
43435 [ISO99 || ISO11] (signgam): Do not allow.
43436 [non-C99-based standards] (copysignf): Do not allow.
43437 [non-C99-based standards] (exp2f): Likewise.
43438 [non-C99-based standards] (log2f): Likewise.
43439 [non-C99-based standards] (modff): Allow.
43440 [non-C99-based standards] (erff): Do not allow.
43441 [non-C99-based standards] (erfcf): Likewise.
43442 [non-C99-based standards] (gammaf): Likewise.
43443 [non-C99-based standards] (hypotf): Likewise.
43444 [non-C99-based standards] (j0f): Likewise.
43445 [non-C99-based standards] (j1f): Likewise.
43446 [non-C99-based standards] (jnf): Likewise.
43447 [non-C99-based standards] (lgammaf): Likewise.
43448 [non-C99-based standards] (tgammaf): Likewise.
43449 [non-C99-based standards] (y0f): Likewise.
43450 [non-C99-based standards] (y1f): Likewise.
43451 [non-C99-based standards] (ynf): Likewise.
43452 [non-C99-based standards] (isnanf): Likewise.
43453 [non-C99-based standards] (acoshf): Likewise.
43454 [non-C99-based standards] (asinhf): Likewise.
43455 [non-C99-based standards] (atanhf): Likewise.
43456 [non-C99-based standards] (cbrtf): Likewise.
43457 [non-C99-based standards] (expm1f): Likewise.
43458 [non-C99-based standards] (ilogbf): Likewise.
43459 [non-C99-based standards] (log1pf): Likewise.
43460 [non-C99-based standards] (logbf): Likewise.
43461 [non-C99-based standards] (nextafterf): Likewise.
43462 [non-C99-based standards] (remainderf): Likewise.
43463 [non-C99-based standards] (rintf): Likewise.
43464 [non-C99-based standards] (scalbf): Likewise.
43465 [non-C99-based standards] (copysignl): Likewise.
43466 [non-C99-based standards] (exp2l): Likewise.
43467 [non-C99-based standards] (log2l): Likewise.
43468 [non-C99-based standards] (modfl): Allow.
43469 [non-C99-based standards] (erfl): Do not allow.
43470 [non-C99-based standards] (erfcl): Likewise.
43471 [non-C99-based standards] (gammal): Likewise.
43472 [non-C99-based standards] (hypotl): Likewise.
43473 [non-C99-based standards] (j0l): Likewise.
43474 [non-C99-based standards] (j1l): Likewise.
43475 [non-C99-based standards] (jnl): Likewise.
43476 [non-C99-based standards] (lgammal): Likewise.
43477 [non-C99-based standards] (tgammal): Likewise.
43478 [non-C99-based standards] (y0l): Likewise.
43479 [non-C99-based standards] (y1l): Likewise.
43480 [non-C99-based standards] (ynl): Likewise.
43481 [non-C99-based standards] (isnanl): Likewise.
43482 [non-C99-based standards] (acoshl): Likewise.
43483 [non-C99-based standards] (asinhl): Likewise.
43484 [non-C99-based standards] (atanhl): Likewise.
43485 [non-C99-based standards] (cbrtl): Likewise.
43486 [non-C99-based standards] (expm1l): Likewise.
43487 [non-C99-based standards] (ilogbl): Likewise.
43488 [non-C99-based standards] (log1pl): Likewise.
43489 [non-C99-based standards] (logbl): Likewise.
43490 [non-C99-based standards] (nextafterl): Likewise.
43491 [non-C99-based standards] (remainderl): Likewise.
43492 [non-C99-based standards] (rintl): Likewise.
43493 [non-C99-based standards] (scalbl): Likewise.
43494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43495 [non-C99-based standards] (FP_*): Do not allow.
43496 [C99-based standards] (FP_*): Change to
43497 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43498 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43500 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43501 (SIG_ERR): Likewise.
43502 [X/Open-based standards] (SIG_HOLD): Likewise.
43503 (SIG_IGN): Likewise.
43504 (SIGABRT): Use macro-int-constant. Specify type. Require
43506 (SIGFPE): Likewise.
43507 (SIGILL): Likewise.
43508 (SIGINT): Likewise.
43509 (SIGSEGV): Likewise.
43510 (SIGTER): Likewise.
43511 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43512 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43513 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43514 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43515 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43516 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43517 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43518 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43519 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43520 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43521 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43522 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43523 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43524 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43525 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43526 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43527 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43528 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43529 [X/Open-based standards] (SIGTRAP): Likewise.
43530 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43531 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43532 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43533 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43534 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43537 2012-05-08 Ian Wienand <ianw@vmware.com>
43540 * time/tzset.c (__tzset_parse_tz): Update default rules for
43541 daylight time changes in the Energy Policy Act of 2005.
43543 2012-05-09 Andreas Jaeger <aj@suse.de>
43546 * elf/ldconfig.c (parse_conf): Change string to make clear that
43547 ldconfig only issued a warning if ld.so.conf does not exist.
43549 2012-05-08 David S. Miller <davem@davemloft.net>
43551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43552 movxtod instead of popping the value on the stack.
43554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43556 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43558 * config.h.in: Add HAVE_ARM_PCS_VFP.
43560 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
43563 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43564 checking but the checks are disabled for any reason.
43566 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43568 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43569 and ELF64_R_TYPE with ELFW(R_TYPE).
43571 2012-05-08 Joseph Myers <joseph@codesourcery.com>
43573 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43574 (ulimit): Likewise.
43576 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43577 (settimeofday): Likewise.
43579 2012-05-08 Mike Frysinger <vapier@gentoo.org>
43581 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43582 a struct th_u2 inside the union, and move tu_block/tu_code into
43583 a new th_u3 union of tu_block/tu_code inside of that. Move
43584 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43585 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43586 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43587 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43588 (th_stuff): Change to th_u1.tu_stuff.
43590 (th_msg): Change to th_u1.th_u2.tu_data.
43592 2012-05-07 David S. Miller <davem@davemloft.net>
43594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43597 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43598 (SETUP_PIC_REG): Use it.
43599 (SETUP_PIC_REG_LEAF): Use it.
43601 2012-05-07 Joseph Myers <joseph@codesourcery.com>
43605 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43607 (EXPL_FINITE): Likewise.
43608 (FLDLOG): Likewise.
43609 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43610 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43614 (EXPL_FINITE): Likewise.
43615 (FLDLOG): Likewise.
43616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43617 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43619 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43620 test of -max_value argument for long double.
43621 * sysdeps/i386/fpu/libm-test-ulps: Update.
43622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43624 2012-05-06 David S. Miller <davem@davemloft.net>
43626 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43627 quad soft-float symbols whose references which are compiler
43629 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43631 2012-05-06 Joseph Myers <joseph@codesourcery.com>
43635 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43637 (EXPL_FINITE): Likewise.
43638 (FLDLOG): Likewise.
43641 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43642 Adjust comments for base varying.
43643 (__expl_finite): Change alias to EXPL_FINITE.
43644 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43646 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43647 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43648 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43649 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43650 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43652 (EXPL_FINITE): Likewise.
43653 (FLDLOG): Likewise.
43656 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43657 Adjust comments for base varying.
43658 (__expl_finite): Change alias to EXPL_FINITE.
43659 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43664 * math/libm-test.inc (check_float_internal): Correct ulp
43665 calculation for subnormal expected results.
43667 2012-05-06 Andreas Jaeger <aj@suse.de>
43669 * Makeconfig (+math-flags): New, set to -frounding-math.
43670 (+cflags): Add +math-flags so that all of glibc gets compiled with
43673 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43675 2012-05-05 Joseph Myers <joseph@codesourcery.com>
43677 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43683 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43684 (__ieee754_expl): Allow for and saturate large arguments.
43685 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43686 (u_threshold): Likewise.
43687 (__exp): Call __ieee754_exp before checking for overflow and
43689 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43690 (u_threshold): Likewise.
43691 (__expf): Call __ieee754_expf before checking for overflow and
43693 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43694 (u_threshold): Likewise.
43695 (__expl): Call __ieee754_expl before checking for overflow and
43697 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43698 (__ieee754_expl): Allow for and saturate large arguments.
43699 * math/libm-test.inc (exp_test): Add another test. Do not allow
43700 missing overflow exception on overflow.
43701 (expm1_test): Do not allow missing overflow exception on overflow.
43703 * sysdeps/i386/fpu/e_expl.c: Move to ...
43704 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43705 rather than using inline asm.
43706 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43707 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43708 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43710 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43713 (signal): Likewise.
43717 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43719 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43720 sysdeps/unix/common/syscalls.list.
43721 (fchmod): Likewise.
43722 (fchown): Likewise.
43723 (ftruncate): Likewise.
43724 (getrusage): Likewise.
43725 (gettimeofday): Likewise.
43726 (setpgid): Likewise.
43727 (setregid): Likewise.
43728 (setreuid): Likewise.
43729 (sigaction): Likewise.
43730 (truncate): Likewise.
43731 (vhangup): Likewise.
43732 * sysdeps/unix/common/syscalls.list: Remove file.
43733 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43734 * sysdeps/unix/sysv/linux/Implies: Likewise.
43736 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43738 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43740 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43744 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43747 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43750 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43753 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43756 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43759 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43762 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43766 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43770 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43773 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43777 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43781 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43783 * sysdeps/unix/common/bits/dirent.h: Remove file.
43784 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43786 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43787 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43788 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43789 * sysdeps/unix/bsd/isatty.c: Likewise.
43790 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43791 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43792 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43794 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43798 long double comparison inaccuracies.
43799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43802 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43804 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43807 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43811 nonzero digits before rounding a hex value.
43812 * stdlib/tst-strtod.c (tests): Add another test.
43814 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43816 * sysdeps/s390/fpu/libm-test-ulps: Update.
43818 2012-05-03 Andreas Jaeger <aj@suse.de>
43820 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43821 does not get optimized out.
43822 (malloc_opt_barrier): New.
43824 2012-05-03 Andreas Jaeger <aj@suse.de>
43825 Roland McGrath <roland@hack.frob.com>
43827 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43828 intermediate file deletion.
43829 (generated): Add .symlist files.
43831 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43834 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43835 Redirect under this condition.
43836 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43837 [__USE_GNU] (__dprintf_chk): Not under this condition.
43838 [__USE_GNU] (__vdprintf_chk): Likewise.
43839 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43840 under this condition.
43841 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43842 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43843 [__USE_XOPEN2K8] (vdprintf): Likewise.
43844 [__USE_GNU] (__dprintf_chk): Not under this condition.
43845 [__USE_GNU] (__vdprintf_chk): Likewise.
43846 [__USE_GNU] (dprintf): Likewise.
43847 [__USE_GNU] (vdprintf): Likewise.
43849 2012-05-03 Roland McGrath <roland@hack.frob.com>
43851 * elf/Makefile (common-generated): Set this instead of generated for
43852 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43853 $(all-built-dso)-derived lists.
43855 2012-05-03 Andreas Jaeger <aj@suse.de>
43857 * sysdeps/i386/fpu/libm-test-ulps: Update.
43860 * FAQ.in: Likewise.
43861 * scripts/gen-FAQ.pl: Likewise.
43862 * manual/install.texi (Installation): Point to online location of
43864 * Makefile (files-for-dist): Remove FAQ.
43867 2012-05-02 Allan McRae <allan@archlinux.org>
43869 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43870 (LDFLAGS-reldepmod5.so): Likewise.
43871 (LDFLAGS-reldep6mod1.so): Likewise.
43872 (LDFLAGS-reldep6mod4.so): Likewise.
43873 (LDFLAGS-reldep8mod3.so): Likewise.
43874 (LDFLAGS-unload4mod1.so): Likewise.
43875 (LDFLAGS-unload4mod2.so): Likewise.
43876 (LDFLAGS-tst-initorder): Likewise.
43877 (LDFLAGS-tst-initordera2.so): Likewise.
43878 (LDFLAGS-tst-initordera3.so): Likewise.
43879 (LDFLAGS-tst-initordera4.so): Likewise.
43880 (LDFLAGS-tst-initorderb2.so): Likewise.
43881 (LDFLAGS-noload): Likewise.
43882 (LDFLAGS-next): Likewise.
43883 (LDFLAGS-order2mod1.so): Likewise.
43884 (LDFLAGS-order2mod2.so): Likewise.
43885 (LDFLAGS-tst-initorder2): Likewise.
43886 (LDFLAGS-tst-initorder2a.so): Likewise.
43887 (LDFLAGS-tst-initorder2b.so): Likewise.
43888 (LDFLAGS-tst-initorder2c.so): Likewise.
43889 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43891 2012-05-02 David S. Miller <davem@davemloft.net>
43893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43895 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43898 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43900 2012-05-02 Andreas Jaeger <aj@suse.de>
43902 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43903 since we manipulate rounding mode.
43904 (CPPFLAGS-test-idouble.c): Likewise.
43905 (CPPFLAGS-test-ifloat.c): Likewise.
43906 (CFLAGS-test-ldouble.c): Likewise.
43907 (CFLAGS-test-double.c): Likewise.
43908 (CFLAGS-test-float.c): Likewise.
43909 (CFLAGS-test-misc.c): Likewise.
43910 (CFLAGS-test-test-fenv.c): Likewise.
43912 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43916 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43917 comparisons to determine direction to adjust input.
43919 2012-05-01 Roland McGrath <roland@hack.frob.com>
43921 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43922 output to the target.
43924 * scripts/localplt.awk: New file.
43925 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43926 (check-localplt-CFLAGS): Variable removed.
43927 ($(all-built-dso:=.jmprel)): New static pattern rule.
43928 (generated): Add those targets.
43929 (localplt-built-dso): New variable.
43930 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43932 * elf/check-localplt.c: File removed.
43934 * scripts/check-execstack.awk: New file.
43935 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43936 (check-execstack-CFLAGS): Variable removed.
43937 ($(objpfx)check-execstack.h): Target removed.
43938 ($(objpfx)execstack-default): New target.
43939 (generated): Add that instead of check-execstack.h.
43940 ($(all-built-dso:=.phdr)): New static pattern rule.
43941 (generated): Add those targets.
43942 * elf/check-execstack.c: File removed.
43944 * scripts/check-textrel.awk: New file.
43945 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43946 (check-textrel-CFLAGS): Variable removed.
43947 (all-built-dso): Use := to define.o
43948 ($(all-built-dso:=.dyn)): New static pattern rule.
43949 (generated): Add those targets.
43950 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43951 * config.make.in (READELF): New substituted variable.
43952 * elf/check-textrel.c: File removed.
43954 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43956 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43958 * conform/data/ctype.h-data [C99-based standards] (isblank):
43960 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43961 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43963 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43964 Specify type. Require positive value.
43965 (EILSEQ): Likewise.
43966 (ERANGE): Likewise.
43967 [ISO || POSIX] (EILSEQ): Do not expect.
43968 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43969 Specify type. Require positive value.
43970 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43971 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43972 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43973 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43974 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43975 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43976 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43977 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43978 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43979 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43980 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43981 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43982 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43983 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43984 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43985 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43986 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43987 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43988 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43989 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43990 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43991 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43992 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43993 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43994 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43995 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43996 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43997 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43998 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43999 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44000 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44001 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44002 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44003 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44004 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44005 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44006 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44007 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44008 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44009 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44010 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44011 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44012 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44013 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44014 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44015 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44016 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44017 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44018 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44019 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44020 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44021 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44022 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44023 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44024 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44025 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44026 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44027 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44028 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44029 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44030 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44031 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44032 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44033 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44034 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44035 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44036 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44037 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44038 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44039 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44040 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44041 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44042 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44043 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44044 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44045 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44046 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44048 (FLT_ROUNDS): Expect as macro, not constant.
44049 (FLT_MANT_DIG): Use macro-int-constant.
44050 (DBL_MANT_DIG): Likewise.
44051 (LDBL_MANT_DIG): Likewise.
44052 (FLT_DIG): Likewise.
44053 (DBL_DIG): Likewise.
44054 (LDBL_DIG): Likewise.
44055 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44056 (DBL_MIN_EXP): Likewise.
44057 (LDBL_MIN_EXP): Likewise.
44058 (FLT_MAX_EXP): Use macro-int-constant.
44059 (DBL_MAX_EXP): Likewise.
44060 (LDBL_MAX_EXP): Likewise.
44061 (FLT_MAX_10_EXP): Likewise.
44062 (DBL_MAX_10_EXP): Likewise.
44063 (LDBL_MAX_10_EXP): Likewise.
44064 (FLT_MAX): Use macro-constant.
44065 (DBL_MAX): Likewise.
44066 (LDBL_MAX): Likewise.
44067 (FLT_EPSILON): Use macro-constant. Give upper bound.
44068 (DBL_EPSILON): Likewise.
44069 (LDBL_EPSILON): Likewise.
44070 (FLT_MIN): Likewise.
44071 (DBL_MIN): Likewise.
44072 (LDBL_MIN): Likewise.
44073 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44074 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44075 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44076 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44077 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44078 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44079 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44080 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44081 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44082 [ISO11] (FLT_TRUE_MIN): Likewise.
44083 [ISO11] (LDBL_TRUE_MIN): Likewise.
44084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44085 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44086 (SCHAR_MIN): Use macro-int-constant. Specify type.
44087 (SCHAR_MAX): Likewise.
44088 (UCHAR_MAX): Likewise.
44089 (CHAR_MIN): Likewise.
44090 (CHAR_MAX): Likewise.
44091 (MB_LEN_MAX): Use macro-int-constant.
44092 (SHRT_MIN): Use macro-int-constant. Specify type.
44093 (SHRT_MAX): Likewise.
44094 (USHRT_MAX): Likewise.
44095 (INT_MAX): Likewise.
44096 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44098 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44100 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44102 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44103 bound negative. Suffix upper bound with "L".
44104 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44106 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44108 [C99-based standards] (LLONG_MAX): Likewise.
44109 [C99-based standards] (ULLONG_MAX): Likewise.
44110 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44112 [ISO11] (max_align_t): Require type.
44113 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44115 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44116 from $CFLAGS, without defining away __attribute__ calls.
44117 (checknamespace): Use $CFLAGS_namespace.
44119 * conform/conformtest.pl (@keywords): Only include C99 keywords
44120 for standards based on C99 or C11.
44122 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44124 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44127 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44128 usability of symbols in #if.
44130 * conform/conformtest.pl: If macro or constant types start
44131 "promoted:", expect the symbol to be of the following type
44132 promoted by the integer promotions.
44134 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44135 in one place. Also handle "macro-constant".
44137 * conform/conformtest.pl: Only accept expected macro values with
44138 "==". Parse all "macro" lines in one place.
44139 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44141 * conform/conformtest.pl: Handle braced types on "constant" lines
44142 instead of handling "typed-constant".
44143 * conform/data/signal.h-data: Use "constant" instead of
44146 * conform/conformtest.pl: Handle "optional-" at start of lines in
44147 one place rather than duplicating several cases. Handle each
44148 format of "macro" line with initial "optional-".
44150 * conform/conformtest.pl: Only accept expected constant or
44151 optional-constant values with "==". Parse all "constant" lines in
44152 one place. Parse all "optional-constant" lines in one place.
44153 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44154 * conform/data/fmtmsg.h-data: Likewise.
44155 * conform/data/netinet/in.h-data: Likewise.
44156 * conform/data/tar.h-data: Likewise.
44157 * conform/data/limits.h-data: Use "==" form on "constant" and
44158 "optional-constant" lines.
44160 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44161 Use -std=c99 for XOPEN2K.
44162 (@knownproblems): Remove.
44163 (newtoken): Don't check %isknown.
44165 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44166 Do not expect macro.
44167 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44171 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44172 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44173 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44174 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44175 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44176 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44177 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44178 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44179 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44180 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44186 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44187 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44188 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44189 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44190 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44191 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44192 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44197 [XPG3] (acosh): Likewise.
44198 [XPG3] (asinh): Likewise.
44199 [XPG3] (atanh): Likewise.
44200 [XPG3] (cbrt): Likewise.
44201 [XPG3] (expm1): Likewise.
44202 [XPG3] (ilogb): Likewise.
44203 [XPG3] (log1p): Likewise.
44204 [XPG3] (logb): Likewise.
44205 [XPG3] (nextafter): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44208 [XPG3] (remainder): Likewise.
44209 [XPG3] (rint): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44217 [UNIX98 || XOPEN2K] (scalb): Expect.
44218 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44219 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44225 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44226 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44227 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44228 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44229 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44230 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44232 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44233 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44234 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44235 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44236 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44237 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44238 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44239 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44240 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44242 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44243 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44244 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44246 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44247 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44248 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44249 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44250 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44251 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44252 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44253 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44264 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44265 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44266 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44267 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44268 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44269 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44270 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44271 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44272 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44273 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44274 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44275 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44276 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44277 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44278 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44279 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44280 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44281 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44282 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44283 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44284 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44285 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44286 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44287 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44288 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44289 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44290 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44291 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44292 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44293 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44294 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44295 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44296 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44297 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44298 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44299 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44300 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44301 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44302 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44303 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44304 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44305 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44306 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44307 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44308 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44309 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44310 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44311 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44312 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44313 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44314 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44315 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44316 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44317 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44318 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44319 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44320 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44321 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44322 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44323 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44324 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44325 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44326 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44327 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44328 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44329 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44330 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44331 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44332 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44333 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44334 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44335 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44336 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44337 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44338 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44339 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44340 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44341 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44342 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44343 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44344 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44345 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44346 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44347 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44348 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44349 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44350 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44351 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44352 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44353 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44354 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44356 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44357 _XOPEN_SOURCE_EXTENDED for XPG4.
44359 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44361 * Makeconfig (localtime): Remove variable.
44362 (inst_localtime-file): Likewise.
44364 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44385 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44389 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44390 comparisons to determine direction to adjust input.
44391 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44392 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44393 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44395 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44397 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44399 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44400 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44402 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44404 * math/libm-test.inc (nexttoward_test): Add more tests.
44406 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44409 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44410 in version GLIBC_2.1, not GLIBC_2.0.
44411 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44414 2012-04-30 Joseph Myers <joseph@codesourcery.com>
44417 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44419 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44420 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44421 * math/libm-test.inc (acos_test): Add more tests.
44422 (asin_test): Likewise.
44423 * sysdeps/i386/fpu/libm-test-ulps: Update.
44424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44427 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44429 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44430 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44431 * math/libm-test.inc (acos_test_tonearest): New function.
44432 (acos_test_towardzero): Likewise.
44433 (acos_test_downward): Likewise.
44434 (acos_test_upward): Likewise.
44435 (asin_test_tonearest): Likewise.
44436 (asin_test_towardzero): Likewise.
44437 (asin_test_downward): Likewise.
44438 (asin_test_upward): Likewise.
44439 (main): Call the new functions.
44440 * sysdeps/i386/fpu/libm-test-ulps: Update.
44441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44445 * math/e_exp10.c: Include <float.h>.
44446 (__ieee754_exp10): Handle underflow here rather than multiplying
44447 large negative argument by M_LN10.
44448 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44450 * math/e_exp10l.c: Include <float.h>.
44451 (__ieee754_exp10l): Handle underflow here rather than multiplying
44452 large negative argument by M_LN10l.
44453 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44454 spurious overflow exception on underflow.
44456 2012-04-29 Marek Polacek <polacek@redhat.com>
44458 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44459 (__fortify_function): New macro.
44460 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44461 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44462 __extern_always_inline.
44463 * libio/bits/stdio2.h: Likewise.
44464 * libio/bits/stdio.h: Likewise.
44465 * string/string.h: Likewise.
44466 * string/bits/string3.h: Likewise.
44467 * include/stdio.h: Likewise.
44468 * stdlib/bits/stdlib.h: Likewise.
44469 * stdlib/stdlib.h: Likewise.
44470 * rt/bits/mqueue2.h: Likewise.
44471 * rt/mqueue.h: Likewise.
44472 * posix/bits/unistd.h: Likewise.
44473 * posix/unistd.h: Likewise.
44474 * io/bits/poll2.h: Likewise.
44475 * io/bits/fcntl2.h: Likewise.
44476 * io/fcntl.h: Likewise.
44477 * io/sys/poll.h: Likewise.
44478 * misc/bits/syslog.h: Likewise.
44479 * misc/bits/syslog-ldbl.h: Likewise.
44480 * misc/sys/syslog.h: Likewise.
44481 * socket/bits/socket2.h: Likewise.
44482 * socket/sys/socket.h: Likewise.
44483 * debug/tst-chk1.c: Likewise.
44484 * wcsmbs/bits/wchar2.h: Likewise.
44485 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44486 * wcsmbs/wchar.h: Likewise.
44488 2012-04-29 Andreas Jaeger <aj@suse.de>
44490 * Makerules (tests): Remove enable-check-abi protection.
44491 (check-abi-warn): Remove.
44492 (check-abi-%): Remove check-abi-warn usage.
44494 * configure.in: Remove check-abi configure option.
44495 * configure: Regenerated.
44496 * config.make.in (enable-check-abi): Remove.
44498 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44501 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44502 double functions to double *_finite functions.
44505 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44506 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44508 * stdio-common/Makefile (tests): Add tst-sprintf3.
44509 * stdio-common/tst-sprintf3.c: New file.
44511 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44512 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44514 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44516 * conform/conformtest.pl: Remove duplicate typed-constant
44519 2012-04-28 David S. Miller <davem@davemloft.net>
44521 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44522 (check-abi-%): Remove AWK script prerequisite and explicit
44524 (check-abi): Rewrite to just diff the symlist with the abilist.
44525 (config-tls, config-abi-config): Delete, no longer used.
44526 (update-abi-%): Remove AWK script and explicit abilist directory.
44527 (update-abi): Rewrite to simply compare and conditionally copy the
44528 symlist and the sysdep abilist file. Remove update-abi-config
44530 * abilist/ld.abilist: Remove.
44531 * abilist/libBrokenLocale.abilist: Remove.
44532 * abilist/libanl.abilist: Remove.
44533 * abilist/libcrypt.abilist: Remove.
44534 * abilist/libdl.abilist: Remove.
44535 * abilist/librt.abilist: Remove.
44536 * abilist/libthread_db.abilist: Remove.
44537 * abilist/libutil.abilist: Remove.
44538 * scripts/extract-abilist.awk: Remove.
44539 * scripts/merge-abilist.awk: Remove.
44540 * sysdeps/generic/libcidn.abilist: New file.
44541 * sysdeps/generic/libnss_compat.abilist: New file.
44542 * sysdeps/generic/libnss_db.abilist: New file.
44543 * sysdeps/generic/libnss_dns.abilist: New file.
44544 * sysdeps/generic/libnss_files.abilist: New file.
44545 * sysdeps/generic/libnss_hesiod.abilist: New file.
44546 * sysdeps/generic/libnss_nis.abilist: New file.
44547 * sysdeps/generic/libnss_nisplus.abilist: New file.
44548 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44549 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44550 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44552 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44553 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44554 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44555 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44556 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44557 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44558 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44559 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44560 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44562 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44563 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44564 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44565 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44567 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44568 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44569 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44570 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44571 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44572 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44574 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44575 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44576 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44578 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44681 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44682 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44683 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44686 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44687 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44688 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44689 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44690 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44691 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44692 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44693 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44694 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44746 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44748 * conform/conformtest.pl: Fix typo in handling typed-constant from
44751 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44753 * README: Cut down references to pre-2.6 Linux kernels and
44754 Linuxthreads. Update lists of configurations in libc and ports
44755 and sort alphabetically. Say "or newer" with Linux kernel version
44758 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44760 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44763 * math/libm-test.inc (logb_test_downward): New test to expose
44764 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44767 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44770 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44772 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44773 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44775 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44777 * sysdeps/unix/i386/brk.S: Remove file.
44778 * sysdeps/unix/i386/dl-brk.S: Likewise.
44779 * sysdeps/unix/i386/pipe.S: Likewise.
44780 * sysdeps/unix/i386/sigreturn.S: Likewise.
44781 * sysdeps/unix/i386/syscall.S: Likewise.
44782 * sysdeps/unix/i386/vfork.S: Likewise.
44783 * sysdeps/unix/i386/wait.S: Likewise.
44785 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44786 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44788 * configure.in (arm*-none*): Do not allow without
44789 --enable-hacker-mode.
44790 (netbsd*): Remove case setting base_os.
44791 (386bsd*): Likewise.
44792 (freebsd*): Likewise.
44795 (sunos*): Likewise.
44796 (ultrix*): Likewise.
44797 (newsos*): Likewise.
44798 (dynix*): Likewise.
44804 (minix*): Likewise.
44805 (irix4*): Likewise.
44806 (irix6*): Likewise.
44807 (solaris[2-9]*): Likewise.
44809 * configure: Regenerated.
44811 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44814 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44815 overflow or cancellation in calculating denominator.
44816 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44818 down expression to avoid unexpected rounding in newer GCCs.
44819 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44821 2012-04-26 David S. Miller <davem@davemloft.net>
44823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44824 long-double compat symbols.
44825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44839 2012-04-25 David S. Miller <davem@davemloft.net>
44841 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44842 HWCAP_* values only after the memory barriers have been defined.
44843 (atomic_full_barrier): Define.
44844 (atomic_read_barrier): Define.
44845 (atomic_write_barrier): Define.
44847 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44849 * shlib-versions: Add libgcc_s version information.
44850 * sysdeps/generic/libgcc_s.h: Remove.
44851 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44853 * sysdeps/gnu/unwind-resume.c: Likewise.
44854 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44856 2012-04-25 David S. Miller <davem@davemloft.net>
44858 * sysdeps/unix/sparc/brk.S: Delete.
44859 * sysdeps/unix/sparc/dl-brk.S: Delete.
44860 * sysdeps/unix/sparc/pipe.S: Delete.
44861 * sysdeps/unix/sparc/sysdep.S: Delete.
44862 * sysdeps/unix/sparc/sysdep.h: Delete.
44863 * sysdeps/unix/sparc/vfork.S: Delete.
44864 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44865 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44866 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44867 (ret_ERRVAL, r0, r1, MOVE): Define.
44868 (JUMPTARGET): Remove.
44869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44870 sysdeps/unix/sparc/sysdep.h
44871 (ENTRY, END): Remove.
44872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44874 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44876 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44877 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44880 * timezone/README: Update upstream location and email address for
44882 * timezone/zdump.c: Update from tzcode 2012b.
44883 * timezone/zic.c: Likewise.
44885 * configure.in (libc_cv_as_needed): Remove test.
44886 * configure: Regenerated.
44887 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44888 conditional definition.
44889 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44890 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44891 * config.make.in (have-as-needed): Remove variable.
44893 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44894 Paul Pluzhnikov <ppluzhnikov@google.com>
44896 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44899 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44901 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44902 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44903 * sysdeps/sh/strlen.S: Likewise.
44905 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44907 * sysdeps/unix/fork.S: Remove file.
44908 * sysdeps/unix/i386/fork.S: Likewise.
44909 * sysdeps/unix/sparc/fork.S: Likewise.
44911 * sysdeps/unix/system.c: Remove file.
44912 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44914 * sysdeps/unix/getegid.S: Remove file.
44915 * sysdeps/unix/geteuid.S: Likewise.
44917 2012-04-24 Roland McGrath <roland@hack.frob.com>
44919 * scripts/check-localplt.awk: New file.
44920 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44922 * scripts/data/localplt-generic.data: Add a comment.
44924 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44925 NODE when __dir_mkfile failed.
44926 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44927 Reported by Ludovic Courtès <ludo@gnu.org>.
44929 2012-04-24 Andreas Jaeger <aj@suse.de>
44931 * Makerules (common-clean): Also remove gen-as-const-headers
44934 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44936 * Makerules (native-compile): Do not change working directory for
44937 build. Use $(OUTPUT_OPTION) in command.
44938 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44940 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44943 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44944 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44945 * math/libm-test.inc (floor_test): Add more tests.
44946 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44948 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44950 * sysdeps/unix/getdents.c: Remove file.
44951 * sysdeps/unix/sysv/getdents.c: Likewise.
44952 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44954 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44955 sysdeps/unix/mman/syscalls.list.
44957 (mprotect): Likewise.
44959 (munmap): Likewise.
44960 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44961 * sysdeps/unix/mman/syscalls.list: Remove.
44962 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44964 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44965 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44966 * configure: Regenerated.
44967 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44968 $(libgcc_s_suffix).
44969 * config.make.in (libgcc_s_suffix): Remove variable.
44971 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44973 * sysdeps/unix/sysv/gethostname.c: Move to ...
44974 * sysdeps/posix/gethostname.c: ... here.
44976 * sysdeps/unix/execve.S: Remove file.
44978 * sysdeps/unix/_exit.S: Remove file.
44980 2012-04-23 Andreas Jaeger <aj@suse.de>
44983 * manual/Makefile: Remove make dist support, there's no
44984 need for a stand-alone documentation tar ball.
44985 (TEXI2DVI): Define always, it's not in Makeconfig.
44988 (edition): Removed.
44989 (glibc-doc-$(edition).tar): Removed
44993 (ETAGS): Remove, it's in Makeconfig.
44994 (move-if-change): Remove, it's in Makeconfig.
44996 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44999 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45000 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45001 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45002 (strtod_l, strtof_l, strtold_l): Remove __wur.
45003 It is not necessarily an error to ignore strtol's return value.
45004 One can reliably look at the stored endptr to decide whether
45005 the number had valid syntax.
45007 2012-04-21 Andreas Jaeger <aj@suse.de>
45010 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45012 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45014 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45015 * sysdeps/unix/sysv/Versions: Remove file.
45017 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45022 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45025 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45026 version from __vm86.
45028 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45030 * sysdeps/unix/common/lxstat.c: Remove file.
45031 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45033 * sysdeps/unix/sysv/Makefile: Remove file.
45035 * sysdeps/unix/sysv/direct.h: Remove file.
45037 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45038 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45039 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45040 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45041 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45042 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45043 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45045 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45047 * sysdeps/unix/xmknod.c: Remove file.
45048 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45050 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45052 * sysdeps/unix/sysv/i386/time.S: Remove file.
45054 * sysdeps/unix/fxstat.c: Remove file.
45055 * sysdeps/unix/xstat.c: Likewise.
45056 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45058 * sysdeps/unix/sysv/sigaction.c: Remove file.
45060 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45061 (sysdep_headers): Remove variable.
45062 [termio.h not in sysdep_headers] (generated): Likewise.
45063 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45064 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45065 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45066 * sysdeps/unix/sysv/tcflow.c: Likewise.
45067 * sysdeps/unix/sysv/tcflush.c: Likewise.
45068 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45069 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45070 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45071 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45072 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45074 * sysdeps/unix/siglist.c: Remove file.
45076 * sysdeps/unix/getppid.S: Remove file.
45078 * sysdeps/unix/mkdir.c: Remove file.
45079 * sysdeps/unix/rmdir.c: Likewise.
45081 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45083 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45085 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45086 errlist-compat value.
45088 2012-04-18 David S. Miller <davem@davemloft.net>
45090 * sysdeps/generic/memcopy.h (reg_char): Delete.
45091 * debug/strcat_chk.c: Use char, not reg_char.
45092 * debug/strcpy_chk.c: Likewise.
45093 * debug/strncat_chk.c: Likewise.
45094 * debug/strncpy_chk.c: Likewise.
45095 * string/memchr.c: Likewise.
45096 * string/memrchr.c: Likewise.
45097 * string/rawmemchr.c: Likewise.
45098 * string/strcat.c: Likewise.
45099 * string/strchr.c: Likewise.
45100 * string/strchrnul.c: Likewise.
45101 * string/strcmp.c: Likewise.
45102 * string/strcpy.c: Likewise.
45103 * string/strncat.c: Likewise.
45104 * string/strncmp.c: Likewise.
45105 * string/strncpy.c: Likewise.
45107 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45109 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45110 __builtin_memcopy is called when src and dest ranges are known to not
45113 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45115 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45116 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45117 fwd_align_merge macro call.
45118 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45119 bwd_align_merge macro call.
45120 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45122 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45125 bwd_align_merge macros.
45126 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45127 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45128 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45130 2012-04-18 David S. Miller <davem@davemloft.net>
45132 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45134 2012-04-18 Andreas Jaeger <aj@suse.de>
45137 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45138 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45139 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45141 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45142 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45143 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45145 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45146 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45147 Adjust for changed ldbl-128 files.
45149 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45150 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45151 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45153 2012-04-17 David S. Miller <davem@davemloft.net>
45155 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45157 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45159 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45160 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45161 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45162 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45163 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45164 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45166 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45169 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45170 * math/libm-test.inc: Add ilogb errno and exception tests.
45171 * math/w_ilogb.c: New file: ilogb wrapper.
45172 * math/w_ilogbf.c: New file: ilogbf wrapper.
45173 * math/w_ilogbl.c: New file: ilogbl wrapper.
45174 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45175 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45176 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45177 exception being thrown with 0.0 as argument.
45178 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45179 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45180 exception being thrown with 0.0 as argument.
45181 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45182 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45183 exception being thrown with 0.0 as argument.
45184 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45185 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45186 exception being thrown with 0.0 as argument.
45187 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45188 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45189 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45190 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45191 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45192 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45193 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45194 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45195 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45197 2012-04-17 Petr Baudis <pasky@ucw.cz>
45199 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45202 2012-04-16 Marek Polacek <polacek@redhat.com>
45204 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45206 2012-04-16 Marek Polacek <polacek@redhat.com>
45208 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45209 operands of fdivp instruction.
45211 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45213 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45214 * elf/tst-auditmod3b.c: Likewise.
45215 * elf/tst-auditmod4b.c: Likewise.
45216 * elf/tst-auditmod5b.c: Likewise.
45217 * elf/tst-auditmod6b.c: Likewise.
45218 * elf/tst-auditmod6c.c: Likewise.
45219 * elf/tst-auditmod7b.c: Likewise.
45220 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45221 * sysdeps/x86_64/preconfigure.in: Likewise.
45222 * sysdeps/x86_64/preconfigure: Regenerated.
45224 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45226 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45229 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45231 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45232 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45234 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45237 * locale/iso-639.def: Fix gl language name. Spotted by
45240 2012-04-12 Roland McGrath <roland@hack.frob.com>
45243 * libio/libio.h (__io_write_fn): Update comment.
45245 2012-04-12 Petr Baudis <pasky@ucw.cz>
45248 * stdio.texi (Hook Functions): The user provided writer function
45249 is not allowed to return -1.
45251 2012-04-11 David S. Miller <davem@davemloft.net>
45253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45255 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45257 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45258 Add a leading slash to rtkaio.
45260 2012-04-11 Jim Meyering <meyering@redhat.com>
45263 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45264 It is not necessarily an error to ignore fwrite's return
45265 value. One can reliably use ferror to test for errors after
45268 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45270 * bits/types.h (__snseconds_t): New type.
45271 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45273 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45275 (__SNSECONDS_T_TYPE): Likewise.
45276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45277 (__SNSECONDS_T_TYPE): Likewise.
45278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45279 (__SNSECONDS_T_TYPE): Likewise.
45281 2012-04-10 Andreas Jaeger <aj@suse.de>
45284 * manual/time.texi (Processor Time): Return type of times is
45285 elapsed real time since an arbitrary point in the past.
45286 (CPU Time): Move CLK_TCK from here...
45287 (Processor Time): ...to here. Correct description.
45288 * manual/conf.texi (Constants for Sysconf): Correct description of
45291 2012-04-10 David S. Miller <davem@davemloft.net>
45294 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45295 where the is a gap between DT_REL(A) and DT_JMPREL.
45297 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45299 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45300 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45301 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45303 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45305 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45306 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45307 (dl_main): Handle --inhibit-cache.
45308 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45310 * elf/dl-load.c (_dl_map_object): Use it.
45311 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45313 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45316 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45317 (__ieee754_powl): Saturate large exponents rather than testing for
45318 overflow of y*log2(x).
45319 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45320 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45324 * math/s_ctan.c: Include <float.h>.
45325 (__ctan): Avoid internal overflow or cancellation in calculating
45327 * math/s_ctanf.c: Likewise.
45328 * math/s_ctanl.c: Likewise.
45329 * math/s_ctanh.c: Likewise.
45330 * math/s_ctanhf.c: Likewise.
45331 * math/s_ctanhl.c: Likewise.
45332 * math/libm-test.inc (ctan_test): Add more tests.
45333 (ctanh_test): Likewise.
45334 * sysdeps/i386/fpu/libm-test-ulps: Update.
45335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45337 2012-04-09 Andreas Jaeger <aj@suse.de>
45340 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45341 is an optional BSD extension.
45344 * manual/stdio.texi (Opening Streams): Document additional fopen
45347 2012-04-09 Roland McGrath <roland@hack.frob.com>
45349 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45350 %eax without telling the compiler.
45352 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45355 * manual/install.texi: Use sourceware.org.
45357 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45360 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45361 (__ieee754_pow): Generate overflow and underflow using huge*huge
45362 and tiny*tiny rather than just returning constant infinity or zero
45363 for large exponents.
45364 * math/libm-test.inc (pow_test): Require overflow exceptions for
45365 applicable cases of large exponents.
45368 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45369 (__ieee754_pow): Use iterative multiplication algorithm only for
45370 integer exponents with absolute value below 1024. Check for odd
45371 integer exponents when using algorithm for real exponents.
45372 * math/libm-test.inc (pow_test): Add more tests.
45373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45375 2012-04-08 Joseph Myers <joseph@codesourcery.com>
45378 * math/libm-test.inc (exp_test): Do not allow overflow exception
45381 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45384 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45385 instead of __kernel_standard_f.
45387 2012-04-08 Mike Frysinger <vapier@gentoo.org>
45389 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45390 * sysdeps/x86_64/memset_chk.S: Likewise.
45392 2012-04-08 Andreas Jaeger <aj@suse.de>
45395 * manual/startup.texi (Environment Access): Describe return value
45396 for putenv and setenv.
45399 * manual/filesys.texi (Directory Entries): Add description for
45403 * manual/filesys.texi (Directory Entries): Clarify that it's file
45404 system not operating system in the description of DT_UNKNOWN.
45407 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45409 2012-04-08 Stephen Compall <s11@member.fsf.org>
45412 * manual/llio.texi (Opening and Closing Files): Add cross
45413 reference to explain mode argument.
45415 2012-04-07 Mike Frysinger <vapier@gentoo.org>
45417 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45418 * sysdeps/x86_64/memset_chk.S: Likewise.
45420 2012-04-07 David S. Miller <davem@davemloft.net>
45422 * elf/elf.h (R_SPARC_WDISP10): Define.
45423 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45426 R_SPARC_SIZE64 and R_SPARC_H34.
45428 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45430 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45431 conditions and remove no longer applicable assertion.
45433 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45435 * bits/byteswap.h: Include <features.h>.
45436 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45437 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45439 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45441 * bits/byteswap.h (__bswap_16): Removed.
45442 Include <bits/byteswap-16.h> to get __bswap_16.
45443 * sysdeps/i386/bits/byteswap.h: Likewise.
45444 * sysdeps/s390/bits/byteswap.h: Likewise.
45445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45446 * bits/byteswap-16.h: New file.
45447 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45448 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45449 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45450 * string/Makefile (headers): Add bits/byteswap-16.h.
45452 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45455 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45457 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45458 * nss/tst-nss-static.c: New.
45460 2012-04-06 Robert Millan <rmh@gnu.org>
45463 * manual/llio.texi (File Position Primitive): lseek
45464 refers to WHENCE when it really means OFFSET.
45466 2012-04-06 Andreas Jaeger <aj@suse.de>
45468 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45469 strncmp declarations.
45471 * abilist/libc.abilist: Add __poll and __ppoll.
45473 2012-04-05 David S. Miller <davem@davemloft.net>
45475 * scripts/check-local-headers.sh: Accept a host triplet in the
45476 path matched by the exclude regexp.
45478 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45480 * sysdeps/powerpc/powerpc32/dl-machine.h
45481 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45482 * sysdeps/s390/s390-32/dl-machine.h
45483 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45484 * sysdeps/sparc/sparc32/dl-machine.h
45485 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45486 * sysdeps/sparc/sparc64/dl-machine.h
45487 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45489 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45491 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45492 undefined symbol errors.
45494 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45497 2012-04-05 Michael Matz <matz@suse.de>
45500 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45502 2012-04-05 Andreas Jaeger <aj@suse.de>
45505 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45508 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45510 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45511 which ROUND is no valid rounding mode.
45513 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45515 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45517 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45519 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45521 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45522 an exception using FPU order intentionally.
45524 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45526 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45527 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45528 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45529 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45531 2012-04-05 Simon Josefsson <simon@josefsson.org>
45534 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45535 EINVAL when BUFLEN is too smal.
45537 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45540 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45541 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45543 2012-04-03 Andreas Jaeger <aj@suse.de>
45546 * manual/setjmp.texi (System V contexts): Fix sentence.
45549 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45550 New macro for this case.
45551 [!__GNUC__] (__bswap_64): New inline function for this case.
45552 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45553 * bits/byteswap.h: Likewise.
45554 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45555 ull, guard with __GLIBC_HAVE_LONG_LONG.
45557 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45558 __GLIBC_HAVE_LONG_LONG.
45560 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45561 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45563 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45566 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45567 inptr and inend, rather than using last_ch.
45569 2012-04-02 David S. Miller <davem@davemloft.net>
45571 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45572 * stdio-common/printf-parse.h (read_int): Change return type to
45573 'int', return -1 on INT_MAX overflow.
45574 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45575 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45576 overflows INT_MAX. Check for overflow of in-format-string precision
45577 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45578 SIZE_MAX not INT_MAX for integer overflow test.
45579 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45580 skip the construct in the format string but do not record anything.
45581 * stdio-common/bug22.c: Adjust to test both width/prevision
45582 INT_MAX overflow as well as total length INT_MAX overflow. Check
45583 explicitly for proper errno values.
45585 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45587 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45589 * string/test-strcmp.c [! WIDE]: Likewise.
45590 * time/tst-mktime2.c: Likewise for INT_MAX.
45591 * string/test-string.h: #include <sys/param.h> for MIN.
45593 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45594 * sysdeps/i386/init-first.c (init): Likewise.
45595 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45596 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45597 * sysdeps/sh/init-first.c (init): Likewise.
45599 2012-04-01 Ulrich Drepper <drepper@gmail.com>
45601 * po/ru.po: Update from translation team.
45602 * po/vi.po: Likewise.
45604 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45606 * resolv/nss_dns/dns-host.c: Merge copyright years.
45608 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45610 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45611 Optimize memcpy with prefetch if
45612 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45613 src, dst pointers have unequal 16 byte alignments.
45615 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45618 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45619 from a CNAME entry and return the minimum ttl for the query.
45620 (gaih_getanswer_slice): Likewise.
45622 2012-03-30 Jeff Law <law@redhat.com>
45624 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45626 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45627 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45629 * resolv/nss_dns/dns-host.c: Update copyright year.
45631 2012-03-30 Ulrich Drepper <drepper@gmail.com>
45633 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45634 requests to save a system call. Fix check that all bytes are sent.
45636 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45637 comments for sendmmsg.
45639 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45642 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45643 with only 1 character between 0x0041 and 0x01b0.
45644 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45645 * wcsmbs/tst-mbsnrtowcs.c: New file.
45647 2012-03-29 David S. Miller <davem@davemloft.net>
45649 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45650 small copies by hand.
45652 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45655 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45656 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45659 2012-03-28 David S. Miller <davem@davemloft.net>
45661 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45662 that branches into memcpy.
45663 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45664 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45665 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45666 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45667 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45669 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45670 implementation too.
45671 * sysdeps/sparc/mempcpy.S: New file.
45673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45674 the IFUNC routine in the libc case.
45675 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45677 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45678 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45679 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45680 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45681 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45682 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45683 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45684 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45686 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45687 loop to 256 bytes instead of 64 bytes and fix test signedness.
45689 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45690 * sysdeps/sparc/sparc32/Makefile: rather than here...
45691 * sysdeps/sparc/sparc64/Makefile: and here.
45693 2012-03-28 Ulrich Drepper <drepper@gmail.com>
45695 * malloc/mallocbug.c: Avoid warnings about unused variables.
45697 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45700 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45701 in the right place. Discard and retry query if response is
45702 larger than input buffer size.
45704 2012-03-28 Joseph Myers <joseph@codesourcery.com>
45709 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45710 x for large integer exponent.
45711 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45712 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45713 sign of result as needed afterwards.
45714 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45715 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45716 result for underflowing pow the same as for overflow.
45717 (__kernel_standard_l): Handle powl overflow and underflow here
45718 rather than calling __kernel_standard.
45719 * math/libm-test.inc (pow_test): Add more tests.
45734 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45735 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45736 (__kernel_standard_l): New function.
45737 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45739 * math/w_acosl.c (__acosl): Likewise.
45740 * math/w_asinl.c (__asinl): Likewise.
45741 * math/w_atan2l.c (__atan2l): Likewise.
45742 * math/w_atanhl.c (__atanhl): Likewise.
45743 * math/w_coshl.c (__coshl): Likewise.
45744 * math/w_exp10l.c (__exp10l): Likewise.
45745 * math/w_exp2l.c (__exp2l): Likewise.
45746 * math/w_fmodl.c (__fmodl): Likewise.
45747 * math/w_hypotl.c (__hypotl): Likewise.
45748 * math/w_j0l.c (__j0l, __y0l): Likewise.
45749 * math/w_j1l.c (__j1l, __y1l): Likewise.
45750 * math/w_jnl.c (__jnl, __ynl): Likewise.
45751 * math/w_lgammal.c (__lgammal): Likewise.
45752 * math/w_log10l.c (__log10l): Likewise.
45753 * math/w_log2l.c (__log2l): Likewise.
45754 * math/w_logl.c (__logl): Likewise.
45755 * math/w_powl.c (__powl): Likewise.
45756 * math/w_remainderl.c (__remainderl): Likewise.
45757 * math/w_scalbl.c (sysv_scalbl): Likewise.
45758 * math/w_sinhl.c (__sinhl): Likewise.
45759 * math/w_sqrtl.c (__sqrtl): Likewise.
45760 * math/w_tgammal.c (__tgammal): Likewise.
45761 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45762 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45763 * math/libm-test.inc (acos_test): Add more tests.
45764 (acosh_test): Likewise.
45765 (asin_test): Likewise.
45766 (atanh_test): Likewise.
45767 (exp_test): Likewise.
45768 (exp10_test): Likewise.
45769 (exp2_test): Likewise.
45770 (expm1_test): Likewise.
45771 (lgamma_test): Likewise.
45772 (log_test): Likewise.
45773 (log10_test): Likewise.
45774 (log1p_test): Likewise.
45775 (log2_test): Likewise.
45776 (pow_test): Do not allow some spurious overflow exceptions.
45777 (sqrt_test): Add more tests.
45778 (tgamma_test): Likewise.
45779 (y0_test): Likewise.
45780 (y1_test): Likewise.
45781 (yn_test): Likewise.
45783 2012-03-27 Anton Blanchard <anton@samba.org>
45785 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45787 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45788 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45789 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45791 2012-03-27 David S. Miller <davem@davemloft.net>
45793 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45795 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45796 have-as-vis3 check.
45798 2012-03-27 Andreas Jaeger <aj@suse.de>
45800 * sysdeps/x86_64/elf/configure.in: Moved to ...
45801 * sysdeps/x86_64/configure.in: ... here.
45802 * sysdeps/x86_64/elf/start.S: Moved to ...
45803 * sysdeps/x86_64/start.S: ... here.
45804 * sysdeps/x86_64/elf/configure: Delete.
45806 * sysdeps/x86_64/configure.in: Merge contents from
45807 sysdeps/i386/configure.in (without i686 check).
45809 * sysdeps/i386/elf/Versions: Merge into ...
45810 * sysdeps/i386/Versions: ... this.
45811 * sysdeps/i386/elf/Versions: Delete file.
45812 * sysdeps/i386/elf/start.S: Moved to ...
45813 * sysdeps/i386/start.S: ...here.
45814 * sysdeps/i386/elf/configure.in: Merge into...
45815 * sysdeps/i386/configure.in: ...here.
45816 * sysdeps/i386/elf/configure.in: Delete file.
45817 * sysdeps/i386/elf/configure: Delete file.
45819 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45820 * debug/backtracesyms.c: ... here.
45821 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45822 * debug/backtracesymsfd.c: ... here.
45823 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45824 * sysdeps/generic/ifunc-sel.h: ... here.
45826 * sysdeps/unix/i386/start.c: Delete file.
45827 * sysdeps/unix/sparc/start.c: Delete file.
45828 * sysdeps/unix/start.c: Delete file.
45830 * sysdeps/sh/elf/configure.in: Moved to ...
45831 * sysdeps/sh/configure.in: ... here.
45832 * sysdeps/sh/elf/start.S: Moved to ...
45833 * sysdeps/sh/start.S: ... here.
45834 * sysdeps/sh/elf/configure: Delete file.
45836 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45837 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45838 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45839 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45840 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45841 * sysdeps/powerpc/powerpc64/start.S: here.
45842 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45843 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45844 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45845 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45846 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45848 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45849 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45850 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45851 * sysdeps/powerpc/powerpc32/start.S: ... here.
45852 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45853 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45854 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45856 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45857 * sysdeps/powerpc/ifunc-sel.h: ... here.
45858 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45859 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45861 * sysdeps/sparc/elf/configure.in: Moved to ...
45862 * sysdeps/sparc/configure.in: ... here.
45863 * sysdeps/sparc/elf/configure: Delete file.
45864 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45865 * sysdeps/sparc/sparc32/start.S: ... here.
45866 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45867 * sysdeps/sparc/sparc64/start.S: ... here.
45868 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45869 * sysdeps/sparc/sparc32/Makefile: ... this.
45870 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45871 * sysdeps/sparc/sparc64/Makefile: ... this.
45873 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45874 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45875 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45876 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45877 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45878 * sysdeps/s390/s390-32/setjmp.S: ... here.
45879 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45880 * sysdeps/s390/s390-32/configure.in: ... here.
45881 * sysdeps/s390/s390-32/elf/configure: Delete file.
45882 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45883 * sysdeps/s390/s390-32/start.S: ... here.
45885 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45886 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45887 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45888 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45889 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45890 * sysdeps/s390/s390-64/setjmp.S: ... here.
45891 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45892 * sysdeps/s390/s390-64/configure.in: ... here
45893 * sysdeps/s390/s390-64/elf/configure: Delete file.
45894 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45895 * sysdeps/s390/s390-64/start.S: ... here.
45896 * sysdeps/s390/s390-64/elf/configure: Delete.
45898 * configure.in: Remove support for elf directories in sysdeps.
45900 * configure: Regenerated.
45901 * sysdeps/i386/configure: Regenerated.
45902 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45903 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45904 * sysdeps/s390/s390-32/configure: Regenerated.
45905 * sysdeps/s390/s390-64/configure: Regenerated.
45906 * sysdeps/sh/configure: Regenerated.
45907 * sysdeps/sparc/configure: Regenerated.
45908 * sysdeps/x86_64/configure: Regenerated.
45910 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45915 denormal result into account.
45917 2012-03-25 Roland McGrath <roland@hack.frob.com>
45919 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45920 Reported by Allan McRae <allan@archlinux.org>.
45922 2012-03-23 Jeff Law <law@redhat.com>
45924 * nss/getnssent.c (__nss_getent): Fix typo.
45926 2012-03-23 David S. Miller <davem@davemloft.net>
45928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45930 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45932 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45933 to pad to uint64_t for each field.
45934 (dl_tls_index): Replace unsigned long with uint64_t.
45936 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45937 Paul Pluzhnikov <ppluzhnikov@google.com>
45940 * grp/Makefile (otherlibs): Don't set it.
45941 * inet/Makefile (otherlibs): Likewise.
45942 * login/Makefile (otherlibs): Likewise.
45943 * nscd/Makefile (otherlibs): Likewise.
45944 * posix/Makefile (otherlibs): Likewise.
45945 * pwd/Makefile (otherlibs): Likewise.
45946 * rt/Makefile (otherlibs): Likewise.
45947 * sunrpc/Makefile (otherlibs): Likewise.
45948 * nss/Makefile (otherlibs): Likewise.
45949 Add libnss_files to routines and static-only-routines.
45950 ($(objpfx)getent): Remove rule.
45951 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45952 static-only-routines.
45954 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45957 * math/s_cexp.c: Include <float.h>.
45958 (__cexp): Handle exp result overflowing not necessarily
45959 overflowing both real and imaginary parts of result.
45960 * math/s_cexpf.c: Likewise.
45961 * math/s_cexpl.c: Likewise.
45962 * math/libm-test.inc (cexp_test): Add more tests.
45963 * sysdeps/i386/fpu/libm-test-ulps: Update.
45964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45966 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45968 * include/link.h (ELFW): New macro.
45969 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45970 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45972 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45974 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45977 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45979 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45981 (struct La_x32_retval): Likewise.
45983 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45985 * sysdeps/x86_64/preconfigure.in: New file.
45986 * sysdeps/x86_64/preconfigure: New generated file.
45988 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45991 * math/e_exp2l.c: Include <float.h>.
45992 (__ieee754_exp2l): Handle overflow and underflow cases
45993 separately. Only pass fractional part of argument to
45995 * math/libm-test.inc (exp2_test): Add more tests.
45997 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45998 negating x to take absolute value.
45999 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46001 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46002 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46004 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46005 computing low part if x was negated.
46006 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46008 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46010 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46011 la_x32_gnu_pltexit.
46012 (pltexit): Cast int_retval to ptrdiff_t.
46013 * elf/tst-auditmod3b.c: Likewise.
46014 * elf/tst-auditmod4b.c: Likewise.
46015 * elf/tst-auditmod5b.c: Likewise.
46016 * elf/tst-auditmod6b.c: Likewise.
46017 * elf/tst-auditmod6c.c: Likewise.
46018 * elf/tst-auditmod7b.c: Likewise.
46020 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46021 and x32_gnu_pltexit.
46023 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46024 __ELF_NATIVE_CLASS.
46025 (La_x32_regs): New macro.
46026 (La_x32_retval): Likewise.
46027 (la_x32_gnu_pltenter): New function prototype.
46028 (la_x32_gnu_pltexit): Likewise.
46030 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46037 * configure.in (libc_cv_cc_nofma): Check for option to disable
46038 generation of FMA instructions.
46039 * configure: Regenerate.
46040 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46041 * sysdeps/ieee754/dbl-64/Makefile: New file.
46042 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46043 Remove brandred-fma4.
46044 (CFLAGS-brandred-fma4.c): Remove.
46045 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46046 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46051 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46053 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46054 LLONG_MAX != LONG_MAX.
46055 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46056 (_fitoa_word): Likewise.
46057 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46058 LLONG_MAX != LONG_MAX.
46059 * stdio-common/_itowa.h: Include <_itoa.h>.
46060 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46061 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46062 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46063 only if not defined.
46064 (_ITOA_WORD_TYPE): Likewise.
46065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46066 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46068 2012-03-21 David S. Miller <davem@davemloft.net>
46070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46072 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46074 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46075 of x86_64 when setting libc_cv_slibdir, libdir and
46077 * sysdeps/unix/sysv/linux/configure: Regenerated.
46079 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46081 * manual/lang.texi (Old Varargs): Remove section.
46082 (How Variadic): Update menu.
46083 (va_start): Do not mention varargs.h.
46085 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46086 Joseph Myers <joseph@codesourcery.com>
46088 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46090 * configure: Regenerated.
46092 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46094 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46095 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46098 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46101 * Makefile (files-for-dist): Remove NOTES.
46102 (NOTES): Remove rule.
46103 * README: Don't refer to NOTES.
46104 * manual/creature.texi: Don't include macros.texi.
46105 * manual/intro.texi (creature.texi): Remove comment referring to
46108 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46109 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46110 * configure: Regenerated.
46111 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46112 LIBC_TRY_CC_OPTION.
46113 (libc_cv_as_i686): Likewise.
46114 (libc_cv_cc_avx): Likewise.
46115 (libc_cv_cc_sse2avx): Likewise.
46116 (libc_cv_cc_fma4): Likewise.
46117 (libc_cv_cc_novzeroupper): Likewise.
46118 * sysdeps/i386/configure: Regenerated.
46121 * sysdeps/i386/fpu/s_cexp.S: Remove.
46122 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46123 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46124 * math/libm-test.inc (cexp_test): Add more tests.
46125 * sysdeps/i386/fpu/libm-test-ulps: Update.
46126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46128 2012-03-21 Allan McRae <allan@archlinux.org>
46130 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46132 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46135 * math/w_exp2.c: Do not include <float.h>.
46136 (o_threshold, u_threshold): Remove.
46137 (__exp2): Calculate result before checking finiteness and calling
46139 * math/w_exp2f.c: Likewise.
46140 * math/w_exp2l.c: Likewise.
46141 * math/libm-test.inc (exp2_test): Require overflow exception for
46145 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46146 range of signed 64-bit integers before using fistpll. Remove
46147 checks for whether integers fit in mantissa bits.
46148 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46149 the range of signed 32-bit integers before using fistpl. Remove
46150 checks for whether integers fit in mantissa bits.
46151 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46152 (__ieee754_powl): Test for y outside the range of signed 64-bit
46153 integers before using fistpll. Reduce 64-bit values to 63-bit
46155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46156 divide-by-zero is raised for zero to large negative powers.
46157 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46158 (__ieee754_powl): Test for y outside the range of signed 64-bit
46159 integers before using fistpll. Reduce 64-bit values to 63-bit
46161 * math/libm-test.inc (pow_test): Add more tests.
46163 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46165 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46166 <stdio-common/_itoa.h>.
46167 * debug/segfault.c: Likewise.
46168 * elf/dl-cache.c: Likewise.
46169 * elf/dl-minimal.c: Likewise.
46170 * elf/dl-misc.c: Likewise.
46171 * elf/dl-sysdep.c: Likewise.
46172 * elf/dl-version.c: Likewise.
46173 * elf/rtld.c: Likewise.
46174 * hurd/hurdsock.c: Likewise.
46175 * hurd/lookup-retry.c: Likewise.
46176 * malloc/malloc.c: Likewise.
46177 * malloc/mtrace.c: Likewise.
46178 * nscd/nscd_getgr_r.c: Likewise.
46179 * nscd/nscd_getpw_r.c: Likewise.
46180 * nscd/nscd_getserv_r.c: Likewise.
46181 * posix/getopt_init.c: Likewise.
46182 * posix/wordexp.c: Likewise.
46183 * stdio-common/_itoa.c: Likewise.
46184 * stdio-common/printf_fphex.c: Likewise.
46185 * stdio-common/vfprintf.c: Likewise.
46186 * string/_strerror.c: Likewise.
46187 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46188 * sysdeps/i386/i686/hp-timing.h: Likewise.
46189 * sysdeps/mach/_strerror.c: Likewise.
46190 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46191 * sysdeps/mach/hurd/sethostid.c: Likewise.
46192 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46193 * sysdeps/mach/xpg-strerror.c: Likewise.
46194 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46195 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46196 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46197 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46198 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46199 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46200 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46201 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46202 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46203 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46204 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46205 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46206 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46207 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46208 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46209 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46210 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46211 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46212 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46213 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46214 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46216 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46218 * stdio-common/_itoa.h: Moved to ...
46219 * sysdeps/generic/_itoa.h: Here.
46221 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46223 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46224 instead of "_itoa.h" and "_itowa.h".
46225 * stdio-common/vfprintf.: Likewise.
46227 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46229 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46231 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46232 (__signbit): Likwise.
46233 (llrintf): Likwise.
46236 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46238 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46241 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46243 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46244 OVERFLOW_EXCEPTION_OK.
46245 * math/libm-test.inc ("Philosophy"): Update comment about
46247 (OVERFLOW_EXCEPTION): Define.
46248 (OVERFLOW_EXCEPTION_OK): Likewise.
46249 (INVALID_EXCEPTION_OK): Renumber.
46250 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46251 (IGNORE_ZERO_INF_SIGN): Likewise.
46252 (test_exceptions): Handle FE_OVERFLOW.
46253 (exp10_test): Expect overflow exceptions.
46254 (exp2_test): Likewise.
46255 (expm1_test): Likewise.
46256 (nextafter_test): Likewise.
46257 (pow_test): Likewise.
46258 (scalbn_test): Likewise.
46259 (scalbln_test): Likewise.
46261 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46263 * sysdeps/x86_64/bits/atomic.h
46264 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46266 (atomic_exchange_acq): Likewise.
46267 (__arch_exchange_and_add_body): Likewise.
46268 (__arch_add_body): Likewise.
46269 (atomic_add_negative): Likewise.
46270 (atomic_add_zero): Likewise.
46272 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46274 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46275 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46279 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46280 Check __x86_64__ instead of __WORDSIZE.
46282 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46284 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46286 2012-03-19 David S. Miller <davem@davemloft.net>
46288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46290 * sysdeps/sparc/fpu/fenv_private.h: New file.
46291 * sysdeps/sparc/fpu/math_private.h: Use it.
46292 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46294 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46295 (libc_feholdexcept_setroundl): Remove.
46296 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46298 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46299 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46301 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46303 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46304 int64_t instead of long int.
46305 (INSERT_WORDS64): Likwise.
46307 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46309 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46310 _Unwind_GetCFA return to _Unwind_Ptr first.
46312 2012-03-19 Joseph Myers <joseph@codesourcery.com>
46315 * math/s_clog.c: Include <float.h>.
46316 (__clog): Scale large or subnormal inputs.
46317 * math/s_clogf.c: Likewise.
46318 * math/s_clogl.c: Likewise.
46319 * math/s_clog10.c: Include <float.h>.
46320 (M_LOG10_2): Define.
46321 (__clog10): Scale large or subnormal inputs.
46322 * math/s_clog10f.c: Likewise.
46323 * math/s_clog10l.c: Likewise.
46324 * math/libm-test.inc (clog_test): Add more tests.
46325 (clog10_test): Likewise.
46326 * sysdeps/i386/fpu/libm-test-ulps: Update.
46327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46330 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46332 * math/libm-test.inc (atan2_test): Add another test.
46334 * Makerules (common-objdir-compile): Remove.
46335 * sysdeps/unix/Makefile (config-generated): Do not add
46336 $(unix-generated) to variable.
46337 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46338 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46340 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46342 [generic bits/local_lim.h] (before-compile): Do not append to
46344 [generic bits/local_lim.h] (common-generated): Likewise.
46345 [generic sys/param.h] (before-compile): Do not append to variable.
46346 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46347 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46348 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46349 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46351 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46352 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46353 [generic sys/param.h] ($(addprefix
46354 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46355 [generic sys/param.h] (common-generated): Do not append to
46357 [generic sys/param.h] (sysdep_headers): Likewise.
46358 [generic bits/errno.h] (before-compile): Do not append to
46360 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46362 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46363 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46364 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46365 [generic bits/errno.h] (common-generated): Do not append to
46367 [generic bits/ioctls.h] (before-compile): Do not append to
46369 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46371 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46372 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46373 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46375 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46376 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46377 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46378 [generic bits/ioctls.h] (common-generated): Do not append to
46380 [generic sys/syscall.h] (syscall.h): Remove variable.
46381 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46383 [generic sys/syscall.h] (before-compile): Do not append to
46385 [generic sys/syscall.h] (common-generated): Likewise.
46386 * sysdeps/unix/errnos-tmpl.c: Remove file.
46387 * sysdeps/unix/errnos.awk: Likewise.
46388 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46389 * sysdeps/unix/ioctls.awk: Likewise.
46390 * sysdeps/unix/mk-local_lim.c: Likewise.
46391 * sysdeps/unix/snarf-ioctls: Likewise.
46393 2012-03-19 Richard Henderson <rth@twiddle.net>
46395 * sysdeps/i386/fpu/fenv_private.h: New file.
46396 * sysdeps/i386/fpu/math_private.h: Use it.
46397 (math_opt_barrier, math_force_eval): Remove.
46398 (libc_feholdexcept_setround_53bit): Remove.
46399 (libc_feupdateenv_53bit): Remove.
46400 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46401 (math_opt_barrier, math_force_eval): Remove.
46402 (libc_feholdexcept): Remove.
46403 (libc_feholdexcept_setround): Remove.
46404 (libc_fetestexcept, libc_fesetenv): Remove.
46405 (libc_feupdateenv_test): Remove.
46406 (libc_feupdateenv, libc_feholdsetround): Remove.
46407 (libc_feresetround): Remove.
46409 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46410 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46412 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46413 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46414 (libc_feupdateenv_testl): New.
46415 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46416 (libc_feupdateenv_testf): New.
46417 (libc_feupdateenv): Use libc_feupdateenv_test.
46418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46421 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46422 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46423 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46424 (libc_feresetround_noex): New.
46425 (libc_feresetround_noexf): New.
46426 (libc_feresetround_noexl): New.
46427 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46428 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46429 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46430 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46435 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46436 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46437 SET_RESTORE_ROUND_NOEX.
46438 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46439 SET_RESTORE_ROUND_NOEXF.
46440 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46441 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46442 (libc_feholdsetroundf): New.
46443 (libc_feresetround, libc_feresetroundf): New.
46445 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46446 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46447 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46449 * sysdeps/generic/math_private.h: Include <fenv.h>.
46450 (default_libc_feholdexcept): New.
46451 (default_libc_feholdexcept_setround): New.
46452 (default_libc_fesetenv, default_libc_feupdateenv): New.
46453 (libc_feholdexcept): Only define if undefined.
46454 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46455 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46456 (libc_feholdexcept_setroundl): Likewise.
46457 (libc_feholdexcept_setround_53bit): Likewise.
46458 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46459 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46460 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46461 (libc_feupdateenv_53bit): Likewise.
46462 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46463 (libc_feholdexcept): Convert from macro to inline function.
46464 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46465 (libc_fesetenv, libc_feupdateenv): Likewise.
46467 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46468 not previously defined.
46469 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46470 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46471 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46472 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46473 * sysdeps/ieee754/flt-32/math_private.h: New file.
46474 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46475 math_private.h below SET_FLOAT_WORD.
46476 (__isnan, __isinf_ns, __finite): Remove.
46477 (__isnanf, __isinf_nsf, __finitef): Remove.
46479 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46483 2012-03-17 David S. Miller <davem@davemloft.net>
46486 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46489 2012-03-16 David S. Miller <davem@davemloft.net>
46491 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46495 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46497 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46498 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46499 sysdep_routines when subdir is sysvipc.
46500 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46501 __getshmlba helper.
46503 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46505 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46507 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46510 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46512 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46513 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46514 (__lround): Renamed to ...
46515 (__llround): This. Replace long int with long long int.
46516 Define lround functions as aliases of llround functions.
46517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46519 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46521 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46522 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46523 adresses to uintptr_t. Replace "long int" and "unsigned long
46524 int" with "greg_t" on va_arg.
46526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46528 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46529 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46531 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46532 Move e_machine check before EI_CLASS check. Handle x32
46533 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46534 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46535 SKIP_EM_IA_64 and include
46536 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46538 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46539 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46540 (add_system_dir): New macro.
46542 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46543 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46545 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46556 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46558 * math/w_j0f.c (j0f): Likewise.
46560 * math/w_j0l.c (__j0l): Likewise.
46562 * math/w_j1.c (j1): Likewise.
46564 * math/w_j1f.c (j1f): Likewise.
46566 * math/w_j1l.c (__j1l): Likewise.
46568 * math/w_jn.c (jn): Likewise.
46570 * math/w_jnf.c (jnf): Likewise.
46572 * math/w_jnl.c (__jnl): Likewise.
46574 * math/libm-test.inc (j0_test): Add more tests.
46575 (j1_test): Likewise.
46576 (jn_test): Likewise. Add trailing semicolon to existing test.
46577 (y0_test): Likewise.
46578 (y1_test): Likewise.
46579 * sysdeps/i386/fpu/libm-test-ulps: Update.
46580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46584 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46585 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46586 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46587 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46588 (__tanl): Set errno for infinite argument.
46589 * sysdeps/i386/fpu/mptan.c: Remove.
46590 * sysdeps/i386/fpu/s_tan.S: Likewise.
46591 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46592 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46593 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46594 * math/libm-test.inc (tan_test): Add more tests and enable more
46595 tests for double and long double.
46596 * sysdeps/i386/fpu/libm-test-ulps: Update.
46597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46599 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46601 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46602 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46604 2012-03-16 Roland McGrath <roland@hack.frob.com>
46606 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46607 * configure.in: Use it for both main tree and add-ons.
46608 * configure: Regenerated.
46610 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46612 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46614 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46616 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46620 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46621 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46622 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46623 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46624 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46626 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46627 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46628 != 0 for prec == 2.
46629 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46630 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46631 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46632 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46633 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46634 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46635 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46636 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46637 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46638 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46639 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46640 * math/libm-test.inc (cos_test): Add more tests and enable more
46641 tests for long double.
46642 (sin_test): Likewise.
46643 (sincos_test): Likewise.
46644 * sysdeps/i386/fpu/libm-test-ulps: Update.
46645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46647 2012-03-16 David S. Miller <davem@davemloft.net>
46649 * sysdeps/sparc/fpu/math_private.h: New file.
46651 2012-03-15 David S. Miller <davem@davemloft.net>
46653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46667 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46668 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46670 * sysdeps/sparc/sparc-ifunc.h: New file.
46671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46710 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46716 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46718 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46722 2012-03-15 Andreas Jaeger <aj@suse.de>
46725 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46726 ieee754/flt-32 implementation for sin, cos and sincos.
46727 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46728 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46729 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46730 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46731 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46732 ieee754/flt-32 implementation for tan.
46734 * math/libm-test.inc (cos_test): Enable some large input tests for
46736 (sin_test): Likewise.
46737 (sincos_test): Likewise.
46738 (tan_test): Add tests for large input.
46740 * sysdeps/i386/fpu/libm-test-ulps: Update.
46742 2012-03-15 Andreas Jaeger <aj@suse.de>
46745 * math/libm-test.inc (cos_test): Add more test cases.
46746 (sin_test): Likewise.
46747 (sincos_test): Likewise.
46749 2012-03-15 Andreas Jaeger <aj@suse.de>
46752 * math/libm-test.inc (cos_test): Add a test case for large input
46754 (sin_test): Likewise.
46755 (sincos_test): Likewise.
46757 2012-03-15 Andreas Jaeger <aj@suse.de>
46758 Joseph Myers <joseph@codesourcery.com>
46761 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46762 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46763 * sysdeps/i386/fpu/branred.c: Likewise.
46764 * sysdeps/i386/fpu/dosincos.c: Likewise.
46765 * sysdeps/i386/fpu/mpa.c: Likewise.
46766 * sysdeps/i386/fpu/s_cos.S: Likewise.
46767 * sysdeps/i386/fpu/s_sin.S: Likewise.
46768 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46769 * sysdeps/i386/fpu/sincos32.c: Likewise.
46771 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46773 (libc_feupdateenv_53bit): Define.
46774 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46776 (libc_feupdateenv_53bit): Define.
46778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46779 53 bit (without extend i386 double precision).
46781 * math/libm-test.inc (sincos_test): Add tests for large input.
46785 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46787 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46791 2012-03-15 David S. Miller <davem@davemloft.net>
46793 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46794 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46795 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46796 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46820 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46821 fmin/fmax sysdep routines.
46822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46824 2012-03-14 David S. Miller <davem@davemloft.net>
46826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46832 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46833 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46846 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46847 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46848 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46849 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46851 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46852 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46853 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46898 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46903 * sysdeps/sparc/configure.in: New file.
46904 * sysdeps/sparc/configure: Generate.
46905 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46906 * configure: Regenerate.
46907 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46908 * config.make.in (have-as-vis3): New.
46909 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46910 available use -Av9d instead of -Av9a.
46911 * sysdeps/sparc/sparc64/Makefile: Likewise.
46912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46923 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46924 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46925 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46927 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46928 fzeros/fnegs to load 0x80000000 into a float register instead of
46930 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46932 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46936 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46937 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46938 ($(inst_includedir)/bits/syscall.h): Remove rule.
46939 ($(objpfx)bits/syscall.d): Include instead of
46940 $(objpfx)syscall-list.d.
46941 (generated): Change syscall-list.h and syscall-list.d to
46942 bits/syscall.h and bits/syscall.d.
46944 2012-03-14 Roland McGrath <roland@hack.frob.com>
46947 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46949 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46952 * math/s_csqrt.c: Include <float.h>.
46953 (__csqrt): Scale large or subnormal inputs.
46954 * math/s_csqrtf.c: Likewise.
46955 * math/s_csqrtl.c: Likewise.
46956 * math/libm-test.inc (csqrt_test): Add more tests.
46957 * sysdeps/i386/fpu/libm-test-ulps: Update.
46958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46961 * math/libm-test.inc (hypot_test): Add more tests.
46963 2012-03-13 David S. Miller <davem@davemloft.net>
46966 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46967 double-precision for the calculation instead of scaling.
46969 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46971 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46972 manipulate bits before adding and subtracting TWO52[sx].
46973 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46974 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46976 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46978 2012-03-13 David S. Miller <davem@davemloft.net>
46980 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46981 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46983 rtld-global-offsets.h
46984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46986 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46989 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46991 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46992 'err' in the ifdef scope in which it is actually used.
46994 * nss/nss_db/db-init.c: Include string.h
46996 2012-03-12 David S. Miller <davem@davemloft.net>
46998 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46999 masking out of the most significant byte of random value used.
47000 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47001 Fix coding style in previous change.
47003 * sysdeps/unix/sysv/linux/kernel-features.h
47004 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47005 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47007 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47010 2012-03-11 David S. Miller <davem@davemloft.net>
47012 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47013 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47014 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47015 for 'resultvar' otherwise things get truncated on 64-bit.
47017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47018 Fix masking out of the most significant byte of random value used.
47020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47022 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47026 2012-03-09 David S. Miller <davem@davemloft.net>
47028 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47029 variables with appropriate CPP guards.
47030 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47031 from the frame pointer, not the stack pointer. Correct layout
47032 comments. Fix test on resulting framesize and the management of
47033 the outregs buffer for pltexit. Preserve floating point return
47034 values across _dl_call_pltexit call.
47035 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47036 framesize and the management of the outregs buffer for pltexit.
47037 Preserve floating point return values across _dl_call_pltexit
47039 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47040 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47041 (la_sparc64_gnu_pltexit): New functions.
47042 (print_exit): Fix format string for return register value.
47044 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47046 * sunrpc/Makefile (others): Add rpcgen.
47047 ($(objpfx)rpcgen): Remove special build rule and dependency on
47049 * sunrpc/rpcgen.c: New file.
47051 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47054 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47055 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47056 * sysdeps/i386/crti.S: Likewise.
47057 * sysdeps/i386/crtn.S: Likewise.
47058 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47059 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47060 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47061 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47062 * sysdeps/sh/crti.S: Likewise.
47063 * sysdeps/sh/crtn.S: Likewise.
47064 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47067 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47069 * locale/programs/locfile-kw.gperf: Likewise.
47070 * locale/programs/charmap-kw.h: Regenerated.
47071 * locale/programs/locfile-kw.h: Likewise.
47074 * intl/plural.y: Replace FSF snail mail address with URL.
47075 * intl/plural.c: Regenerated.
47077 2012-03-09 Richard Henderson <rth@twiddle.net>
47079 * include/math_private.h: Remove file.
47080 * math/math_private.h: Move file ...
47081 * sysdeps/generic/math_private.h: ... here.
47083 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47084 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47085 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47087 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47088 and <math_private.h>.
47089 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47090 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47091 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47092 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47093 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47094 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47095 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47097 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47098 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47100 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47101 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47102 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47103 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47104 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47105 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47106 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47107 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47108 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47110 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47111 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47113 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47114 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47115 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47116 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47119 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47120 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47121 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47122 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47123 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47124 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47125 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47126 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47127 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47128 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47129 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47130 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47132 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47133 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47134 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47135 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47136 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47137 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47138 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47139 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47140 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47141 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47142 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47143 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47144 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47145 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47146 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47147 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47148 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47149 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47150 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47152 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47153 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47154 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47155 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47156 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47157 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47158 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47159 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47160 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47161 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47163 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47165 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47166 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47168 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47169 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47170 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47171 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47172 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47173 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47174 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47175 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47176 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47177 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47178 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47179 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47180 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47181 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47182 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47183 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47184 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47185 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47186 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47187 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47188 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47189 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47190 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47191 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47192 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47193 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47194 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47195 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47196 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47197 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47198 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47199 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47200 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47201 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47202 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47203 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47204 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47205 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47206 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47207 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47208 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47209 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47210 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47211 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47212 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47213 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47215 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47216 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47217 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47218 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47219 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47220 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47221 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47222 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47223 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47224 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47225 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47226 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47227 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47228 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47229 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47230 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47231 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47232 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47233 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47234 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47235 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47236 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47237 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47238 * sysdeps/ieee754/k_standard.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47253 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47256 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47257 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47258 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47259 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47264 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47266 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47268 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47269 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47270 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47271 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47272 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47273 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47274 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47276 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47278 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47284 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47287 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47289 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47290 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47291 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47297 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47301 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47306 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47311 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47312 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47313 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47314 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47315 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47316 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47317 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47318 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47319 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47320 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47323 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47324 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47325 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47327 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47328 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47329 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47330 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47331 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47332 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47333 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47334 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47335 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47336 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47337 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47338 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47339 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47340 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47342 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47343 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47344 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47345 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47346 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47347 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47348 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47351 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47352 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47353 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47354 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47355 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47357 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47358 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47360 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47361 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47362 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47363 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47364 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47365 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47366 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47367 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47368 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47369 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47370 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47371 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47372 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47373 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47374 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47375 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47376 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47377 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47378 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47379 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47380 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47381 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47382 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47383 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47384 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47385 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47386 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47387 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47388 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47389 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47390 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47391 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47392 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47393 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47394 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47395 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47396 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47397 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47398 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47399 * sysdeps/ieee754/s_lib_version.c: Likewise.
47400 * sysdeps/ieee754/s_matherr.c: Likewise.
47401 * sysdeps/ieee754/s_signgam.c: Likewise.
47402 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47403 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47404 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47405 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47406 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47407 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47408 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47409 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47410 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47411 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47412 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47413 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47414 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47415 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47416 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47417 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47418 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47419 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47420 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47424 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47426 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47427 * sunrpc/rpc_main.c: Likewise.
47428 * sunrpc/rpc_svcout.c: Likewise.
47430 2012-03-09 David S. Miller <davem@davemloft.net>
47432 * include/math_private.h: New file.
47434 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47436 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47437 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47438 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47439 from <bits/socket_type.h>.
47440 (enum __socket_type): Don't define here.
47441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47443 bits/socket_type.h.
47446 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47447 checking __USE_GNU.
47449 * Makerules ($(inst_includedir)/%.h): New rule.
47450 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47451 (install-others): Remove variable setting.
47452 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47454 2012-03-08 Richard Henderson <rth@twiddle.net>
47456 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47457 from macro to inline function; merge with the
47458 !__LIBC_INTERNAL_MATH_INLINES version.
47459 (__ieee754_sqrtf): Likewise.
47461 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47462 to inline function.
47463 (__rintf, __floor, __floorf): Likewise.
47465 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47466 macro to inline function.
47467 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47469 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47470 not <math/math_private.h>.
47472 2012-03-08 David S. Miller <davem@davemloft.net>
47474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47476 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47478 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47480 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47482 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47483 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47485 2012-03-08 Ulrich Drepper <drepper@gmail.com>
47487 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47488 be defined individually, they must be defined as a block. Define
47489 S for printing a string instead of hidint the different by using a
47490 macro for adding the 'l'.
47491 * stdio-common/tst-fphex-wide.c: Adjust.
47493 2012-03-07 Marek Polacek <polacek@redhat.com>
47495 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47497 2012-03-08 Marek Polacek <polacek@redhat.com>
47500 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47501 * stdio-common/tst-fphex.c: Define a few macros to make the
47502 test reusable. Use them.
47503 * stdio-common/tst-fphex-wide.c: New file.
47505 2012-03-08 Joseph Myers <joseph@codesourcery.com>
47508 * manual/macros.texi (gnusystems): New macro.
47509 (nongnusystems): Likewise.
47510 (gnulinuxhurdsystems): Likewise.
47511 (gnuhurdsystems): Likewise..
47512 (gnulinuxsystems): Likewise.
47513 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47514 variants of the GNU system, not "GNU system".
47515 * manual/conf.texi: Likewise.
47516 * manual/errno.texi: Likewise. Update example of errno macro
47518 * manual/filesys.texi: Likewise.
47519 (getumask): Document as specific to GNU/Hurd.
47520 * manual/install.texi: Likewise. Reword some references to
47522 * manual/intro.texi: Likewise.
47523 * manual/io.texi: Likewise.
47524 (File Name Portability): Detail which constraints are inapplicable
47525 to all GNU systems and which are only inapplicable to GNU/Hurd.
47526 * manual/job.texi: Likewise.
47527 * manual/llio.texi: Likewise.
47528 (O_NOCTTY): Document as present on GNU/Linux.
47529 * manual/maint.texi: Likewise.
47530 * manual/memory.texi: Likewise.
47531 * manual/pattern.texi: Likewise.
47532 * manual/pipe.texi: Likewise.
47533 * manual/process.texi: Likewise.
47534 * manual/resource.texi: Likewise.
47535 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47537 * manual/setjmp.texi: Likewise.
47538 * manual/signal.texi: Likewise.
47539 * manual/startup.texi: Likewise.
47540 * manual/stdio.texi: Likewise.
47541 * manual/terminal.texi: Likewise.
47542 (ONLCR): Document as POSIX.
47543 (OXTABS): Document availability on GNU/Linux as XTABS.
47544 (ONOEOT): Document availability separately from other bits.
47545 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47546 * manual/time.texi: Likewise.
47547 * manual/users.texi: Likewise.
47548 * INSTALL: Regenerated.
47549 * sysdeps/gnu/errlist.c: Regenerated.
47551 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47552 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47553 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47555 * configure: Regenerated.
47557 2012-03-07 Joseph Myers <joseph@codesourcery.com>
47559 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47560 default includes instead of AC_HEADER_CHECK.
47561 * sysdeps/i386/configure: Regenerated.
47564 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47565 * math/s_cacoshf.c (__cacoshf): Likewise.
47566 * math/s_cacoshl.c (__cacoshl): Likewise.
47567 * math/s_casinh.c (__casinh): Set signs of result from argument.
47568 * math/s_casinhf.c (__casinhf): Likewise.
47569 * math/s_casinhl.c (__casinhl): Likewise.
47570 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47571 (casinh_test): Add more tests.
47572 * sysdeps/i386/fpu/libm-test-ulps: Update.
47573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47575 2012-03-07 Ulrich Drepper <drepper@gmail.com>
47577 * po/zh_TW.po: Update from translation team.
47579 * login/Makefile (distribute): Remove variable.
47580 * catgets/Makefile: Likewise.
47581 * mach/Makefile: Likewise.
47582 * malloc/Makefile: Likewise.
47583 * misc/Makefile: Likewise.
47584 * iconv/Makefile: Likewise.
47585 * nscd/Makefile: Likewise.
47586 * hurd/Makefile: Likewise.
47587 * manual/Makefile: Likewise.
47588 * locale/Makefile: Likewise.
47589 * intl/Makefile: Likewise.
47590 * conform/Makefile: Likewise.
47591 * nss/Makefile: Likewise.
47592 * time/Makefile: Likewise.
47593 * soft-fp/Makefile: Likewise.
47594 * dirent/Makefile: Likewise.
47595 * gmon/Makefile: Likewise.
47596 * po/Makefile: Likewise.
47597 * rt/Makefile: Likewise.
47598 * socket/Makefile: Likewise.
47599 * math/Makefile: Likewise.
47600 * signal/Makefile: Likewise.
47601 * debug/Makefile: Likewise.
47602 * elf/Makefile: Likewise.
47603 * timezone/Makefile: Likewise.
47604 * stdlib/Makefile: Likewise.
47605 * iconvdata/Makefile: Likewise.
47606 * sunrpc/Makefile: Likewise.
47607 * io/Makefile: Likewise.
47608 * argp/Makefile: Likewise.
47609 * inet/Makefile: Likewise.
47610 * hesiod/Makefile: Likewise.
47611 * grp/Makefile: Likewise.
47612 * csu/Makefile: Likewise.
47613 * wctype/Makefile: Likewise.
47614 * crypt/Makefile: Likewise.
47615 * libio/Makefile: Likewise.
47616 * string/Makefile: Likewise.
47617 * nis/Makefile: Likewise.
47618 * resolv/Makefile: Likewise.
47619 * stdio-common/Makefile: Likewise.
47620 * wcsmbs/Makefile: Likewise.
47621 * dlfcn/Makefile: Likewise.
47622 * posix/Makefile: Likewise.
47625 * timezone/Makefile: Don't install timezone files, just the programs
47628 2012-03-06 Ulrich Drepper <drepper@gmail.com>
47630 * nss/databases.def: Add missing gshadow entry.
47632 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47634 2012-03-06 Marek Polacek <polacek@redhat.com>
47637 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47638 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47639 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47640 * stdio-common/tst-long-dbl-fphex.c: New file.
47642 2012-03-06 David S. Miller <davem@davemloft.net>
47644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47645 (set_obp_int): New function.
47646 (get_obp_int): New function.
47647 (__get_clockfreq_via_dev_openprom): Likewise.
47648 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47649 Avoid unused variable warnings on 'val' and use builtin_expect.
47650 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47652 (INLINE_CLONE_SYSCALL): Likewise.
47654 2012-03-05 David S. Miller <davem@davemloft.net>
47656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47658 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47662 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47663 only for |x| >= 40.
47664 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47666 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47668 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47669 Replace gettimeofday with __vdso_gettimeofday.
47671 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47672 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47673 __vdso_clock_gettime and __vdso_getcpu.
47675 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47676 time with __vdso_time.
47678 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47680 * manual/lang.texi (size_t): Note types to which size_t may be
47681 equivalent with the GNU C Library, but do not describe when
47682 differences between them are significant.
47684 2012-03-05 Andreas Jaeger <aj@suse.de>
47686 * sysdeps/i386/fpu/libm-test-ulps: Update.
47688 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47691 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47692 (__ieee754_pow): Save and restore rounding mode and use
47693 round-to-nearest for main computations.
47694 * math/libm-test.inc (pow_test_tonearest): New function.
47695 (pow_test_towardzero): Likewise.
47696 (pow_test_downward): Likewise.
47697 (pow_test_upward): Likewise.
47698 (main): Call the new functions.
47699 * sysdeps/i386/fpu/libm-test-ulps: Update.
47700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47703 * math/libm-test.inc (cosh_test_tonearest): New function.
47704 (cosh_test_towardzero): Likewise.
47705 (cosh_test_downward): Likewise.
47706 (cosh_test_upward): Likewise.
47707 (sinh_test_tonearest): Likewise.
47708 (sinh_test_towardzero): Likewise.
47709 (sinh_test_downward): Likewise.
47710 (sinh_test_upward): Likewise.
47711 (main): Call the new functions.
47712 * sysdeps/i386/fpu/libm-test-ulps: Update.
47713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47715 2012-03-05 Tom de Vries <tom@codesourcery.com>
47717 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47718 default stack guard is set in last bytes.
47719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47721 2012-03-05 Kees Cook <keescook@chromium.org>
47723 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47726 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47727 possibly allocate from heap instead of stack.
47728 * stdio-common/bug-vfprintf-nargs.c: New file.
47729 * stdio-common/Makefile (tests): Add nargs overflow test.
47731 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47735 2012-03-03 Marek Polacek <polacek@redhat.com>
47737 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47738 * math/math_private.h: Likewise.
47739 * stdlib/tst-strtod.c: Likewise.
47740 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47741 * sysdeps/x86_64/bits/atomic.h: Likewise.
47743 2012-03-02 David S. Miller <davem@davemloft.net>
47745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47749 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47750 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47751 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47752 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47754 2012-03-02 Roland McGrath <roland@hack.frob.com>
47757 * manual/examples/README: New file, says the example source files
47758 can be used under GPL>=2.
47759 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47760 line containing just "*/".
47761 * manual/examples/add.c: Add copyright header (GPL>=2).
47762 * manual/examples/argp-ex1.c: Likewise.
47763 * manual/examples/argp-ex2.c: Likewise.
47764 * manual/examples/argp-ex3.c: Likewise.
47765 * manual/examples/argp-ex4.c: Likewise.
47766 * manual/examples/atexit.c: Likewise.
47767 * manual/examples/db.c: Likewise.
47768 * manual/examples/dir.c: Likewise.
47769 * manual/examples/dir2.c: Likewise.
47770 * manual/examples/execinfo.c: Likewise.
47771 * manual/examples/filecli.c: Likewise.
47772 * manual/examples/filesrv.c: Likewise.
47773 * manual/examples/fmtmsgexpl.c: Likewise.
47774 * manual/examples/genpass.c: Likewise.
47775 * manual/examples/inetcli.c: Likewise.
47776 * manual/examples/inetsrv.c: Likewise.
47777 * manual/examples/isockad.c: Likewise.
47778 * manual/examples/longopt.c: Likewise.
47779 * manual/examples/memopen.c: Likewise.
47780 * manual/examples/memstrm.c: Likewise.
47781 * manual/examples/mkfsock.c: Likewise.
47782 * manual/examples/mkisock.c: Likewise.
47783 * manual/examples/mygetpass.c: Likewise.
47784 * manual/examples/pipe.c: Likewise.
47785 * manual/examples/popen.c: Likewise.
47786 * manual/examples/rprintf.c: Likewise.
47787 * manual/examples/search.c: Likewise.
47788 * manual/examples/select.c: Likewise.
47789 * manual/examples/setjmp.c: Likewise.
47790 * manual/examples/sigh1.c: Likewise.
47791 * manual/examples/sigusr.c: Likewise.
47792 * manual/examples/stpcpy.c: Likewise.
47793 * manual/examples/strdupa.c: Likewise.
47794 * manual/examples/strftim.c: Likewise.
47795 * manual/examples/strncat.c: Likewise.
47796 * manual/examples/subopt.c: Likewise.
47797 * manual/examples/swapcontext.c: Likewise.
47798 * manual/examples/termios.c: Likewise.
47799 * manual/examples/testopt.c: Likewise.
47800 * manual/examples/testpass.c: Likewise.
47801 * manual/examples/timeval_subtract.c: Likewise.
47804 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47806 * manual/timeval_subtract.c.texi: ... here, new file.
47808 2012-03-02 David S. Miller <davem@davemloft.net>
47810 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47812 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47815 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47816 (__sin): Save and restore rounding mode and use round-to-nearest
47817 for all computations.
47818 (__cos): Save and restore rounding mode and use round-to-nearest
47819 for all computations.
47820 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47822 (tan): Save and restore rounding mode and use round-to-nearest for
47824 * math/libm-test.inc (cos_test_tonearest): New function.
47825 (cos_test_towardzero): Likewise.
47826 (cos_test_downward): Likewise.
47827 (cos_test_upward): Likewise.
47828 (sin_test_tonearest): Likewise.
47829 (sin_test_towardzero): Likewise.
47830 (sin_test_downward): Likewise.
47831 (sin_test_upward): Likewise.
47832 (tan_test_tonearest): Likewise.
47833 (tan_test_towardzero): Likewise.
47834 (tan_test_downward): Likewise.
47835 (tan_test_upward): Likewise.
47836 (main): Call the new functions.
47837 * sysdeps/i386/fpu/libm-test-ulps: Update.
47838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47841 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47842 small n, then large n, before computing and testing k+n.
47843 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47846 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47848 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47849 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47850 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47851 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47852 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47853 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47854 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47855 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47856 * math/libm-test.inc (scalbn_test): Add more tests.
47857 (scalbln_test): Likewise.
47859 * manual/filesys.texi (mode_t): Describe constraints on size and
47860 signedness, not exact equivalence to a particular type.
47862 (ino64_t): Likewise.
47864 (nlink_t): Likewise.
47865 (blkcnt_t): Likewise.
47866 (blkcnt64_t): Likewise.
47867 * manual/llio.texi (off_t): Likewise.
47870 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47871 (__ieee754_exp): Save and restore rounding mode and use
47872 round-to-nearest for all computations.
47873 * math/libm-test.inc (exp_test_tonearest): New function.
47874 (exp_test_towardzero): Likewise.
47875 (exp_test_downward): Likewise.
47876 (exp_test_upward): Likewise.
47877 (main): Call the new functions.
47878 * sysdeps/i386/fpu/libm-test-ulps: Update.
47879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47881 2012-03-01 Chris Demetriou <cgd@google.com>
47883 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47884 have predictable order.
47886 2012-03-01 David S. Miller <davem@davemloft.net>
47888 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47890 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47891 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47892 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47893 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47895 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47896 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47897 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47899 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47900 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47901 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47902 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47903 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47907 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47908 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47909 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47911 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47912 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47913 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47914 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47915 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47918 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47919 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47920 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47921 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47922 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47924 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47925 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47927 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47928 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47929 * sysdeps/sparc/elf/configure: Regenerated.
47931 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47933 * configure.in (AS, LD): Require binutils 2.20 or later.
47934 * configure: Regenerated.
47935 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47936 as required minimum version.
47937 * INSTALL: Regenerated.
47941 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47942 before squaring exponent.
47943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47944 bottom long double and 27 bits of top long double before squaring
47946 * math/libm-test.inc (erfc_test): Add more tests.
47947 * sysdeps/i386/fpu/libm-test-ulps: Update.
47948 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47951 2012-03-01 Kai Tietz <ktietz@redhat.com>
47953 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47954 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47955 containing bit-fields.
47956 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47957 * soft-fp/single.h (_FP_UNION_S): Likewise.
47958 * soft-fp/double.h (_FP_UNION_D): Likewise.
47960 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47963 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47964 not include ../strcmp.S.
47965 [USE_AS_STRNCASECMP_L]: Likewise.
47966 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47967 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47968 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47969 (__strncasecmp_l_ia32): Define as alias to
47970 __strncasecmp_l_nonascii.
47973 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47974 * sysdeps/i386/fpu/libm-test-ulps: Update.
47975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47977 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47980 2012-02-29 Jeff Law <law@redhat.com>
47982 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47983 out of bounds read.
47985 2012-02-29 Marek Polacek <polacek@redhat.com>
47988 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47989 * elf/Makefile: Add rules to run tst-unused-dep.out.
47991 2012-02-28 David S. Miller <davem@davemloft.net>
47993 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47994 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47995 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47996 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47997 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47998 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48000 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48002 * math/libm-test.inc (llround_test): Move one test from
48003 lround_test. Use TEST_f_L in moved test.
48004 (lround_test): Move misplaced test to llround_test. Add testcase
48007 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48009 * sysdeps/x86_64/fpu/e_expf.S: New file.
48010 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48012 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48015 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48016 of remain_len that may cause incomplete multi-byte character and
48018 * posix/bug-regex33.c: New file.
48019 * posix/Makefile (tests): Add bug-regex33.
48021 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48023 * manual/macros.texi: New file.
48024 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48025 * manual/libc.texinfo: Include macros.texi.
48026 * manual/creatute.texi: Likewise.
48027 * manual/install.texi: Likewise.
48028 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48029 @glibcadj{} in references to the GNU C Library.
48030 * manual/charset.texi: Likewise.
48031 * manual/conf.texi: Likewise.
48032 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48033 when not using those macros.
48034 * manual/creature.texi: Likewise.
48035 * manual/crypt.texi: Likewise.
48036 * manual/errno.texi: Likewise.
48037 * manual/filesys.texi: Likewise.
48038 * manual/header.texi: Likewise.
48039 * manual/install.texi: Likewise.
48040 * manual/intro.texi: Likewise.
48041 * manual/io.texi: Likewise.
48042 * manual/job.texi: Likewise.
48043 * manual/lang.texi: Likewise.
48044 * manual/libc.texiinfo: Likewise.
48045 * manual/llio.texi: Likewise.
48046 * manual/locale.texi: Likewise.
48047 * manual/maint.texi: Likewise.
48048 * manual/math.texi: Likewise.
48049 * manual/memory.texi: Likewise.
48050 * manual/message.texi: Likewise.
48051 * manual/nss.texi: Likewise.
48052 * manual/pattern.texi: Likewise.
48053 * manual/process.texi: Likewise.
48054 * manual/resource.texi: Likewise.
48055 * manual/search.texi: Likewise.
48056 * manual/setjmp.texi: Likewise.
48057 * manual/signal.texi: Likewise.
48058 * manual/socket.texi: Likewise.
48059 * manual/startup.texi: Likewise.
48060 * manual/stdio.texi: Likewise.
48061 * manual/string.texi: Likewise.
48062 * manual/sysinfo.texi: Likewise.
48063 * manual/syslog.texi: Likewise.
48064 * manual/terminal.texi: Likewise.
48065 * manual/time.texi: Likewise.
48066 * manual/users.texi: Likewise.
48067 * INSTALL: Regenerated.
48068 * NOTES: Regenerated.
48069 * sysdeps/gnu/errlist.c: Regenerated.
48071 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48073 * include/dirent.h: Include <dirstream.h> before
48076 2012-02-28 David S. Miller <davem@davemloft.net>
48078 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48079 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48080 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48081 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48083 2012-02-27 David S. Miller <davem@davemloft.net>
48085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48087 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48088 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48091 frame pointer instead of stack pointer relative arg slot.
48092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48093 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48094 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48096 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48099 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48101 2012-02-27 David S. Miller <davem@davemloft.net>
48103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48107 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48108 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48109 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48110 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48112 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48114 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48115 later. Allow versions 5-9.
48116 * configure: Regenerated.
48117 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48118 required minimum version and 4.6 as recommended version. Do not
48119 mention bugs in GCC 2.7 and 2.8.
48120 * INSTALL: Regenerated.
48122 2012-02-27 David S. Miller <davem@davemloft.net>
48124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48128 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48129 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48130 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48131 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48134 manipulate bits before adding and subtracting TWO112[sx].
48135 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48137 2012-02-27 Roland McGrath <roland@hack.frob.com>
48140 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48141 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48142 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48143 being in POSIX, because they are in 1003.1-2008.
48145 * rt/tst-aio.c: Include <fcntl.h>.
48146 * rt/tst-aio7.c: Likewise.
48147 * rt/tst-aio64.c: Likewise.
48149 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48151 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48153 * manual/install.texi (--with-headers): Describe headers as
48154 interface headers, not private headers.
48155 (Specific advice for GNU/Linux systems): Describe use of headers
48156 from "make headers_install", not private headers from older
48158 * INSTALL: Regenerated.
48159 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48161 * sysdeps/unix/sysv/linux/configure: Regenerated.
48163 * manual/llio.texi (fclean): Remove documentation.
48165 * manual/Makefile (libc-texi-generated): New variable. Include
48167 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48168 $(libc-texi-generated), not duplicated list of files.
48169 (version.texi, stamp-version): New rules.
48170 (realclean): Remove $(libc-texi-generated), not individual files
48171 from that list. Do not remove dir-add.texinfo.
48172 * manual/libc.texinfo: Comment out uses of edition numbers and
48173 references to printed manual. Remove last-updated dates.
48174 (EDITION): Comment out.
48176 (VERSION, UPDATED): Remove.
48177 (version.texi): Include.
48179 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48181 * sysdeps/posix/spawni.c: Include <signal.h>.
48182 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48183 * sysdeps/pthread/aio_fsync.c: Likewise.
48185 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48187 * conform/Makefile (tests): Run only when not cross-compiling and
48188 when fast-check is not defined.
48190 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48191 * conform/data/limits.h-data: Fixes for POSIX2008.
48192 * conform/run-conformtest.sh: Run all tests.
48193 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48195 * include/bits/dlfcn.h: Likewise.
48196 * include/langinfo.h: Likewise.
48197 * include/monetary.h: Likewise.
48198 * include/sys/poll.h: Likewise.
48200 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48202 * posix/spawn.h: Define __need_sigset_t.
48203 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48204 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48205 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48206 to get sigevent_t only.
48207 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48208 only for __USE_GNU.
48209 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48210 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48211 process_vm_writev only for __USE_GNU.
48212 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48214 * conform/Makefile: For now ignore errors from run-conformtest.
48215 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48216 POSIX to avoid namespace pollution. Don't prepend headers.
48217 * conform/data/aio.h-data: Fixes for POSIX testing.
48218 * conform/data/fcntl.h-data: Likewise.
48219 * conform/data/glob.h-data: Likewise.
48220 * conform/data/grp.h-data: Likewise.
48221 * conform/data/pthread.h-data: Likewise.
48222 * conform/data/pwd.h-data: Likewise.
48223 * conform/data/signal.h-data: Likewise.
48224 * conform/data/spawn.h-data: Likewise.
48225 * conform/data/stdio.h-data: Likewise.
48226 * conform/data/stdlib.h-data: Likewise.
48227 * conform/data/stropts.h-data: Likewise.
48228 * conform/data/sys/mman.h-data: Likewise.
48229 * conform/data/sys/stat.h-data: Likewise.
48230 * conform/data/sys/types.h-data: Likewise.
48231 * conform/data/sys/wait.h-data: Likewise.
48232 * conform/data/time.h-data: Likewise.
48233 * conform/data/unistd.h-data: Likewise.
48234 * conform/data/utime.h-data: Likewise.
48236 * io/sys/stat.h: fchmod was always in POSIX.
48237 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48238 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48239 * rt/aio.h: Define __need_timespec before including <time.h>.
48240 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48241 struct. Add forward declaration of pthread_attr_t and use it in
48243 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48245 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48246 always remove CLK_TCK definition.
48248 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48250 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48252 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48254 * conform/run-conformtest.sh: New file.
48255 * conform/Makefile: Run run-conformtest for tests.
48256 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48259 * conform/data/uchar.h-data: New file.
48260 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48261 * conform/data/arpa/inet.h-data: Likewise.
48262 * conform/data/assert.h-data: Likewise.
48263 * conform/data/complex.h-data: Likewise.
48264 * conform/data/cpio.h-data: Likewise.
48265 * conform/data/ctype.h-data: Likewise.
48266 * conform/data/dirent.h-data: Likewise.
48267 * conform/data/dlfcn.h-data: Likewise.
48268 * conform/data/errno.h-data: Likewise.
48269 * conform/data/fcntl.h-data: Likewise.
48270 * conform/data/float.h-data: Likewise.
48271 * conform/data/fmtmsg.h-data: Likewise.
48272 * conform/data/fnmatch.h-data: Likewise.
48273 * conform/data/ftw.h-data: Likewise.
48274 * conform/data/glob.h-data: Likewise.
48275 * conform/data/grp.h-data: Likewise.
48276 * conform/data/iconv.h-data: Likewise.
48277 * conform/data/inttypes.h-data: Likewise.
48278 * conform/data/langinfo.h-data: Likewise.
48279 * conform/data/libgen.h-data: Likewise.
48280 * conform/data/limits.h-data: Likewise.
48281 * conform/data/locale.h-data: Likewise.
48282 * conform/data/math.h-data: Likewise.
48283 * conform/data/monetary.h-data: Likewise.
48284 * conform/data/mqueue.h-data: Likewise.
48285 * conform/data/ndbm.h-data: Likewise.
48286 * conform/data/net/if.h-data: Likewise.
48287 * conform/data/netdb.h-data: Likewise.
48288 * conform/data/netinet/in.h-data: Likewise.
48289 * conform/data/nl_types.h-data: Likewise.
48290 * conform/data/poll.h-data: Likewise.
48291 * conform/data/pthread.h-data: Likewise.
48292 * conform/data/pwd.h-data: Likewise.
48293 * conform/data/regex.h-data: Likewise.
48294 * conform/data/sched.h-data: Likewise.
48295 * conform/data/search.h-data: Likewise.
48296 * conform/data/semaphore.h-data: Likewise.
48297 * conform/data/setjmp.h-data: Likewise.
48298 * conform/data/signal.h-data: Likewise.
48299 * conform/data/spawn.h-data: Likewise.
48300 * conform/data/stdarg.h-data: Likewise.
48301 * conform/data/stdio.h-data: Likewise.
48302 * conform/data/stdlib.h-data: Likewise.
48303 * conform/data/string.h-data: Likewise.
48304 * conform/data/strings.h-data: Likewise.
48305 * conform/data/stropts.h-data: Likewise.
48306 * conform/data/sys/ipc.h-data: Likewise.
48307 * conform/data/sys/mman.h-data: Likewise.
48308 * conform/data/sys/msg.h-data: Likewise.
48309 * conform/data/sys/resource.h-data: Likewise.
48310 * conform/data/sys/select.h-data: Likewise.
48311 * conform/data/sys/sem.h-data: Likewise.
48312 * conform/data/sys/shm.h-data: Likewise.
48313 * conform/data/sys/socket.h-data: Likewise.
48314 * conform/data/sys/stat.h-data: Likewise.
48315 * conform/data/sys/statvfs.h-data: Likewise.
48316 * conform/data/sys/time.h-data: Likewise.
48317 * conform/data/sys/timeb.h-data: Likewise.
48318 * conform/data/sys/times.h-data: Likewise.
48319 * conform/data/sys/types.h-data: Likewise.
48320 * conform/data/sys/uio.h-data: Likewise.
48321 * conform/data/sys/un.h-data: Likewise.
48322 * conform/data/sys/utsname.h-data: Likewise.
48323 * conform/data/sys/wait.h-data: Likewise.
48324 * conform/data/syslog.h-data: Likewise.
48325 * conform/data/tar.h-data: Likewise.
48326 * conform/data/termios.h-data: Likewise.
48327 * conform/data/utime.h-data: Likewise.
48328 * conform/data/utmpx.h-data: Likewise.
48329 * conform/data/varargs.h-data: Likewise.
48330 * conform/data/wchar.h-data: Likewise.
48331 * conform/data/wctype.h-data: Likewise.
48332 * conform/data/wordexp.h-data: Likewise.
48334 * include/stropts.h: New file.
48335 * include/uchar.h: New file.
48336 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48337 * include/assert.h: Likewise.
48338 * include/ctype.h: Likewise.
48339 * include/dirent.h: Likewise.
48340 * include/dlfcn.h: Likewise.
48341 * include/fcntl.h: Likewise.
48342 * include/fnmatch.h: Likewise.
48343 * include/glob.h: Likewise.
48344 * include/grp.h: Likewise.
48345 * include/libio.h: Likewise.
48346 * include/locale.h: Likewise.
48347 * include/math.h: Likewise.
48348 * include/net/if.h: Likewise.
48349 * include/netdb.h: Likewise.
48350 * include/netinet/in.h: Likewise.
48351 * include/pthread.h: Likewise.
48352 * include/pwd.h: Likewise.
48353 * include/regex.h: Likewise.
48354 * include/sched.h: Likewise.
48355 * include/search.h: Likewise.
48356 * include/setjmp.h: Likewise.
48357 * include/signal.h: Likewise.
48358 * include/stdio.h: Likewise.
48359 * include/stdlib.h: Likewise.
48360 * include/string.h: Likewise.
48361 * include/sys/cdefs.h: Likewise.
48362 * include/sys/mman.h: Likewise.
48363 * include/sys/msg.h: Likewise.
48364 * include/sys/resource.h: Likewise.
48365 * include/sys/select.h: Likewise.
48366 * include/sys/socket.h: Likewise.
48367 * include/sys/stat.h: Likewise.
48368 * include/sys/statvfs.h: Likewise.
48369 * include/sys/time.h: Likewise.
48370 * include/sys/times.h: Likewise.
48371 * include/sys/uio.h: Likewise.
48372 * include/sys/utsname.h: Likewise.
48373 * include/sys/wait.h: Likewise.
48374 * include/termios.h: Likewise.
48375 * include/time.h: Likewise.
48376 * include/ulimit.h: Likewise.
48377 * include/unistd.h: Likewise.
48378 * include/utime.h: Likewise.
48379 * include/wchar.h: Likewise.
48380 * include/wctype.h: Likewise.
48381 * include/wordexp.h: Likewise.
48383 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48385 * time/time.h: TIME_UTC must be a macro.
48386 Make timespec_get available for ISO C11 only as well.
48388 2012-02-24 Ulrich Drepper <drepper@gmail.com>
48390 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48391 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48393 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48395 * configure.in: Use -o not -a in test for unsupported multi-arch.
48397 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48399 * manual/texinfo.tex: Update to version 2012-01-19.16.
48401 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48403 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48405 2012-02-24 Roland McGrath <roland@hack.frob.com>
48408 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48409 * manual/fdl-1.3.texi: New file.
48410 * manual/fdl-1.1.texi: File removed.
48413 * manual/libc.texinfo (FDL_VERSION): New @set.
48414 Use it for mention of FDL in cover text.
48415 (Documentation License): Use it in @include file name.
48417 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48418 Roland McGrath <roland@hack.frob.com>
48421 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48422 (not LONG_LONG_MAX and LONG_LONG_MIN.
48423 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48424 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48426 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48428 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48432 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48433 manipulate bits before adding and subtracting TWO23[sx].
48434 * math/libm-test.inc (nearbyint_test): Add more tests.
48436 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48439 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48440 bits before adding and subtracting TWO23[sx].
48441 * math/libm-test.inc (rint_test): Add more tests.
48442 (rint_test_tonearest): Likewise.
48443 (rint_test_towardzero): Likewise.
48444 (rint_test_downward): Likewise.
48445 (rint_test_upward: Likewise.
48447 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48450 * include/stdc-predef.h: New file. Extracted from features.h.
48451 * include/features.h: Include stdc-predef.h.
48452 * Makefile (headers): Add stdc-predef.h.
48453 * CONFORMANCE (Compiler limitations): Update.
48455 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48457 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48459 2012-02-21 David S. Miller <davem@davemloft.net>
48461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48464 2012-02-20 David S. Miller <davem@davemloft.net>
48466 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48467 using a normal save/restore sequence, rather than allocating a
48468 dummy stack frame just to store a frame pointer and restore.
48469 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48471 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48473 * manual/install.texi: Fix stray word in line-wrapped comment.
48475 2012-02-20 David S. Miller <davem@davemloft.net>
48477 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48478 both binutils and gcc support GOTDATA.
48480 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48481 "rd %pc" in the PIC register setup sequences.
48483 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48484 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48485 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48486 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48487 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48489 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48490 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48492 (SYSCALL_ERROR_HANDLER): Likewise.
48493 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48494 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48496 (SYSCALL_ERROR_HANDLER): Likewise.
48498 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48499 (HAVE_GCC_GOTDATA): New.
48500 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48501 relocation support in both binutils and gcc.
48502 * sysdeps/sparc/elf/configure: Regenerate.
48504 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48505 * sysdeps/sparc/sparc32/elf/configure: Delete.
48506 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48507 * sysdeps/sparc/sparc64/elf/configure: Delete.
48508 * sysdeps/sparc/elf/configure.in: New file.
48509 * sysdeps/sparc/elf/configure: Generate.
48511 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48512 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48513 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48514 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48515 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48517 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48519 * manual/install.texi: Do not mention specific glibc version
48521 * manual/libc.texinfo (VERSION, UPDATED): Update.
48522 (@copying): Use @copyright{} and range of years.
48524 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48527 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48528 [crti.S not in sysdirs] (generated): Do not append.
48529 [crti.S not in sysdirs] (omit-deps): Likewise.
48530 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48531 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48532 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48533 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48534 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48536 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48537 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48538 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48539 * csu/defs.awk: Remove file.
48540 * sysdeps/generic/initfini.c: Likewise.
48541 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48543 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48546 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48548 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48549 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48550 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48551 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48552 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48553 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48555 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48556 (__EPOLL_PACKED): Define to empty if not defined by
48558 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48562 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48564 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48565 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48566 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48567 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48569 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48573 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48575 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48577 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48578 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48579 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48582 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48585 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48587 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48589 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48590 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48592 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48594 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48597 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48599 * math/w_acos.c: Use non-signaling floating-point comparisons.
48600 * math/w_acosf.c: Likewise.
48601 * math/w_acosh.c: Likewise.
48602 * math/w_acoshf.c: Likewise.
48603 * math/w_acoshl.c: Likewise.
48604 * math/w_acosl.c: Likewise.
48605 * math/w_asin.c: Likewise.
48606 * math/w_asinf.c: Likewise.
48607 * math/w_asinl.c: Likewise.
48608 * math/w_atanh.c: Likewise.
48609 * math/w_atanhf.c: Likewise.
48610 * math/w_atanhl.c: Likewise.
48611 * math/w_exp2.c: Likewise.
48612 * math/w_exp2f.c: Likewise.
48613 * math/w_exp2l.c: Likewise.
48614 * math/w_j0.c: Likewise.
48615 * math/w_j0f.c: Likewise.
48616 * math/w_j0l.c: Likewise.
48617 * math/w_j1.c: Likewise.
48618 * math/w_j1f.c: Likewise.
48619 * math/w_j1l.c: Likewise.
48620 * math/w_jn.c: Likewise.
48621 * math/w_jnf.c: Likewise.
48622 * math/w_log.c: Likewise.
48623 * math/w_log10.c: Likewise.
48624 * math/w_log10f.c: Likewise.
48625 * math/w_log10l.c: Likewise.
48626 * math/w_log2.c: Likewise.
48627 * math/w_log2f.c: Likewise.
48628 * math/w_log2l.c: Likewise.
48629 * math/w_logf.c: Likewise.
48630 * math/w_logl.c: Likewise.
48631 * math/w_sqrt.c: Likewise.
48632 * math/w_sqrtf.c: Likewise.
48633 * math/w_sqrtl.c: Likewise.
48634 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48635 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48636 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48637 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48638 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48640 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48643 * manual/string.texi (strnlen): Use correct parameter name in
48644 equivalent expression.
48646 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48649 * manual/users.texi (seteuid): Consistently use neweuid for
48652 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48655 * manual/nss.texi (Services in the NSS configuration): Correct
48656 list of services in example configuration file.
48658 2012-02-19 Nick Bowler <nbowler@draconx.ca>
48661 * manual/arith.texi: Remove statements about negative zero
48662 behaving identically to zero.
48664 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48667 * manual/install.texi: Do not document upgrading from libc5.
48669 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48672 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48674 2012-02-18 David S. Miller <davem@davemloft.net>
48676 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48677 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48678 %o7 across the call.
48679 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48682 SETUP_PIC_REG_LEAF.
48683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48684 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48685 * sysdeps/sparc/crtn.S: Likewise.
48687 2012-02-17 Ulrich Drepper <drepper@gmail.com>
48689 * aout/Makefile: Remove.
48691 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48694 * manual/examples/argp-ex1.c (main): Format definition in GNU
48696 * manual/examples/argp-ex2.c (main): Likewise.
48697 * manual/examples/argp-ex3.c (main): Likewise.
48698 * manual/examples/argp-ex4.c (main): Likewise.
48699 * manual/examples/longopt.c (main): Use new-style prototype
48701 * manual/examples/strncat.c (main): Specify return type and use
48702 (void) for arguments.
48703 * manual/examples/subopt.c (main): Use char **argv argument.
48705 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48708 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48711 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48714 * manual/string.texi (strchr): Change when strchrnul is
48717 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48720 * manual/locale.texi (setlocale): Document LOCPATH.
48722 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48725 * manual/process.texi (execle): Move @dots{} before last argument.
48727 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
48730 * manual/charset.texi (Generic Charset Conversion): Fix typo
48731 (LC_TYPE -> LC_CTYPE).
48733 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48736 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48737 (scalbnf): Likewise.
48738 (scalbnl): Likewise.
48739 (scalbln): Likewise.
48740 (scalblnf): Likewise.
48741 (scalblnl): Likewise.
48742 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48743 (vwarnx): Likewise.
48746 * manual/filesys.texi (telldir): Use braces around return type.
48747 * manual/llio.texi (mmap): Add space after comma.
48748 (mmap64): Likewise.
48749 * manual/math.texi (jn): Use @var{} on parameter names.
48755 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48757 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48759 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48760 (sched_get_priority_max): Likewise.
48761 * manual/signal.texi (sigvec): Add space after comma.
48762 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48764 (if_indextoname): Likewise.
48765 (if_freenameindex): Likewise.
48766 (sendto): Use ',' instead of '.' in prototype.
48767 * manual/startup.texi (syscall): Use @dots{} instead of literal
48769 * manual/stdio.texi (__fpending): Separate initial words of
48770 paragraph from @deftypefun line.
48771 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48773 (vsyslog): Use @var{} on parameter names.
48774 * manual/terminal.texi (stty): Use @var{} on parameter names.
48775 * manual/users.texi (getutmp): Use @var{} on parameter names.
48776 (getutmpx): Likewise.
48778 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48781 * manual/stdio.texi (fopen): Fix typos in description of
48784 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48787 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48788 get clock_id definition.
48790 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48793 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48794 (madvise): Cast every argument to void on its own.
48796 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48799 * manual/startup.texi (Exit Status): Fix typo.
48801 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48804 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48805 * manual/examples/argp-ex2.c: Likewise.
48806 * manual/examples/argp-ex3.c: Likewise.
48808 2012-02-16 Richard Henderson <rth@redhat.com>
48810 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48811 * sysdeps/s390/s390-32/initfini.c: Remove.
48812 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48813 * sysdeps/s390/s390-64/initfini.c: Remove.
48815 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48817 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48818 compiler output for sysdeps/generic/initfini.c.
48819 * sysdeps/sh/elf/initfini.c: Remove file.
48821 2012-02-16 David S. Miller <davem@davemloft.net>
48824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48826 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48827 * sysdeps/sparc/crti.S: New file.
48828 * sysdeps/sparc/crtn.S: New file.
48829 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48830 * sysdeps/sparc/sparc64/Makefile: Likewise.
48832 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48835 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48837 2012-02-15 Roland McGrath <roland@hack.frob.com>
48840 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48842 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48843 (write, read, close): Likewise.
48844 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48846 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48848 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48849 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48850 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48851 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48853 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48857 2012-02-14 Marek Polacek <polacek@redhat.com>
48859 * sysdeps/x86_64/crti.S: New file.
48860 * sysdeps/x86_64/crtn.S: New file.
48861 * sysdeps/x86_64/elf/initfini.c: Remove file.
48863 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48865 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48866 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48867 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48868 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48870 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48874 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48876 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48877 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48878 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48879 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48881 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48885 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48887 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48888 __feraiseexcept instead of feraiseexcept.
48890 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48891 nanosleep invocations.
48892 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48893 strings, and add error checking for a nanosleep invocations.
48895 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48897 Replace FSF snail mail address with URLs, as per GNU coding standards.
48898 Most of the snail mail addresses were wrong anyway, and omitting
48899 them makes the source code easier to maintain. Almost all of the
48900 changes are to license notices and to locale LC_IDENTIFICATION
48901 addresses, except for this one:
48902 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48903 not its snail mail address.
48905 2012-02-09 Richard Henderson <rth@twiddle.net>
48907 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48908 of kernel-features.h.
48910 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48912 2012-02-08 Marek Polacek <polacek@redhat.com>
48914 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48915 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48916 * sysdeps/gnu/_G_config.h: Likewise.
48917 * sysdeps/generic/_G_config.h: Likewise.
48919 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48921 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48925 * sysdeps/powerpc/powerpc32/crti.S: New file.
48926 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48927 * sysdeps/powerpc/powerpc64/crti.S: New file.
48928 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48930 * Makeconfig (have-initfini): Don't set.
48931 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48932 * configure.in (nopic_initfini): Don't substitute.
48933 * config.h.in (HAVE_INITFINI): Don't #undef.
48934 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48935 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48937 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48939 Support crti.S and crtn.S provided directly by architectures.
48940 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48941 [crti.S in sysdirs] (omit-deps): Likewise.
48942 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48943 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48944 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48945 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48946 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48947 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48948 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48949 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48950 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48951 compiler output for sysdeps/generic/initfini.c.
48952 * sysdeps/i386/elf/Makefile: Remove file.
48953 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48955 2012-02-07 Marek Polacek <polacek@redhat.com>
48957 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48958 * sysdeps/gnu/_G_config.h: Likewise.
48959 * sysdeps/mach/hurd/_G_config.h: Likewise.
48961 2012-02-07 Marek Polacek <polacek@redhat.com>
48963 * math/Makefile (tests): Add tst-CMPLX2.
48964 * math/tst-CMPLX2.c: New file.
48966 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48968 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48970 * math/libm-test.inc (jn_test): Add missing L suffix.
48972 2012-02-06 Marek Polacek <polacek@redhat.com>
48974 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48975 * sysdeps/i386/fpu/e_powf.S: Likewise.
48976 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48977 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48978 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48979 * sysdeps/i386/fpu/e_pow.S: Likewise.
48980 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48981 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48982 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48983 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48984 * sysdeps/i386/fpu/e_log2.S: Likewise.
48985 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48986 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48987 * sysdeps/i386/fpu/e_powl.S: Likewise.
48988 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48990 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48991 * sysdeps/i386/fpu/e_logl.S: Likewise.
48992 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48993 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48994 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48995 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48996 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48997 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48998 * sysdeps/i386/fpu/e_log.S: Likewise.
48999 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49000 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49001 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49002 * sysdeps/i386/fpu/e_logf.S: Likewise.
49003 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49004 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49005 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49006 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49007 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49008 * sysdeps/i386/fpu/e_log10.S: Likewise.
49009 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49010 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49011 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49012 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49013 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49014 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49015 * sysdeps/i386/asm-syntax.h: Likewise.
49016 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49017 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49018 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49019 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49020 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49021 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49022 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49023 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49024 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49025 * sysdeps/powerpc/sysdep.h: Likewise.
49026 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49027 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49029 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49032 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49034 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49036 * sysdeps/i386/sysdep.h: Include <features.h>.
49037 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49040 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49042 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49044 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49047 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49049 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49050 (SETUP_PIC_REG): Use GET_PC_THUNK.
49051 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49054 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49056 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49057 for non-PIC compilation.
49058 (SETUP_PIC_REG): Add .p2align directive.
49059 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49060 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49061 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49062 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49064 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49065 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49067 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49068 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49069 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49070 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49071 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49072 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49073 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49074 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49075 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49076 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49077 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49078 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49079 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49080 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49081 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49082 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49085 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49086 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49087 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49088 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49089 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49090 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49091 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49092 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49093 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49094 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49095 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49096 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49097 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49098 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49099 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49101 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49103 * math/tst-CMPLX.c: Include <stdio.h>.
49105 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49107 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49109 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49110 * sysdeps/sparc/bits/mathdef.h: Likewise.
49112 2012-01-31 Marek Polacek <polacek@redhat.com>
49114 * libio/libio.h: Don't define _PARAMS.
49115 * locale/programs/config.h: Don't define PARAMS.
49116 * stdlib/strtol_l.c: Likewise.
49117 (__strtol_l): Remove PARAMS from the prototype.
49119 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49121 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49122 names. Just use the correct names. Remove unnecessary wrapper
49124 * malloc/arena.c: Likewise.
49125 * malloc/hooks.c: Likewise.
49127 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49128 ARENA_TEST says not to. Simplify test for creation of a new arena.
49129 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49131 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49133 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49135 (update_get_addr): New function.
49136 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49137 GET_ADDR_MODULE parameter.
49139 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49141 * crypt/cert.c: Remove __STDC__ conditionals.
49142 * crypt/crypt-entry.c: Likewise.
49143 * crypt/crypt_util.c: Likewise.
49144 * libio/filedoalloc.c: Likewise.
49145 * libio/fileops.c: Likewise.
49146 * libio/genops.c: Likewise.
49147 * libio/iofclose.c: Likewise.
49148 * libio/iofdopen.c: Likewise.
49149 * libio/iofopen.c: Likewise.
49150 * libio/iofopen64.c: Likewise.
49151 * libio/iogetdelim.c: Likewise.
49152 * libio/iopopen.c: Likewise.
49153 * libio/obprintf.c: Likewise.
49154 * libio/oldfileops.c: Likewise.
49155 * libio/oldiofclose.c: Likewise.
49156 * libio/oldiofdopen.c: Likewise.
49157 * libio/oldiofopen.c: Likewise.
49158 * libio/oldiopopen.c: Likewise.
49159 * libio/wfiledoalloc.c: Likewise.
49160 * libio/wgenops.c: Likewise.
49161 * locale/programs/xmalloc.c: Likewise.
49162 * misc/syslog.c: Likewise.
49163 * stdio-common/xbug.c: Likewise.
49164 * string/memchr.c: Likewise.
49165 * string/memcmp.c: Likewise.
49166 * string/memrchr.c: Likewise.
49167 * string/rawmemchr.c: Likewise.
49168 * sysdeps/posix/getcwd.c: Likewise.
49169 * time/strftime_l.c: Likewise.
49171 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49173 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49174 * config.make.in (config-cflags-sse2avx): Define.
49175 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49178 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49180 * scripts/config.guess: Update from upstream config git repository.
49181 * scripts/config.sub: Likewise.
49183 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49185 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49187 (R_TILEPRO_*, R_TILEGX_*): New macros.
49189 * scripts/firstversions.awk: Fix bug in version range handling.
49191 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49193 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49195 * include/sys/epoll.h: New file.
49196 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49199 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49201 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49202 Avoid unnecessary __WORDSIZE == 64 test.
49203 (fmaxf): Use VEX format if possible.
49208 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49209 * math/math_private.h: Remove libc_fegetround* and
49211 * sysdeps/i386/configure.in: Check for -msse2avx.
49212 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49213 also if SSE2AVX is defined.
49214 Remove libc_fegetround* and libc_fesetround*.
49215 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49216 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49217 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49219 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49220 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49221 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49222 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49223 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49225 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49227 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49229 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49231 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49233 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49236 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49238 * Makeconfig (libm): Define.
49239 * elf/Makefile: Add rules to build and run tst-relsort1.
49240 * elf/tst-relsort1.c: New file.
49241 * elf/tst-relsort1mod1.c: New file.
49242 * elf/tst-relsort1mod2.c: New file.
49244 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49246 * math/s_ldexp.c: Remove __STDC__ conditionals.
49247 * math/s_ldexpf.c: Likewise.
49248 * math/s_ldexpl.c: Likewise.
49249 * math/s_nextafter.c: Likewise.
49250 * math/s_nexttowardf.c: Likewise.
49251 * math/s_significand.c: Likewise.
49252 * math/s_significandf.c: Likewise.
49253 * math/s_significandl.c: Likewise.
49254 * math/w_jnl.c: Likewise.
49255 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49256 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49257 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49258 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49259 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49261 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49262 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49263 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49264 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49265 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49266 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49267 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49268 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49269 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49270 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49271 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49272 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49274 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49275 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49276 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49277 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49278 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49279 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49280 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49281 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49282 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49283 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49284 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49285 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49286 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49287 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49288 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49289 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49290 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49291 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49292 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49293 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49294 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49295 * sysdeps/ieee754/k_standard.c: Likewise.
49296 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49297 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49298 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49299 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49300 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49301 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49302 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49303 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49304 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49305 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49306 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49307 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49308 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49309 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49310 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49311 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49312 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49313 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49314 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49315 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49316 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49317 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49318 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49319 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49320 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49321 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49322 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49323 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49325 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49326 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49327 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49328 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49329 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49330 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49331 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49332 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49333 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49334 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49335 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49336 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49337 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49338 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49339 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49340 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49341 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49342 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49343 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49344 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49345 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49346 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49347 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49348 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49349 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49350 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49351 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49352 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49353 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49354 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49355 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49356 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49357 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49358 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49359 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49360 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49361 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49362 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49363 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49364 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49365 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49366 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49367 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49368 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49369 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49370 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49371 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49372 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49373 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49374 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49375 * sysdeps/ieee754/s_matherr.c: Likewise.
49376 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49377 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49378 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49381 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49383 * crypt/md5.h: Remove __STDC__ conditionals.
49384 * libio/libioP.h: Likewise.
49385 * locale/programs/config.h: Likewise.
49386 * sysdeps/generic/sysdep.h: Likewise.
49387 * sysdeps/i386/asm-syntax.h: Likewise.
49388 * sysdeps/s390/asm-syntax.h: Likewise.
49389 * sysdeps/unix/sysdep.h: Likewise.
49390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49393 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49395 * libio/libio.h: Remove __STDC__ conditionals.
49396 * malloc/obstack.h: Likewise.
49397 * math/complex.h: Likewise.
49398 * math/math.h: Likewise.
49399 * sysdeps/generic/_G_config.h: Likewise.
49400 * sysdeps/gnu/_G_config.h: Likewise.
49401 * sysdeps/mach/hurd/_G_config.h: Likewise.
49402 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49403 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49404 * sysdeps/sparc/bits/mathdef.h: Likewise.
49406 2012-01-26 Ulrich Drepper <drepper@gmail.com>
49409 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49410 Clean up HAS_* macros.
49411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49412 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49414 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49416 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49417 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49418 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49419 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49420 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49422 2012-01-25 Joseph Myers <joseph@codesourcery.com>
49424 * elf/tst-unique3.cc (gets): Remove declaration.
49425 * elf/tst-unique3lib.cc (gets): Likewise.
49426 * elf/tst-unique3lib2.cc (gets): Likewise.
49427 * elf/tst-unique4.cc (gets): Likewise.
49429 2012-01-24 Ulrich Drepper <drepper@gmail.com>
49431 * include/stdio.h: Add C++ protection. Add gets declarations and
49433 * debug/tst-chk1.c: Don't declare gets here.
49434 * stdio-common/tst-gets.c: Likewise.
49436 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49438 * posix/glob: Remove directory.
49440 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49442 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49444 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49446 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49447 of the non-standard EPFNOSUPPORT.
49449 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49451 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49452 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49453 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49455 2012-01-21 Ulrich Drepper <drepper@gmail.com>
49457 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49459 2012-01-20 Ulrich Drepper <drepper@gmail.com>
49461 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49463 * nscd/grpcache.c (cache_addgr): Likewise.
49464 * nscd/hstcache.c (cache_addhst): Likewise.
49465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49466 * nscd/pwdcache.c (cache_addpw): Likewise.
49467 * nscd/servicescache.c (cache_addserv): Likewise.
49469 2012-01-16 Ulrich Drepper <drepper@gmail.com>
49471 * malloc/malloc.c: Various cleanups.
49472 * malloc/hooks.c: Likewise.
49474 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49475 * stdlib/bug-fmtmsg1.c: New file.
49477 * stdlib/fmtmsg.c (init): Add missing unlock.
49478 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49480 2012-01-12 Marek Polacek <polacek@redhat.com>
49482 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49485 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49487 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49488 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49489 macro to ensure uniqueness of label name.
49490 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49491 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49493 2012-01-11 Ulrich Drepper <drepper@gmail.com>
49495 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49497 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49498 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49502 2012-01-10 Ulrich Drepper <drepper@gmail.com>
49504 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49506 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49507 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49508 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49510 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49512 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49513 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49514 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49517 * math/bits/math-finite.h: Add ldexp support.
49519 2012-01-10 Marek Polacek <polacek@redhat.com>
49521 * locale/programs/localedef.h (show_archive_content): Add noreturn
49524 2012-01-09 Ulrich Drepper <drepper@gmail.com>
49526 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49528 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49530 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49532 * io/Makefile (headers): Add bits/poll2.h.
49534 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49537 typo #include statement.
49539 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49541 * include/sys/cdefs.h: Define __attribute_alloc_size.
49542 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49543 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49544 * elf/pldd.c: Likewise.
49545 * iconv/iconv_charmap.c: Likewise.
49546 * iconv/iconvconfig.c: Likewise.
49547 * iconv/strtab.c: Likewise.
49548 * locale/programs/locale.c: Likewise.
49549 * locale/programs/localedef.h: Likewise.
49550 * locale/programs/simple-hash.c: Likewise.
49551 * nscd/nscd.h: Likewise.
49552 * nss/makedb.c: Likewise.
49553 * sysdeps/generic/ldconfig.h: Likewise.
49554 * locale/programs/localedef.c: Remove xmalloc prototype.
49555 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49557 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49559 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49562 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49564 * math/Makefile (tests): Add tst-CMPLX.
49565 * math/tst-CMPLX.c: New file.
49567 * math/complex.h (CMPLXL): Fix typo.
49569 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49570 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49572 * debug/tst-chk1.c: Add poll and ppoll tests.
49573 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49574 * include/sys/poll.h: Add hidden proto for ppoll.
49575 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49576 * sysdeps/mach/hurd/ppoll.c: Likewise.
49577 * io/ppoll.c: Likewise.
49578 * debug/poll_chk.c: New file.
49579 * debug/ppoll_chk.c: New file.
49580 * include/bits/poll2.h: New file.
49581 * io/bits/poll2.h: New file.
49584 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49586 * configure.in: static is always set to yes. Remove.
49587 * config.make.in: Don't set build-static.
49588 * Makeconfig: Remove use of build-static.
49589 * dlfcn/Makefile: Likewise.
49590 * elf/Makefile: Likewise.
49591 * math/Makefile: Likewise.
49592 * misc/Makefile: Likewise.
49593 * nptl/Makefile: Likewise.
49594 * sysdeps/mach/hurd/Makefile: Likewise.
49596 * configure.in: PWD_P is not used anymore.
49597 * config.make.in: Remove PWD_P entry.
49599 * configure.in: Remove last remnants of RANLIB.
49600 No need to check for signed size_t anymore.
49601 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49603 Remove __builtin_expect test because we require at least gcc 3.4.
49604 * aclocal.m4: Likewise.
49606 * wcsmbs/mbrtoc16.c: Implement using towc function.
49607 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49608 * wcsmbs/wcsmbsload.c: Likewise.
49609 * iconv/gconv_simple.c: Likewise.
49610 * iconv/gconv_int.h: Likewise.
49611 * iconv/gconv_builtin.h: Likewise.
49612 * iconv/iconv_prog.c: Remove CHAR16 handling.
49614 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49616 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49618 * configure.in: Remove --with-elf and --enable-bounded options.
49619 Dont set base_machine for ia64. More non-ELF conditions removed.
49620 Remove testing and setting of leading underscore information.
49621 * config.make.in (build-bounded): Set to no.
49622 * config.h.in: Remove NO_UNDERSCORES entry.
49623 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49625 * csu/start.c: Remove !NO_UNDERSCORE code.
49626 * locale/localeinfo.h: Likewise.
49627 * sysdeps/generic/machine-gmon.h: Likewise.
49628 * sysdeps/generic/sysdep.h: Likewise.
49629 * sysdeps/i386/sysdep.h: Likewise.
49630 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49631 * sysdeps/mach/sysdep.h: Likewise.
49632 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49634 * sysdeps/sh/sysdep.h: Likewise.
49635 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49636 * sysdeps/unix/i386/sysdep.S: Likewise.
49637 * sysdeps/unix/sparc/start.c: Likewise.
49638 * sysdeps/unix/sparc/sysdep.S: Likewise.
49639 * sysdeps/unix/sparc/sysdep.h: Likewise.
49640 * sysdeps/unix/start.c: Likewise.
49641 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49642 * sysdeps/x86_64/sysdep.h: Likewise.
49644 2012-01-07 Ulrich Drepper <drepper@gmail.com>
49647 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49649 * argp/argp-fmtstream.h: Use const instead __const.
49650 * argp/argp.h: Likewise.
49651 * assert/assert.h: Likewise.
49652 * bits/fenv.h: Likewise.
49653 * bits/sched.h: Likewise.
49654 * bits/sigset.h: Likewise.
49655 * bits/sigthread.h: Likewise.
49656 * catgets/nl_types.h: Likewise.
49657 * conform/data/pthread.h-data: Likewise.
49658 * crypt/crypt-private.h: Likewise.
49659 * crypt/crypt.h: Likewise.
49660 * crypt/crypt_util.c: Likewise.
49661 * ctype/ctype.h: Likewise.
49662 * debug/execinfo.h: Likewise.
49663 * debug/mbsnrtowcs_chk.c: Likewise.
49664 * debug/mbsrtowcs_chk.c: Likewise.
49665 * debug/wcsnrtombs_chk.c: Likewise.
49666 * debug/wcsrtombs_chk.c: Likewise.
49667 * debug/wcstombs_chk.c: Likewise.
49668 * dirent/dirent.h: Likewise.
49669 * dlfcn/dlfcn.h: Likewise.
49670 * elf/neededtest4.c: Likewise.
49671 * grp/grp.h: Likewise.
49672 * gshadow/gshadow.h: Likewise.
49673 * iconv/gconv.h: Likewise.
49674 * iconv/gconv_int.h: Likewise.
49675 * iconv/gconv_simple.c: Likewise.
49676 * iconv/iconv.h: Likewise.
49677 * iconv/loop.c: Likewise.
49678 * iconv/skeleton.c: Likewise.
49679 * include/aio.h: Likewise.
49680 * include/aliases.h: Likewise.
49681 * include/argz.h: Likewise.
49682 * include/arpa/inet.h: Likewise.
49683 * include/assert.h: Likewise.
49684 * include/dirent.h: Likewise.
49685 * include/dlfcn.h: Likewise.
49686 * include/execinfo.h: Likewise.
49687 * include/fcntl.h: Likewise.
49688 * include/fenv.h: Likewise.
49689 * include/glob.h: Likewise.
49690 * include/grp.h: Likewise.
49691 * include/libintl.h: Likewise.
49692 * include/mntent.h: Likewise.
49693 * include/netdb.h: Likewise.
49694 * include/pwd.h: Likewise.
49695 * include/rpc/netdb.h: Likewise.
49696 * include/sched.h: Likewise.
49697 * include/search.h: Likewise.
49698 * include/shadow.h: Likewise.
49699 * include/signal.h: Likewise.
49700 * include/stdio.h: Likewise.
49701 * include/stdlib.h: Likewise.
49702 * include/string.h: Likewise.
49703 * include/sys/socket.h: Likewise.
49704 * include/sys/stat.h: Likewise.
49705 * include/sys/statfs.h: Likewise.
49706 * include/sys/statvfs.h: Likewise.
49707 * include/sys/syslog.h: Likewise.
49708 * include/sys/time.h: Likewise.
49709 * include/sys/uio.h: Likewise.
49710 * include/time.h: Likewise.
49711 * include/unistd.h: Likewise.
49712 * include/utmp.h: Likewise.
49713 * include/wchar.h: Likewise.
49714 * include/wctype.h: Likewise.
49715 * inet/aliases.h: Likewise.
49716 * inet/arpa/inet.h: Likewise.
49717 * inet/netinet/ether.h: Likewise.
49718 * inet/netinet/in.h: Likewise.
49719 * intl/libintl.h: Likewise.
49720 * io/bits/fcntl2.h: Likewise.
49721 * io/fcntl.h: Likewise.
49722 * io/ftw.h: Likewise.
49723 * io/sys/poll.h: Likewise.
49724 * io/sys/stat.h: Likewise.
49725 * io/sys/statfs.h: Likewise.
49726 * io/sys/statvfs.h: Likewise.
49727 * io/utime.h: Likewise.
49728 * libio/bits/stdio.h: Likewise.
49729 * libio/bits/stdio2.h: Likewise.
49730 * libio/libio.h: Likewise.
49731 * libio/libioP.h: Likewise.
49732 * libio/stdio.h: Likewise.
49733 * locale/lc-ctype.c: Likewise.
49734 * locale/locale.h: Likewise.
49735 * login/utmp.h: Likewise.
49736 * malloc/arena.c: Likewise.
49737 * malloc/malloc.c: Likewise.
49738 * malloc/malloc.h: Likewise.
49739 * malloc/mcheck.c: Likewise.
49740 * malloc/mtrace.c: Likewise.
49741 * math/bits/mathcalls.h: Likewise.
49742 * math/fenv.h: Likewise.
49743 * math/math_private.h: Likewise.
49744 * misc/bits/error.h: Likewise.
49745 * misc/bits/syslog.h: Likewise.
49746 * misc/err.h: Likewise.
49747 * misc/error.h: Likewise.
49748 * misc/fstab.h: Likewise.
49749 * misc/mntent.h: Likewise.
49750 * misc/regexp.h: Likewise.
49751 * misc/search.h: Likewise.
49752 * misc/sgtty.h: Likewise.
49753 * misc/sys/mman.h: Likewise.
49754 * misc/sys/syslog.h: Likewise.
49755 * misc/sys/uio.h: Likewise.
49756 * misc/sys/xattr.h: Likewise.
49757 * misc/ttyent.h: Likewise.
49758 * nis/rpcsvc/ypclnt.h: Likewise.
49759 * nss/nss.h: Likewise.
49760 * posix/bits/unistd.h: Likewise.
49761 * posix/fnmatch.h: Likewise.
49762 * posix/glob.h: Likewise.
49763 * posix/sched.h: Likewise.
49764 * posix/spawn.h: Likewise.
49765 * posix/sys/wait.h: Likewise.
49766 * posix/unistd.h: Likewise.
49767 * posix/wordexp.h: Likewise.
49768 * pwd/pwd.h: Likewise.
49769 * resolv/netdb.h: Likewise.
49770 * resource/sys/resource.h: Likewise.
49771 * rt/aio.h: Likewise.
49772 * rt/bits/mqueue2.h: Likewise.
49773 * rt/mqueue.h: Likewise.
49774 * shadow/shadow.h: Likewise.
49775 * signal/signal.h: Likewise.
49776 * socket/send.c: Likewise.
49777 * socket/sendto.c: Likewise.
49778 * socket/sys/socket.h: Likewise.
49779 * stdio-common/printf.h: Likewise.
49780 * stdlib/bits/stdlib.h: Likewise.
49781 * stdlib/fmtmsg.h: Likewise.
49782 * stdlib/monetary.h: Likewise.
49783 * stdlib/stdlib.h: Likewise.
49784 * stdlib/ucontext.h: Likewise.
49785 * streams/stropts.h: Likewise.
49786 * string/argz.h: Likewise.
49787 * string/bits/string2.h: Likewise.
49788 * string/string.h: Likewise.
49789 * string/strings.h: Likewise.
49790 * sunrpc/rpc/auth.h: Likewise.
49791 * sunrpc/rpc/auth_des.h: Likewise.
49792 * sunrpc/rpc/clnt.h: Likewise.
49793 * sunrpc/rpc/netdb.h: Likewise.
49794 * sunrpc/rpc/pmap_clnt.h: Likewise.
49795 * sunrpc/rpc/xdr.h: Likewise.
49796 * sysdeps/generic/inttypes.h: Likewise.
49797 * sysdeps/generic/net/if.h: Likewise.
49798 * sysdeps/generic/sys/swap.h: Likewise.
49799 * sysdeps/gnu/net/if.h: Likewise.
49800 * sysdeps/gnu/utmpx.h: Likewise.
49801 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49802 * sysdeps/i386/i486/bits/string.h: Likewise.
49803 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49804 * sysdeps/s390/bits/string.h: Likewise.
49805 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49806 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49807 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49808 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49809 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49810 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49811 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49812 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49813 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49814 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49815 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49816 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49817 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49818 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49819 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49820 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49821 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49823 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49824 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49825 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49826 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49827 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49828 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49829 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49830 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49831 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49832 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49833 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49834 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49835 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49836 * sysvipc/sys/ipc.h: Likewise.
49837 * sysvipc/sys/msg.h: Likewise.
49838 * sysvipc/sys/sem.h: Likewise.
49839 * sysvipc/sys/shm.h: Likewise.
49840 * termios/termios.h: Likewise.
49841 * time/sys/time.h: Likewise.
49842 * time/time.h: Likewise.
49843 * wcsmbs/bits/wchar2.h: Likewise.
49844 * wcsmbs/uchar.h: Likewise.
49845 * wcsmbs/wchar.h: Likewise.
49846 * wctype/wctype.h: Likewise.
49849 * Makeconfig: Remove all but ELF support including AIX support.
49850 * Makerules: Likewise.
49851 * config.h.in: Likewise.
49852 * config.make.in: Likewise.
49853 * configure: Likewise.
49854 * configure.in: Likewise.
49855 * csu/Makefile: Likewise.
49856 * csu/version.c: Likewise.
49857 * debug/Makefile: Likewise.
49858 * dlfcn/Makefile: Likewise.
49859 * elf/Makefile: Likewise.
49860 * extra-lib.mk: Likewise.
49861 * iconv/Makefile: Likewise.
49862 * include/libc-symbols.h: Likewise.
49863 * include/shlib-compat.h: Likewise.
49864 * resolv/Makefile: Likewise.
49865 * resolv/res_libc.c: Likewise.
49866 * rt/Makefile: Likewise.
49867 * sysdeps/i386/asm-syntax.h: Likewise.
49868 * sysdeps/i386/sysdep.h: Likewise.
49869 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49870 * sysdeps/mach/sysdep.h: Likewise.
49871 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49872 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49873 * sysdeps/s390/asm-syntax.h: Likewise.
49874 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49876 * sysdeps/sh/sysdep.h: Likewise.
49877 * sysdeps/unix/sparc/sysdep.h: Likewise.
49878 * sysdeps/wordsize-32/divdi3.c: Likewise.
49879 * sysdeps/x86_64/sysdep.h: Likewise.
49881 * argp/Versions: Remove _argp_unlock_xxx.
49884 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49885 * abilist/libBrokenLocale.abilist: Likewise.
49886 * abilist/libanl.abilist: Likewise.
49887 * abilist/libc.abilist: Likewise.
49888 * abilist/libcrypt.abilist: Likewise.
49889 * abilist/libdl.abilist: Likewise.
49890 * abilist/libm.abilist: Likewise.
49891 * abilist/libnsl.abilist: Likewise.
49892 * abilist/libpthread.abilist: Likewise.
49893 * abilist/libresolv.abilist: Likewise.
49894 * abilist/librt.abilist: Likewise.
49895 * abilist/libthread_db.abilist: Likewise.
49896 * abilist/libutil.abilist: Likewise.
49897 * abilist/libnss_db.abilist: New file.
49899 * scripts/abilist.awk: Add support for indirect functions.
49901 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49903 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49905 * shlib-versions: Remove entries for ports architectures.
49907 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49909 * elf/stackguard-macros.h: Remove support for IA-64.
49910 * elf/tst-auditmod1.c: Likewise.
49911 * sysdeps/generic/ldsodefs.h: Likewise.
49913 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49914 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49918 * configure.in: Remove --enable-omitfp support.
49920 * config.make.in: Likewise.
49921 * Makeconfig: Likewise.
49922 * manual/install.texi: Likewise.
49924 In case anyone cares, the IA-64 architecture could move to ports.
49925 * sysdeps/ia64/*: Removed.
49926 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49927 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49930 * configure.in: Remove entries for unsupported architectures.
49933 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49934 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49936 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49937 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49938 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49939 fall back to using wcrtomb.
49940 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49941 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49943 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49944 * wcsmbs/tst-c16c32-1.c: New file.
49946 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49949 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49951 * elf/tst-unique3.cc: Add explicit declaration of gets.
49952 * elf/tst-unique3lib.cc: Likewise.
49953 * elf/tst-unique3lib2.cc: Likewise.
49954 * elf/tst-unique4.cc: Likewise.
49956 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49958 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49961 * assert/assert.h (static_assert): Don't define for C++.
49962 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49963 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49965 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49967 * iconv/loop.c (single loop): Fix assertion in storing of
49970 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49972 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49974 * posix/getconf.c: Update copyright year.
49975 * nss/getent.c: Likewise.
49976 * nss/makedb.c: Likewise.
49977 * iconv/iconvconfig.c: Likewise.
49978 * iconv/iconv_prog.c: Likewise.
49979 * elf/ldconfig.c: Likewise.
49980 * elf/pldd.c: Likewise.
49981 * elf/sotruss.ksh: Likewise.
49982 * catgets/gencat.c: Likewise.
49983 * csu/version.c: Likewise.
49984 * elf/ldd.bash.in: Likewise.
49985 * elf/sprof.c (print_version): Likewise.
49986 * locale/programs/locale.c: Likewise.
49987 * locale/programs/localedef.c: Likewise.
49988 * login/programs/pt_chown.c: Likewise.
49989 * nscd/nscd.c (print_version): Likewise.
49990 * debug/xtrace.sh: Likewise.
49991 * malloc/memusage.sh: Likewise.
49992 * malloc/mtrace.pl: Likewise.
49993 * debug/catchsegv.sh: Likewise.
49995 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49997 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50000 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50003 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50004 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50006 * iconv/gconv_int.h: Likewise.
50007 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50008 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50009 from libc for GLIBC_2.16.
50010 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50011 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50012 * wcsmbs/uchar.h: Really define mbstate_t.
50013 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50014 * wcsmbs/c16rtomb.c: New file.
50015 * wcsmbs/mbrtoc16.c: New file.
50016 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50017 for C/POSIX locale.
50018 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50019 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50021 * wcsmbs/wchar.h: Add missing __restrict.
50023 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50026 * time/Makefile (routines): Add timespec_get.
50027 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50028 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50029 timespec for ISO C11.
50030 * time/timespec_get.c: New file.
50031 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50032 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50035 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50036 * stdlib/stdlib.h: Declare aligned_alloc.
50037 * Versions.def: Add GLIBC_2.16 for libc.
50038 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50041 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50044 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50048 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50051 * assert/assert.h (static_assert): Define.
50053 * version.h: Update for 2.16 development version.
50056 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50059 * version.h (RELEASE): Bump for 2.15 release.
50060 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50062 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50063 Patch by Marek Polacek <mpolacek@redhat.com>.
50065 * bits/byteswap.h: Protect long long constants with __extension__.
50066 * sysdeps/i386/bits/byteswap.h: Likewise.
50067 * sysdeps/ia64/bits/byteswap.h: Likewise.
50068 * sysdeps/s390/bits/byteswap.h: Likewise.
50069 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50071 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50074 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50075 destination buffer.
50076 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50078 2011-12-23 Marek Polacek <polacek@redhat.com>
50080 * elf/dl-addr.c (determine_info): Add inline keyword.
50081 * elf/tst-auditmod4b.c (check_avx): Likewise.
50082 * elf/tst-auditmod6b.c (check_avx): Likewise.
50083 * elf/tst-auditmod6c.c (check_avx): Likewise.
50084 * elf/tst-auditmod7b.c (check_avx): Likewise.
50086 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50088 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50091 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50094 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50095 processing for last bytes.
50097 2011-08-06 Bruno Haible <bruno@clisp.org>
50100 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50101 U+0385, not to U+1FEE.
50104 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50105 entry for U+00A5 U+0301.
50107 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50110 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50111 buffer for the output is too small.
50113 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50117 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50118 SSE flags if possible.
50120 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50123 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50124 processing for last bytes.
50126 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50128 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50129 (syscall-list-default-options, syscall-list-default-condition)
50130 (syscall-list-includes): Define.
50131 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50132 list of ABIs and options and #if conditions for each ABI. Do not
50133 handle common syscalls between ABIs specially.
50134 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50136 (syscall-list-variants, syscall-list-32bit-options)
50137 (syscall-list-32bit-condition, syscall-list-64bit-options)
50138 (syscall-list-64bit-condition): Define.
50139 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50140 (syscall-list-variants, syscall-list-32bit-options)
50141 (syscall-list-32bit-condition, syscall-list-64bit-options)
50142 (syscall-list-64bit-condition): Define.
50143 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50145 (syscall-list-variants, syscall-list-32bit-options)
50146 (syscall-list-32bit-condition, syscall-list-64bit-options)
50147 (syscall-list-64bit-condition): Define.
50148 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50150 (syscall-list-variants, syscall-list-32bit-options)
50151 (syscall-list-32bit-condition, syscall-list-64bit-options)
50152 (syscall-list-64bit-condition): Define.
50154 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50156 * locale/iso-639.def: Add brx entry.
50159 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50160 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50162 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50163 __feraiseexcept_renamed.
50165 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50168 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50169 EPOLLET with unsigned values.
50170 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50171 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50173 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50174 to large cancellation.
50175 * math/s_cacoshf.c: Likewise.
50176 * math/s_cacoshl.c: Likewise.
50178 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50182 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50183 * math/s_cacoshf.c: Likewise.
50184 * math/s_cacoshl.c: Likewise.
50186 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50189 * iconv/gconv.h: Define __GCONV_SWAP.
50190 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50191 * iconvdata/utf-16.c: Likewise.
50192 * iconvdata/utf-32.c: Likewise.
50194 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50197 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50198 numerator after shifting it by one limb.
50200 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50202 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50203 under [__USE_EXTERN_INLINES].
50205 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50208 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50210 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50212 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50213 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50215 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50216 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50217 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50218 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50219 for strncasecmp/strncasecmp_l compilation.
50220 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50221 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50223 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50226 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50229 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50232 * time/tzfile.c (__tzfile_read): Check values from file header.
50234 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50236 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50237 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50238 * powerpc/powerpc32/dl-start.S: Likewise.
50239 * powerpc/powerpc32/elf/start.S: Likewise.
50240 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50241 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50242 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50243 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50244 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50245 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50246 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50247 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50248 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50249 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50250 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50251 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50252 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50253 * powerpc/powerpc32/memset.S: Likewise.
50254 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50255 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50256 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50257 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50258 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50259 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50260 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50261 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50262 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50263 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50264 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50265 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50266 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50268 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50270 * math/libm-test.inc: Added more nearbyint tests.
50271 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50272 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50273 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50274 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50276 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50278 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50281 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50283 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50284 Add wcscpy-ssse3 wcscpy-c.
50285 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50286 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50287 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50288 * sysdeps/x86_64/wcschr.S: New file.
50289 * sysdeps/x86_64/wcsrchr.S: New file.
50290 * string/test-strcmp.c: Remove checking of wcscmp function for
50292 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50293 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50294 wcsrchr-sse2 wcsrchr-c.
50295 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50296 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50297 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50298 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50299 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50300 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50301 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50302 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50303 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50304 * wcsmbc/wcschr.c (WCSCHR): New macro.
50306 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50308 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50309 * wcsmbs/test-wcsrchr.c: New file.
50310 * string/test-strrchr.c: Add wcsrchr support.
50312 * wcsmbs/test-wcscpy.c: New file.
50313 * string/test-strcpy.c: Add wcscpy support.
50316 2011-12-10 Ulrich Drepper <drepper@gmail.com>
50318 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50321 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50324 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50326 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50328 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50329 Minor optimizations.
50331 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50332 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50333 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50335 2011-12-03 Ulrich Drepper <drepper@gmail.com>
50337 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50338 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50339 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50340 for gcc to avoid warnings.
50341 * inet/Makefile (tests): Add tst-checks.
50342 * inet/tst-checks.c: New file.
50344 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50347 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50350 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50351 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50353 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50355 2011-12-02 Ulrich Drepper <drepper@gmail.com>
50357 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50360 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50362 2011-11-29 Joseph Myers <joseph@codesourcery.com>
50364 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50365 conditional on GCC version.
50366 (__arch_compare_and_exchange_val_8_acq)
50367 (__arch_compare_and_exchange_val_16_acq)
50368 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50369 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50370 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50372 2011-12-02 Joseph Myers <joseph@codesourcery.com>
50374 * sysdeps/sh/backtrace.c: New file.
50376 2011-12-02 Andreas Schwab <schwab@redhat.com>
50378 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50381 2011-12-01 Andreas Schwab <schwab@redhat.com>
50383 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50384 falling back to utime.
50386 2011-11-30 Andreas Schwab <schwab@redhat.com>
50388 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50389 expectations for float.
50391 2011-11-29 Andreas Schwab <schwab@redhat.com>
50393 * locale/weight.h (findidx): Add parameter len.
50394 * locale/weightwc.h (findidx): Likewise.
50395 * posix/fnmatch_loop.c (FCT): Adjust caller.
50396 * posix/regcomp.c (build_equiv_class): Likewise.
50397 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50398 * posix/regexec.c (check_node_accept_bytes): Likewise.
50399 * string/strcoll_l.c (STRCOLL): Likewise.
50400 * string/strxfrm_l.c (STRXFRM): Likewise.
50402 2011-11-17 Ulrich Drepper <drepper@gmail.com>
50404 * Makefile.in: Remove CVSOPT handling.
50405 * configure.in: Remove use of AC_REVISION.
50406 * iconvdata/Makefile (distribute): No need to filter out CVS.
50407 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50410 2011-11-16 Andreas Schwab <schwab@redhat.com>
50412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50413 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50414 [USE_AS_STRNCASECMP_L]: Likewise.
50415 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50416 NO_TLS_DIRECT_SEG_REFS.
50417 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50418 Fix argument offsets for non-PIC.
50419 [USE_AS_STRNCASECMP_L]: Likewise.
50420 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50421 NO_TLS_DIRECT_SEG_REFS.
50423 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50425 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50427 * locale/loadlocale.c (_nl_load_locale): Likewise.
50429 2011-11-15 Andreas Schwab <schwab@redhat.com>
50431 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50432 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50433 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50434 (SYSCALL_GETTIME): Set errno on error.
50436 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50437 count references to noai6ai_cached.
50439 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50441 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50443 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50444 FD_CLOEXEC for /proc/self/maps.
50446 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50447 FD_CLOEXEC for /proc/meminfo.
50449 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50452 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50453 FD_CLOEXEC for given file.
50455 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50457 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50458 FD_CLOEXEC for /etc/hosts.
50459 (_gethtent): Likewise.
50461 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50463 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50464 cancellation and set FD_CLOEXEC for /etc/netgroup.
50466 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50467 reading /etc/publickey.
50469 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50470 allow cancellation when reading /etc/group.
50472 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50474 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50476 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50477 when using data file.
50479 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50481 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50482 (write_nis_obj): Use "c" and "e" in fopen.
50484 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50486 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50488 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50490 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50492 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50495 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50497 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50499 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50501 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50502 file parsing and set FD_CLOEXEC.
50504 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50506 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50508 2011-11-14 Andreas Schwab <schwab@redhat.com>
50510 * malloc/arena.c (arena_get2): Don't call reused_arena when
50511 _int_new_arena failed.
50513 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50515 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50516 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50517 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50519 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50520 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50521 to compile strcasecmp and strncasecmp.
50522 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50523 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50525 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50527 2011-11-13 Ulrich Drepper <drepper@gmail.com>
50529 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50530 locale-defines.sym to gen-as-const-headers.
50531 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50532 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50534 to compile strcasecmp and strncasecmp.
50535 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50536 strcasecmp_l and strncasecmp_l.
50537 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50538 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50539 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50540 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50541 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50542 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50543 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50544 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50545 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50546 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50547 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50549 2011-11-12 Ulrich Drepper <drepper@gmail.com>
50551 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50552 result of SYSDEP_GETTIME_CPU to retval.
50553 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50554 parameter list to macro. Remove trailing semicolon. Adjust users.
50556 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50559 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50561 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50563 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50564 from unused variable.
50566 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50568 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50571 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50574 * sunrpc/rpc_prot.c (rejected): Fix case value.
50576 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50577 unsigned long long int to avoid warnings in shift.
50579 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50581 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50584 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50585 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50586 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50588 * nis/nis_table.c (nis_list): Use variable of correct type for
50589 result of __follow_path call.
50591 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50593 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50594 of math functions ceil, trunc, floor, round, and sqrt, when
50595 avaliable on the platform.
50596 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50598 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50599 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50600 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50602 2011-10-30 Marek Polacek <mpolacek@redhat.com>
50604 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50605 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50607 2011-11-11 Roland McGrath <roland@hack.frob.com>
50609 * include/unistd.h: Fix __readlink return type.
50610 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50612 2011-11-11 Ulrich Drepper <drepper@gmail.com>
50614 * stdlib/ucontext.h: Undo last change for makecontext.
50616 2011-11-11 Andreas Schwab <schwab@redhat.com>
50618 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50620 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50621 * setjmp/setjmp.h: Mark functions as non-leaf.
50622 * setjmp/bits/setjmp2.h: Likewise.
50623 * stdlib/ucontext.h: Likewise.
50625 2011-11-10 Andreas Schwab <schwab@redhat.com>
50627 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50628 (reused_arena): Don't check arena limit.
50629 (arena_get2): Atomically check arena limit.
50631 2011-11-08 Ulrich Drepper <drepper@gmail.com>
50633 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50634 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50636 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50639 2011-11-07 Andreas Schwab <schwab@redhat.com>
50641 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50642 handler when locking.
50644 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50645 Fix size of allocated buffer.
50647 2011-11-04 Andreas Schwab <schwab@redhat.com>
50650 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50651 declarations for long double functions.
50652 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50654 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50656 2011-11-03 Andreas Schwab <schwab@redhat.com>
50658 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50661 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50664 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50666 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50668 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50670 * include/alloca.h (stackinfo_alloca_round): Define.
50671 (extend_alloca): Use it.
50672 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50673 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50676 * scripts/check-local-headers.sh: Ignore libaudit.h.
50678 * nscd/Makefile (extra-objs): Make recursively expanded.
50680 2011-11-01 Ulrich Drepper <drepper@gmail.com>
50682 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50683 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50685 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50686 * posix/tst-rfc3484-2.c: Likewise.
50687 * posix/tst-rfc3484-3.c: Likewise.
50689 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50691 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50693 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50694 process_vm_writev from libc using GLIBC_2.15 version.
50696 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50698 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50700 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50703 2011-10-31 Ulrich Drepper <drepper@gmail.com>
50706 * nss/getent.c (initgroups_keys): Show error message in case no group
50709 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50710 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50711 __bump_nl_timestamp.
50712 * nscd/connections (nscd_init): When host database is served open
50713 netlink socket and request notification about configuration changes.
50714 (main_loop_poll): Track netlink file descriptor and bump timestamp
50715 in case data becomes available.
50716 (main_loop_epoll): Likewise.
50717 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50718 (database_pers_head): Add extra_data fileds.
50719 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50720 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50721 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50724 in6ai data, call __free_in6ai.
50725 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50726 Add -DHAVE_NETLINK.
50727 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50728 interface information. Reuse previous data if netlink timestamp
50730 (__bump_nl_timestamp): New function.
50731 (__free_in6ai): New function.
50733 2011-10-30 Ulrich Drepper <drepper@gmail.com>
50735 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50736 close_not_cancel_no_status here.
50737 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50739 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50742 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50745 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50746 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50747 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50749 2011-07-03 Andreas Jaeger <aj@suse.de>
50752 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50753 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50754 * math/libm-test.inc (sin_test): Add test case.
50756 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50759 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50760 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50762 * elf/chroot_canon.c (chroot_canon): Cleanups.
50764 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50767 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50768 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50770 * string/test-strchr.c: Make usable for strchrnul testing.
50771 * string/test-strchrnul.c: New file.
50772 * string/Makefile (strop-tests): Add strchrnul.
50774 * po/it.po: Update from translation team.
50775 * po/es.po: Likewise.
50777 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50779 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50780 the three constants needed as parameters. Drop the others.
50781 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50782 __m128i_strloadu_tolower.
50783 Create and initialize variable zero and use it in all the places
50784 where _mm_setzero_si128 was used.
50786 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50787 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50788 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50789 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50791 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50792 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50793 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50794 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50795 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50796 __mpranred, __mptan.
50797 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50798 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50799 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50800 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50801 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50802 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50803 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50804 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50805 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50807 2011-10-28 Andreas Schwab <schwab@redhat.com>
50809 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50810 redefine if SHARED.
50811 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50814 wide char related routines to wcsmbs subdir.
50816 2011-10-27 Andreas Schwab <schwab@redhat.com>
50819 * misc/sys/cdefs.h (__THROWNL): Define.
50820 * posix/unistd.h: Use __THREADNL instead of __THREAD
50821 for memory synchronization functions.
50823 2011-10-26 Roland McGrath <roland@hack.frob.com>
50826 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50828 * manual/stdio.texi (Obstack Streams): Node removed.
50830 2011-10-26 Andreas Schwab <schwab@redhat.com>
50832 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50833 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50834 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50836 * math/math_private.h (math_force_eval): Allow non-addressable
50838 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50840 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50842 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50843 file is not needed.
50845 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50846 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50847 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50848 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50849 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50850 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50851 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50852 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50854 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50855 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50856 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50857 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50858 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50859 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50860 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50861 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50862 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50863 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50864 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50865 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50866 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50867 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50868 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50869 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50870 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50871 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50872 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50874 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50875 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50877 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50878 place. Use VEX encoding when compiling for AVX.
50880 2011-10-25 Andreas Schwab <schwab@redhat.com>
50882 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50883 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50885 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50887 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50889 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50890 useless if() expression.
50891 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50892 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50893 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50894 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50895 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50896 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50897 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50899 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50900 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50901 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50902 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50904 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50905 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50906 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50907 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50908 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50909 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50911 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50913 2011-10-25 Andreas Schwab <schwab@redhat.com>
50915 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50917 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50919 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50921 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50922 .text section. Avoid duplicate constants.
50923 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50925 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50927 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50928 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50930 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50931 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50932 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50933 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50934 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50935 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50936 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50937 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50938 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50939 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50940 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50941 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50942 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50943 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50944 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50945 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50946 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50947 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50948 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50949 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50950 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50951 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50952 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50953 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50954 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50955 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50956 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50957 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50958 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50959 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50960 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50961 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50962 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50963 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50964 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50965 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50966 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50967 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50969 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50971 * sysdeps/x86_64/dla.h: Move to ...
50972 * sysdeps/x86_64/fpu/dla.h: ...here.
50973 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50974 situations. Use __builtin_fma only for gcc 4.6 and up.
50976 * config.make.in: Add have-mfma4 entry.
50977 * configure.in: Substitute libc_cv_cc_fma4.
50978 * math/Makefile (dbl-only-routines): Add sincostab.
50979 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50980 Use __sincostab not sincos.
50981 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50988 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50989 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50990 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50991 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50993 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50994 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50996 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50997 define aliases when function name is a macro.
50998 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50999 sysdeps/ieee754/dbl-64/sincos.tbl.
51000 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51001 fma4-enabled routines.
51002 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51003 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51004 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51005 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51006 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51007 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51008 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51009 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51010 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51011 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51012 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51013 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51014 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51015 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51016 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51017 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51018 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51019 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51020 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51021 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51022 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51023 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51024 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51025 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51026 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51027 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51028 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51029 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51030 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51031 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51033 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51036 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51041 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51042 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51044 2011-10-24 Andreas Schwab <schwab@redhat.com>
51046 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51048 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51050 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51052 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51054 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51056 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51057 Remove unused variable magic_bits.
51058 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51060 * string/strnlen.c: Define and use STRNLEN macro.
51061 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51062 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51063 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51064 * wcsmbs/wcslen.c: Define and use WCSLEN.
51065 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51066 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51067 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51068 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51069 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51070 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51071 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51073 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51076 strnlen-sse2-no-bsf.
51077 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51079 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51080 Add strnlen support.
51081 (USE_AS_STRNLEN): New macro.
51082 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51083 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51084 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51085 * sysdeps/x86_64/wcslen.S: New file.
51087 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51089 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51090 XMM-moves are used for copying on small sizes.
51092 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51094 * wcsmbs/Makefile (strop-tests): Add wcschr.
51095 * wcsmbs/test-wcschr.c: New file.
51096 * string/test-strchr.c: Update.
51097 Add wcschr support.
51100 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51102 * wcsmbs/Makefile (strop-tests): Add wcslen.
51103 * wcsmbs/test-wcslen.c: New file.
51104 * string/test-strlen.c: Update.
51105 Add wcslen support.
51108 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51110 * po/it.po: Update from translation team.
51112 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51114 * sysdeps/x86_64/wcscmp.S: Update.
51115 Fix wrong comparison semantics.
51116 wcscmp shall use signed comparison not unsigned.
51117 Don't use substraction to avoid overflow bug.
51118 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51119 * wcsmbc/wcscmp.c: Likewise.
51120 * string/test-strcmp.c: Likewise.
51121 Add new tests to check cases with negative values.
51123 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51125 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51126 * sysdeps/x86_64/dla.h: ...here. New file.
51127 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51137 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51139 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51140 __ynl_finite aliases.
51142 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51146 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51148 [DLA_FMA] (EMULV): Use DLA_FMA.
51149 [DLA_FMA] (MUL12): Use EMULV.
51150 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51151 that are not needed.
51152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51160 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51162 * math/s_nan.c: Undef __nan.
51163 * math/s_nanf.c: Undef __nanf.
51164 * math/s_nanl.c: Undef __nanl.
51165 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51168 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51170 * math/s_catan.c: Add branch predictions.
51171 * math/s_catanf.c: Likewise.
51172 * math/s_catanh.c: Likewise.
51173 * math/s_catanhf.c: Likewise.
51174 * math/s_catanhl.c: Likewise.
51175 * math/s_catanl.c: Likewise.
51176 * math/s_cexp.c: Likewise.
51177 * math/s_cexpf.c: Likewise.
51178 * math/s_cexpl.c: Likewise.
51179 * math/s_clog.c: Likewise.
51180 * math/s_clog10.c: Likewise.
51181 * math/s_clog10f.c: Likewise.
51182 * math/s_clog10l.c: Likewise.
51183 * math/s_clogf.c: Likewise.
51184 * math/s_clogl.c: Likewise.
51185 * math/s_csqrt.c: Likewise.
51186 * math/s_csqrtf.c: Likewise.
51187 * math/s_csqrtl.c: Likewise.
51188 * math/s_ctanf.c: Likewise.
51189 * math/s_ctanh.c: Likewise.
51190 * math/s_ctanhf.c: Likewise.
51191 * math/s_ctanhl.c: Likewise.
51192 * math/s_ctanl.c: Likewise.
51194 * math/math_private.h: Define __nan, __nanf, __nanl.
51195 * math/s_cacosh.c: Include <math_private.h>.
51196 * math/s_cacoshl.c: Likewise.
51197 * math/s_casinh.c: Likewise.
51198 * math/s_casinhf.c: Likewise.
51199 * math/s_casinhl.c: Likewise.
51200 * math/s_ccos.c: Rely entire on ccosh.
51201 * math/s_ccosf.c: Rely entire on ccoshf.
51202 * math/s_ccosl.c: Rely entirely on ccoshl.
51203 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51204 Remove tests for FE_INVALID.
51205 * math/s_ccoshf.c: Likewise.
51206 * math/s_ccoshl.c: Likewise.
51207 * math/s_csin.c: Likewise.
51208 * math/s_csinf.c: Likewise.
51209 * math/s_csinh.c Likewise.
51210 * math/s_csinhf.c: Likewise.
51211 * math/s_csinhl.c: Likewise.
51212 * math/s_csinl.c: Likewise.
51213 * math/s_ctan.c: Likewise.
51214 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51215 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51216 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51218 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51221 compilation problems.
51223 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51226 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51228 * sysdeps/i386/configure.in: Test for -mfma4 option.
51229 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51230 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51231 COMMON_CPUID_INDEX_80000001.
51232 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51233 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51234 use it if FMA3 is not supported.
51235 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51237 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51238 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51240 2011-10-20 Andreas Schwab <schwab@redhat.com>
51243 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51244 it would create a cycle with a link time dependency.
51246 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51248 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51250 * string/Makefile (strop-tests): Add rawmemchr.
51251 * string/test-rawmemchr.c: New file.
51253 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51254 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51255 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51256 when compiling str{,n}casecmp and when AVX is available. Hook up
51257 new optimized code in initializers.
51259 2011-10-19 Andreas Schwab <schwab@redhat.com>
51261 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51262 __feraiseexcept instead of feraiseexcept.
51264 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51266 * math/math_private.h: Define defaults for libc_fetestexcept and
51268 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51269 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51270 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51271 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51272 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51273 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51274 libc_fetestexcept and libc_feupdateenv.
51276 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51277 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51278 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51279 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51280 libc_feholdexcept_setround.
51282 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51283 Add s_nearbyint-c and s_nearbyintf-c.
51284 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51285 nearbyintf inlines.
51286 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51287 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51288 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51289 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51291 * math/math_private.h: Define defaults for libc_fegetround,
51292 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51293 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51294 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51295 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51296 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51297 standard functions.
51298 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51299 Remove comments and hacks for old compiler versions.
51300 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51301 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51302 libc_feholdexceptl.
51304 2011-10-18 Andreas Schwab <schwab@redhat.com>
51306 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51307 (__feraiseexcept_renamed): Add __NTH.
51308 (feraiseexcept): Add __NTH. Rename local variables to fix
51309 namespace violations.
51311 2011-10-17 Ulrich Drepper <drepper@gmail.com>
51313 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51315 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51317 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51318 recently added interfaces.
51319 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51321 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51322 about macro parameter expansion.
51324 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51325 __NO_MATH_INLINES is defined. Cleanups.
51327 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51328 and __floorf is target has SSE4.1.
51329 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51330 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51331 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51332 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51334 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51336 (floorf): Likewise.
51338 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51340 2011-10-17 Andreas Schwab <schwab@redhat.com>
51342 * misc/sys/cdefs.h: Fix last change.
51344 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51347 2011-10-16 Ulrich Drepper <drepper@gmail.com>
51349 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51351 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51353 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51354 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51356 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51357 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51358 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51359 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51360 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51361 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51362 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51363 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51364 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51365 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51366 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51367 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51368 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51369 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51370 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51371 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51372 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51374 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51375 ceil, ceilf, floor, floorf.
51377 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51378 Perform IRELATIVE relocations last.
51380 * elf/do-rel.h: Add another parameter nrelative, replacing the
51381 local variable with the same name. Change name of the function
51382 to end in Rel or Rela (uppercase).
51383 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51384 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51385 elf_dynamic_do_##reloc function.
51387 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51389 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51390 is sufficient, at least on modern CPUs.
51392 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51394 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51395 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51397 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51399 * math/bits/math-finite.h: Add entries for exp.
51400 * math/e_expl.c: Add __*_finite alias.
51401 * sysdeps/i386/fpu/e_exp.S: Likewise.
51402 * sysdeps/i386/fpu/e_expf.S: Likewise.
51403 * sysdeps/i386/fpu/e_expl.c: Likewise.
51404 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51405 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51406 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51407 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51408 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51409 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51410 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51412 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51413 is sufficient, at least on modern CPUs.
51415 * ctype/ctype-info.c (__ctype_init): Define.
51416 * include/ctype.h (__ctype_init): Declare.
51417 (__ctype_b_loc): The variable is always initialized.
51418 (__ctype_toupper_loc): Likewise.
51419 (__ctype_tolower_loc): Likewise.
51420 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51421 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51423 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51425 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51427 * configure.in: Also look in $cxxmachine/include for C++ system
51430 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51432 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51433 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51434 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51435 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51436 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51437 (USE_AS_WMEMCMP): New macro.
51439 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51440 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51441 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51442 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51444 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51445 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51446 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51447 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51448 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51450 (USE_AS_WMEMCMP): New macro.
51451 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51452 * sysdeps/string/test-memcmp.c: Update.
51453 Fix simple_wmemcmp.
51455 * wcsmbs/wmemcmp.c: Update.
51456 (WMEMCMP): New macro.
51459 2011-10-12 Andreas Jaeger <aj@suse.de>
51462 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51464 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51466 * libio/iofwide.c (do_length): Avoid warning.
51468 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51470 2011-10-14 Ulrich Drepper <drepper@gmail.com>
51472 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51474 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51475 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51476 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51477 * sysdeps/i386/i686/fpu/e_log.S: New file.
51478 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51479 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51481 * ctype/ctype.h: Add support for inlined isXXX functions when
51482 compiling C++ code.
51484 2011-10-14 Andreas Schwab <schwab@redhat.com>
51486 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51488 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51490 2011-10-13 Roland McGrath <roland@hack.frob.com>
51493 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51495 2011-10-13 Andreas Schwab <schwab@redhat.com>
51497 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51498 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51501 * sysdeps/x86_64/memrchr.S: Check for zero size.
51503 * string/stratcliff.c: Add memrchr tests.
51505 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51508 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51509 rawmemchr-sse2 rawmemchr-sse2-bsf.
51510 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51511 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51512 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51513 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51514 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51515 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51516 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51517 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51518 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51519 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51520 * string/memrchr.c (MEMRCHR): New macro.
51522 2011-10-12 Ulrich Drepper <drepper@gmail.com>
51524 Add integration with gcc's -ffinite-math-only and optimize wrapper
51526 * Versions.def: Define GLIBC_2.15 version for libm.
51527 * math/Makefile (headers): Add bits/math-finite.h.
51528 * math/bits/math-finite.h: New file.
51529 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51530 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51531 * math/e_acoshl.c: Add __*_finite alias.
51532 * math/e_acosl.c: Likewise.
51533 * math/e_asinl.c: Likewise.
51534 * math/e_atan2l.c: Likewise.
51535 * math/e_atanhl.c: Likewise.
51536 * math/e_coshl.c: Likewise.
51537 * math/e_exp10.c: Likewise.
51538 * math/e_exp10f.c: Likewise.
51539 * math/e_exp10l.c: Likewise.
51540 * math/e_exp2l.c: Likewise.
51541 * math/e_fmodl.c: Likewise.
51542 * math/e_gammal_r.c: Likewise.
51543 * math/e_hypotl.c: Likewise.
51544 * math/e_j0l.c: Likewise.
51545 * math/e_j1l.c: Likewise.
51546 * math/e_jnl.c: Likewise.
51547 * math/e_lgammal_r.c: Likewise.
51548 * math/e_log10l.c: Likewise.
51549 * math/e_log2l.c: Likewise.
51550 * math/e_logl.c: Likewise.
51551 * math/e_powl.c: Likewise.
51552 * math/e_sinhl.c: Likewise.
51553 * math/e_sqrtl.c: Likewise.
51554 * math/e_scalb.c: Completely rewritten and optimized.
51555 * math/e_scalbf.c: Likewise.
51556 * math/e_scalbl.c: Likewise.
51557 * math/w_acos.c: Likewise.
51558 * math/w_acosf.c: Likewise.
51559 * math/w_acosl.c: Likewise.
51560 * math/w_acosh.c: Likewise.
51561 * math/w_acoshf.c: Likewise.
51562 * math/w_acoshl.c: Likewise.
51563 * math/w_asin.c: Likewise.
51564 * math/w_asinf.c: Likewise.
51565 * math/w_asinl.c: Likewise.
51566 * math/w_atan2.c: Likewise.
51567 * math/w_atan2f.c: Likewise.
51568 * math/w_atan2l.c: Likewise.
51569 * math/w_atanh.c: Likewise.
51570 * math/w_atanhf.c: Likewise.
51571 * math/w_atanhl.c: Likewise.
51572 * math/w_exp10.c: Likewise.
51573 * math/w_exp10f.c: Likewise.
51574 * math/w_exp10l.c: Likewise.
51575 * math/w_fmod.c: Likewise.
51576 * math/w_fmodf.c: Likewise.
51577 * math/w_fmodl.c: Likewise.
51578 * math/w_j0.c: Likewise.
51579 * math/w_j0f.c: Likewise.
51580 * math/w_j0l.c: Likewise.
51581 * math/w_j1.c: Likewise.
51582 * math/w_j1f.c: Likewise.
51583 * math/w_j1l.c: Likewise.
51584 * math/w_jn.c: Likewise.
51585 * math/w_jnf.c: Likewise.
51586 * math/w_log.c: Likewise.
51587 * math/w_logf.c: Likewise.
51588 * math/w_logl.c: Likewise.
51589 * math/w_log10.c: Likewise.
51590 * math/w_log10f.c: Likewise.
51591 * math/w_log10l.c: Likewise.
51592 * math/w_log2.c: Likewise.
51593 * math/w_log2f.c: Likewise.
51594 * math/w_log2l.c: Likewise.
51595 * math/w_pow.c: Likewise.
51596 * math/w_powf.c: Likewise.
51597 * math/w_powl.c: Likewise.
51598 * math/w_remainder.c: Likewise.
51599 * math/w_remainderf.c: Likewise.
51600 * math/w_remainderl.c: Likewise.
51601 * math/w_scalb.c: Likewise.
51602 * math/w_scalbf.c: Likewise.
51603 * math/w_scalbl.c: Likewise.
51604 * math/w_sqrt.c: Likewise.
51605 * math/w_sqrtf.c: Likewise.
51606 * math/w_sqrtl.c: Likewise.
51607 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51608 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51610 * math/math_private.h: Declare __kernel_standard_f.
51611 * math/w_cosh.c: Remove cruft and optimize a bit.
51612 * math/w_coshf.c: Likewise.
51613 * math/w_coshl.c: Likewise.
51614 * math/w_exp2.c: Likewise.
51615 * math/w_exp2f.c: Likewise.
51616 * math/w_exp2l.c: Likewise.
51617 * math/w_hypot.c: Likewise.
51618 * math/w_hypotf.c: Likewise.
51619 * math/w_hypotl.c: Likewise.
51620 * math/w_lgamma.c: Likewise.
51621 * math/w_lgamma_r.c: Likewise.
51622 * math/w_lgammaf.c: Likewise.
51623 * math/w_lgammaf_r.c: Likewise.
51624 * math/w_lgammal.c: Likewise.
51625 * math/w_lgammal_r.c: Likewise.
51626 * math/w_sinh.c: Likewise.
51627 * math/w_sinhf.c: Likewise.
51628 * math/w_sinhl.c: Likewise.
51629 * math/w_tgamma.c: Likewise.
51630 * math/w_tgammaf.c: Likewise.
51631 * math/w_tgammal.c: Likewise.
51632 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51634 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51635 Minor optimizations. Pretty printing. Remove cruft.
51636 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51637 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51638 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51639 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51640 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51641 * sysdeps/i386/fpu/e_asin.S: Likewise.
51642 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51643 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51644 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51645 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51646 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51647 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51648 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51649 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51650 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51651 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51652 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51653 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51654 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51655 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51656 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51657 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51658 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51659 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51660 * sysdeps/i386/fpu/e_log.S: Likewise.
51661 * sysdeps/i386/fpu/e_log10.S: Likewise.
51662 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51663 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51664 * sysdeps/i386/fpu/e_log2.S: Likewise.
51665 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51666 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51667 * sysdeps/i386/fpu/e_logf.S: Likewise.
51668 * sysdeps/i386/fpu/e_logl.S: Likewise.
51669 * sysdeps/i386/fpu/e_pow.S: Likewise.
51670 * sysdeps/i386/fpu/e_powf.S: Likewise.
51671 * sysdeps/i386/fpu/e_powl.S: Likewise.
51672 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51673 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51674 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51675 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51676 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51677 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51678 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51679 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51680 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51682 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51684 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51685 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51686 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51687 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51688 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51692 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51694 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51695 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51697 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51698 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51699 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51701 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51702 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51703 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51704 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51705 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51706 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51707 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51708 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51709 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51710 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51711 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51712 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51713 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51714 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51715 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51716 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51717 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51718 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51719 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51720 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51721 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51722 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51723 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51724 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51725 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51726 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51727 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51728 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51729 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51730 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51731 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51732 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51733 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51734 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51735 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51736 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51737 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51738 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51739 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51740 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51741 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51742 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51743 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51744 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51745 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51746 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51747 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51748 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51749 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51750 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51751 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51752 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51753 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51754 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51755 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51756 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51757 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51758 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51759 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51760 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51761 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51762 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51763 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51765 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51766 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51767 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51768 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51769 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51770 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51771 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51772 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51773 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51774 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51775 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51776 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51777 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51778 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51779 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51780 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51781 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51782 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51783 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51784 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51785 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51786 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51787 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51788 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51789 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51790 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51791 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51792 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51793 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51794 (__isnanf): Likewise.
51795 (__isinf_ns): Likewise.
51796 (__isinf_nsf): Likewise.
51797 (__finite): Likewise.
51798 (__finitef): Likewise.
51799 (__ieee754_sqrt): Define as macro.
51800 (__ieee754_sqrtf): Define as macro.
51801 (__ieee754_sqrtl): Define as macro.
51802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51804 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51805 __FINITE_MATH_ONLY__ consistent.
51806 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51808 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51810 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51813 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51815 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51817 * po/ja.po: Update from translation team.
51819 2011-10-08 Roland McGrath <roland@hack.frob.com>
51821 * locale/programs/locarchive.c (prepare_address_space): New function.
51822 (create_archive, enlarge_archive, open_archive): Use it.
51824 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51825 inside [SHARED], where it is used.
51827 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51829 * nss/getent.c (netgroup_keys): Remove unused variable.
51830 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51832 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51834 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51835 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51836 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51837 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51838 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51839 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51840 * math/Makefile (libm-calls): Add s_isinf_ns.
51841 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51842 * math/multc3.c: Likewise.
51843 * math/s_casin.c: Likewise.
51844 * math/s_casinf.c: Likewise.
51845 * math/s_casinl.c: Likewise.
51846 * math/s_ccos.c: Likewise.
51847 * math/s_ccosf.c: Likewise.
51848 * math/s_ccosl.c: Likewise.
51849 * math/s_ctan.c: Likewise.
51850 * math/s_ctanf.c: Likewise.
51851 * math/s_ctanh.c: Likewise.
51852 * math/s_ctanhf.c: Likewise.
51853 * math/s_ctanhl.c: Likewise.
51854 * math/s_ctanl.c: Likewise.
51855 * math/w_fmod.c: Likewise.
51856 * math/w_fmodf.c: Likewise.
51857 * math/w_fmodl.c: Likewise.
51858 * math/w_remainder.c: Likewise.
51859 * math/w_remainderf.c: Likewise.
51860 * math/w_remainderl.c: Likewise.
51861 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51862 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51863 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51865 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51866 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51867 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51868 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51870 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51872 * stdio-common/printf_fphex.c: Likewise.
51873 * stdio-common/printf_size.c: Likewise.
51875 * math/e_exp10.c: Include math_private.h using <...> not "...".
51876 * math/e_exp10f.c: Likewise.
51877 * math/e_exp10l.c: Likewise.
51878 * math/e_exp2l.c: Likewise.
51879 * math/e_j0l.c: Likewise.
51880 * math/e_j1l.c: Likewise.
51881 * math/e_jnl.c: Likewise.
51882 * math/e_lgammal_r.c: Likewise.
51883 * math/e_rem_pio2l.c: Likewise.
51884 * math/e_scalb.c: Likewise.
51885 * math/e_scalbf.c: Likewise.
51886 * math/e_scalbl.c: Likewise.
51887 * math/k_cosl.c: Likewise.
51888 * math/k_sinl.c: Likewise.
51889 * math/k_tanl.c: Likewise.
51890 * math/s_cacoshf.c: Likewise.
51891 * math/s_catan.c: Likewise.
51892 * math/s_catanf.c: Likewise.
51893 * math/s_catanh.c: Likewise.
51894 * math/s_catanhf.c: Likewise.
51895 * math/s_catanhl.c: Likewise.
51896 * math/s_catanl.c: Likewise.
51897 * math/s_ccosh.c: Likewise.
51898 * math/s_ccoshf.c: Likewise.
51899 * math/s_ccoshl.c: Likewise.
51900 * math/s_cexp.c: Likewise.
51901 * math/s_cexpf.c: Likewise.
51902 * math/s_cexpl.c: Likewise.
51903 * math/s_clog.c: Likewise.
51904 * math/s_clog10.c: Likewise.
51905 * math/s_clog10f.c: Likewise.
51906 * math/s_clog10l.c: Likewise.
51907 * math/s_clogf.c: Likewise.
51908 * math/s_clogl.c: Likewise.
51909 * math/s_csin.c: Likewise.
51910 * math/s_csinf.c: Likewise.
51911 * math/s_csinh.c: Likewise.
51912 * math/s_csinhf.c: Likewise.
51913 * math/s_csinhl.c: Likewise.
51914 * math/s_csinl.c: Likewise.
51915 * math/s_csqrt.c: Likewise.
51916 * math/s_csqrtf.c: Likewise.
51917 * math/s_csqrtl.c: Likewise.
51918 * math/s_ctan.c: Likewise.
51919 * math/s_ctanf.c: Likewise.
51920 * math/s_ctanh.c: Likewise.
51921 * math/s_ctanhf.c: Likewise.
51922 * math/s_ctanhl.c: Likewise.
51923 * math/s_ctanl.c: Likewise.
51924 * math/s_ldexp.c: Likewise.
51925 * math/s_ldexpf.c: Likewise.
51926 * math/s_ldexpl.c: Likewise.
51927 * math/s_significand.c: Likewise.
51928 * math/s_significandf.c: Likewise.
51929 * math/s_significandl.c: Likewise.
51930 * math/w_acos.c: Likewise.
51931 * math/w_acosf.c: Likewise.
51932 * math/w_acosh.c: Likewise.
51933 * math/w_acoshf.c: Likewise.
51934 * math/w_acoshl.c: Likewise.
51935 * math/w_acosl.c: Likewise.
51936 * math/w_asin.c: Likewise.
51937 * math/w_asinf.c: Likewise.
51938 * math/w_asinl.c: Likewise.
51939 * math/w_atan2.c: Likewise.
51940 * math/w_atan2f.c: Likewise.
51941 * math/w_atan2l.c: Likewise.
51942 * math/w_atanh.c: Likewise.
51943 * math/w_atanhf.c: Likewise.
51944 * math/w_atanhl.c: Likewise.
51945 * math/w_cosh.c: Likewise.
51946 * math/w_coshf.c: Likewise.
51947 * math/w_coshl.c: Likewise.
51948 * math/w_dremf.c: Likewise.
51949 * math/w_exp10.c: Likewise.
51950 * math/w_exp10f.c: Likewise.
51951 * math/w_exp10l.c: Likewise.
51952 * math/w_exp2.c: Likewise.
51953 * math/w_exp2f.c: Likewise.
51954 * math/w_fmod.c: Likewise.
51955 * math/w_fmodf.c: Likewise.
51956 * math/w_fmodl.c: Likewise.
51957 * math/w_hypot.c: Likewise.
51958 * math/w_hypotf.c: Likewise.
51959 * math/w_hypotl.c: Likewise.
51960 * math/w_j0.c: Likewise.
51961 * math/w_j0f.c: Likewise.
51962 * math/w_j0l.c: Likewise.
51963 * math/w_j1.c: Likewise.
51964 * math/w_j1f.c: Likewise.
51965 * math/w_j1l.c: Likewise.
51966 * math/w_jn.c: Likewise.
51967 * math/w_jnf.c: Likewise.
51968 * math/w_jnl.c: Likewise.
51969 * math/w_lgamma.c: Likewise.
51970 * math/w_lgamma_r.c: Likewise.
51971 * math/w_lgammaf.c: Likewise.
51972 * math/w_lgammaf_r.c: Likewise.
51973 * math/w_lgammal.c: Likewise.
51974 * math/w_lgammal_r.c: Likewise.
51975 * math/w_log.c: Likewise.
51976 * math/w_log10.c: Likewise.
51977 * math/w_log10f.c: Likewise.
51978 * math/w_log10l.c: Likewise.
51979 * math/w_log2.c: Likewise.
51980 * math/w_log2f.c: Likewise.
51981 * math/w_log2l.c: Likewise.
51982 * math/w_logf.c: Likewise.
51983 * math/w_logl.c: Likewise.
51984 * math/w_pow.c: Likewise.
51985 * math/w_powf.c: Likewise.
51986 * math/w_powl.c: Likewise.
51987 * math/w_remainder.c: Likewise.
51988 * math/w_remainderf.c: Likewise.
51989 * math/w_remainderl.c: Likewise.
51990 * math/w_scalb.c: Likewise.
51991 * math/w_scalbf.c: Likewise.
51992 * math/w_scalbl.c: Likewise.
51993 * math/w_sinh.c: Likewise.
51994 * math/w_sinhf.c: Likewise.
51995 * math/w_sinhl.c: Likewise.
51996 * math/w_sqrt.c: Likewise.
51997 * math/w_sqrtf.c: Likewise.
51998 * math/w_sqrtl.c: Likewise.
51999 * math/w_tgamma.c: Likewise.
52000 * math/w_tgammaf.c: Likewise.
52001 * math/w_tgammal.c: Likewise.
52003 * po/ja.po: Update from translation team.
52005 2011-09-29 Andreas Jaeger <aj@suse.de>
52008 * sunrpc/netname.c (netname2host): Fix logic.
52012 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52014 * math/w_remainder.c (__remainder): Likewise.
52015 * math/w_remainderf.c (__remainderf): Likewise.
52016 * math/libm-test.inc (remainder_test): Add test cases.
52018 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52020 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52023 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52025 * string/test-memcmp.c: Avoid unncessary #defines.
52026 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52028 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52030 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52031 Use new sse2 version for core i3 - i7 as it's faster
52032 than sse42 version.
52033 (bit_Prefer_PMINUB_for_stringop): New.
52034 * sysdeps/x86_64/rawmemchr.S: Update.
52035 Replace with faster SSE2 version.
52036 * sysdeps/x86_64/memrchr.S: New file.
52037 * sysdeps/x86_64/memchr.S: Update.
52038 Replace with faster SSE2 version.
52040 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52042 * elf/dl-load.c (lose): Add cast to avoid warning.
52044 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52046 * po/ca.po: Update from translation team.
52048 * inet/getnetgrent_r.c: Hook up nscd.
52049 * nscd/Makefile (routines): Add nscd_netgroup.
52050 (nscd-modules): Add netgroupcache.
52051 (CFLAGS-netgroupcache.c): Define.
52052 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52053 (cache_search): Add const to second parameter.
52054 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52056 (dbs): Add netgrdb entry.
52057 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52058 (verify_persistent_db): Handle netgrdb.
52059 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52060 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52062 (netgroup_response_header): Define.
52063 (innetgroup_response_header): Define.
52064 (datahead): Add netgroup_response_header and innetgroup_response_header
52066 * nscd/nscd.conf: Add entries for netgroup cache.
52067 * nscd/nscd.h (dbtype): Add netgrdb.
52068 (_PATH_NSCD_NETGROUP_DB): Define.
52069 (netgroup_iov_disabled): Declare.
52070 (xmalloc, xcalloc, xrealloc): Move declarations here.
52071 (cache_search): Adjust prototype.
52072 Add netgroup-related prototypes.
52073 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52074 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52075 (__nscd_innetgr): Declare.
52076 * nscd/selinux.c (perms): Use access_vector_t as element type and
52077 add netgroup-related initializers.
52078 * nscd/netgroupcache.c: New file.
52079 * nscd/nscd_netgroup.c: New file.
52080 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52081 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52082 For four parameters use innetgr.
52083 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52084 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52085 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52086 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52088 * nscd/connections.c (register_traced_file): Don't register file
52089 for disabled databases.
52091 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52093 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52095 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52096 from tree and freeing node.
52098 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52100 * nss/nsswitch.c (__nss_database_lookup): Handle
52101 nss_parse_service_list out of memory case.
52103 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52105 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52106 out of memory case.
52108 2011-10-04 Andreas Schwab <schwab@redhat.com>
52110 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52111 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52113 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52114 elf_machine_rela, elf_machine_lazy_rel.
52115 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52116 (ELF_DYNAMIC_DO_REL): Likewise.
52117 (ELF_DYNAMIC_DO_RELA): Likewise.
52118 (ELF_DYNAMIC_RELOCATE): Likewise.
52119 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52120 to ELF_DYNAMIC_DO_REL.
52121 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52122 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52123 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52125 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52126 skip_ifunc, don't call ifunc function if non-zero.
52127 (elf_machine_rela): Likewise.
52128 (elf_machine_lazy_rel): Likewise.
52129 (elf_machine_lazy_rela): Likewise.
52130 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52131 (elf_machine_lazy_rel): Likewise.
52132 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52134 (elf_machine_lazy_rel): Likewise.
52135 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52137 (elf_machine_lazy_rel): Likewise.
52138 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52139 (elf_machine_lazy_rel): Likewise.
52140 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52141 (elf_machine_lazy_rel): Likewise.
52142 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52143 (elf_machine_lazy_rel): Likewise.
52144 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52145 (elf_machine_lazy_rel): Likewise.
52146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52147 (elf_machine_lazy_rel): Likewise.
52148 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52149 (elf_machine_lazy_rel): Likewise.
52151 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52153 * nss/nss_files/files-init.c (_nss_files_init): Use static
52154 initialization for all the *_traced_file variables.
52156 2011-09-28 Andreas Schwab <schwab@redhat.com>
52158 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52160 2011-09-27 Roland McGrath <roland@hack.frob.com>
52163 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52165 2011-09-27 Andreas Schwab <schwab@redhat.com>
52167 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52168 Reread the line before reparsing it.
52170 2011-09-26 Andreas Schwab <schwab@redhat.com>
52172 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52174 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52175 Maxim Kuvyrkov <maxim@codesourcery.com>
52176 Joseph Myers <joseph@codesourcery.com>
52178 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52179 if needed for __stack_chk_guard.
52181 2011-09-19 Roland McGrath <roland@hack.frob.com>
52183 * sysdeps/posix/spawni.c (script_execute): Always define it.
52184 It will be optimized away if unused.
52185 (maybe_script_execute): New function.
52186 (__spawni): Call it.
52188 * Makerules: Don't include tls.make.
52189 (config-tls): Always set to thread.
52190 * tls.make.c: File removed.
52192 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52194 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52195 * config.make.in (CPPFLAGS-config): New substituted variable.
52197 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52199 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52202 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52203 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52205 2011-09-15 Roland McGrath <roland@hack.frob.com>
52207 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52208 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52209 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52210 (CALL_FAIL): Likewise.
52211 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52212 (CALL_FAIL): Macro removed.
52213 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52215 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52217 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52218 for __FINITE_MATH_ONLY__ == 1.
52220 2011-09-15 Andreas Schwab <schwab@redhat.com>
52222 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52223 __ieee754_sqrt instead of sqrt.
52224 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52225 __ieee754_sqrtf instead of sqrtf.
52226 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52227 __floorf instead of floorf.
52228 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52229 __floorf, __truncf instead of floorf, truncf.
52231 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52233 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52235 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52236 __extern_always_inline.
52237 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52240 2011-09-14 Andreas Schwab <schwab@redhat.com>
52242 * elf/rtld.c (dl_main): Also relocate in dependency order when
52243 doing symbol dependency testing.
52245 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52248 Always define `refsym'.
52250 2011-09-13 Andreas Schwab <schwab@redhat.com>
52252 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52253 (__FD_ELT): Renamed from __FDELT.
52254 * misc/bits/select2.h (__FD_ELT): Likewise.
52255 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52256 __FD_MASK instead of __FDELT, __FDMASK.
52257 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52259 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52262 * elf/Makefile (gen-ldd): Fix pattern.
52264 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52265 (init_tls): Likewise.
52267 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52271 2011-09-12 Andreas Schwab <schwab@redhat.com>
52273 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52274 `struct cmsghdr *' instead of `void *'.
52275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52278 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52280 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52282 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52283 ldd_rewrite_script.
52285 2011-09-11 Ulrich Drepper <drepper@gmail.com>
52287 * configure.in: Remove --with-tls option.
52288 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52289 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52290 out in case it is missing.
52291 * sysdeps/ia64/elf/configure.in: Likewise.
52292 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52293 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52294 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52295 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52296 * sysdeps/sh/elf/configure.in: Likewise.
52297 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52298 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52299 * sysdeps/x86_64/elf/configure.in: Likewise.
52300 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52301 * sysdeps/mach/hurd/tls.h: Likewise.
52304 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52307 * configure.in: Fix use of AC_INIT.
52309 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52311 2011-09-10 Ulrich Drepper <drepper@gmail.com>
52313 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52315 * malloc/hooks.c: Likewise.
52318 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52319 variables statically.
52320 (narenas): Initialize.
52321 (list_lock): Initialize.
52322 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52323 initializtion of main_arena and list_lock. Small cleanups.
52324 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52325 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52326 Add initializers to main_arena and mp_.
52327 (malloc_state): Remove pagesize member. Change all users to use
52330 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52331 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52332 is always initialized.
52334 * malloc/malloc.c: Removed unused configurations and dead code.
52335 * malloc/arena.c: Likewise.
52336 * malloc/hooks.c: Likewise.
52337 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52339 * include/tls.h: Removed. USE___THREAD must always be defined.
52340 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52341 * elf/dl-libc.c: Likewise.
52342 * elf/dl-tsd.c: Likewise.
52343 * include/errno.h: Likewise.
52344 * include/netdb.h: Likewise.
52345 * include/resolv.h: Likewise.
52346 * inet/herrno-loc.c: Likewise.
52347 * inet/herrno.c: Likewise.
52348 * malloc/arena.c: Likewise.
52349 * malloc/hooks.c: Likewise.
52350 * malloc/malloc.c: Likewise.
52351 * resolv/res-state.c: Likewise.
52352 * resolv/res_libc.c: Likewise.
52353 * sysdeps/i386/dl-machine.h: Likewise.
52354 * sysdeps/ia64/dl-machine.h: Likewise.
52355 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52356 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52357 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52358 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52359 * sysdeps/sh/dl-machine.h: Likewise.
52360 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52361 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52362 * sysdeps/unix/i386/sysdep.S: Likewise.
52363 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52364 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52365 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52366 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52367 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52368 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52369 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52370 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52373 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52374 * sysdeps/x86_64/dl-machine.h: Likewise.
52375 * tls.make.c: Likewise.
52377 * configure.in: Remove --with-__thread option. Make tests for
52378 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52379 tls_model attribute fail if no support is available. Remove
52381 * Makeconfig: Adjust for dropped configure option. All features are
52383 * Makerules: Likewise.
52384 * Versions.def: Likewise.
52385 * argp/argp-fmtstream.c: Likewise.
52386 * argp/argp-fmtstream.h: Likewise.
52387 * argp/argp-help.c: Likewise.
52388 * assert/assert.c: Likewise.
52389 * config.h.in: Likewise.
52390 * config.make.in: Likewise.
52391 * configure: Likewise.
52392 * configure.in: Likewise.
52393 * csu/Versions: Likewise.
52394 * csu/init.c: Likewise.
52395 * elf/tst-audit2.c: Likewise.
52396 * elf/tst-tls10.c: Likewise.
52397 * elf/tst-tls10.h: Likewise.
52398 * elf/tst-tls11.c: Likewise.
52399 * elf/tst-tls12.c: Likewise.
52400 * elf/tst-tls14.c: Likewise.
52401 * elf/tst-tlsmod11.c: Likewise.
52402 * elf/tst-tlsmod12.c: Likewise.
52403 * elf/tst-tlsmod13.c: Likewise.
52404 * elf/tst-tlsmod13a.c: Likewise.
52405 * elf/tst-tlsmod14a.c: Likewise.
52406 * elf/tst-tlsmod15b.c: Likewise.
52407 * elf/tst-tlsmod16a.c: Likewise.
52408 * elf/tst-tlsmod16b.c: Likewise.
52409 * elf/tst-tlsmod7.c: Likewise.
52410 * elf/tst-tlsmod8.c: Likewise.
52411 * elf/tst-tlsmod9.c: Likewise.
52412 * gmon/gmon.c: Likewise.
52413 * grp/fgetgrent_r.c: Likewise.
52414 * grp/putgrent.c: Likewise.
52415 * hurd/fopenport.c: Likewise.
52416 * include/libc-symbols.h: Likewise.
52417 * include/tls.h: Likewise.
52418 * intl/gettextP.h: Likewise.
52419 * intl/loadinfo.h: Likewise.
52420 * locale/global-locale.c: Likewise.
52421 * locale/localeinfo.h: Likewise.
52422 * mach/devstream.c: Likewise.
52423 * malloc/arena.c: Likewise.
52424 * malloc/set-freeres.c: Likewise.
52425 * misc/err.c: Likewise.
52426 * misc/getttyent.c: Likewise.
52427 * misc/mntent_r.c: Likewise.
52428 * posix/getopt.c: Likewise.
52429 * posix/wordexp.c: Likewise.
52430 * pwd/fgetpwent_r.c: Likewise.
52431 * resolv/Versions: Likewise.
52432 * resolv/res_hconf.c: Likewise.
52433 * shadow/fgetspent_r.c: Likewise.
52434 * shadow/putspent.c: Likewise.
52435 * stdio-common/printf_fphex.c: Likewise.
52436 * stdio-common/tmpfile.c: Likewise.
52437 * stdlib/abort.c: Likewise.
52438 * stdlib/fmtmsg.c: Likewise.
52439 * sunrpc/auth_unix.c: Likewise.
52440 * sunrpc/clnt_perr.c: Likewise.
52441 * sunrpc/clnt_tcp.c: Likewise.
52442 * sunrpc/clnt_udp.c: Likewise.
52443 * sunrpc/clnt_unix.c: Likewise.
52444 * sunrpc/openchild.c: Likewise.
52445 * sunrpc/svc_simple.c: Likewise.
52446 * sunrpc/svc_tcp.c: Likewise.
52447 * sunrpc/svc_udp.c: Likewise.
52448 * sunrpc/svc_unix.c: Likewise.
52449 * sunrpc/xdr.c: Likewise.
52450 * sunrpc/xdr_array.c: Likewise.
52451 * sunrpc/xdr_rec.c: Likewise.
52452 * sunrpc/xdr_ref.c: Likewise.
52453 * sunrpc/xdr_stdio.c: Likewise.
52455 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52457 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52459 2011-07-03 Andreas Jaeger <aj@suse.de>
52461 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52462 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52463 regenerate with gen-libm-tests.pl.
52465 2010-05-12 Petr Baudis <pasky@suse.cz>
52468 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52469 around j0() zero points by switching to j1().
52470 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52471 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52473 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52475 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52477 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52479 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52481 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52482 Patch in part by Pavel Roskin <proski@gnu.org>.
52485 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52487 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52488 Free memory block if necessary.
52491 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52492 be NULL. Don't lock in this case.
52494 2011-09-09 Roland McGrath <roland@hack.frob.com>
52496 * elf/elf.h (ELFOSABI_GNU): New macro.
52497 (ELFOSABI_LINUX): Define to that.
52499 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52501 * string/strncat.c (strncat): Undef the symbol in case it has been
52502 defined in bits/string.h.
52504 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52506 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52508 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52511 2011-08-17 Andreas Jaeger <aj@suse.de>
52513 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52515 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52516 Ian Lance Taylor <iant@google.com>
52518 * math/libm-test.inc (lround_test): New testcase.
52519 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52521 2011-09-08 Ulrich Drepper <drepper@gmail.com>
52523 * Makefile: Remove support for automatic cvs check-ins.
52524 * Makerules: Likewise.
52525 * config.make.in: Likewise.
52526 * configure.in: Likewise.
52527 * intl/Makefile: Likewise.
52528 * locale/Makefile: Likewise.
52529 * po/Makefile: Likewise.
52530 * posix/Makefile: Likewise.
52531 * sysdeps/gnu/Makefile: Likewise.
52532 * sysdeps/mach/hurd/Makefile: Likewise.
52533 * sysdeps/sparc/sparc32/Makefile: Likewise.
52536 * posix/Makefile (bug-regex32-ENV): Define.
52537 Patch by John Stanley <jpsinthemix@verizon.net>.
52539 * misc/Makefile (headers): Add bits/select2.h.
52540 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52541 * misc/bits/select2.h: New file.
52542 * include/bits/select2.h: New file.
52543 * debug/Makefile (routines): Add fdelt_chk.
52544 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52545 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52547 * debug/fdelt_chk.c: New file.
52549 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52550 * wcsmbs/test-wmemcmp.c: Likewise.
52551 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52552 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52554 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52556 * string/Makefile (strop-tests): Add memcmp.
52557 * string/test-wmemcmp.c: New file.
52558 * string/test-memcmp.c: Add wmemcmp support.
52560 2011-09-08 Roland McGrath <roland@hack.frob.com>
52563 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52566 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52567 garbage value in a __mach_port_mod_refs call in the cases of the
52568 task-self and thread-self ports.
52570 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52572 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52574 2011-09-08 Andreas Schwab <schwab@redhat.com>
52576 * elf/dl-load.c (lose): Check for non-null L.
52578 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52580 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52582 * elf/dl-libc.c (dlerror_run): Pass back error code from
52586 * elf/dl-load.c (lose): Free l_origin if it is valid.
52588 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52590 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52591 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52593 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52594 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52595 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52597 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52599 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52600 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52601 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52602 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52603 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52604 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52605 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52606 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52607 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52608 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52610 2011-08-15 Alan Modra <amodra@gmail.com>
52613 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52614 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52615 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52616 ppc_mcount to static-only-routines.
52617 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52619 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52620 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52622 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52624 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52625 for finite and infinity parameters.
52627 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52629 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52630 and add nop instructions for throughput optimization.
52631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52633 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52635 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52636 aligned copy for power7 with vector-scalar instructions.
52637 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52639 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52644 2011-09-07 Andreas Schwab <schwab@redhat.com>
52647 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52650 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52652 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52653 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52654 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52655 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52658 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52660 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52661 Forgot to demangle the pointer.
52663 * sysdeps/i386/sysdep.h: Define atom_text_section.
52664 * sysdeps/x86_64/sysdep.h: Likewise.
52665 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52666 section with atom_text_section.
52667 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52668 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52669 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52671 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52673 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52674 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52675 already be defined. Change to take two parameters and don't assign
52676 result to variable. Adjust all users.
52677 Define INTERNAL_GETTIME if not already defined.
52678 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52681 HAVE_CLOCK_GETTIME_VSYSCALL.
52682 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52684 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52685 gettimeofday vsyscall, just use time.
52687 2011-09-06 Andreas Schwab <schwab@redhat.com>
52689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52692 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52694 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52698 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52699 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52700 syscall if possible.
52702 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52704 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52705 e_ident. Don't pass to find_mapsXX.
52706 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52708 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52711 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52712 * sysdeps/x86_64/multiarch/strchr.S: Update.
52713 Check bit_slow_BSF bit.
52714 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52715 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52716 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52718 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52721 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52723 (tryshell): Define.
52724 (__spawni): Change last parameter to be flag. Test
52725 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52726 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52727 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52728 * posix/spawni.c: Likewise.
52729 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52730 * posix/spawnp.c: Likewise. Change normal version to use
52731 SPAWN_XFLAGS_USE_PATH.
52732 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52733 SPAWN_XFLAGS_TRY_SHELL.
52736 * posix/glob.h: Remove gcc 1.x support.
52739 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52741 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52744 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52746 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52747 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52748 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52749 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52750 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52751 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52753 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52755 * sysdeps/x86_64/wcscmp.S: New file.
52757 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52758 wcscmp-c wcscmp-sse2
52759 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52760 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52761 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52762 * wcsmbs/wcscmp.c: Allow renaming.
52764 2011-09-05 David S. Miller <davem@davemloft.net>
52766 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52767 stack slot, rather than the struct return pointer slot.
52768 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52769 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52771 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52773 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52775 * po/ja.po: Update from translation team.
52778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52779 kernel in 64-bit binaries.
52781 2011-09-01 David S. Miller <davem@davemloft.net>
52783 * elf/elf.h (HWCAP_SPARC_*): Move to..
52784 * sysdeps/sparc/sysdep.h: this new file and add new values.
52785 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52786 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52787 _DL_HWCAP_COUNT to 24.
52788 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52790 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52791 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52792 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52794 instead of magic constants.
52795 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52797 2011-08-31 David S. Miller <davem@davemloft.net>
52799 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52801 Reimplement to do errno handling inline.
52802 (SYSCALL_ERROR_HANDLER): New macro.
52803 (__SYSCALL_STRING): Do not do errno handling in asm.
52804 (__CLONE_SYSCALL_STRING): Delete.
52805 (__INTERNAL_SYSCALL_STRING): Delete.
52806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52807 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52808 (PSEUDO): Reimplement to do errno handling inline.
52809 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52810 (SYSCALL_ERROR_HANDLER): New macro.
52811 (__SYSCALL_STRING): Do not do errno handling in asm.
52812 (__CLONE_SYSCALL_STRING): Delete.
52813 (__INTERNAL_SYSCALL_STRING): Delete.
52814 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52815 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52817 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52818 (inline_syscall*): Add 'err' argument.
52819 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52820 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52821 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52822 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52824 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52825 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52827 2011-08-30 Andreas Schwab <schwab@redhat.com>
52829 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52831 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52833 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52836 2011-08-24 David S. Miller <davem@davemloft.net>
52838 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52840 2011-08-24 Andreas Schwab <schwab@redhat.com>
52842 * elf/Makefile: Add rules to build and run unload8 test.
52843 * elf/unload8.c: New file.
52844 * elf/unload8mod1.c: New file.
52845 * elf/unload8mod1x.c: New file.
52846 * elf/unload8mod2.c: New file.
52847 * elf/unload8mod3.c: New file.
52849 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52852 2011-08-23 David S. Miller <davem@davemloft.net>
52854 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52855 subtract stack bias.
52856 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52857 %sp not %fp in calculations.
52858 (_JMPBUF_UNWINDS_ADJ): Likewise.
52860 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52861 (aio_suspend): Call it to force an exception region around the
52862 AIO_MISC_WAIT() invocation.
52864 2011-08-23 Andreas Schwab <schwab@redhat.com>
52866 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52869 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52871 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52873 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52874 and <dl-machine.h>.
52875 (Elf64_FuncDesc): Remove.
52877 2011-08-22 David S. Miller <davem@davemloft.net>
52879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52880 sigaltstack check, add missing cfi directives.
52881 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52882 missing cfi directives, and sigaltstack handling.
52884 2011-08-16 Andreas Schwab <schwab@redhat.com>
52887 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52888 object is seen twice.
52889 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52891 * elf/Makefile (distribute): Add tst-initorder2.c.
52892 (tests): Add tst-initorder2.
52893 (modules-names): Add tst-initorder2a tst-initorder2b
52894 tst-initorder2c tst-initorder2d. Add rules to build them.
52895 ($(objpfx)tst-initorder2.out): New rule.
52896 * elf/tst-initorder2.c: New file.
52897 * elf/tst-initorder2.exp: New file.
52899 2011-08-22 Andreas Schwab <schwab@redhat.com>
52901 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52903 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52904 dependencies back to end of function.
52906 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52907 $(elfobjdir)/ld.so.
52909 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52912 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52913 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52914 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52915 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52916 of __vdso_gettimeofday.
52917 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52918 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52920 (_libc_vdso_platform_setup): Remove initialization of
52921 __vdso_gettimeofday and __vdso_time.
52923 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52925 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52926 and fgetc_unlocked.
52927 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52930 * elf/dl-open.c (add_to_global): Report additions to the global scope
52931 for LD_DEBUG=scopes.
52932 (dl_open_worker): Also print scope of newly loaded dependencies.
52933 (_dl_show_scope): Indicate if there is no scope.
52936 * stdio-common/Makefile (tests): Add bug24.
52937 * stdio-common/bug24.c: New file.
52939 2011-08-19 Andreas Jaeger <aj@suse.de>
52942 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52943 non-existant file when using close-on-exec mode.
52945 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52948 the very first instruction.
52950 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52951 the CFI state in the end.
52952 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52953 inclusion of dl-trampoline.h.
52954 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52956 2011-08-19 Andreas Schwab <schwab@redhat.com>
52958 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52959 expectations for long double.
52961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52962 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52964 2011-08-14 David S. Miller <davem@davemloft.net>
52966 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52967 artificual limit depends upon the system page size.
52969 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52971 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52972 * resolv/Makefile: Define CFLAGS-libresolv.
52974 2011-08-17 Andreas Schwab <schwab@redhat.com>
52976 * nss/makedb.c (compute_tables): Make variables used in nested
52979 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52981 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52982 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52983 if buffer was too small.
52985 * elf/pldd.c (main): Attach to all threads in the process.
52986 Rewrite /proc handling to use *at functions.
52988 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52990 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52991 specifies first scope to show.
52992 (dl_open_worker): Update callers. Move printing scope of new
52993 object to before the relocation.
52994 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52995 * sysdeps/generic/ldsodefs.h: Update declaration.
52997 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52998 string for the scope number.
53000 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53002 * nscd/servicescache.c (cache_addserv): Make sure written is always
53005 2011-08-14 Roland McGrath <roland@hack.frob.com>
53007 * sysdeps/i386/i486/bits/atomic.h
53008 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53009 statement expression, so as to suppress "set but not used" warning.
53010 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53012 * string/strncat.c (STRNCAT): Use prototype definition.
53014 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53015 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53017 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53018 (localedef-modules): Add localedef.
53019 (locale-modules): Add locale.
53021 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53022 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53023 to avoid a warning.
53025 2011-08-14 David S. Miller <davem@davemloft.net>
53027 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53028 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53030 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53032 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53033 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53034 * elf/rtld.c (dl_main): Set l_name of vDSO.
53035 Call _dl_show_scope when DL_DEBUG_SCOPES.
53036 (process_dl_debug): Recognize scopes flag and also set it for all.
53037 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53038 Declare _dl_show_scope.
53040 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53041 (do_dlopen): Pass caller_dlopen to dl_open.
53042 (__libc_dlopen_mode): Initialize caller_dlopen.
53044 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53045 of libc. Make tolower call locale-independent. Optimize a bit by
53046 using isdigit instead of isalnum.
53047 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53049 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53051 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53052 was a dependency or dynamically loaded.
53054 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53056 * intl/l10nflist.c: Allow architecture-specific pop function.
53057 * sysdeps/x86_64/l10nflist.c: New file.
53059 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53062 2011-08-10 Andreas Schwab <schwab@redhat.com>
53064 * include/dirent.h: Add libc_hidden_proto for scandirat and
53065 scandirat64. Don't declare __scandirat64.
53066 * dirent/scandirat.c: Add libc_hidden_def.
53067 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53068 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53070 2011-08-10 David S. Miller <davem@davemloft.net>
53072 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53074 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53075 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53076 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53078 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53080 * Versions.def [libc]: Add GLIBC_2.15.
53081 * dirent/Makefile (routines): Add scandirat and scandirat64.
53082 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53084 * dirent/dirent.h: Declare scandirat and scandirat64.
53085 * dirent/scandirat.c: New file.
53086 * dirent/scandirat64.c: New file.
53087 * sysdeps/wordsize-64/scandirat.c: New file.
53088 * sysdeps/wordsize-64/scandirat64.c: New file.
53089 * dirent/opendir.c: Define opendirat.
53090 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53092 * dirent/scandir64.c: Adjust for scandir.c change.
53093 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53094 __scandirat64, and __scandir_cancel_handler.
53095 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53096 additional parameter and use openat instead of open (outside of ld.so).
53097 Add new __opendir as wrapper around __opendirat.
53098 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53099 here without requiring old scandirat implementation.
53101 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53103 * dirent/scandir.c (cancel_handler): Renamed to
53104 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53105 defined. Adjust users.
53106 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53107 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53109 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53111 * string/test-string.h (IMPL): Use __STRING to expand name and then
53114 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53117 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53119 * string/Makefile: Update.
53120 (strop-tests): Append strncat.
53121 * string/test-wcscmp.c: New file.
53122 New comprehensive test for wcscmp.
53123 * string/test-strcmp.c: Update.
53124 (WIDE): New define.
53126 2011-07-22 Andreas Schwab <schwab@redhat.com>
53128 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53131 2011-07-26 Andreas Schwab <schwab@redhat.com>
53133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53134 encoding to ACE if AI_IDN.
53136 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53138 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53139 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53141 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53143 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53144 Fix overflow bug in strncat.
53145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53147 * string/test-strncat.c: Update.
53148 Add new tests for checking overflow bugs.
53150 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53153 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53154 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53155 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53156 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53157 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53158 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53159 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53160 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53163 (USE_AS_STRCAT): Define.
53164 Add strcat and strncat support.
53165 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53167 2011-07-25 Andreas Schwab <schwab@redhat.com>
53169 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53170 __n bigger than INT_MAX+1.
53171 (__strncmp_g): Likewise.
53173 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53175 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53176 * libio/stido.h: Likewise.
53178 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53183 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53184 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53185 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53186 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53187 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53190 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53195 (_dl_x86_64_save_sse): Likewise.
53197 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53199 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53201 (_dl_x86_64_save_sse): Likewise.
53203 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53205 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53207 2011-07-21 Andreas Schwab <schwab@redhat.com>
53209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53211 (_dl_x86_64_save_sse): Use correct AVX check.
53213 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53216 bug in strncpy/strncat.
53217 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53219 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53221 * string/tester.c (test_strcat): Add tests for different alignments
53222 of source and destination.
53223 (test_strncat): Likewise.
53225 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53228 * posix/glob.c (glob): Check passed in values before using them in
53229 expressions to avoid some overflows.
53230 (glob_in_dir): Likewise.
53233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53234 check for AVX enablement so that we don't crash with old kernels and
53236 * elf/tst-audit4.c: Add same checks here.
53237 * elf/tst-audit6.c: Likewise.
53239 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53241 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53243 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53245 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53247 * po/cs.po: Update from translation team.
53248 * po/bg.po: Likewise.
53250 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53252 * misc/sys/cdefs.h: Add support for const attribute.
53253 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53254 to gnu_dev_{major,minor,makedev} functions.
53256 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53258 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53260 2011-07-20 Andreas Schwab <schwab@redhat.com>
53262 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53265 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53268 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53269 register in order to avoid conflicts with the soft frame pointer
53270 being held in r11 when necessary.
53271 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53272 (INTERNAL_VSYSCALL_NCS): Likewise.
53274 2011-07-14 Marek Polacek <mpolacek@redhat.com>
53276 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53277 * elf/dl-fini.c (_dl_fini): Adjust caller.
53278 * elf/dl-close.c (_dl_close_worker): Likewise.
53279 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53281 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53283 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53284 "aux_cache->nlibs < 0".
53286 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53287 in the reload-count case.
53289 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53292 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53293 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53294 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53295 * sysdeps/x86_64/multiarch/strcat.S: New file.
53296 * sysdeps/x86_64/multiarch/strncat.S: New file.
53297 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53298 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53299 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53300 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53301 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53302 (USE_AS_STRCAT): Define.
53303 Add strcat and strncat support.
53304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53305 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53306 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53307 * string/strncat.c: Update.
53308 (USE_AS_STRNCAT): Define.
53309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53310 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53312 * sysdeps/x86_64/multiarch/init-arch.h
53313 (bit_Prefer_PMINUB_for_stringop): New.
53314 (index_Prefer_PMINUB_for_stringop): Likewise.
53315 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53316 bit_Prefer_PMINUB_for_stringop.
53318 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53320 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53322 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53323 of casting of buffer.
53324 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53325 buffer32 and buffer64.
53326 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53327 writes instead of casting of buffer.
53328 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53330 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53333 2011-07-19 Andreas Schwab <schwab@redhat.com>
53335 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53337 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53339 * nscd/nscd.c (termination_handler): Don't do anything for a database
53340 if it has not yet been initialized.
53342 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53344 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53346 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53348 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53350 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53352 * po/nl.po: Update from translation team.
53353 * po/sv.po: Likewise.
53355 2011-07-16 Roland McGrath <roland@hack.frob.com>
53357 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53358 now disallowed by GCC.
53360 * configure.in (use-default-link): Default to yes if a test -shared
53361 link meets our qualifications.
53362 * configure: Regenerated.
53364 * config.make.in (output-format): New variable.
53365 * configure.in: Check for ld --print-output-format support.
53366 * configure: Regenerated.
53367 * Makerules ($(common-objpfx)format.lds)
53368 [$(output-format) != unknown]: Just use $(output-format),
53369 instead of the linker-script munging.
53371 2011-07-14 Roland McGrath <roland@hack.frob.com>
53373 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53374 of $(common-objpfx)shlib.lds.
53375 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53377 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53378 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53380 * configure.in (-z relro check): Adjust test code to add a large
53381 writable data section after it.
53382 * configure: Regenerated.
53384 2011-07-11 Roland McGrath <roland@hack.frob.com>
53386 * configure.in (-z relro check): Fix test code to make the variable
53388 * configure: Regenerated.
53390 2011-07-11 Ulrich Drepper <drepper@gmail.com>
53392 * nscd/nscd.h (struct traced_file): Define.
53393 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53394 elements. Add traced_files.
53395 (inotify_fd): Declare.
53396 (register_traced_file): Declare.
53397 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53398 (inotify_fd): Export.
53399 (resolv_conf_descr): Remove.
53400 (nscd_init): Move inotify descriptor creation to main.
53401 Don't register files for notification here.
53402 (register_traced_file): New function.
53403 (invalidate_cache): Don't use reset_res to determine whether to call
53404 res_init, go through the list of registered files.
53405 (main_loop_poll): The inotify descriptors are now stored in the
53406 structures for the traced files.
53407 (main_loop_epoll): Likewise
53408 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53409 to __nss_disable_nscd.
53410 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53411 for a database anymore. Check the records for all the registered
53413 * nss/Makefile (libnss_files-routines): Add files-init.
53414 (libnss_db-routines): Add db-init.
53415 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53416 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53417 * nss/nss_db/db-init.c: New file.
53418 * nss/nss_files/files-init.c: New file.
53419 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53420 __nss_lookup_function.
53421 (__nss_lookup_function): Call nss_load_library.
53422 (nss_load_all_libraries): New function.
53423 (__nss_disable_nscd): Take parameter with callback function for files
53424 to register. Set is_nscd. Load all the DSOs for the NSS modules
53425 used for the cached services.
53426 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53427 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53428 options for features to all the files in nscd.
53430 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53432 2011-07-10 Roland McGrath <roland@hack.frob.com>
53434 * csu/elf-init.c (__libc_csu_init): Comment typo.
53436 2011-07-09 Ulrich Drepper <drepper@gmail.com>
53438 * po/pl.po: Update from translation team.
53439 * po/ja.po: Likewise.
53440 * po/ru.po: Likewise.
53441 * po/ko.po: Likewise.
53442 * po/fr.po: Likewise.
53444 2011-07-09 Roland McGrath <roland@hack.frob.com>
53446 * configure.in (.ctors/.dtors header and trailer check):
53447 Use an empirical test on a built program.
53448 * configure: Regenerated.
53450 * configure.in (-z relro check): Use an empirical test on a built DSO.
53451 Detect, but do not require, on ia64.
53452 * configure: Regenerated.
53454 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53455 Update tests that use readelf to use $READELF instead.
53456 * configure: Regenerated.
53458 2011-07-08 Ulrich Drepper <drepper@gmail.com>
53460 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53461 if the result is not used.
53463 2011-07-05 Andreas Jaeger <aj@suse.de>
53466 * stdlib/tst-strtod.c: Add testcase.
53468 2011-07-07 Ulrich Drepper <drepper@gmail.com>
53470 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53471 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53472 The latter has a higher limit. Take additional parameter to pass to
53474 (__pathconf): Pass file to __statfs_link_max.
53475 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53477 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53481 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53482 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53484 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53485 (__statfs_filesize_max): Likewise.
53486 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53488 2011-07-05 Andreas Jaeger <aj@suse.de>
53490 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53492 2011-07-06 Marek Polacek <mpolacek@redhat.com>
53494 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53496 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53499 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53501 * Makefile (strop-tests): Add strncat.
53502 * string/test-strncat.c: New file.
53504 2011-06-30 Marek Polacek <mpolacek@redhat.com>
53506 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53508 2011-06-21 Andreas Jaeger <aj@suse.de>
53510 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53511 Copy rule from iconvdata/Makefile.
53513 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53516 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53517 but no long options are defined, just return 'W'.
53519 2011-06-22 Marek Polacek <mpolacek@redhat.com>
53522 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53524 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53526 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53528 (innetgr): Likewise.
53530 2011-07-05 Roland McGrath <roland@hack.frob.com>
53532 * config.make.in (install_root): Default to $(DESTDIR).
53534 2011-07-05 Ulrich Drepper <drepper@gmail.com>
53536 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53538 2011-07-02 Roland McGrath <roland@hack.frob.com>
53540 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53542 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53543 containing directory rather than embedding absolute directory names.
53545 * scripts/check-local-headers.sh: Rewritten using awk.
53546 Match by word, not by line. Print error messages for matches.
53547 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53549 * Makerules [shlib-lds-flags empty]:
53550 ($(common-objpfx)libc_pic.opts): New target.
53551 ($(common-objpfx)libc_pic.os.clean): New target.
53552 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53554 * config.make.in (OBJCOPY): New variable.
53555 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53556 * configure: Regenerated.
53558 * config.make.in (use-default-link): New variable.
53559 * configure.in (use_default_link): Grok --with-default-link to set it.
53560 * configure: Regenerated.
53561 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53562 (shlib-lds, shlib-lds-flags): Define to empty.
53564 * Makerules (shlib-lds): New variable.
53565 (shlib-lds-flags): New variable.
53566 (build-shlib, build-moduile, build-module-asneeded): Use it.
53567 ($(common-objpfx)libc.so): Use $(shlib-lds).
53568 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53569 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53571 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53572 DT_FLAGS/DT_FLAGS_1 with zero flags.
53574 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53575 linker script munging.
53577 2011-07-02 Ulrich Drepper <drepper@gmail.com>
53579 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53581 * crypt/sha512.c (sha512_process_block): Perform total addition using
53582 128-bit if possible.
53583 (__sha512_finish_ctx): Likewise.
53584 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53586 * crypt/sha256.c (SWAP64): Define.
53587 (sha256_process_block): Perform total addition using 64-bit if
53589 (__sha256_finish_ctx): Likewise.
53591 2011-07-01 Ulrich Drepper <drepper@gmail.com>
53593 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53594 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53595 * nscd/hstcache.c (cache_addhst): Likewise.
53596 * nscd/grpcache.c (cache_addgr): Likewise.
53597 * nscd/aicache.c (addhstaiX): Likewise
53598 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53600 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
53602 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53603 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53604 * nscd/hstcache.c (cache_addhst): Likewise.
53605 * nscd/grpcache.c (cache_addgr): Likewise.
53606 * nscd/aicache.c (addhstaiX): Likewise
53608 2011-07-01 Andreas Schwab <schwab@redhat.com>
53610 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53611 domain only when needed.
53613 2011-06-30 Andreas Schwab <schwab@redhat.com>
53615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53616 is always restored.
53618 2011-06-29 Ulrich Drepper <drepper@gmail.com>
53620 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53621 are re-adding the entry.
53622 * nscd/servicescache.c (cache_addserv): Likewise.
53624 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53626 * sysdeps/generic/dl-irel.h: fix protection against multiple
53628 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53630 2011-06-28 Ulrich Drepper <drepper@gmail.com>
53633 * malloc/memusage.sh: Fix quoting in message.
53634 * debug/xtrace.sh: Likewise.
53636 * configure.in: Remove support for --experimental-malloc option, make
53638 * config.make.in: Likewise.
53639 * malloc/Makefile: Likewise.
53641 2011-06-27 Andreas Schwab <schwab@redhat.com>
53643 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53644 two-byte characters.
53646 2011-06-27 Roland McGrath <roland@hack.frob.com>
53648 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53649 AC_CACHE_CHECK invocation.
53650 * configure: Regenerated.
53652 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53654 2011-06-27 Ulrich Drepper <drepper@gmail.com>
53657 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53658 bit from old_res_options.
53660 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53662 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53663 value type for setfct.
53665 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53667 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53668 __gettimeofday instead of gettimeofday.
53670 2011-06-26 Ulrich Drepper <drepper@gmail.com>
53672 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53674 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53676 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53681 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53684 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53685 strcpy-sse2-unaligned strncpy-sse2-unaligned
53686 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53687 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53688 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53689 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53690 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53692 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53693 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53694 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53695 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53696 (STRCPY): Support SSE2 and SSSE3 versions.
53698 2011-06-24 Ulrich Drepper <drepper@gmail.com>
53701 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53702 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53703 kernels which artificially limit size of requests.
53705 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53708 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53709 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53710 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53711 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53712 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53713 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53714 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53715 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53716 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53717 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53718 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53719 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53720 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53721 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53723 Enable unaligned load optimization for Intel Core i3, i5 and i7
53725 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53727 (index_Fast_Unaligned_Load): Define.
53728 (HAS_FAST_UNALIGNED_LOAD): Define.
53730 2011-06-23 Marek Polacek <mpolacek@redhat.com>
53732 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53734 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53738 until it is clear that the information is realy needed.
53739 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53741 2011-06-22 Andreas Schwab <schwab@redhat.com>
53743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53745 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53747 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53748 /sys/devices/system/cpu/online if it is usable.
53750 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53751 reading the information from the /proc filesystem to once a second.
53753 2011-06-21 Andreas Jaeger <aj@suse.de>
53755 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53756 NULL after inclusion of kernel headers.
53758 2011-06-21 Ulrich Drepper <drepper@gmail.com>
53760 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53761 calls to internal_setent.
53764 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53765 addresses using gethostbyname4_r ignore IPv4 addresses.
53767 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53768 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53770 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53772 2011-06-20 David S. Miller <davem@davemloft.net>
53774 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53776 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53778 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53779 (elf_irel): Use it.
53780 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53781 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53782 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53783 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53784 * sysdeps/x86_64/dl-irel.h: Likewise.
53786 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53787 * elf/dl-sym.c: Likewise.
53789 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53791 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53792 need to dereference resplen2.
53794 2011-06-14 Andreas Schwab <schwab@redhat.com>
53796 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53798 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53800 * Makeconfig: Define vardbdir and inst_vardbdir.
53801 * nss/Makefile: Add rules to install db-Makefile.
53803 * nss/nss_db/db-XXX.c: Cleanup.
53805 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53806 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53808 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53809 * nss/makedb.c: Implement -g option to specify that value strings
53810 are generated and should not be added to table iterated over for
53812 * nss/nss_db/db-initgroups.c: New file.
53814 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53817 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53818 (internal_getgrouplist): Adjust to name change.
53819 Update use_initgroups_entry if this is not the first call.
53820 * nss/databases.def: Add initgroups entry.
53822 * nss/makedb.c (compute_tables): Check result of multiple hash table
53823 sizes to minimize maximum chain length.
53825 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53827 * Versions.def: Add entry for libnss_db.
53828 * shlib-versions: Likewise.
53829 * nss/Makefile: Add rules to build libnss_db.
53830 * nss/Versions: Add libnss_db information. Organize libnss_files
53832 * nss/db-Makefile: Add gshadow support. Change rules for the new
53833 makedb progra. Some minor improvements to generate smaller files.
53834 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53836 * nss/makedb.c: ...here.
53837 Improve database format to be smaller and require less memory at
53839 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53841 * nss/nss_db/db-netgrp.c: Likewise.
53842 * nss/nss_db/db-open.c: Likewise.
53843 * nss/nss_files/flies-XXX.x: Adjust comments.
53844 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53845 * nss/nss_files/files-grp.c: Likewise.
53846 * nss/nss_files/files-hosts.c: Likewise.
53847 * nss/nss_files/files-network.c: Likewise.
53848 * nss/nss_files/files-proto.c: Likewise.
53849 * nss/nss_files/files-pwd.c: Likewise.
53850 * nss/nss_files/files-rpc.c: Likewise.
53851 * nss/nss_files/files-service.c: Likewise.
53852 * nss/nss_files/files-sgrp.c: Likewise.
53853 * nss/nss_files/files-spwd.c: Likewise.
53854 * nss/nss_db/db-alias.c: Removed.
53855 * nss/nss_db/dummy-db.h: Removed.
53857 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53859 * nss/makedb.c: Rewritten to not use database library.
53860 * nss/Makefile: Update to build new makedb program.
53862 2011-06-14 Andreas Jaeger <aj@suse.de>
53864 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53865 memset declaration.
53867 2011-06-10 Andreas Schwab <schwab@redhat.com>
53869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53872 2011-06-10 Roland McGrath <roland@hack.frob.com>
53874 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53875 * elf/Makefile ($(objpfx)ld.so): Likewise.
53877 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53878 Don't list ld.so twice in dependencies.
53880 * posix/bug-regex31.c: Include <stdlib.h>.
53882 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53884 * nis/nss_compat/compat-spwd.c
53885 (getspent_next_nss_netgr): Remove unused variable.
53886 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53888 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53889 nonmembers" output to use the right array.
53891 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53893 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53895 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53896 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53897 * catgets/gencat.c (read_input_file): Likewise.
53898 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53900 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53901 variable definition inside #if's controlling its use.
53903 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53905 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53907 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53909 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53912 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53914 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53915 * configure: Regenerated.
53917 * Makerules: Revert last change.
53918 * elf/Makefile: Likewise.
53920 2011-06-09 Roland McGrath <roland@hack.frob.com>
53922 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53923 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53924 (reloc-link): Likewise.
53926 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53928 * elf/Makefile: Add rules to build pldd.
53929 * elf/pldd.c: New file.
53930 * elf/pldd-xx.c: New file.
53932 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53934 * version.h: Update for 2.15 development version.
53936 2011-06-07 David S. Miller <davem@davemloft.net>
53938 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53941 elf_machine_lazy_rel): Likewise.
53942 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53943 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53944 elf_machine_lazy_rel): Likewise.
53945 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53946 dl_hwcap via passed in argument.
53947 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53950 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53952 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53954 2011-06-06 Roland McGrath <roland@hack.frob.com>
53957 * manual/fdl-1.1.texi: New file, verbatim from:
53958 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53959 * manual/lgpl-2.1.texi: New file, verbatim from:
53960 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53961 * manual/Makefile (licenses): New variable, list those new file names.
53963 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53965 * manual/fdl.texi: File removed.
53966 * manual/lesser.texi: File removed.
53967 * manual/libc.texinfo (Copying, Documentation License):
53968 Use new @include file names, put @appendix directive before @include.
53970 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53973 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53974 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53975 (mq_open): Add __NTH.
53977 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53980 Assume Intel Core i3/i5/i7 processor if AVX is available.
53982 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53984 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53987 2011-05-31 Andreas Schwab <schwab@redhat.com>
53989 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53990 memory. Use alloca_account. Fix memory leak when retrying.
53992 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53994 * version.h (RELEASE): Bump for 2.14 release.
53995 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53997 * config.make.in (RANLIB): Remove entry.
53999 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54001 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54002 (libc.pot): Work around missing support for .ksh extension in xgettext.
54005 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54006 if both request failed.
54007 (send_dg): In case of server errors clear resplen or *resplen2.
54010 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54011 when there are multiple maps.
54012 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54013 (_dl_fini): Remove test here.
54015 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54017 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54020 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54021 bit from old_res_options.
54022 (gaih_inet): Likewise.
54025 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54028 * resolv/res_init.c (res_setoptions): Make the code more compact.
54031 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54035 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54037 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54040 * malloc/malloc.h: Declare malloc hook variables as volatile.
54042 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54046 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54047 raise in the comment.
54048 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54049 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54050 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54052 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54055 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54056 grow the buffers more if it already has to be sufficient.
54057 (build_wcs_upper_buffer): Likewise.
54058 * posix/regexec.c (check_matching): Likewise.
54059 (clean_state_log_if_needed): Likewise.
54060 (extend_buffers): Don't enlarge buffers beyond size of the input
54062 Patches mostly by Emil Wojak <emil@wojak.eu>.
54063 * posix/bug-regex32.c: New file.
54064 * posix/Makefile (tests): Add bug-regex32.
54066 * locale/findlocale.c (_nl_find_locale): Return right away if
54067 _nl_explode_name failed.
54068 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54070 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54072 * debug/xtrace.sh: Unify messages.
54073 * malloc/memusage.sh: Likewise.
54076 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54077 time symbol from vDSO. Substitute with vsyscall if not available.
54078 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54081 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54082 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54083 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54084 Add sendmmsg and internal_sendmmsg.
54085 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54086 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54087 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54089 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54090 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54091 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54093 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54096 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54097 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54099 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54103 * iconvdata/Makefile (tests): Add bug-iconv9.
54104 * iconvdata/bug-iconv9.c: New file.
54106 2011-05-27 Andreas Schwab <schwab@redhat.com>
54109 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54111 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54113 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54114 (struct user_regs_struct): Change intcs field back to cs.
54116 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54118 * po/ja.po: Update from translation team.
54120 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54123 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54124 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54126 2011-05-20 Andreas Schwab <schwab@redhat.com>
54128 * stdlib/longlong.h: Update from GCC.
54130 2011-05-23 Andreas Schwab <schwab@redhat.com>
54132 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54134 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54135 Add parameter name.
54136 (__sysconf): Pass it down.
54138 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54141 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54143 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54144 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54145 add in in __libc_use_alloca calls. Adjust callers.
54146 (glob): Use malloc in some situations.
54148 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54149 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54152 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54154 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54155 and CLOCK_BOOTTIME_ALARM.
54158 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54161 * string/_strerror.c (__strerror_r): Print negative errors as signed
54165 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54166 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54167 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54169 * configure.in: Fix typo in redirection and correct removal of test
54170 files in two cases.
54173 * locale/setlocale.c (new_composite_name): Fix test to check for
54174 identical name of all categories.
54177 * libio/filedoalloc.c (local_isatty): New function.
54178 (_IO_file_doallocate): Use local_isatty.
54179 * stdio-common/perror.c (perror): In case a new stream is used
54180 forward the stream error.
54181 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54184 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54189 * include/alloca.h (extend_alloca_account): Define.
54192 * posix/regex.h: Fix comments with documentation of user-accessible
54193 fields after compilation and describe correct free'ing of pattern
54194 after re_compile_pattern.
54195 Patch by Reuben Thomas <rrt@sc3d.org>.
54197 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54199 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54200 and -mno-altivec to prevent the compiler from using Altivec and/or
54201 VSX instructions when the corresponding registers are not available.
54203 2011-05-19 Andreas Schwab <schwab@redhat.com>
54205 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54207 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54209 * libio/freopen.c (freopen): Use __dup2, not dup2.
54210 * libio/freopen64.c (freopen64): Likewise.
54212 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54215 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54216 * math/Makefile (tests): Add test-powl.
54217 (CFLAGS-test-powl.c): Define.
54218 * math/test-powl.c: New file.
54220 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54222 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54224 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54227 * iconvdata/gb18030.c: Update to GB18020-2005.
54229 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54231 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54232 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54233 Patch by Aharon Robbins <arnold@skeeve.com>.
54236 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54240 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54241 through underflows.
54244 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54245 point to strings before performing equality test for error_one_per_line
54249 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54252 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54253 (struct user_fpregs_struct): Avoid __uint*_t types.
54256 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54257 symbol info. Use it instead of calling _dl_addr locally.
54258 (lock_and_info): New function.
54259 (tr_freehook): Call lock_and_info and pass symbol info as additional
54260 parameter to tr_where.
54261 (tr_mallochook): Likewise.
54262 (tr_reallochook): Likewise.
54263 (tr_memalignhook): Likewise.
54265 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54266 used and couldn't be at all thread-safe.
54268 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54270 * libio/freopen.c (freopen): Don't close old file descriptor
54271 before the new one is opened. Instead dup the new file descriptor
54272 to the old one after the new stream is created.
54273 * libio/freopen64.c (freopen64): Likewise.
54274 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54275 * libio/fileops.c (_IO_new_file_close_it): Handle new
54276 _IO_FLAGS2_NOCLOSE flag.
54277 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54278 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54279 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54280 _IO_FLAGS2_NOCLOSE flag.
54281 * include/unistd.h: Add hidden_proto for dup3.
54282 Define __have_dup3.
54283 * io/dup3.c: Define hidden symbol.
54284 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54287 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54288 when an incomplete long option is used.
54289 * posix/tst-getopt_long1.c: New file.
54290 * posix/Makefile (tests): Add tst-getopt_long1.
54293 * scripts/config.guess: Update from autoconf-2.68.
54294 * scripts/config.sub: Likewise.
54297 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54299 (has_cpuclock): ...this. New function.
54300 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54301 macro here based on has_cpuclock code.
54304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54305 First byte (not low byte) is now always NUL.
54306 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54309 Use non-cancelable interfaces.
54312 * locale/iso-639.def: Add entry for Sorani.
54315 * include/stdlib.h: Move include protection to the right place.
54316 Define abort_msg_s. Declare __abort_msg with it.
54317 * stdlib/abort.c (__abort_msg): Adjust type.
54318 * assert/assert.c (__assert_fail_base): New function. Majority
54319 of code from __assert_fail. Allocate memory for __abort_msg with
54321 (__assert_fail): Now call __assert_fail_base.
54322 * assert/assert-perr.c: Remove bulk of implementation. Use
54323 __assert_fail_base.
54324 * include/assert.hL Declare __assert_fail_base.
54325 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54327 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54329 2011-05-14 Ulrich Drepper <drepper@gmail.com>
54333 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54334 until all modules are registered in the DTV.
54335 * elf/Makefile: Add rules to build and run tst-tls19.
54336 * elf/tst-tls19.c: New file.
54337 * elf/tst-tls19mod1.c: New file.
54338 * elf/tst-tls19mod2.c: New file.
54339 * elf/tst-tls19mod3.c: New file.
54340 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54343 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54347 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54348 two-byte sequence errors.
54349 * iconvdata/Makefile (tests): Add bug-iconv8.
54350 * iconvdata/bug-iconv8.c: New file.
54353 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54356 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54359 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54360 (dummy_getcfa): New function.
54361 (init): Get _Unwind_GetCFA address, use dummy if not found.
54362 (backtrace_helper): In recursion check, also check whether CFA changes.
54363 (__backtrace): Completely initialize arg.
54365 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54366 storing incomplete byte sequence in state object. Avoid testing for
54367 guaranteed too small input if we know there is enough data available.
54369 2011-05-11 Andreas Schwab <schwab@redhat.com>
54371 * Makeconfig (+link-pie): Indent.
54372 * Rules (binaries-pie): Define if $(have-fpie) and
54374 (binaries-shared): Also filter out $(binaries-pie).
54375 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54376 * nscd/Makefile (others-pie): Add nscd.
54377 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54378 ($(objpfx)nscd): Remove command override.
54379 * login/Makefile (others-pie): Add pt_chown.
54380 ($(objpfx)pt_chown): Remove command override.
54381 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54382 remove command overrides.
54384 2011-05-13 Ulrich Drepper <drepper@gmail.com>
54386 * libio/tst_putwc.c: Fix error messages.
54389 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54390 currently writing and seek to current position when not.
54391 * libio/Makefile (tests): Add bug-fclose1.
54392 * libio/bug-fclose1.c: New file.
54394 2011-05-12 Ulrich Drepper <drepper@gmail.com>
54397 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54398 don't set DF_1_NODELETE here.
54399 (do_lookup_x): When entering new entry test for copy relocation
54400 and if necessary set DF_1_NODELETE flag.
54401 * elf/tst-unique4.cc: New file.
54402 * elf/tst-unique4.h: New file.
54403 * elf/tst-unique4lib.cc: New file.
54404 * elf/Makefile: Add rules to build and run tst-unique4.
54405 Patch by Piotr Bury <pbury@goahead.com>.
54407 2011-05-11 Ulrich Drepper <drepper@gmail.com>
54410 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54413 * misc/mntent_r.c (addmntent): Flush the stream after the output
54416 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54417 (is_trusted_path_normalize): Skip initial colon. Append slash
54418 to empty buffer. Duplicate is_trusted_path code but allow
54419 constructed patch to be prefix.
54420 (is_dst): Allow $ORIGIN followed by /.
54421 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54422 Correct testing of result of is_trusted_path_normalize
54423 (decompose_rpath): Fix warning.
54425 2011-05-10 Ulrich Drepper <drepper@gmail.com>
54428 * grp/initgroups.c (internal_getgrouplist): When we found the service
54429 list through the initgroups entry in nsswitch.conf do not always
54430 continue on a successful lookup. Don't always use the
54431 __nss_group_database value if it is set.
54432 * nss/nsswitch.conf (initgroups): Change action for successful db
54433 lookup to continue for compatibility.
54435 2011-05-09 Ulrich Drepper <drepper@gmail.com>
54438 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54440 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54442 * iconvdata/tst-tables.sh: Likewise.
54443 * iconvdata/cp770.c: New file.
54444 * iconvdata/cp771.c: New file.
54445 * iconvdata/cp772.c: New file.
54446 * iconvdata/cp773.c: New file.
54447 * iconvdata/cp774.c: New file.
54448 * iconvdata/testdata/CP770: New file.
54449 * iconvdata/testdata/CP770..UTF8: New file.
54450 * iconvdata/testdata/CP771: New file.
54451 * iconvdata/testdata/CP771..UTF8: New file.
54452 * iconvdata/testdata/CP772: New file.
54453 * iconvdata/testdata/CP772..UTF8: New file.
54454 * iconvdata/testdata/CP773: New file.
54455 * iconvdata/testdata/CP773..UTF8: New file.
54456 * iconvdata/testdata/CP774: New file.
54457 * iconvdata/testdata/CP774..UTF8: New file.
54459 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54461 * iconvdata/gen-8bit-gap.sh: Likewise.
54462 * iconvdata/gen-8bit.sh: Likewise.
54464 * locale/iso-639.def: Add ary entry.
54467 * locale/C-translit.h.in: Add U20A1 transliteration.
54470 * locale/iso-639.def: Add wae entry.
54471 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54474 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54478 * locale/C-translit.h.in: Add entry for U20B9.
54479 Patch by pravin.d.s@gmail.com.
54481 2011-05-08 Ulrich Drepper <drepper@gmail.com>
54484 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54485 ENAMETOOLONG use generic getcwd.
54486 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54487 in rtld. Use *stat64.
54488 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54489 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54490 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54491 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54492 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54493 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54494 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54495 __fstatat64 macros.
54496 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54497 * dirent/rewinddir.c: Add libc_hidden_def.
54498 * sysdeps/mach/hurd/rewinddir.c: Likewise.
54499 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
54501 * include/dirent.h (__alloc_dir): Add flags parameter.
54502 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54503 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54505 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54506 from fdopendir if O_CLOEXEC is already set.
54508 2011-03-15 Alan Modra <amodra@gmail.com>
54510 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54511 l_tls_firstbyte_offset non-zero. Save padding offset in
54512 l_tls_firstbyte_offset for later use.
54513 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54514 freeing static tls block.
54516 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54518 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54519 where #ifdef was intended. The intent is to prevent ARG_MAX from
54520 being defined by the kernel headers.
54522 2011-05-07 Ulrich Drepper <drepper@gmail.com>
54525 * resolv/resolv.h: Define RES_NOTLDQUERY.
54526 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54527 no-tld-query and set RES_NOTLDQUERY.
54528 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54529 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54530 modern BIND to search name as TLD unless forbidden.
54532 2011-05-07 Petr Baudis <pasky@suse.cz>
54533 Ulrich Drepper <drepper@gmail.com>
54536 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54537 (is_trusted_path): ...to here.
54538 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54539 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54540 using is_trusted_path_normalize() in setuid scripts.
54542 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54544 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54545 __BEGIN/__END_DECLS.
54547 2011-05-06 Ulrich Drepper <drepper@gmail.com>
54549 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54550 NSS_STATUS_NOTFOUND if no record was found.
54552 2011-05-05 Andreas Schwab <schwab@redhat.com>
54554 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54555 (headers-not-in-tirpc): Remove rpc/netdb.h
54556 * resolv/netdb.h: Revert last change.
54558 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54560 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54561 circular dependency between libgcc.a and libc.a.
54563 2011-05-05 Andreas Schwab <schwab@redhat.com>
54565 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54566 * nis/Makefile: Don't install rpcsvc/*.
54567 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54568 instead of <rpc/types.h>.
54569 (MAXHOSTNAMELEN): Define.
54571 2011-05-03 Andreas Schwab <schwab@redhat.com>
54573 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54575 2011-04-28 Maciej Babinski <mbabinski@google.com>
54578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54579 gethostbyname4_r when IPv6 results are possible.
54581 2011-05-02 Ulrich Drepper <drepper@gmail.com>
54584 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54585 _PC_PIPE_BUF handling.
54587 2011-04-30 Bruno Haible <bruno@clisp.org>
54590 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54591 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54593 * inet/getnameinfo.c (getnameinfo): Likewise.
54595 2011-04-29 Ulrich Drepper <drepper@gmail.com>
54597 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54598 to groups setting in database lookup.
54599 * nss/nsswitch.conf: Add initgroups entry.
54601 2011-04-22 Ulrich Drepper <drepper@gmail.com>
54604 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54606 Patch by Eric Blake <eblake@redhat.com>.
54608 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54610 * sunrpc/Makefile (need-export-routines): Add svc_run.
54611 (routines): Remove svc_run.
54612 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54613 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54614 * sunrpc/svc_run.c (svc_run): Likewise.
54615 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54617 2011-04-21 Ulrich Drepper <drepper@gmail.com>
54619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54620 problem in reallocation in last patch.
54622 2011-04-20 Ulrich Drepper <drepper@gmail.com>
54624 * sunrpc/Makefile: Move inclusion of Rules.
54626 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54628 * nss/nss_files/files-initgroups.c: New file.
54629 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54630 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54631 _nss_files_initgroups_dyn.
54633 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54635 * elf/elf.h (R_ARM_IRELATIVE): Define.
54637 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54639 * po/ru.po: Update from translation team.
54641 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54643 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54646 2011-02-06 Mike Frysinger <vapier@gentoo.org>
54649 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54650 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54652 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54653 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54655 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54657 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54659 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54660 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54661 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54663 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54666 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54668 * stdlib/bug-getcontext.c: New file.
54669 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54671 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54673 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54674 instructions into .machine "z9-109".
54675 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54676 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54678 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54680 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54681 between environment variables and auxiliary vector.
54683 2011-04-16 Ulrich Drepper <drepper@gmail.com>
54685 * Makefile: Add rules to build linkobj/libc.so.
54686 * include/libc-symbols.h: Define libc_hidden_nolink.
54687 * include/rpc/auth.h: Mark functions which are to be hidden.
54688 * include/rpc/auth_des.h: Likewise.
54689 * include/rpc/auth_unix.h: Likewise.
54690 * include/rpc/clnt.h: Likewise.
54691 * include/rpc/des_crypt.h: Likewise.
54692 * include/rpc/key_prot.h: Likewise.
54693 * include/rpc/pmap_clnt.h: Likewise.
54694 * include/rpc/pmap_prot.h: Likewise.
54695 * include/rpc/pmap_rmt.h: Likewise.
54696 * include/rpc/rpc_msg.h: Likewise.
54697 * include/rpc/svc.h: Likewise.
54698 * include/rpc/svc_auth.h: Likewise.
54699 * include/rpc/xdr.h: Likewise.
54700 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54701 * nss/Makefile: Likewise.
54702 * sunrpc/Makefile: Don't install headers. Build library with normal
54703 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54704 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54705 for the compat linking library. Remove use of INTDEF/INTUSE.
54706 * sunrpc/auth_none.c: Likewise.
54707 * sunrpc/auth_unix.c: Likewise.
54708 * sunrpc/authdes_prot.c: Likewise.
54709 * sunrpc/authuxprot.c: Likewise.
54710 * sunrpc/clnt_gen.c: Likewise.
54711 * sunrpc/clnt_perr.c: Likewise.
54712 * sunrpc/clnt_raw.c: Likewise.
54713 * sunrpc/clnt_simp.c: Likewise.
54714 * sunrpc/clnt_tcp.c: Likewise.
54715 * sunrpc/clnt_udp.c: Likewise.
54716 * sunrpc/clnt_unix.c: Likewise.
54717 * sunrpc/des_crypt.c: Likewise.
54718 * sunrpc/des_soft.c: Likewise.
54719 * sunrpc/get_myaddr.c: Likewise.
54720 * sunrpc/key_call.c: Likewise.
54721 * sunrpc/key_prot.c: Likewise.
54722 * sunrpc/netname.c: Likewise.
54723 * sunrpc/pm_getmaps.c: Likewise.
54724 * sunrpc/pm_getport.c: Likewise.
54725 * sunrpc/pmap_clnt.c: Likewise.
54726 * sunrpc/pmap_prot.c: Likewise.
54727 * sunrpc/pmap_prot2.c: Likewise.
54728 * sunrpc/pmap_rmt.c: Likewise.
54729 * sunrpc/publickey.c: Likewise.
54730 * sunrpc/rpc_cmsg.c: Likewise.
54731 * sunrpc/rpc_common.c: Likewise.
54732 * sunrpc/rpc_dtable.c: Likewise.
54733 * sunrpc/rpc_prot.c: Likewise.
54734 * sunrpc/rpc_thread.c: Likewise.
54735 * sunrpc/rtime.c: Likewise.
54736 * sunrpc/svc.c: Likewise.
54737 * sunrpc/svc_auth.c: Likewise.
54738 * sunrpc/svc_authux.c: Likewise.
54739 * sunrpc/svc_raw.c: Likewise.
54740 * sunrpc/svc_run.c: Likewise.
54741 * sunrpc/svc_simple.c: Likewise.
54742 * sunrpc/svc_tcp.c: Likewise.
54743 * sunrpc/svc_udp.c: Likewise.
54744 * sunrpc/svc_unix.c: Likewise.
54745 * sunrpc/svcauth_des.c: Likewise.
54746 * sunrpc/xcrypt.c: Likewise.
54747 * sunrpc/xdr.c: Likewise.
54748 * sunrpc/xdr_array.c: Likewise.
54749 * sunrpc/xdr_float.c: Likewise.
54750 * sunrpc/xdr_intXX_t.c: Likewise.
54751 * sunrpc/xdr_mem.c: Likewise.
54752 * sunrpc/xdr_rec.c: Likewise.
54753 * sunrpc/xdr_ref.c: Likewise.
54754 * sunrpc/xdr_sizeof.c: Likewise.
54755 * sunrpc/xdr_stdio.c: Likewise.
54757 2011-04-10 Ulrich Drepper <drepper@gmail.com>
54760 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54761 * sysdeps/ia64/dl-tls.h: Likewise.
54762 * sysdeps/powerpc/dl-tls.h: Likewise.
54763 * sysdeps/s390/dl-tls.h: Likewise.
54764 * sysdeps/sh/dl-tls.h: Likewise.
54765 * sysdeps/sparc/dl-tls.h: Likewise.
54766 * sysdeps/x86_64/dl-tls.h: Likewise.
54767 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54769 2011-03-14 Andreas Schwab <schwab@redhat.com>
54771 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54772 rpath element also skip the following colon.
54773 (expand_dynamic_string_token): Add is_path parameter and pass
54774 down to DL_DST_REQUIRED and _dl_dst_substitute.
54775 (decompose_rpath): Call expand_dynamic_string_token with
54776 non-zero is_path. Ignore empty rpaths.
54777 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54780 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54785 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54788 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54789 Patch by Filipe David Manana <fdmanana@apache.org>.
54791 2011-04-07 Andreas Schwab <schwab@redhat.com>
54793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54794 Maintain aligned stack.
54795 (CHECK_RSP): Remove unused macro.
54797 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54799 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54800 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54802 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54804 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54806 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54808 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54811 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54812 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54813 * sysdeps/x86_64/memmove.c: New file.
54814 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54815 (memcpy): Renamed to ...
54816 (__new_memcpy): This.
54817 (memcpy): Provide GLIBC_2_14 memcpy.
54818 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54819 (memcpy): Provide GLIBC_2_2_5 memcpy.
54821 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54824 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54826 2011-03-30 Andreas Schwab <schwab@redhat.com>
54828 * misc/syncfs.c: New file.
54829 * misc/Makefile (routines): Add syncfs.
54830 * posix/unistd.h: Declare syncfs.
54831 * sysdeps/unix/syscalls.list: Add syncfs.
54833 2011-04-01 Andreas Schwab <schwab@redhat.com>
54835 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54838 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54840 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54842 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54843 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54845 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54849 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54851 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54853 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54855 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54856 sync_file_range.c with -fexceptions.
54857 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54858 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54859 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54860 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54861 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54862 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54864 sync_file_range as cancellation point
54865 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54866 now a wrapper around __call_sync_file_range with cancellation handling.
54867 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54868 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54869 function name to __call_sync_file_range.
54870 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54871 Add call_sync_file_range.
54873 2011-04-01 Andreas Schwab <schwab@redhat.com>
54875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54878 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54880 * iconv/iconv.h: Fix typo in comment.
54881 * io/fcntl.h: Likewise.
54882 * libio/stdio.h: Likewise.
54883 * posix/spawn.h: Likewise.
54884 * posix/unistd.h: Likewise.
54885 * stdlib/stdlib.h: Likewise.
54886 * time/time.h: Likewise.
54887 * wcsmbs/wchar.h: Likewise.
54889 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54890 open_by_handle): Add.
54891 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54892 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54893 Augment a few comments.
54894 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54898 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54899 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54902 * io/fcntl.h (AT_EMPTY_PATH): Define.
54904 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54906 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54907 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54908 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54910 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54911 * Versions.def: Add GLIBC_2.14.
54912 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54915 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54917 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54919 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54921 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54924 * string/test-strncmp.c (do_page_test): New function.
54925 (check2): Likewise.
54926 (test_main): Call check2.
54927 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54929 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54932 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54933 Handle cache information in CPU leaf 4.
54934 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54936 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54939 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54940 character representation.
54941 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54943 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54945 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54946 END(__isnan) to END(__isnanf) to match function entry point/label
54947 EALIGN(__isnanf,...).
54949 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54951 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54953 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54956 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54957 copy from the symbol referenced in the relocation to initialize the
54959 Patch by Piotr Bury <pbury@goahead.com>.
54960 * elf/Makefile: Add rules to build and tst-unique3.
54961 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54962 * elf/tst-unique3.cc: New file.
54963 * elf/tst-unique3.h: New file.
54964 * elf/tst-unique3lib.cc: New file.
54965 * elf/tst-unique3lib2.cc: New file.
54967 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54969 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54971 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54972 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54975 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54977 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54978 to-be-loaded object along a path to loader is ld.so.
54980 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54981 Ulrich Drepper <drepper@gmail.com>
54983 * sysdeps/x86_64/memset.S: After aligning destination, code
54984 branches to different locations depending on the value of
54985 misalignment, when multiarch is enabled. Fix this.
54987 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54989 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54990 Set _x86_64_preferred_memory_instruction for AMD processsors.
54991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54992 Set bit_Prefer_SSE_for_memop for AMD processors.
54994 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54996 * libio/fmemopen.c (fmemopen): Optimize a bit.
54998 2011-03-03 Andreas Schwab <schwab@redhat.com>
55000 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55002 2011-03-03 Roland McGrath <roland@redhat.com>
55004 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55006 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55008 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55009 __bzero_ultra1 instead of __memset_ultra1.
55011 2011-02-23 Andreas Schwab <schwab@redhat.com>
55012 Ulrich Drepper <drepper@gmail.com>
55015 * include/link.h (struct link_map): Add l_orig_initfini.
55016 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55017 returning unsuccessfully.
55018 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55019 close of a file loaded at startup, restore the original l_initfini
55021 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55022 list, store the pointer.
55023 * elf/Makefile ($(objpfx)noload-mem): New rule.
55024 (noload-ENV): Define.
55025 (tests): Add $(objpfx)noload-mem.
55026 * elf/noload.c: Include <memcheck.h>.
55027 (main): Call mtrace. Close all opened handles.
55029 2011-02-17 Andreas Schwab <schwab@redhat.com>
55032 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55033 dependencies are missing.
55035 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55037 Fix __if_freereq crash: Unlike the generic version which uses free,
55039 * sysdeps/mach/hurd/ifreq.h: New file.
55041 2011-01-27 Petr Baudis <pasky@suse.cz>
55042 Ulrich Drepper <drepper@gmail.com>
55045 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55046 to extend_alloca().
55047 * stdio-common/bug23.c: New file.
55048 * stdio-common/Makefile (tests): Add bug23.
55050 2010-09-28 Andreas Schwab <schwab@redhat.com>
55051 Ulrich Drepper <drepper@gmail.com>
55054 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55055 before performing relro protection. At old place add assertion
55056 to make sure nothing changed.
55058 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55059 Glauber de Oliveira Costa <glommer@gmail.com>
55061 * elf/elf.h: Add new ARM TLS relocs.
55063 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55066 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55068 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55070 * sysdeps/wordsize-64/tst-writev.c: New file.
55072 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55074 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55075 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55076 insns in _dl_start to prevent a TOC reference before relocs are
55079 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55082 * Makeconfig: Remove RANLIB definition.
55083 * Makerules: Don't use RANLIB.
55084 * aclocal.m4: Remove ranlib test.
55085 * configure.in: No need to check for ranlib.
55086 * elf/rtld-Rules: Don't use RANLIB.
55088 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55090 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55092 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55093 inclusion protection macro.
55095 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55096 SIGRTMIN and SIGRTMAX and print information in that case only when
55097 SIGRTMIN is defined.
55099 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55101 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55102 arginfo fn returning -1.
55104 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55105 and thousands string is zero terminated.
55107 2011-02-03 Andreas Schwab <schwab@redhat.com>
55109 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55110 sysdeps/unix/sysv/linux/bits/socket.h.
55112 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55114 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55115 (__CPU_COUNT): Remove old macros.
55116 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55117 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55118 (__CPU_ALLOC, __CPU_FREE): Add macros.
55119 (__sched_cpualloc, __sched_cpufree): Add declarations.
55121 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55123 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55124 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55125 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55126 (readdhstai): Return value of addhstaiX call.
55127 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55128 (addgrbyX): Return value returned by cache_addgr.
55129 (readdgrbyname): Return value returned by addgrbyX.
55130 (readdgrbygid): Likewise.
55131 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55132 (addpwbyX): Return value returned by cache_addpw.
55133 (readdpwbyname): Return value returned by addhstbyX.
55134 (readdpwbyuid): Likewise.
55135 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55136 (addservbyX): Return value returned by cache_addserv.
55137 (readdservbyname): Return value returned by addservbyX:
55138 (readdservbyport): Likewise.
55139 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55140 (addhstbyX): Return value returned by cache_addhst.
55141 (readdhstbyname): Return value returned by addhstbyX.
55142 (readdhstbyaddr): Likewise.
55143 (readdhstbynamev6): Likewise.
55144 (readdhstbyaddrv6): Likewise.
55145 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55146 (readdinitgroups): Return value returned by addinitgroupsX.
55147 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55148 (prune_cache): Keep track of timeout value of re-added entries.
55149 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55150 * nscd/nscd.h: Adjust prototypes of readd* functions.
55152 2011-02-04 Roland McGrath <roland@redhat.com>
55154 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55155 (nis_stats): Likewise.
55156 * nis/nis_modify.c (nis_modify): Likewise.
55157 * nis/nis_remove.c (nis_remove): Likewise.
55158 * nis/nis_add.c (nis_add): Likewise.
55160 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55162 * posix/fnmatch_loop.c: Add some consts.
55164 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55166 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55169 * config.make.in (config-cflags-novzeroupper): Define.
55170 * configure.in: Substitute libc_cv_cc_novzeroupper.
55171 * elf/Makefile (AVX-CFLAGS): Define.
55172 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55173 (CFLAGS-tst-auditmod4a.c): Likewise.
55174 (CFLAGS-tst-auditmod4b.c): Likewise.
55175 (CFLAGS-tst-auditmod6b.c): Likewise.
55176 (CFLAGS-tst-auditmod6c.c): Likewise.
55177 (CFLAGS-tst-auditmod7b.c): Likewise.
55178 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55180 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55182 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55183 function to the callback.
55184 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55186 2011-02-02 Andreas Schwab <schwab@redhat.com>
55188 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55191 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55194 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55196 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55198 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55201 * elf/Makefile: Add rules to build and run new test.
55202 * elf/tst-initorder.c: New file.
55203 * elf/tst-initorder.exp: New file.
55204 * elf/tst-initordera1.c: New file.
55205 * elf/tst-initordera2.c: New file.
55206 * elf/tst-initordera3.c: New file.
55207 * elf/tst-initordera4.c: New file.
55208 * elf/tst-initorderb1.c: New file.
55209 * elf/tst-initorderb2.c: New file.
55210 * elf/tst-order-a1.c: New file.
55211 * elf/tst-order-a2.c: New file.
55212 * elf/tst-order-a3.c: New file.
55213 * elf/tst-order-a4.c: New file.
55214 * elf/tst-order-b1.c: New file.
55215 * elf/tst-order-b2.c: New file.
55216 * elf/tst-order-main.c: New file.
55217 New test case by George Gensure <werkt0@gmail.com>.
55219 2010-10-01 Andreas Schwab <schwab@redhat.com>
55221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55222 decoding ACE if AI_CANONIDN.
55224 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55226 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55228 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55230 * version.h (RELEASE): Bump for 2.13 release.
55231 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55233 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55235 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55237 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55238 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55239 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55240 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55241 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55244 * posix/getconf.c: Update copyright year.
55245 * catgets/gencat.c: Likewise.
55246 * csu/version.c: Likewise.
55247 * debug/catchsegv.sh: Likewise.
55248 * debug/xtrace.sh: Likewise.
55249 * elf/ldconfig.c: Likewise.
55250 * elf/ldd.bash.in: Likewise.
55251 * elf/sprof.c (print_version): Likewise.
55252 * iconv/iconv_prog.c: Likewise.
55253 * iconv/iconvconfig.c: Likewise.
55254 * locale/programs/locale.c: Likewise.
55255 * locale/programs/localedef.c: Likewise.
55256 * malloc/memusage.sh: Likewise.
55257 * malloc/mtrace.pl: Likewise.
55258 * nscd/nscd.c (print_version): Likewise.
55259 * nss/getent.c: Likewise.
55261 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55262 PF_CAIF, and PF_ALG.
55263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55265 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55267 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55268 (modules-names): Use them.
55269 (ifunc-test-modules, ifunc-pie-tests): Define.
55270 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55271 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55272 (test-extras): Likewise.
55273 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55274 $(compile-command.c).
55275 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55276 (all-built-dso): Define.
55277 (check-textrel.out, check-execstack.out): Depend on it.
55279 * configure.in: Don't override --enable-multi-arch.
55281 2011-01-15 Ulrich Drepper <drepper@gmail.com>
55284 * nscd/hstcache.c (tryagain): Define.
55285 (cache_addhst): Return tryagain not notfound for temporary errors.
55286 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55289 2011-01-14 Ulrich Drepper <drepper@gmail.com>
55292 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55293 to make the syscall.
55294 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55297 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55298 and fall back to matching as normal character if the string ends before
55299 the matching ']' is found. This is what POSIX requires.
55300 * posix/testfnm.c: Adjust test result.
55301 * posix/globtest.sh: Adjust test result. Add new test.
55302 * posix/tst-fnmatch.input: Likewise.
55303 * posix/tst-fnmatch2.c: Add new test.
55305 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55307 * elf/Makefile (check-execstack): Revert last change. Depend on
55309 (check-execstack.h): New target.
55310 (generated): Add check-execstack.h.
55311 * elf/check-execstack.c: Include "check-execstack.h".
55312 (main): Revert last change.
55313 (handle_file): Return zero if GNU_STACK is absent and
55314 DEFAULT_STACK_PERMS doesn't include PF_X.
55316 2011-01-13 Ulrich Drepper <drepper@gmail.com>
55318 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55319 in child fails because the descriptor is already closed.
55320 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55321 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55322 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55325 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55329 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55330 temporary buffer used to handle multi lookups locally.
55331 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55333 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55335 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55338 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55340 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55341 alignment for SSE2.
55343 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55346 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55347 characters. When rounding increased number of integer digits recompute
55349 * stdio-common/tst-grouping.c: New file.
55350 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55352 2011-01-09 Ulrich Drepper <drepper@gmail.com>
55354 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55355 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55357 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55359 * bits/select.h: Likewise.
55361 2011-01-08 Ulrich Drepper <drepper@gmail.com>
55363 * po/ja.po: Update from translation team.
55365 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
55368 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55369 implementation just like for lxstat, fxstatat, et al.
55371 2010-12-27 Jim Meyering <meyering@redhat.com>
55374 * posix/regexec.c (build_trtable): Return failure indication upon
55375 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55377 2010-12-25 Ulrich Drepper <drepper@gmail.com>
55380 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55381 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55382 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55383 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55386 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55389 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55390 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55392 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55394 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55395 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55396 script has SORT_BY_INIT_PRIORITY.
55397 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55398 NO_CTORS_DTORS_SECTIONS is defined.
55399 * elf/soinit.c: Likewise.
55400 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55401 NO_CTORS_DTORS_SECTIONS is defined.
55402 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55403 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55404 * sysdeps/sh/init-first.c: Likewise.
55405 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55407 2010-12-24 Ulrich Drepper <drepper@gmail.com>
55409 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55410 always use the slow path.
55412 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55414 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55415 similar rule which adds the sysdep directories to the header search in
55416 order to pick up the correct platform stackinfo.h.
55417 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55418 perform test if it is, otherwise return successfully without testing.
55419 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55420 DEFAULT_STACK_PERMS define in stackinfo.h.
55421 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55422 defined in stackinfo.h.
55423 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55424 DEFAULT_STACK_PERMS defined in stackinfo.h.
55425 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55426 * sysdeps/ia64/stackinfo.h: Likewise.
55427 * sysdeps/s390/stackinfo.h: Likewise.
55428 * sysdeps/sh/stackinfo.h: Likewise.
55429 * sysdeps/sparc/stackinfo.h: Likewise.
55430 * sysdeps/x86_64/stackinfo.h: Likewise.
55431 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55432 PF_X for powerpc64. Retain PF_X for powerpc32.
55434 2010-12-19 Ulrich Drepper <drepper@gmail.com>
55436 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55438 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55439 GETDENTS_64BIT_ALIGNED.
55441 2010-12-14 Ulrich Drepper <dreper@gmail.com>
55443 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55445 2010-12-10 Andreas Schwab <schwab@redhat.com>
55447 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55450 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55451 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55453 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55454 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55456 2010-12-09 Ulrich Drepper <drepper@gmail.com>
55459 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55462 2010-12-09 Jakub Jelinek <jakub@redhat.com>
55464 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55466 2010-12-03 Ulrich Drepper <drepper@gmail.com>
55468 * po/it.po: Update from translation team.
55470 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55475 2010-11-30 Ulrich Drepper <drepper@gmail.com>
55477 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55479 2010-11-24 Andreas Schwab <schwab@redhat.com>
55481 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55483 (gaih_getanswer_slice): Likewise.
55485 2010-10-20 Jakub Jelinek <jakub@redhat.com>
55487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55489 2010-05-31 Petr Baudis <pasky@suse.cz>
55492 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55493 silently even in the chroot mode.
55495 2010-11-22 Ulrich Drepper <drepper@gmail.com>
55497 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55498 last patch a bit. Pretty printing
55500 2010-05-31 Petr Baudis <pasky@suse.cz>
55503 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55504 initialization of skip_initgroups_dyn.
55506 2010-11-19 Ulrich Drepper <drepper@gmail.com>
55508 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55511 2010-11-16 Ulrich Drepper <drepper@gmail.com>
55513 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55515 2010-11-11 Andreas Schwab <schwab@redhat.com>
55517 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55518 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55519 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55520 ($(objpfx)tst-fnmatch-mem): New rule.
55521 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55522 * posix/tst-fnmatch.c (main): Call mtrace.
55524 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55527 Support Intel processor model 6 and model 0x2c.
55529 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
55531 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55534 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55537 * string/test-strncasecmp.c (check_result): New function.
55538 (do_one_test): Use it.
55539 (check1): New function.
55540 (test_main): Use it.
55541 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55542 Support strcasecmp and strncasecmp.
55544 2010-11-08 Ulrich Drepper <drepper@gmail.com>
55547 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55548 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55550 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55552 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55556 * sysdeps/x86_64/multiarch/bzero.S: New file.
55557 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55558 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55559 * sysdeps/x86_64/multiarch/memset.S: New file.
55560 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55562 Set bit_Prefer_SSE_for_memop for Intel processors.
55563 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55565 (index_Prefer_SSE_for_memop): Define.
55566 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55568 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
55570 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55571 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55573 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55576 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55577 (__x86_64_raw_data_cache_size_half): Likewise.
55578 (__x86_64_raw_shared_cache_size): Likewise.
55579 (__x86_64_raw_shared_cache_size_half): Likewise.
55581 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55582 (__x86_64_raw_data_cache_size_half): Likewise.
55583 (__x86_64_raw_shared_cache_size): Likewise.
55584 (__x86_64_raw_shared_cache_size_half): Likewise.
55585 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55586 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55587 and __x86_64_raw_shared_cache_size_half. Round
55588 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55589 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55590 to multiple of 256 bytes.
55592 2010-11-03 Ulrich Drepper <drepper@gmail.com>
55595 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55596 of inacessible symlinks. Verify result of symlink before returning it.
55597 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55598 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55600 2010-10-28 Erich Ritz <erichritz@gmail.com>
55602 * math/math.h (isinf): Fix typo in comment.
55604 2010-11-01 Ulrich Drepper <drepper@gmail.com>
55606 * po/da.po: Update from translation team.
55608 2010-10-26 Ulrich Drepper <drepper@gmail.com>
55610 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55611 is added to the list.
55613 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55614 Ulrich Drepper <drepper@gmail.com>
55616 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55617 the global list here. Move code to...
55618 (_dl_add_to_namespace_list): ...here. New function.
55619 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55620 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55621 * elf/dl-load.c (lose): Don't remove the element from the list.
55622 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55623 (_dl_map_object): Likewise.
55625 2010-10-25 Ulrich Drepper <drepper@gmail.com>
55628 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55629 into all bytes of SSE register.
55630 Patch by Richard Li <richardpku@gmail.com>.
55632 2010-10-24 Ulrich Drepper <drepper@gmail.com>
55635 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55638 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55640 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55641 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55642 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55643 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55648 2010-10-22 Andreas Schwab <schwab@redhat.com>
55650 * include/dlfcn.h (__RTLD_SECURE): Define.
55651 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55652 mode & __RTLD_SECURE instead.
55653 (open_path): Rename preloaded parameter to secure.
55654 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55655 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55656 * elf/dl-deps.c (openaux): Likewise.
55657 * elf/rtld.c (struct map_args): Remove is_preloaded.
55658 (map_doit): Don't use it.
55659 (dl_main): Likewise.
55660 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55661 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55663 2010-09-09 Andreas Schwab <schwab@redhat.com>
55665 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55666 (sysd-rules-targets): Remove duplicates.
55667 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55668 rtld-%.$o dependency.
55670 2010-10-18 Andreas Schwab <schwab@redhat.com>
55672 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55673 _dl_map_object do it.
55675 2010-10-19 Ulrich Drepper <drepper@gmail.com>
55677 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55678 fast fma builtins, define the macros in the C99 standard.
55679 (FP_FAST_FMAF): Likewise.
55680 (FP_FAST_FMAL): Likewise.
55681 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55683 * bits/mathdef.h: Update copyright year.
55684 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55686 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55688 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55689 builtins, define the macros in the C99 standard.
55690 (FP_FAST_FMAF): Likewise.
55691 (FP_FAST_FMAL): Likewise.
55692 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55694 (FP_FAST_FMAF): Likewise.
55696 2010-10-15 Jakub Jelinek <jakub@redhat.com>
55699 * math/libm-test.inc (fma_test): Some new testcases.
55700 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55701 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55702 y and infinite z. Do multiplication by C already in long double.
55703 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55705 y and infinite z. Do bitwise or of inexact bit into u.d.
55706 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55707 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55708 * sysdeps/i386/fpu/s_fma.S: Removed.
55709 * sysdeps/i386/fpu/s_fmal.S: Removed.
55711 2010-10-16 Jakub Jelinek <jakub@redhat.com>
55714 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55716 computation is not scheduled after fetestexcept. Fix value
55717 of minimum denormal long double.
55719 2010-10-14 Jakub Jelinek <jakub@redhat.com>
55722 * math/libm-test.inc (fma_test): Add some more tests.
55723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55726 2010-10-15 Andreas Schwab <schwab@redhat.com>
55728 * scripts/data/localplt-s390-linux-gnu.data: New file.
55729 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55731 2010-10-13 Jakub Jelinek <jakub@redhat.com>
55734 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55735 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55737 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55739 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55741 if one of x and y is very large and the other is subnormal.
55742 * sysdeps/s390/fpu/s_fmaf.c: New file.
55743 * sysdeps/s390/fpu/s_fma.c: New file.
55744 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55745 * sysdeps/powerpc/fpu/s_fma.S: New file.
55746 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55747 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55748 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55750 2010-10-12 Jakub Jelinek <jakub@redhat.com>
55753 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55755 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55756 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55757 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55758 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55759 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55760 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55761 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55763 2010-10-12 Ulrich Drepper <drepper@redhat.com>
55766 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55767 * posix/bug-regex31.input: Add test case.
55769 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55771 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55772 * posix/bug-regex31.input: New file.
55775 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55776 (parse_sub_exp): Fix last change, use postorder.
55778 * posix/bug-regex31.c: New file.
55779 * posix/Makefile: Add rules to build and run bug-regex31.
55781 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55784 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55787 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55788 to have entries in sys_siglist.
55791 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55794 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55797 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55798 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55799 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55800 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55801 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55802 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55803 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55804 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55805 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55806 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55807 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55808 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55809 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55810 * math/ftestexcept.c (fetestexcept): Likewise.
55811 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55812 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55813 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55814 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55815 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55816 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55817 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55819 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55822 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55825 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55827 * string/bug-strstr1.c: New file.
55828 * string/Makefile: Add rules to build and run bug-strstr1.
55830 2010-10-05 Eric Blake <eblake@redhat.com>
55833 * string/str-two-way.h (two_way_long_needle): Always clear memory
55834 when skipping input due to the shift table.
55836 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55839 * malloc/mcheck.c: Handle large requests.
55842 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55843 for strncmp and strncasecmp.
55844 * string/stratcliff.c: Add tests for strcmp and strncmp.
55845 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55847 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55849 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55852 2010-09-30 Andreas Jaeger <aj@suse.de>
55854 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55855 (CGROUP_SUPER_MAGIC): Define.
55856 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55857 Handle btrfs and cgroup file systems.
55858 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55861 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55863 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55864 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55866 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55869 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55870 trying to locate the ELF header.
55872 2010-09-27 Andreas Schwab <schwab@redhat.com>
55875 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55876 Mask out sign-bit copies when constructing f_fsid.
55878 2010-09-24 Petr Baudis <pasky@suse.cz>
55880 * debug/stack_chk_fail_local.c: Add missing licence exception.
55881 * debug/warning-nop.c: Likewise.
55883 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55885 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55886 implementing getdents64 using getdents syscall, set d_type if
55887 __ASSUME_GETDENTS32_D_TYPE.
55889 2010-09-16 Andreas Schwab <schwab@redhat.com>
55891 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55892 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55894 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55897 * posix/unistd.h: Undo change of feature selection for ftruncate from
55900 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55902 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55905 2010-09-20 Andreas Schwab <schwab@redhat.com>
55907 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55909 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55911 2010-09-14 Andreas Schwab <schwab@redhat.com>
55913 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55914 variables after CHECK_SP call.
55915 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55917 2010-09-13 Andreas Schwab <schwab@redhat.com>
55918 Ulrich Drepper <drepper@redhat.com>
55920 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55921 re-relocationg ld.so.
55922 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55923 _dl_init_paths call.
55924 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55927 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55929 * resolv/res_init.c (__res_vinit): Count the default server we added.
55931 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55932 Ulrich Drepper <drepper@redhat.com>
55935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55936 (____longjmp_chk): Use %ebx for saving value across system call.
55939 2010-09-06 Andreas Schwab <schwab@redhat.com>
55941 * manual/Makefile: Don't mix pattern rules with normal rules.
55943 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55945 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55947 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55948 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55949 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55950 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55954 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55957 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55958 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55960 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55962 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55963 * sysdeps/x86_64/addmul_1.S: Likewise.
55964 * sysdeps/x86_64/lshift.S: Likewise.
55965 * sysdeps/x86_64/mul_1.S: Likewise.
55966 * sysdeps/x86_64/rshift.S: Likewise.
55967 * sysdeps/x86_64/sub_n.S: Likewise.
55968 * sysdeps/x86_64/submul_1.S: Likewise.
55970 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55972 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55973 Define __sched_param instead of SCHED_* and sched_param when
55974 <bits/sched.h> is included with __need_schedparam defined.
55975 * bits/sched.h [__need_schedparam]
55976 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55977 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55978 (__defined_schedparam): Define to 1.
55979 (__sched_param): New structure, identical to sched_param.
55980 (__need_schedparam): Undefine.
55982 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55984 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55985 (epoll_create1): Declare.
55987 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55989 2010-08-31 Andreas Schwab <schwab@redhat.com>
55992 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55993 shifting retval into place.
55995 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55997 * nis/rpcsvc/nis.h: Update copyright notice.
55998 * nis/rpcsvc/nis.x: Likewise.
55999 * nis/rpcsvc/nis_callback.h: Likewise.
56000 * nis/rpcsvc/nis_callback.x: Likewise.
56001 * nis/rpcsvc/nis_object.x: Likewise.
56002 * nis/rpcsvc/nis_tags.h: Likewise.
56003 * nis/rpcsvc/yp.h: Likewise.
56004 * nis/rpcsvc/yp.x: Likewise.
56005 * nis/rpcsvc/ypupd.h: Likewise.
56006 * nis/yp_xdr.c: Likewise.
56007 * nis/ypupdate_xdr.c: Likewise.
56009 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56010 mainly the body of pmap_getport. Add parameters to specify timeouts.
56011 (pmap_getport): Use __libc_rpc_getport.
56012 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56013 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56014 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56016 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56021 2010-08-27 Roland McGrath <roland@redhat.com>
56023 * sysdeps/i386/i686/multiarch/Makefile
56024 (CFLAGS-varshift.c): New variable.
56026 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56028 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56029 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56031 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56033 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56035 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56037 * sysdeps/x86_64/strlen.S: Unroll the loop.
56038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56039 strlen-sse2 strlen-sse2-bsf.
56040 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56041 __strlen_no_bsf if bit_Slow_BSF is set.
56042 (__strlen_sse42): Removed.
56043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56044 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56046 2010-08-25 Roland McGrath <roland@redhat.com>
56048 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56049 * sysdeps/x86_64/multiarch/varshift.c: New file.
56050 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56051 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56052 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56053 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56055 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56058 strlen-sse2 strlen-sse2-bsf.
56059 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56060 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56061 (__strlen_sse2): Removed.
56062 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56063 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56065 bit_Slow_BSF for Atom.
56066 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56067 (index_Slow_BSF): Define.
56068 (HAS_SLOW_BSF): Define.
56070 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56073 * resolv/res_init.c (__res_vinit): When no server address at all
56074 is given default to loopback.
56076 2010-08-24 Roland McGrath <roland@redhat.com>
56078 * configure.in: Remove config-name.h generation.
56079 * configure: Regenerated.
56080 * config-name.in: File removed.
56081 * scripts/config-uname.sh: New file.
56082 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56083 ($(objdir)config-name.h): New target.
56085 * sunrpc/rpc_parse.h: Avoid nested comment.
56087 2010-08-24 Richard Henderson <rth@redhat.com>
56088 Ulrich Drepper <drepper@redhat.com>
56089 H.J. Lu <hongjiu.lu@intel.com>
56091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56093 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56094 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56095 _mm_alignr_epi8 with _mm_loadu_si128.
56096 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56097 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56098 (__m128i_shift_right): Removed.
56099 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56100 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56101 * sysdeps/x86_64/multiarch/varshift.h: New file.
56102 * sysdeps/x86_64/multiarch/varshift.S: New file.
56104 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56106 * configure.in: Move assembler checks to before sysdep dir checking.
56108 2010-08-20 Petr Baudis <pasky@suse.cz>
56110 * LICENSES: Sync the sunrpc license.
56112 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56114 * sunrpc/auth_des.c: Update copyright notice once again.
56115 * sunrpc/auth_none.c: Likewise.
56116 * sunrpc/auth_unix.c: Likewise.
56117 * sunrpc/authdes_prot.c: Likewise.
56118 * sunrpc/authuxprot.c: Likewise.
56119 * sunrpc/bindrsvprt.c: Likewise.
56120 * sunrpc/clnt_gen.c: Likewise.
56121 * sunrpc/clnt_perr.c: Likewise.
56122 * sunrpc/clnt_raw.c: Likewise.
56123 * sunrpc/clnt_simp.c: Likewise.
56124 * sunrpc/clnt_tcp.c: Likewise.
56125 * sunrpc/clnt_udp.c: Likewise.
56126 * sunrpc/clnt_unix.c: Likewise.
56127 * sunrpc/des_crypt.c: Likewise.
56128 * sunrpc/des_soft.c: Likewise.
56129 * sunrpc/get_myaddr.c: Likewise.
56130 * sunrpc/getrpcport.c: Likewise.
56131 * sunrpc/key_call.c: Likewise.
56132 * sunrpc/key_prot.c: Likewise.
56133 * sunrpc/openchild.c: Likewise.
56134 * sunrpc/pm_getmaps.c: Likewise.
56135 * sunrpc/pm_getport.c: Likewise.
56136 * sunrpc/pmap_clnt.c: Likewise.
56137 * sunrpc/pmap_prot.c: Likewise.
56138 * sunrpc/pmap_prot2.c: Likewise.
56139 * sunrpc/pmap_rmt.c: Likewise.
56140 * sunrpc/rpc/auth.h: Likewise.
56141 * sunrpc/rpc/auth_unix.h: Likewise.
56142 * sunrpc/rpc/clnt.h: Likewise.
56143 * sunrpc/rpc/des_crypt.h: Likewise.
56144 * sunrpc/rpc/key_prot.h: Likewise.
56145 * sunrpc/rpc/netdb.h: Likewise.
56146 * sunrpc/rpc/pmap_clnt.h: Likewise.
56147 * sunrpc/rpc/pmap_prot.h: Likewise.
56148 * sunrpc/rpc/pmap_rmt.h: Likewise.
56149 * sunrpc/rpc/rpc.h: Likewise.
56150 * sunrpc/rpc/rpc_des.h: Likewise.
56151 * sunrpc/rpc/rpc_msg.h: Likewise.
56152 * sunrpc/rpc/svc.h: Likewise.
56153 * sunrpc/rpc/svc_auth.h: Likewise.
56154 * sunrpc/rpc/types.h: Likewise.
56155 * sunrpc/rpc/xdr.h: Likewise.
56156 * sunrpc/rpc_clntout.c: Likewise.
56157 * sunrpc/rpc_cmsg.c: Likewise.
56158 * sunrpc/rpc_common.c: Likewise.
56159 * sunrpc/rpc_cout.c: Likewise.
56160 * sunrpc/rpc_dtable.c: Likewise.
56161 * sunrpc/rpc_hout.c: Likewise.
56162 * sunrpc/rpc_main.c: Likewise.
56163 * sunrpc/rpc_parse.c: Likewise.
56164 * sunrpc/rpc_parse.h: Likewise.
56165 * sunrpc/rpc_prot.c: Likewise.
56166 * sunrpc/rpc_sample.c: Likewise.
56167 * sunrpc/rpc_scan.c: Likewise.
56168 * sunrpc/rpc_scan.h: Likewise.
56169 * sunrpc/rpc_svcout.c: Likewise.
56170 * sunrpc/rpc_tblout.c: Likewise.
56171 * sunrpc/rpc_util.c: Likewise.
56172 * sunrpc/rpc_util.h: Likewise.
56173 * sunrpc/rpcinfo.c: Likewise.
56174 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56175 * sunrpc/rpcsvc/key_prot.x: Likewise.
56176 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56177 * sunrpc/rpcsvc/mount.x: Likewise.
56178 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56179 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56180 * sunrpc/rpcsvc/rex.x: Likewise.
56181 * sunrpc/rpcsvc/rstat.x: Likewise.
56182 * sunrpc/rpcsvc/rusers.x: Likewise.
56183 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56184 * sunrpc/rpcsvc/spray.x: Likewise.
56185 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56186 * sunrpc/rtime.c: Likewise.
56187 * sunrpc/svc.c: Likewise.
56188 * sunrpc/svc_auth.c: Likewise.
56189 * sunrpc/svc_authux.c: Likewise.
56190 * sunrpc/svc_raw.c: Likewise.
56191 * sunrpc/svc_run.c: Likewise.
56192 * sunrpc/svc_simple.c: Likewise.
56193 * sunrpc/svc_tcp.c: Likewise.
56194 * sunrpc/svc_udp.c: Likewise.
56195 * sunrpc/svc_unix.c: Likewise.
56196 * sunrpc/svcauth_des.c: Likewise.
56197 * sunrpc/xcrypt.c: Likewise.
56198 * sunrpc/xdr.c: Likewise.
56199 * sunrpc/xdr_array.c: Likewise.
56200 * sunrpc/xdr_float.c: Likewise.
56201 * sunrpc/xdr_mem.c: Likewise.
56202 * sunrpc/xdr_rec.c: Likewise.
56203 * sunrpc/xdr_ref.c: Likewise.
56204 * sunrpc/xdr_sizeof.c: Likewise.
56205 * sunrpc/xdr_stdio.c: Likewise.
56207 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56210 2010-08-19 Andreas Schwab <schwab@redhat.com>
56212 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56214 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56216 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56217 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56218 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56219 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56220 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56221 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56222 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56223 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56224 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56225 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56226 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56227 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56228 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56229 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56231 2010-07-26 Anton Blanchard <anton@samba.org>
56233 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56234 * malloc/arena.c (heap_trim): Likewise.
56236 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56238 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56241 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56243 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56245 * sysdeps/i386/elf/Makefile: New file.
56247 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56249 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56250 from fanotify_init.
56251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56254 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56256 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56258 * sysdeps/multiarch/strcmp.S: Likewise.
56260 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56262 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56263 strncase_l-nonascii.
56264 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56265 Add strncase_l-ssse3.
56266 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56267 * sysdeps/x86_64/strcmp.S: Likewise.
56268 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56269 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56270 * sysdeps/x86_64/strncase.S: New file.
56271 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56272 * sysdeps/x86_64/strncase_l.S: New file.
56273 * string/Makefile (strop-tests): Add strncasecmp.
56274 * string/test-strncasecmp.c: New file.
56276 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56279 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56280 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56282 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56284 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56286 2010-08-12 Ulrich Drepper <drepper@redhat.com>
56288 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56289 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56290 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56292 2010-05-01 Alan Modra <amodra@gmail.com>
56294 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56295 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56296 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56297 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56298 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56299 tidying. Don't tail-call __sigjmp_save for static lib.
56300 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56302 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56303 (CALL_MCOUNT): Add eh info, and nop after bl.
56304 (TAIL_CALL_SYSCALL_ERROR): New macro.
56305 (PSEUDO_RET): Use it.
56306 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56307 Correct save location of integer regs and cr.
56308 (_dl_profile_resolve): Correct cr save location. Delete nops
56309 after bl when SHARED. Reduce cfi size a little by better
56310 placement of cfi directives.
56311 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56312 make a stack frame. Instead use parm save area as a temp.
56313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56314 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56316 Don't make a stack frame for parent, use parm save area.
56317 Increase child stack frame to 112 bytes. Don't save unused reg,
56318 and adjust reg usage. Set up cfi on error recovery and
56319 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56321 (__makecontext): Add dummy nop after jump to exit.
56322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56323 Use correct parm save area and cr save, reduce stack frame.
56324 Correct cfi for possible PSEUDO_RET frame setup.
56325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56326 Branch to local label emitted by PSEUDO_RET rather than
56329 2010-08-12 Andreas Schwab <schwab@redhat.com>
56332 * locale/programs/locale.c (print_assignment): New function.
56333 (show_locale_vars): Use it.
56335 2010-08-11 Ulrich Drepper <drepper@redhat.com>
56337 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56339 (struct statfs64): Likewise.
56340 (_STATFS_F_FLAGS): Define.
56341 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56342 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56343 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56344 (ST_VALID): Define locally.
56345 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56346 __statvfs_getflags, use the provided value.
56347 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56348 __ASSUME_STATFS_F_FLAGS.
56350 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56352 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56353 Add sys/fanotify.h.
56354 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56355 fanotify_mask for GLIBC_2.13.
56356 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56357 fanotify_init and fanotify_mark.
56358 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56359 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56361 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56363 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56364 prlimit64 for GLIBC_2.13.
56365 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56370 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56371 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56372 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56375 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56378 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56379 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56381 * nss/Makefile: Add rules to build and run tst-nss-test1.
56382 * shlib-versions: Add entry for libnss_test1.
56383 * nss/nss_test1.c: New file.
56384 * nss/tst-nss-test1.c: New file.
56386 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56387 (__nss_configure_lookup): Set appropriate entry in
56388 __nss_configure_lookup to true.
56389 * nss/nsswitch.h: Define enum with indeces of databases in
56390 databases and __nss_database_custom arrays. Declare
56391 __nss_database_custom.
56392 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56393 to avoid using nscd when custom rules are installed.
56394 * nss/getXXbyYY_r.c: Likewise.
56395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56397 * nss/nss_files/files-parse.c: Whitespace fixes.
56399 2010-08-09 Ulrich Drepper <drepper@redhat.com>
56402 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56403 * posix/fnmatch_loop.c: Likewise.
56405 2010-07-17 Andi Kleen <ak@linux.intel.com>
56407 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56408 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56409 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56410 * Versions.def [GLIBC_2.13]: Add.
56412 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56414 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56415 Also fail if tpwd after pwuid call is NULL.
56417 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56419 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56420 when converting to ms.
56422 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56424 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56425 EOPNOTSUPP errors with ENOTTY.
56426 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56427 EOPNOTSUPP errors with ENOTTY.
56429 2010-07-31 Ulrich Drepper <drepper@redhat.com>
56431 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56432 Add strcasecmp_l-ssse3.
56433 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56435 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56436 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56437 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56439 2010-07-30 Ulrich Drepper <drepper@redhat.com>
56441 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56443 * string/Makefile (strop-tests): Add strcasecmp.
56444 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56445 strcasecmp_l-nonascii.
56446 (gen-as-const-headers): Add locale-defines.sym.
56447 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56448 * sysdeps/x86_64/strcasecmp.S: New file.
56449 * sysdeps/x86_64/strcasecmp_l.S: New file.
56450 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56451 * sysdeps/x86_64/locale-defines.sym: New file.
56452 * string/test-strcasecmp.c: New file.
56454 * string/test-strcasestr.c: Test both ends of the range of characters.
56455 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56457 2010-07-29 Roland McGrath <roland@redhat.com>
56460 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56462 2010-07-27 Ulrich Drepper <drepper@redhat.com>
56464 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56467 2010-07-27 Andreas Schwab <schwab@redhat.com>
56469 * manual/memory.texi (Malloc Tunable Parameters): Document
56472 2010-07-26 Roland McGrath <roland@redhat.com>
56475 * configure.in (-fgnu89-inline check): Set and substitute
56476 gnu89_inline, not libc_cv_gnu89_inline.
56477 * configure: Regenerated.
56478 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56480 2010-07-26 Ulrich Drepper <drepper@redhat.com>
56482 * string/test-strnlen.c: New file.
56483 * string/Makefile (strop-tests): Add strnlen.
56484 * string/tester.c (test_strnlen): Add a few more test cases.
56485 * string/tst-strlen.c: Better error reporting.
56487 * sysdeps/x86_64/strnlen.S: New file.
56489 2010-07-24 Ulrich Drepper <drepper@redhat.com>
56491 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56492 lower-latency instructions.
56494 2010-07-23 Ulrich Drepper <drepper@redhat.com>
56496 * string/test-strcasestr.c: New file.
56497 * string/test-strstr.c: New file.
56498 * string/Makefile (strop-tests): Add strstr and strcasestr.
56499 * string/str-two-way.h: Don't undefine MAX.
56500 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56502 2010-07-21 Andreas Schwab <schwab@redhat.com>
56504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56505 strcasestr-nonascii.
56506 (CFLAGS-strcasestr-nonascii.c): Define.
56507 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56508 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56509 Remove unused attribute.
56511 2010-07-20 Roland McGrath <roland@redhat.com>
56513 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56514 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56515 ld.so.cache was broken. With it, there is no way to disable dsocaps
56516 like LD_HWCAP_MASK can disable hwcaps.
56518 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56520 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56522 2010-07-16 Ulrich Drepper <drepper@redhat.com>
56524 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56525 call in strcasestr.
56526 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56527 __strcasestr_sse42_nonascii.
56528 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56529 strcasestr-nonascii.c.
56530 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56532 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
56534 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56535 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56536 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56537 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56539 2010-07-09 Ulrich Drepper <drepper@redhat.com>
56541 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56544 2010-07-06 Andreas Schwab <schwab@redhat.com>
56547 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56550 2010-07-06 Ulrich Drepper <drepper@redhat.com>
56552 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56553 _PC_PIPE_BUF using F_GETPIPE_SZ.
56555 2010-07-05 Roland McGrath <roland@redhat.com>
56557 * manual/arith.texi (Rounding Functions): Fix rint description
56558 implicit in round description.
56560 2010-07-02 Ulrich Drepper <drepper@redhat.com>
56562 * elf/Makefile: Fix linking for a few tests to make recent linker
56565 2010-06-30 Andreas Schwab <schwab@redhat.com>
56567 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56568 $(common-objpfx)libc_nonshared.a.
56570 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
56572 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56573 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56574 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56575 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56576 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56577 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56578 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56579 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56594 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56595 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56596 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56597 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56598 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56599 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56600 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56601 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56602 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56603 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56604 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56605 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56621 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56623 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56624 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56625 * string/memmove.c (memmove): Renamed to ...
56626 (MEMMOVE): ...this. Default to memmove.
56627 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56628 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56631 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56632 mempcpy-ssse3-back memmove-ssse3-back.
56633 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56635 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56636 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56637 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56638 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56639 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56640 * sysdeps/x86_64/multiarch/memmove.c: New file.
56641 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56642 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56643 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56644 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56645 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56646 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56648 (index_Fast_Copy_Backward): Define.
56649 (HAS_ARCH_FEATURE): Define.
56650 (HAS_FAST_REP_STRING): Define.
56651 (HAS_FAST_COPY_BACKWARD): Define.
56653 2010-06-21 Andreas Schwab <schwab@redhat.com>
56655 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56656 Restore proper fallback handling.
56658 2010-06-19 Ulrich Drepper <drepper@redhat.com>
56661 * posix/group_member.c (__group_member): Correct checking loop.
56663 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56664 OOM in getpwuid_r correctly. Return error number when the caller
56665 should return, otherwise -1.
56666 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56667 call returning > 0 value.
56668 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56670 2010-06-07 Andreas Schwab <schwab@redhat.com>
56672 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56673 libc_nonshared.a from targets in modules-names.
56675 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56677 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56680 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
56682 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56683 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56684 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56687 2010-06-02 Andreas Schwab <schwab@redhat.com>
56689 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56691 2010-06-14 Ulrich Drepper <drepper@redhat.com>
56693 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56699 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56700 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56702 2010-06-14 Roland McGrath <roland@redhat.com>
56704 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56706 2010-06-07 Jakub Jelinek <jakub@redhat.com>
56708 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56709 __REDIRECT followed by __THROW.
56710 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56711 * posix/getopt.h (getopt): Likewise.
56713 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56715 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56716 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56717 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56719 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56720 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56722 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
56724 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56726 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56730 Properly check family and model.
56732 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56734 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56736 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
56738 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56740 2010-05-21 Ulrich Drepper <drepper@redhat.com>
56742 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56745 2010-05-19 Andreas Schwab <schwab@redhat.com>
56747 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56750 2010-05-21 Andreas Schwab <schwab@redhat.com>
56752 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56753 and internal_recvmmsg.
56754 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56755 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56756 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56757 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56759 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56760 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56761 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56763 2010-05-20 Andreas Schwab <schwab@redhat.com>
56765 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56767 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
56769 POWER7 optimizations.
56770 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56771 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56773 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56775 * version.h: Update for 2.13 development version.
56777 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56779 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56780 exceptions. Return 0.
56782 2010-05-07 Roland McGrath <roland@redhat.com>
56784 * elf/ldconfig.c (main): Add a const.
56786 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56788 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56789 (args_options): Add no-idn option.
56790 (ahosts_keys_int): Add idn_flags to ai_flags.
56791 (parse_option): Handle 'i' option to clear idn_flags.
56793 * malloc/malloc.c (_int_free): Possible race in the most recently
56794 added check. Only act on the data if no current modification
56797 See ChangeLog.17 for earlier changes.