1 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4 * sysdeps/mips/memset.S: Ditto.
6 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
10 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13 (__v1longjmp): Remove versioned symbol.
14 (__v1siglongjmp): Remove alias and versioned symbol.
15 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16 (__v2siglongjmp): Likewise.
18 2015-02-16 Torvald Riegel <triegel@redhat.com>
20 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22 2015-02-16 Mike Frysinger <vapier@gentoo.org>
24 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
30 zero result does not depend on the sign resulting from
32 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38 * math/libm-test.inc (remquo_test_data): Add more tests.
40 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
42 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
43 Problem reported by J William Piggott.
45 2015-02-16 Joseph Myers <joseph@codesourcery.com>
48 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
49 products 4 * y and 2 * y where those would overflow.
50 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
52 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
53 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
54 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
56 * math/libm-test.inc (remquo_test_data): Add more tests.
58 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
60 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
61 [defined _COMPILING_NEWLIB].
62 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
63 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
65 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
66 [!defined __mips_isa_rev || __mips_isa_rev < 6].
68 2015-02-16 Torvald Riegel <triegel@redhat.com>
70 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
73 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
76 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
77 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
78 HOST_STACK_END_ADDR): Likewise.
80 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
82 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
83 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
84 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
86 2015-02-13 Roland McGrath <roland@hack.frob.com>
88 * sysdeps/generic/c++-types.data: New file.
89 * sysdeps/generic/ld.abilist: New file.
90 * sysdeps/generic/libBrokenLocale.abilist: New file.
91 * sysdeps/generic/libanl.abilist: New file.
92 * sysdeps/generic/libc.abilist: New file.
93 * sysdeps/generic/libcrypt.abilist: New file.
94 * sysdeps/generic/libdl.abilist: New file.
95 * sysdeps/generic/libm.abilist: New file.
96 * sysdeps/generic/libpthread.abilist: New file.
97 * sysdeps/generic/libresolv.abilist: New file.
98 * sysdeps/generic/librt.abilist: New file.
100 2015-02-13 Joseph Myers <joseph@codesourcery.com>
103 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
104 Compute absolute value of x as modified by fmod, not original
106 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
107 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
108 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
109 RUN_TEST_ffI_f1_mod8.
110 (remquo_test_data): Add more tests.
112 2015-02-13 Roland McGrath <roland@hack.frob.com>
114 * sysdeps/init_array/pt-crti.S: New file.
116 2015-02-13 Joseph Myers <joseph@codesourcery.com>
119 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
120 __builtin_fmaf instead of relying on contraction of a * b + c.
122 2015-02-12 J William Piggott <elseifthen@gmx.com>
125 * manual/time.texi: correct the zoneinfo path in the TZ Variable
128 2015-02-12 Joseph Myers <joseph@codesourcery.com>
131 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
132 __builtin_fma instead of relying on contraction of a * b + c.
134 2015-02-12 Roland McGrath <roland@hack.frob.com>
136 * Makeconfig (ASFLAGS): Add -Werror=undef.
137 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
138 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
139 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
141 * Makeconfig (after-link): New variable.
142 (+link-pie, +link-pie-tests): Use it.
143 (+link-static, +link-static-tests): Likewise.
144 (+link, +link-tests): Likewise.
145 * Makerules (build-module, build-module-asneeded): Likewise.
146 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
148 * elf/Makefile ($(objpfx)ld.so): Likewise.
150 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
153 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
154 both struct timeval and struct timespec.
156 2015-02-12 Joseph Myers <joseph@codesourcery.com>
159 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
161 (__ieee754_exp2l): Do not multiply small fractional parts by
163 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
165 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
166 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
167 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
168 * math/auto-libm-test-in: Add more tests of exp2.
169 * math/auto-libm-test-out: Regenerated.
171 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
173 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
176 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
178 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
181 2015-02-12 Andreas Schwab <schwab@suse.de>
184 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
185 Filter out elision flags from value returned in kind.
186 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
187 * nptl/tst-pthread-mutexattr.c: New file.
189 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
191 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
192 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
193 into gnu-gnu, and update comment to refer to abi-tags.
195 2015-02-11 Joseph Myers <joseph@codesourcery.com>
198 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
199 (__sincos): Set errno to EDOM for infinite argument.
200 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
201 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
202 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
203 (__sincosl): Set errno to EDOM for infinite argument.
204 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
205 (__sincosl): Set errno to EDOM for infinite argument.
206 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
207 (__sincosl): Set errno to EDOM for infinite argument.
208 * math/libm-test.inc (sincos_test_data): Test errno setting.
210 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
212 * string/strxfrm_l.c: Remove #define STRCMP.
213 * string/strcoll_l.c: Remove #define STRLEN.
214 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
215 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
217 2015-02-10 Joseph Myers <joseph@codesourcery.com>
219 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
220 * sysdeps/mips/mips32/sfp-machine.h: ... here.
221 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
222 * sysdeps/mips/mips64/Makefile: ... here.
223 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
224 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
225 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
226 * sysdeps/mips/mips64/sfp-machine.h: ... here.
227 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
228 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
229 * sysdeps/mips/mips64/n64/Implies: Likewise.
231 2015-02-10 Roland McGrath <roland@hack.frob.com>
233 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
234 <sys/time.h>, <string.h>, and <errno.h>.
235 (dest_offset, dest_address, value, zero): Remove unused variables.
236 (ldouble): Remove typedef.
237 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
238 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
240 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
241 (check): Function removed.
243 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
244 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
245 Don't call set_sigaction_FP and remove_sigaction_FP here.
246 (ldouble_test): Just use 'long double' as macro argument, no need for
247 the 'ldouble' typedef.
248 (do_test): Set up SIGFPE handler at start, using plain signal rather
249 than sigaction. Fix code style.
251 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
254 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
257 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
259 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
260 * sysdeps/powerpc/powerpc32/configure: Regenerated.
262 * sysdeps/powerpc/configure.ac: Remove file.
263 * sysdeps/powerpc/configure: Likewise.
265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
266 [sysdep_routines]: Remove wordcopy-power6 object.
267 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
268 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
269 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
270 (__memmove_ppc32): Likewise.
271 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
273 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
274 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
278 [sysdep_routines]: Remove wide chars objects.
279 [wcsmbs]: New rule for wide char objects.
281 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
282 Remove wordcopy-power6 obejct.
283 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
284 Use local call for wordcopy and memcpy symbols.
285 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
286 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
287 implementation for loader.
288 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
290 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
291 Remove wordcopy-power7 object.
292 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
293 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
294 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
295 (_wordcopy_fwd_dest_aligned): Likewise.
296 (_wordcopy_bwd_aligned): Likewise.
297 (_wordcopy_bwd_dest_aligned): Likewise.
299 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
300 Rewrite to call __memmove_ppc instead of include default
303 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
304 Remove wide chars objects.
305 [wcsmbs]: New rule for wide char objects.
307 2015-02-09 Andreas Schwab <schwab@suse.de>
310 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
311 in terms of __O_DIRECTORY.
313 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
315 * time/getdate.c: Include <stdbool.h>.
316 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
318 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
321 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
323 Add ersatz _Static_assert on older C hosts
324 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
325 pre-C11 C platform that is not known to support _Static_assert.
327 2015-02-07 Richard Braun <rbraun@sceen.net>
329 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
331 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
333 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
335 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
336 priority against unexistent AIO_PRIO_DELTA_MAX.
337 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
339 * misc/fchflags.c (fchflags): Likewise.
340 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
341 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
342 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
343 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
344 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
346 [__USE_MISC] (chflags, fchflags): Declare functions.
347 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
348 EINVAL when nfds is greater than FD_SETSIZE.
349 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
350 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
352 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
353 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
354 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
356 * hurd/hurd/signal.h (_hurd_self_sigstate,
357 _hurd_critical_section_lock, _hurd_critical_section_unlock):
358 Explicit casts from void *.
359 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
360 * abi-tags: Rename gnu-gnu os into gnu.
363 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
364 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
365 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
366 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
367 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
368 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
371 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
372 duplicates ADDR->sun_path with sockaddr LEN limitation.
373 * sysdeps/mach/hurd/connect.c: Include <string.h>
374 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
375 * sysdeps/mach/hurd/sendmsg.c: Likewise.
376 * sysdeps/mach/hurd/sendto.c: Likewise.
377 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
378 implementing it by hand.
380 2015-02-06 Roland McGrath <roland@hack.frob.com>
382 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
384 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
387 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
389 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
390 Test SIGSETXID only if it's defined.
392 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
394 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
395 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
397 * nptl/tst-align2.c: Moved ...
398 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
399 * nptl/Makefile (tests): Remove tst-align2.
400 * sysdeps/unix/sysv/linux/Makefile
401 [$(subdir) = nptl] (tests): Add tst-align-clone.
402 * nptl/tst-getpid1.c: Moved ...
403 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
404 * nptl/tst-getpid2.c: Moved ...
405 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
406 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
407 * sysdeps/unix/sysv/linux/Makefile
408 [$(subdir) = nptl] (tests): ... here.
409 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
410 * sysdeps/unix/sysv/linux/Makefile
411 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
413 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
414 Drop trailing \n from perror argument. Use return rather than exit.
416 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
418 * nptl/tst-cancel21.c (do_test): Likewise.
419 * debug/tst-backtrace6.c: Include <signal.h> first thing.
420 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
421 [!SA_SIGINFO]: Make it a stub test.
423 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
424 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
426 * posix/tst-getlogin.c: Move to ...
427 * login/tst-getlogin.c: ... here.
428 * posix/Makefile (tests): Move tst-getlogin to ...
429 * login/Makefile (tests): ... here.
431 * libio/tst-atime.c (do_test): Move local variables SV and E
432 inside [ST_NOATIME] conditional.
434 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
436 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
438 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
439 (wait_code): New function replaces macro.
440 Call nanosleep rather than syscall.
442 * nptl/pt-system.c: Rewritten. Put everything under
443 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
444 Use IFUNC to redirect when possible.
446 * nptl/pt-longjmp.c: Rewritten. Put everything under
447 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
448 Use IFUNC to redirect when possible.
450 * nptl/pt-fork.c: Rewritten. Put everything under
451 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
452 Use IFUNC to redirect when possible.
453 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
455 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
456 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
457 unconditionally nowadays. This included the only reference to
458 __vdso_clock_gettime that appears outside libc proper.
459 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
460 Remove version set (containing only __vdso_clock_gettime).
461 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
462 Add attribute_hidden.
463 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
464 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
465 libc_hidden_data_def.
466 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
467 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
469 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
470 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
471 setrpcent, and getrpcport to ...
472 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
473 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
474 getrpcbynumber_r, and getrpcent_r to ...
475 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
476 * inet/getrpcbyname.c: Moved ...
477 * sunrpc/getrpcbyname.c: ... here.
478 * inet/getrpcbyname_r.c: Moved ...
479 * sunrpc/getrpcbyname_r.c: ... here.
480 * inet/getrpcbynumber.c: Moved ...
481 * sunrpc/getrpcbynumber.c: ... here.
482 * inet/getrpcbynumber_r.c: Moved ...
483 * sunrpc/getrpcbynumber_r.c: ... here.
484 * inet/getrpcent.c: Moved ...
485 * sunrpc/getrpcent.c: ... here.
486 * inet/getrpcent_r.c: Moved ...
487 * sunrpc/getrpcent_r.c: ... here.
488 * inet/Makefile (routines): Move those to ...
489 * sunrpc/Makefile (routines): ... here.
490 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
492 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
493 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
494 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
495 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
497 * elf/Makefile (routines): Include $(all-dl-routines), not just
499 (rtld-routines): Likewise. Use = rather than :=.
500 * sysdeps/aarch64/Makefile [$(subdir) = elf]
501 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
502 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
503 * sysdeps/arm/Makefile: Likewise.
504 * sysdeps/i386/Makefile: Likewise.
505 * sysdeps/x86_64/Makefile: Likewise.
506 * sysdeps/hppa/Makefile [$(subdir) = elf]
507 (sysdep_routines, sysdep-rtld-routines): Don't add
508 $(sysdep-dl-routines) to these.
509 * sysdeps/ia64/Makefile: Likewise.
510 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
511 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
512 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
513 Don't add dl-static to these; sysdep-dl-routines alone is enough.
514 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
515 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
516 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
517 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
518 * sysdeps/powerpc/Makefile [$(subdir) = elf]
519 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
520 these; sysdep-dl-routines alone is enough.
522 2015-02-06 Joseph Myers <joseph@codesourcery.com>
525 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
526 where multiplication results in zero and third argument is finite
528 * math/auto-libm-test-in: Add more tests of fma.
529 * math/auto-libm-test-out: Regenerated.
531 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
532 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
533 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
534 (_FP_CMP_EQ): Likewise.
535 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
537 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
538 extra argument CHECK_NAN. Redefine as wrapper around
541 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
543 * version.h (RELEASE): Set to "stable".
544 (VERSION): Set to "2.21"
545 * include/features.h (__GLIBC_MINOR__): Set to 21.
547 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
549 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
550 Paul Eggert <eggert@cs.ucla.edu>
553 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
554 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
555 size in bytes. Store needed elements in wpmax. Use needed size
556 in bytes for extend_alloca.
558 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
560 * manual/install.texi: Latest tested versions are GCC 4.9.2,
561 binutls 2.25, and texinfo 5.2.
562 * INSTALL: Regenerate.
563 * sysdeps/nios2/configure: Regenerate.
564 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
565 * manual/contrib.texi: Update.
589 * po/pt_BR.po: Update.
598 * po/zh_CN.po: Update.
599 * po/zh_TW.po: Update.
601 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
602 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
603 * sysdeps/hppa/dl-irel.h: Remove #warning.
604 * sysdeps/hppa/entry.h: Provide prototype for
605 __canonicalize_funcptr_for_compare and cast argument.
606 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
607 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
608 * sysdeps/hppa/sotruss-lib.c: New file.
609 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
610 (atomic_compare_and_exchange_val_acq): Use __typeof__.
611 (atomic_compare_and_exchange_bool_acq): Likewise.
612 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
613 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
615 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
616 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
617 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
619 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
621 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
622 called function in non-PIC case.
624 2015-01-31 David S. Miller <davem@davemloft.net>
626 * sysdeps/sparc/sparc32/bits/atomic.h
627 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
629 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
630 volatile register usage warnings from the compiler.
632 * sysdeps/sparc/nptl/sem_init.c: Delete.
633 * sysdeps/sparc/nptl/sem_post.c: Delete.
634 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
635 * sysdeps/sparc/nptl/sem_wait.c: Delete.
636 * sysdeps/sparc/sparc32/sem_init.c: New file.
637 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
638 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
639 padding explicitly initialized.
640 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
641 padding for in-semaphore spinlock.
642 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
643 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
644 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
645 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
646 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
647 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
648 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
649 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
651 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
652 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
654 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
658 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
659 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
661 (index_AVX_Fast_Unaligned_Load): Likewise.
662 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
663 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
664 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
665 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
666 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
667 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
668 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
669 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
670 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
672 2015-01-29 Andreas Schwab <schwab@suse.de>
674 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
676 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
679 * nscd/nscd_stat.c (send_stats): Initialize DATA.
681 2015-01-28 Martin Sebor <msebor@redhat.com>
683 * math/README.libm-test: Clarify. Add "How to read the test output."
685 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
687 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
690 2015-01-28 Joseph Myers <joseph@codesourcery.com>
692 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
693 (__HAVE_64B_ATOMICS): Define to 0.
695 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
698 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
699 value to set as new flag.
702 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
703 and use _ARCH_PPCSQ instead.
704 (__ieee754_sqrt): Likewise.
705 (__ieee754_sqrtf): Likewise.
706 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
707 _ARCH_PPCSQ is defined.
708 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
710 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
711 _ARCH_PPCSQ is defined.
712 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
714 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
716 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
718 * iconv/loop.c: Suppress array out of bound warning caused by GCC
721 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
723 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
724 Mark _retval as used.
725 (lll_futex_wake_unlock): Likewise.
726 (lll_futex_timed_wait_requeue_pi): Likewise.
728 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
729 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
732 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
735 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
736 (__bswap_64): Mark as __always_inline.
738 2015-01-25 Bram <bug_rh@spam.wizbit.be>
741 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
742 when none of the search directories exist.
744 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
747 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
748 power8 in .machine directive.
751 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
752 set dependency from opd value.
754 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
757 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
760 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
763 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
765 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
767 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
768 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
769 Replace 1UL with (uint64_t) 1.
770 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
773 2015-01-23 Roland McGrath <roland@hack.frob.com>
775 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
776 (if_freenameindex): Likewise.
778 * resource/getrlimit64.c: Add missing libc_hidden_def.
780 2015-01-22 Joseph Myers <joseph@codesourcery.com>
782 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
785 (_FP_TO_INT_ROUND): Likewise.
786 (_FP_FROM_INT): Likewise.
788 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
791 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
792 Make code racy and cancel safe.
794 2015-01-21 Carlos O'Donell <carlos@redhat.com>
796 * sysdeps/arm/unwind-resume.h: Fix copyright year.
797 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
800 * pwd/tst-getpw.c: Rewrite.
803 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
804 (modules-names): Add moddummy1 and moddummy2.
805 ($(objpfx)tst-rec-dlopen): Define.
806 * dlfcn/moddummy1.c: New file.
807 * dlfcn/moddummy2.c: New file.
808 * dlfcn/tst-rec-dlopen.c: New file.
809 * elf/dl-cache.c (_dl_load_cache_lookup):
810 Return char*. Copy result with alloca/strcpy/strdup.
811 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
812 returns char*. Free cached. If not saving realname
814 * elf/dl-open.c (dl_open_worker): Do not assert that
815 _r_debug->r_state is RT_CONSISTENT.
816 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
819 2015-01-21 Torvald Riegel <triegel@redhat.com>
820 Carlos O'Donell <carlos@redhat.com>
823 * nptl/sem_waitcommon.c: New file.
824 * nptl/sem_wait.c: Include sem_waitcommon.c.
825 (__sem_wait_cleanup, do_futex_wait): Remove.
826 (__new_sem_wait): Adapt.
827 (__new_sem_trywait): New function.
828 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
829 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
830 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
831 (sem_timedwait): Adapt.
832 * nptl/sem_post.c (__new_sem_post): Adapt.
833 (futex_wake): New function.
834 (__old_sem_post): Add release MO fence.
835 * nptl/sem_open.c (sem_open): Adapt.
836 * nptl/sem_init.c (__new_sem_init): Adapt.
837 (futex_private_if_supported): New function.
838 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
839 (__old_sem_getvalue): Add using previous code.
840 * sysdeps/nptl/internaltypes.h: Adapt.
841 * nptl/tst-sem13.c (do_test): Adapt.
842 * nptl/tst-sem11.c (main): Adapt.
843 * nptl/sem_trywait.c: Remove.
844 * nptl/DESIGN-sem.txt: Remove.
845 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
846 (gen-as-const-headers): Remove structsem.sym.
847 * nptl/structsem.sym: Remove.
848 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
849 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
850 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
851 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
852 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
853 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
854 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
855 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
856 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
857 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
858 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
859 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
860 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
861 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
862 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
863 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
864 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
865 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
866 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
867 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
868 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
869 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
871 2015-01-20 Carlos O'Donell <carlos@redhat.com>
873 * INSTALL: Regenerated.
875 * po/libc.pot: Regenerated.
877 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
878 Sandra Loosemore <sandra@codesourcery.com>
879 Andrew Jenner <andrew@codesourcery.com>
880 Joseph Myers <joseph@codesourcery.com>
881 Nathan Sidwell <nathan@codesourcery.com>
883 * NEWS: Mention new Nios II port.
884 * sysdeps/nios2/Implies: New file.
885 * sysdeps/nios2/Makefile: New file.
886 * sysdeps/nios2/Subdirs: New file.
887 * sysdeps/nios2/Versions: New file.
888 * sysdeps/nios2/__longjmp.S: New file.
889 * sysdeps/nios2/abort-instr.h: New file.
890 * sysdeps/nios2/backtrace.c: New file.
891 * sysdeps/nios2/bits/endian.h: New file.
892 * sysdeps/nios2/bits/fenv.h: New file.
893 * sysdeps/nios2/bits/link.h: New file.
894 * sysdeps/nios2/bits/setjmp.h: New file.
895 * sysdeps/nios2/bsd-_setjmp.S: New file.
896 * sysdeps/nios2/bsd-setjmp.S: New file.
897 * sysdeps/nios2/configure: New generated file.
898 * sysdeps/nios2/configure.ac: New file.
899 * sysdeps/nios2/crti.S: New file.
900 * sysdeps/nios2/crtn.S: New file.
901 * sysdeps/nios2/dl-init.c: New file.
902 * sysdeps/nios2/dl-machine.h: New file.
903 * sysdeps/nios2/dl-sysdep.h: New file.
904 * sysdeps/nios2/dl-tls.h: New file.
905 * sysdeps/nios2/dl-trampoline.S: New file.
906 * sysdeps/nios2/gccframe.h: New file.
907 * sysdeps/nios2/gmp-mparam.h: New file.
908 * sysdeps/nios2/jmpbuf-offsets.h: New file.
909 * sysdeps/nios2/jmpbuf-unwind.h: New file.
910 * sysdeps/nios2/ldsodefs.h: New file.
911 * sysdeps/nios2/libc-tls.c: New file.
912 * sysdeps/nios2/libm-test-ulps: New file.
913 * sysdeps/nios2/machine-gmon.h: New file.
914 * sysdeps/nios2/math-tests.h: New file.
915 * sysdeps/nios2/math_private.h: New file.
916 * sysdeps/nios2/memusage.h: New file.
917 * sysdeps/nios2/nptl/Makefile: New file.
918 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
919 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
920 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
921 * sysdeps/nios2/nptl/pthreaddef.h: New file.
922 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
923 * sysdeps/nios2/nptl/tls.h: New file.
924 * sysdeps/nios2/preconfigure: New file.
925 * sysdeps/nios2/s_fma.c: New file.
926 * sysdeps/nios2/s_fmaf.c: New file.
927 * sysdeps/nios2/setjmp.S: New file.
928 * sysdeps/nios2/sfp-machine.h: New file.
929 * sysdeps/nios2/sotruss-lib.c: New file.
930 * sysdeps/nios2/stackguard-macros.h: New file.
931 * sysdeps/nios2/stackinfo.h: New file.
932 * sysdeps/nios2/start.S: New file.
933 * sysdeps/nios2/sysdep.h: New file.
934 * sysdeps/nios2/tls-macros.h: New file.
935 * sysdeps/nios2/tst-audit.h: New file.
936 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
937 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
938 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
939 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
940 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
941 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
942 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
943 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
944 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
945 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
946 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
947 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
948 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
949 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
950 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
951 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
952 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
953 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
954 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
955 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
956 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
957 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
958 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
959 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
960 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
961 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
962 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
963 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
964 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
965 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
966 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
967 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
968 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
969 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
970 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
971 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
972 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
973 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
974 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
975 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
976 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
977 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
978 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
979 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
981 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
984 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
985 (getutent): Use weak_alias in non SHARED case
986 and default_symbol_version in SHARED case.
987 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
988 (getutent_r, pututline): Likewise.
989 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
991 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
992 (getutid_r): Likewise.
993 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
994 (getutline): Likewise.
995 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
996 (getutline_r): Likewise.
997 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1000 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1003 * sysdeps/s390/s390-32/memcmp.S
1004 (memcmp_g5): Rename to __memcmp_g5.
1005 * sysdeps/s390/s390-32/memcpy.S
1006 (memcpy_g5): Rename to __memcpy_g5.
1007 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1008 (memcpy_mvcle) Rename to __memcpy_mvcle.
1009 * sysdeps/s390/s390-32/memset.S
1010 (memset_g5): Rename to __memset_g5.
1011 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1012 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1013 and use prefixed functions.
1014 * sysdeps/s390/s390-32/multiarch/memcmp.S
1015 (memcmp_z196): Rename to __memcmp_z196.
1016 (memcmp_z10): Rename to __memcmp_z10.
1017 (memcmp): Set alias to __memcmp_g5.
1018 (bcmp): Set alias to __memcmp_g5.
1019 * sysdeps/s390/s390-32/multiarch/memcpy.S
1020 (memcpy_z196): Rename to __memcpy_z196.
1021 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1022 (memcpy_z10): Rename to __memcpy_z10.
1023 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1024 (memcpy): Set alias to __memcpy_g5.
1025 * sysdeps/s390/s390-32/multiarch/memset.S
1026 (memset_z196): Rename to __memset_z196.
1027 Jump to __memset_mvcle instead of memset_mvcle.
1028 (memset_z10): Rename to __memset_z10.
1029 Jump to __memset_mvcle instead of memset_mvcle.
1030 (memset_mvcle) Rename to __memset_mvcle.
1031 (memset): Set alias to __memset_g5.
1032 * sysdeps/s390/s390-64/memcmp.S
1033 (memcmp_z900): Rename to __memcmp_z900.
1034 * sysdeps/s390/s390-64/memcpy.S
1035 (memcpy_z900): Rename to __memcpy_z900.
1036 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1037 (memcpy_mvcle) Rename to __memcpy_mvcle.
1038 * sysdeps/s390/s390-64/memset.S
1039 (memset_z900): Rename to __memset_z900.
1040 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1041 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1042 and use prefixed functions.
1043 * sysdeps/s390/s390-64/multiarch/memcmp.S
1044 (memcmp_z196): Rename to __memcmp_z196.
1045 (memcmp_z10): Rename to __memcmp_z10.
1046 (memcmp): Set alias to __memcmp_z900.
1047 (bcmp): Set alias to __memcmp_z900.
1048 * sysdeps/s390/s390-64/multiarch/memcpy.S
1049 (memcpy_z196): Rename to __memcpy_z196.
1050 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1051 (memcpy_z10): Rename to __memcpy_z10.
1052 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1053 (memcpy): Set alias to __memcpy_z900.
1054 * sysdeps/s390/s390-64/multiarch/memset.S
1055 (memset_z196): Rename to __memset_z196.
1056 Jump to __memset_mvcle instead of memset_mvcle.
1057 (memset_z10): Rename to __memset_z10.
1058 Jump to __memset_mvcle instead of memset_mvcle.
1059 (memset_mvcle) Rename to __memset_mvcle.
1060 (memset): Set alias to __memset_z900.
1062 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1065 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1066 __fesetenv instead of fesetenv.
1068 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1070 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1073 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1075 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1078 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1079 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1080 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1081 strncmp-power8 object.
1082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1083 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1084 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1087 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1088 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1090 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1091 trailing byte check.
1093 2015-01-13 David S. Miller <davem@davemloft.net>
1095 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1097 2015-01-13 Roland McGrath <roland@hack.frob.com>
1099 * login/logout.c (logout): Use memset rather than bzero.
1100 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1101 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1102 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1103 (_gethtbyaddr): Likewise.
1104 * locale/programs/simple-hash.c (bcopy): Macro removed.
1106 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1108 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1109 Add strcmp-power8 object.
1110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1111 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1112 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1113 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1114 __strcmp_power8 implementation.
1115 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1118 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1119 Add strncpy-power8 and stpncpy-power8 objects.
1120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1121 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1123 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1124 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1125 __stpncpy_power8 implementation.
1126 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1127 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1128 __strncpy_power8 implementation.
1129 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1130 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1133 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1134 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1135 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1137 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1138 strncat-power8 object.
1139 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1140 __strcat_power8 implementation.
1141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1142 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1143 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1144 optimized strcat for power8.
1146 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1147 strcpy-power8 and stpcpy-power8 objects.
1148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1149 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1151 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1152 multiarch stpcpy implementation for POWER8.
1153 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1154 multiarch strcpy implementation for POWER8.
1155 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1156 __strcpy_power8 function.
1157 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1159 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1163 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1166 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1167 weights and rules. Use do_xfrm_cached if data fits in cache,
1168 do_xfrm otherwise. Moved former main loop to...
1169 * (do_xfrm_cached): New function.
1170 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1171 find_idx, find_position and stack_push.
1172 * (find_idx): New function.
1173 * (find_position): Likewise.
1174 * localedata/sort-test.sh: Added test run for do_xfrm.
1175 * localedata/xfrm-test.c (main): Added command line option
1176 -nocache to run the test with strings that are too large for
1179 2015-01-13 Torvald Riegel <triegel@redhat.com>
1181 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1182 variable to lll_futex_wake call, not the value itself.
1184 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1187 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1188 twom64. Adjust value to 0x1p-64L.
1189 (__scalblnl): Only return standard underflowing result for K <=
1190 -64 not K <= -63; adjust exponent for underflowing result by 64
1192 * math/libm-test.inc (scalbn_test_data): Add more tests.
1193 (scalbln_test_data): Likewise.
1196 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1198 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1200 * math/libm-test.inc (scalbn_test_data): Add more tests.
1201 (scalbln_test_data): Likewise.
1203 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1204 Stefani Seibold <stefani@seibold.net>
1206 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1207 (sysdep_routines): Add dl-vdso here, ...
1208 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1209 (sysdep_routines): ... not here.
1210 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1211 fallback when vDSO is not presented.
1212 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1213 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1214 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1215 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1216 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1217 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1218 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1219 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1220 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1222 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1223 fallback configurable symbol when vDSO is not available.
1224 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1225 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1226 be able to redefine fallback symbol when vDSO is not available.
1227 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1228 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1230 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1232 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1233 (TLS_INIT_TP): Add tm_capable initialization.
1234 (TLS_DEFINE_INIT_TP): Likewise.
1235 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1237 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1238 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1240 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1241 transactoion is lock elision is built and TCB tm_capable is set.
1242 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1244 (INTERNAL_SYSCALL_NCS): Likewise.
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1246 (INTERNAL_SYSCALL_NCS): Likewise.
1247 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1249 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1251 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1252 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1253 and remove it for 32 bits case.
1254 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1255 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1257 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1258 Disable lock elision with rdlocks if elision is not available.
1260 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1261 (sysdep_routines): Add lock elision objects.
1262 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1263 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1264 [pthread_mutex_t] (__elision): Add field.
1265 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1266 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1267 elision definitions for powerpc.
1268 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1269 implementation of lock elision for powerpc.
1270 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1271 implementation of timed lock elision for powerpc.
1272 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1273 implementation of trylock with lock elision for powerpc.
1274 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1275 implementaion of unlock for lock elision for powerpc.
1276 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1277 automatic enable lock elision for mutexes.
1278 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1279 transaction execution definitions for powerpc.
1280 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1282 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1283 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1284 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1285 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1288 2015-01-09 Roland McGrath <roland@hack.frob.com>
1290 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1291 for #include of <shm-directory.h>.
1293 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1295 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1296 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1298 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1301 * NEWS: Mention bug fix.
1302 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1303 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1304 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1306 2015-01-09 Torvald Riegel <triegel@redhat.com>
1308 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1310 2015-01-09 Torvald Riegel <triegel@redhat.com>
1312 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1314 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1316 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1317 pointer and cast to uintptr_t.
1319 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1321 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1323 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1325 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1327 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1330 2015-01-08 Roland McGrath <roland@hack.frob.com>
1332 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1333 <nptl/pthreadP.h> instead.
1334 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1336 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1338 [__SIGRTMIN] (init): Function removed.
1339 [__SIGRTMIN] (initialized): Variable removed.
1340 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1341 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1342 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1343 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1344 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1345 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1346 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1347 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1348 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1349 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1350 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1351 * sysdeps/nptl/allocrtsig.c: New file.
1352 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1353 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1354 * sysdeps/generic/testrtsig.h: File removed.
1356 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1357 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1359 * nptl/nptl-init.c (pthread_functions): Conditionalize
1360 .ptr__nptl_setxid initialization on [SIGSETXID].
1362 * sysdeps/nptl/sys/procfs.h: New file.
1363 * nptl_db/Makefile (headers): Add it.
1364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1366 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1367 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1368 * nptl/pthread_attr_setaffinity.c: Include it.
1369 * nptl/pthread_setattr_default_np.c: Likewise.
1370 * nptl/check-cpuset.h: New file.
1372 2015-01-08 Richard Henderson <rth@redhat.com>
1374 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1375 (CFLAGS-tst-execstack-prog.c): Likewise.
1376 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1378 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1379 Sandra Loosemore <sandra@codesourcery.com>
1380 Andrew Jenner <andrew@codesourcery.com>
1381 Joseph Myers <joseph@codesourcery.com>
1382 Nathan Sidwell <nathan@codesourcery.com>
1384 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1385 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1386 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1387 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1388 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1389 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1390 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1391 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1392 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1393 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1394 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1395 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1396 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1397 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1398 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1399 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1400 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1402 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1404 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1405 timespec struct member in syscall macro.
1406 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1407 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1408 first timeval struct member in syscall macro.
1409 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1411 2015-01-07 Joseph Myers <joseph@codesourcery.com>
1414 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1415 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1416 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1417 __feupdateenv and define as weak alias of __feupdateenv. Use
1419 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1421 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1422 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1423 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1424 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1426 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1427 __feupdateenv and define as weak alias of __feupdateenv. Use
1429 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1431 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1432 __feupdateenv and define as weak alias of __feupdateenv. Use
1434 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1436 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1437 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1438 (__feupdateenv): Likewise.
1439 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1440 __feupdateenv and define as weak alias of __feupdateenv. Use
1442 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1443 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1445 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1447 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1449 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1450 __feupdateenv instead of feupdateenv.
1451 (default_libc_feupdateenv_test): Likewise.
1452 (libc_feresetround_ctx): Likewise.
1454 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1456 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1459 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1461 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1462 COLL_SYM in a couple of places to avoid uninitialized variable
1463 wanings on tilegx gcc 4.8.2.
1465 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1467 * sysdeps/aarch64/strcpy.S: New file.
1468 * sysdeps/aarch64/stpcpy.S: New file.
1471 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1473 * sysdeps/aarch64/strrchr.S: New file.
1476 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
1479 * stdlib/setenv.c: Fix memory leak when setting large,
1482 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1485 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1486 and tabs from buffer before parsing fstab entry.
1487 * misc/tst-mntent.c (main): Add test for mount entry with
1488 trailing spaces and tabs.
1490 2015-01-06 Joseph Myers <joseph@codesourcery.com>
1493 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1494 * math/fesetround.c (fesetround): Rename to __fesetround and
1495 define as weak alias of __fesetround. Use libm_hidden_weak.
1496 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1497 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1498 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1499 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1500 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1501 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1502 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1503 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1504 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1505 __fesetround_inline.
1506 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1507 __fesetround_inline instead of __fesetround.
1508 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1509 __fesetround and define as weak alias of __fesetround. Use
1510 libm_hidden_weak. Call __fesetround_inline instead of
1512 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1513 __fesetround and define as weak alias of __fesetround. Use
1515 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1517 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1518 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1519 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1520 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1521 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1522 __fesetround and define as weak alias of __fesetround. Use
1524 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1525 __fesetround instead of fesetround.
1526 (default_libc_feholdexcept_setround): Likewise.
1527 (libc_feholdsetround_ctx): Likewise.
1528 (libc_feholdsetround_noex_ctx): Likewise.
1531 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1532 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1533 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1534 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1535 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1536 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1537 define as weak alias of __fesetenv. Use libm_hidden_weak.
1538 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1539 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1540 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1541 define as weak alias of __fesetenv. Use libm_hidden_weak.
1542 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1543 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1544 define as weak alias of __fesetenv. Use libm_hidden_weak.
1545 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1547 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1548 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1550 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1551 define as weak alias of __fesetenv. Use libm_hidden_weak.
1552 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1553 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1554 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1555 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1556 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1557 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1558 __fesetenv instead of fesetenv.
1559 (libc_feresetround_noex_ctx): Likewise.
1560 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1561 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1562 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1563 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1564 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1565 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1566 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1567 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1568 (__feupdateenv): Likewise.
1569 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1570 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1571 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1572 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1574 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1577 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1578 addresses have been freed.
1580 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1582 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1585 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
1587 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1588 Clean up check_pf allocation pattern. addresses
1590 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1593 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1594 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1595 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1596 * nptl/pthread_join.c (pthread_join): Likewise.
1597 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1598 * sysdeps/posix/waitid.c (__waitid): Likewise.
1599 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1600 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1601 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1602 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1603 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1605 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1606 (__libc_pread64): Likewise.
1607 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1608 (__libc_pwrite): Likewise.
1609 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1610 (__libc_pwrite64): Likewsie.
1611 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1612 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1613 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1614 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1615 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1616 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1617 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1621 (__libc_pread64): Likewise.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1625 (__libc_pwrite64): Likewise.
1626 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1627 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1628 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1629 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1630 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1631 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1632 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1633 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1634 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1635 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1636 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1637 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1638 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1639 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1640 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1641 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1644 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1646 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1647 (CFLAGS-test-double.c): Likewise.
1648 (CFLAGS-test-ldouble.c): Likewise.
1649 (CPPFLAGS-test-ifloat.c): Likewise.
1650 (CPPFLAGS-test-idouble.c): Likewise.
1651 (CPPFLAGS-test-ildoubl.c): Likewise.
1652 (CFLAGS-test-test-fenv.c): Remove variable.
1653 (CFLAGS-test-misc.c): Likewise.
1655 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1658 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1659 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1660 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1661 CLOCKS_PER_SEC == 1000000.
1662 * time/clocktest.c (main): Replace %ld with %jd and cast to
1665 2015-01-05 Roland McGrath <roland@hack.frob.com>
1667 * sysdeps/generic/unwind-resume.h: New file.
1668 * sysdeps/gnu/unwind-resume.c: Include it.
1669 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1670 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1672 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1673 global rather than static.
1674 (_Unwind_Resume): Update user.
1675 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1676 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1677 rather than static. Add __attribute__ ((cold)).
1678 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1679 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1680 * sysdeps/arm/arm-unwind-resume.S: New file.
1681 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1682 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1683 * sysdeps/arm/Makefile [$(subdir) = csu]
1684 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1685 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1686 Add rt-arm-unwind-resume.
1688 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1689 Add pt-arm-unwind-resume.
1690 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1691 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1693 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1696 * include/fenv.h (__feholdexcept): Declare. Use
1698 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1699 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1700 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1701 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1702 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1703 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1704 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1705 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1706 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1707 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1708 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1709 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1710 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1711 (feholdexcept): Likewise.
1712 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1713 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1714 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1715 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1716 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1717 __feholdexcept instead of feholdexcept.
1718 (default_libc_feholdexcept_setround): Likewise.
1720 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1722 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1723 to avoid using stl/str to align destination.
1725 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1727 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1729 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1732 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1733 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1734 Define as weak alias not strong alias.
1736 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1738 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1739 bltzal with addiupc.
1740 (RTLD_START): Ditto.
1742 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1744 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1745 for __vdso_* functions in declarations.
1746 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1748 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1749 INTERNAL_VSYSCALL): Use struct return types to check for error.
1751 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1752 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1753 function with cast from llround().
1754 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1755 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1758 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1761 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1762 Define as weak alias not strong alias.
1765 * ctype/ctype-c99.c: New file. isblank implementation moved from
1767 * ctype/ctype-extn.c: ... here.
1768 (__isblank_l): Move to ...
1769 * ctype/ctype-c99_l.c: ... here. New file.
1770 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1771 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1773 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1774 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1775 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1776 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1777 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1780 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1781 (posix_fadvise64): Define as weak alias not strong alias.
1782 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1783 (posix_fallocate64): Likewise.
1784 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1786 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1787 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1788 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1789 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1790 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1792 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1795 * NEWS: Mention bug fix.
1796 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1797 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1798 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1799 (HOST_STACK_END_ADDR): Likewise.
1801 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1804 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1805 * math/fegetround.c (fegetround): Rename to __fegetround and
1806 define as weak alias of __fegetround. Use libm_hidden_weak.
1807 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1808 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1809 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1810 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1811 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1812 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1813 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1814 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1815 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1816 Undefine after rather than before function definition; use
1817 parentheses around function name in definition.
1818 (__fegetround): Also undefine macro after function definition.
1819 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1820 __fegetround and define as weak alias of __fegetround. Use
1821 libm_hidden_weak. Do not undefine as macro.
1822 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1824 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1825 __fegetround and define as weak alias of __fegetround. Use
1827 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1828 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1829 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1830 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1831 __fegetround and define as weak alias of __fegetround. Use
1833 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1834 __fegetround instead of fegetround.
1837 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1838 Condition macro definition on [__USE_MISC].
1841 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1842 (struct sigaction): Change type of sa_flags field to int.
1845 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1846 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1849 * nptl/version.c (banner): Use single year in copyright notice.
1851 * NEWS: Update copyright dates.
1852 * catgets/gencat.c (print_version): Likewise.
1853 * csu/version.c (banner): Likewise.
1854 * debug/catchsegv.sh: Likewise.
1855 * debug/pcprofiledump.c (print_version): Likewise.
1856 * debug/xtrace.sh (do_version): Likewise.
1857 * elf/ldconfig.c (print_version): Likewise.
1858 * elf/ldd.bash.in: Likewise.
1859 * elf/pldd.c (print_version): Likewise.
1860 * elf/sotruss.sh: Likewise.
1861 * elf/sprof.c (print_version): Likewise.
1862 * iconv/iconv_prog.c (print_version): Likewise.
1863 * iconv/iconvconfig.c (print_version): Likewise.
1864 * locale/programs/locale.c (print_version): Likewise.
1865 * locale/programs/localedef.c (print_version): Likewise.
1866 * login/programs/pt_chown.c (print_version): Likewise.
1867 * malloc/memusage.sh (do_version): Likewise.
1868 * malloc/memusagestat.c (print_version): Likewise.
1869 * malloc/mtrace.pl: Likewise.
1870 * manual/libc.texinfo: Likewise.
1871 * nptl/version.c (banner): Likewise.
1872 * nscd/nscd.c (print_version): Likewise.
1873 * nss/getent.c (print_version): Likewise.
1874 * nss/makedb.c (print_version): Likewise.
1875 * posix/getconf.c (main): Likewise.
1876 * scripts/test-installation.pl: Likewise.
1877 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1879 2015-01-02 Will Newton <will.newton@linaro.org>
1881 * sysdeps/arm/armv7/configure: Removed.
1882 * sysdeps/arm/armv7/configure.ac: Likewise.
1884 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1886 * All files with FSF copyright notices: Update copyright dates
1887 using scripts/update-copyrights.
1888 * intl/plural.c: Regenerated.
1889 * locale/programs/charmap-kw.h: Likewise.
1890 * locale/programs/locfile-kw.h: Likewise.
1892 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1894 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1896 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1899 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1900 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1901 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1902 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1903 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1904 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1905 define as weak alias of __fegetenv. Use libm_hidden_weak.
1906 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1907 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1908 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1909 define as weak alias of __fegetenv. Use libm_hidden_weak.
1910 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1911 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1912 define as weak alias of __fegetenv. Use libm_hidden_weak.
1913 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1915 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1916 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1918 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1919 define as weak alias of __fegetenv. Use libm_hidden_weak.
1920 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1921 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1922 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1923 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1924 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1925 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1926 __fegetenv instead of fegetenv.
1927 (libc_feholdsetround_noex_ctx): Likewise.
1929 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1931 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1932 (Elf_MIPS_ABIFlags_v0): New structure.
1933 (EF_MIPS_FP64): Define.
1934 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1935 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1936 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1937 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1938 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1939 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1940 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1941 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1942 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1943 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1944 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1945 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1946 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1947 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1948 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1949 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1950 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1951 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1952 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1953 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1954 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1955 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1957 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1959 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1960 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1961 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1962 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1963 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1964 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1965 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1966 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1967 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1968 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1969 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1970 record the current FP ABI extension.
1971 (mips-mode-switch): Define to show if kernel headers support mode
1973 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1974 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1975 supported SYSV ABI version to 3.
1976 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1979 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1980 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1982 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1984 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1986 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1988 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1989 __fegetround and redefine to call __fegetround. Remove condition
1990 on [!__NO_MATH_INLINES].
1991 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1993 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1994 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1996 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1997 instead of <fenv_libc.h>.
1998 (__llrintl): Call fegetround instead of __fegetround.
1999 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2000 instead of <fenv_libc.h>.
2001 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2002 (__lrintl): Call fegetround instead of __fegetround.
2003 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2004 instead of <fenv_libc.h>.
2005 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2006 (__rintl): Call fegetround instead of __fegetround.
2008 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2010 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2013 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2016 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2017 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2018 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2020 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2022 * sysdeps/i386/tls-macros.h: Include <features.h>.
2023 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2027 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2028 define for GCC >= 5.0.
2030 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2032 * math/test-fenv.c (test_single_exception, set_single_exc,
2033 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2034 feexcp_mask_test, feenable_test, fe_single_test): Add
2035 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2036 case where they are not used.
2037 * math/libm-test.inc: Likewise.
2038 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2039 unused in the absence of FP rounding/exception support.
2040 * stdio-common/tst-printf-round.c: Likewise.
2041 * stdlib/tst-strtod-round.c: Likewise.
2042 * stdlib/tst-strtod-underflow.c: Likewise.
2044 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2047 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2048 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2049 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2050 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2052 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2053 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2054 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2056 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2057 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2059 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2061 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2062 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2063 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2065 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2067 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2068 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2069 (__feraiseexcept): Likewise.
2070 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2071 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2073 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2074 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2076 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2077 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2078 Use libm_hidden_def.
2079 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2081 (feraiseexcept): Define as weak not strong alias. Use
2083 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2084 New inline function. Factored out of ...
2085 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2086 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2087 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2089 * math/w_acos.c (__acos): Likewise.
2090 * math/w_asin.c (__asin): Likewise.
2091 * math/w_ilogb.c (__ilogb): Likewise.
2092 * math/w_j0.c (y0): Likewise.
2093 * math/w_j1.c (y1): Likewise.
2094 * math/w_jn.c (yn): Likewise.
2095 * math/w_log.c (__log): Likewise.
2096 * math/w_log10.c (__log10): Likewise.
2097 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2098 * sysdeps/aarch64/fpu/math_private.h
2099 (libc_feupdateenv_test_aarch64): Likewise.
2100 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2101 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2102 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2103 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2104 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2105 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2106 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2107 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2108 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2109 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2111 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2114 * io/test-utime.c (main): Replace %ld with %jd and cast to
2116 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2117 * nptl/tst-mutex5.c: Include <stdint.h>.
2118 (do_test): Replace %ld with %jd and cast to intmax_t.
2119 * posix/tst-regex.c (run_test): Likewise.
2120 (run_test_backwards): Likewise.
2121 * rt/tst-clock.c: Include <stdint.h>.
2122 (clock_test): Replace %ld with %jd and cast to intmax_t.
2123 * rt/tst-cpuclock1.c: Include <stdint.h>.
2124 (do_test): Replace %lu with %ju and cast to uintmax_t.
2125 * rt/tst-cpuclock2.c: Include <stdint.h>.
2126 (do_test): Replace %lu with %ju and cast to uintmax_t.
2127 * rt/tst-mqueue1.c: Include <stdint.h>.
2128 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2129 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2131 * rt/tst-mqueue4.c (do_test): Likewise.
2132 * rt/tst-timer4.c: Include <stdint.h>.
2133 (check_ts): Replace %ld with %jd and cast to intmax_t.
2134 (do_test): Likewise.
2135 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2136 and cast to intmax_t.
2137 * sysdeps/pthread/tst-timer.c (main): Likewise.
2138 * time/clocktest.c (main): Likewise.
2139 * time/tst-posixtz.c (do_test): Likewise.
2140 * timezone/tst-timezone.c (main): Likewise.
2142 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2143 H.J. Lu <hongjiu.lu@intel.com>
2145 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2146 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2147 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2148 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2149 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2150 version if bit_Fast_Unaligned_Load is set.
2151 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2152 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2153 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2154 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2155 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2156 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2158 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2159 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2160 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2162 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2163 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2164 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2165 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2167 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2169 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2170 instead of #if to avoid a Wundef warning.
2171 * stdlib/tst-limits.c (do_test): Likewise.
2173 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2174 parallel other exception macros.
2175 (fegetenv): Convert from macro to extern inline so that it applies
2176 retroactively to inline functions already seen by the compiler.
2177 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2179 * posix/Makefile (before-compile): Use $(objpfx) for
2180 posix-conf-vars-def.h.
2182 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2184 * posix/getconf.c (main): Use size_t for type of I.
2185 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2188 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2189 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2190 * posix/posix-envs.def: Likewise.
2191 * sysdeps/posix/sysconf.c: Likewise.
2192 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2193 (specs): Remove array.
2194 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2197 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2198 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2199 (__sysconf): Use CONF_IS_* macros.
2201 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2202 ($(objpfx)posix-conf-vars-def.h): New target.
2203 * posix/posix-conf-vars.list: New file.
2204 * posix/posix-conf-vars.h: New file.
2205 * posix/confstr.c: Include posix-conf-vars.h.
2206 (confstr): Use CONF_IS_* macros.
2207 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2209 * scripts/gen-posix-conf-vars.awk: New file.
2211 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2213 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2214 fegetround): Add no-op macros to avoid linknamespace issues.
2216 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2217 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2219 * sysdeps/unix/sysv/linux/tile/sysdep.h
2220 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2221 assembly-specific section to avoid a redefinition warning.
2223 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2224 long before casting to pointer to avoid a cast warning.
2226 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2228 * sysdeps/tile/tilegx/Implies: New file.
2230 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2232 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2234 2014-12-23 Florian Weimer <fweimer@redhat.com>
2236 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2238 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2240 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2242 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2243 <kernel-features.h>.
2244 (__utimes) [__NR_utimes]: Make code unconditional.
2245 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2246 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2247 (__ASSUME_UTIMES): Do not undefine.
2248 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2249 (__ASSUME_UTIMES): Likewise.
2250 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2251 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2252 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2253 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2255 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2257 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2259 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2262 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2263 alias to weak alias for j0l, y0l.
2264 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2265 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2268 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2271 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2273 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2274 to zero if not already defined.
2276 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2279 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2280 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2281 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2282 (char *) casts added.
2283 * sysdeps/ieee754/k_standardf.c: New file.
2284 * sysdeps/ieee754/k_standardl.c: Likewise.
2285 * math/Makefile (libm-support): Remove k_standard.
2286 (libm-calls): Add k_standard.
2288 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2290 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2291 Optimize to avoid an unnecessary FPCR read.
2293 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2295 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2296 Optimize to reduce FPCR/FPSR accesses.
2298 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2300 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2301 Call libc_fetestexcept_aarch64.
2303 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2305 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2306 Call libc_fesetround_aarch64.
2308 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2311 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2312 (__bind): Do not define as weak alias.
2313 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2315 (__getsockname): Do not define as weak alias.
2317 2014-12-22 Will Newton <will.newton@linaro.org>
2319 * manual/install.texi: Document that we require bison 2.7
2321 * INSTALL: Regenerate.
2322 * configure.ac: Use AC_CHECK_PROG_VER instead of
2323 AC_PATH_PROG when checking for bison and check for
2324 version 2.7 or above.
2325 * configure: Regenerate.
2327 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2330 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2331 * sysdeps/tile/ffsll.c (ffsll): To here.
2333 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2335 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2337 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2339 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2341 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2342 hidden ___tls_get_addr.
2343 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2344 hidden __tls_get_addr.
2345 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2346 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2349 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2351 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2354 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2356 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2357 from "call _dl_init@PLT".
2358 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2360 2014-12-21 Anders Kaseorg <andersk@mit.edu>
2362 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2365 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2367 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2369 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2372 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2375 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2377 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2379 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2380 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2381 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2382 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2383 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2385 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2387 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2388 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2389 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2390 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2391 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2393 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2395 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
2397 * string/strncat.c (STRNCAT): Simplify implementation.
2399 2014-12-19 David S. Miller <davem@davemloft.net>
2401 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2402 access the quad as both a long double and as a series of 4 words.
2404 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2405 link_map->l_info array access.
2407 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2409 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2411 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2412 * math/atest-exp2.c (TIMEOUT): Likewise.
2413 * math/atest-sincos.c (TIMEOUT): Likewise.
2415 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2417 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2418 -Wno-error with -fno-builtin-lround.
2420 2014-12-19 Torvald Riegel <triegel@redhat.com>
2422 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2423 Contains futex constants and functions moved over from ...
2424 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2425 <lowlevellock-futex.h>.
2426 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2427 (lll_timedwait_tid): Add comments and parentheses around macro
2430 2014-12-19 Torvald Riegel <triegel@redhat.com>
2432 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2433 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2434 (__lll_private_flag): Remove.
2435 (lll_futex_wait): Likewise.
2436 (lll_futex_timed_wait): Likewise.
2437 (lll_futex_wake): Likewise.
2438 (lll_futex_requeue): Likewise.
2439 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2440 (__lll_timedwait_tid): Spell out argument names.
2441 (lll_timedwait_tid): Add comments and parentheses around macro
2443 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2444 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2446 2014-12-19 Torvald Riegel <triegel@redhat.com>
2448 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2449 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2450 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2451 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2452 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2453 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2454 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2455 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2456 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2457 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2458 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2459 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2460 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2461 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2462 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2463 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2464 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2465 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2466 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2468 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2470 * sysdeps/x86_64/x32/Makefile: New file.
2472 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2474 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2475 1L with (mp_limb_t) 1.
2477 2014-12-17 Roland McGrath <roland@hack.frob.com>
2479 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2480 * nptl/libc_pthread_init.c: ... here.
2481 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2482 * nptl/register-atfork.c: ... here.
2484 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2485 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2486 Use assert_perror to check its return value.
2487 (__gai_create_helper_thread): Likewise.
2489 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2491 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2493 2014-12-17 Joseph Myers <joseph@codesourcery.com>
2496 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2498 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2500 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2502 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2504 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2505 (profil_counter): Likewise.
2506 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2507 (profil_counter): Likewise.
2508 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2510 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2512 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2513 (profil_counter): Likewise.
2514 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2516 [!__profil_counter] (profil_counter): Define as weak alias of
2518 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2519 (profil_counter): Rename to __profil_counter.
2520 [!__profil_counter] (profil_counter): Define as weak alias of
2522 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2523 (profil_counter): Rename to __profil_counter.
2524 [!__profil_counter] (profil_counter): Define as weak alias of
2526 * sysdeps/posix/profil.c: Update comment referring to
2528 (__profil): Use __profil_counter instead of profil_counter.
2529 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2530 __profil_counter. Use __profil_counter_ushort and
2531 __profil_counter_uint in definitions.
2532 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2533 instead of profil_counter_uint and profil_counter_ushort.
2536 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2537 define as weak alias of __inet_makeaddr.
2538 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2539 as weak alias of __inet_addr.
2540 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2541 as weak alias of __inet_pton. Use libc_hidden_weak.
2542 * include/arpa/inet.h (__inet_pton): Declare. Use
2544 (inet_makeaddr): Don't use libc_hidden_proto.
2545 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2546 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2547 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2548 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2550 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2551 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2553 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
2555 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2557 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2559 * stdio-common/bug-vfprintf-nargs.c (do_test):
2560 Cast value to intptr_t to avoid format warning
2561 for usage with PRIdPTR printing macro.
2563 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2565 * libio/tst-widetext.c (do_test):
2566 Use format type %td instead of %Zd for ptrdiff_t
2567 in order to avoid format warning.
2569 2014-12-17 Andreas Schwab <schwab@suse.de>
2571 * nscd/mem.c (gc): Add size_t cast to match printf format.
2573 2014-12-16 Roland McGrath <roland@hack.frob.com>
2575 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2576 (init): Apply PTR_MANGLE to pointers before storing them.
2577 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2580 2014-12-16 Joseph Myers <joseph@codesourcery.com>
2583 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2584 define as weak alias of __memrchr.
2585 (__memrchr): Do not define as strong alias of memrchr.
2586 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2588 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2589 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2590 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2593 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2594 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2595 (if_indextoname): Rename to __if_indextoname and define as weak
2596 alias of __if_indextoname. Use libc_hidden_weak.
2597 (if_freenameindex): Rename to __if_freenameindex and define as
2598 weak alias of __if_freenameindex.
2599 (if_nameindex): Rename to __if_nameindex and define as weak alias
2601 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2602 __if_nametoindex and define as weak alias of __if_nametoindex.
2603 Use libc_hidden_weak.
2604 (if_freenameindex): Rename to __if_freenameindex and define as
2605 weak alias of __if_freenameindex.
2606 (if_nameindex): Rename to __if_nameindex and define as weak alias
2608 (if_indextoname): Rename to __if_indextoname and define as weak
2609 alias of __if_indextoname. Use libc_hidden_weak.
2610 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2611 __if_nametoindex and define as weak alias of __if_nametoindex.
2612 Use libc_hidden_weak.
2613 (if_freenameindex): Rename to __if_freenameindex and define as
2614 weak alias of __if_freenameindex. Use libc_hidden_weak.
2615 (if_nameindex_netlink): Use __if_freenameindex instead of
2617 (if_nameindex): Rename to __if_nameindex and define as weak alias
2618 of __if_nameindex. Use libc_hidden_weak.
2619 (if_indextoname): Rename to __if_indextoname and define as weak
2620 alias of __if_indextoname. Use libc_hidden_weak.
2621 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2623 [!_ISOMAC] (__if_freenameindex): Likewise.
2624 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2626 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2628 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2629 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2630 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2631 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2632 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2633 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2634 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2636 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2638 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2639 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2641 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2643 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2644 subscript above bounds'
2646 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2649 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
2651 * libio/tst-fopenloc.c: Use test-skeleton.c.
2653 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2654 (entry): Rename to ITEM.
2655 (do_test, comp): Adjust.
2657 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2659 2014-12-16 Torvald Riegel <triegel@redhat.com>
2661 * string/tester.c: Include <libc-internal.h>.
2662 (test_memset): Ignore -Wmemset-transposed-args.
2664 2014-12-16 Torvald Riegel <triegel@redhat.com>
2666 * misc/tst-mntent2.c (do_test): Fix warning.
2668 2014-12-16 Torvald Riegel <triegel@redhat.com>
2670 * elf/tst-unique4lib.cc(a): Mark as used.
2672 2014-12-16 Florian Weimer <fweimer@redhat.com>
2675 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2678 2014-12-16 Allan McRae <allan@archlinux.org>
2680 * stdio-common/Makefile (tests): Re-add bug26.
2682 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
2685 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2688 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2690 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2691 (__lll_lock_wait): Likewise.
2692 (__lll_timedlock_wait): Likewise.
2693 (__lll_timedwait_tid): Likewise.
2694 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2695 (__lll_robust_timedlock_wait): Likewise.
2696 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2697 (lll_cond_trylock): Likewise.
2698 (__lll_lock): Likewise.
2699 (__lll_robust_lock): Likewise.
2700 (__lll_cond_lock): Likewise.
2701 (lll_robust_cond_lock): Likewise.
2702 (__lll_timedlock): Likewise.
2703 (__lll_robust_timedlock): Likewise.
2704 (__lll_unlock): Likewise.
2705 (__lll_robust_unlock): Likewise.
2706 (lll_wait_tid): Likewise.
2707 (lll_timedwait_tid): Likewise.
2709 2014-12-15 Torvald Riegel <triegel@redhat.com>
2711 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2713 2014-12-15 Torvald Riegel <triegel@redhat.com>
2715 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2717 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2719 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2720 * stdio-common/tst-sprintf.c: Likewise.
2722 2014-12-15 Torvald Riegel <triegel@redhat.com>
2724 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2726 2014-12-15 Jeff Law <law@redhat.com>
2729 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2730 on the heap. (CVE-2012-3406)
2731 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2732 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2733 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2735 2014-12-15 Will Newton <will.newton@linaro.org>
2737 * manual/install.texi: Bump required version of texinfo
2739 * INSTALL: Regenerated.
2740 * configure.ac: Check for makeinfo version 4.7 and above.
2741 * configure: Regenerated.
2743 2014-12-12 Roland McGrath <roland@hack.frob.com>
2745 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2746 PREFIX, string constant to insert between directory and name.
2747 * sysdeps/posix/shm_open.c: Update caller.
2748 * sysdeps/posix/shm_unlink.c: Likewise.
2749 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2750 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2751 (SEM_SHM_PREFIX): New macro.
2752 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2753 [$(have-thread-library) = no].
2754 * nptl/Makefile (libpthread-routines): Add shm-directory.
2755 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2756 * sysdeps/nptl/shm-directory.h: New file.
2757 * sysdeps/posix/shm-directory.c
2758 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2759 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2760 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2762 (__where_is_shmfs): Function removed.
2763 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2765 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2767 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2769 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2770 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2771 unconditional for use inside libpthread.
2772 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2774 2014-12-12 Roland McGrath <roland@hack.frob.com>
2776 * nptl/pthread_getaffinity.c: New file.
2777 * nptl/pthread_setaffinity.c: New file.
2778 * nptl/pthread_getname.c: New file.
2779 * nptl/pthread_setname.c: New file.
2781 * nptl/pthread_create.c (START_THREAD_DEFN)
2782 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2784 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2785 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2787 * resolv/res_send.c (send_vc): Disable warning resplen may
2788 be used uninitialized.
2790 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2793 (ATTR_NULL): New define checks ATTR against NULL.
2794 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2795 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2797 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2801 (mem2mem_check): Revert my previous change.
2802 (malloc_check_get_size): Revert my previous change.
2803 (mem2chunk_check): Revert my previous change.
2805 2014-12-11 Roland McGrath <roland@hack.frob.com>
2807 * sysdeps/posix/shm-directory.c: New file.
2808 * sysdeps/posix/shm-directory.h: New file.
2809 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2810 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2811 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2812 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2813 Transmute EPERM to EACCES.
2814 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2816 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2817 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2819 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2821 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2822 pointer and cast to uintptr_t.
2823 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2824 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2825 Add cast to avoid warning.
2826 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2828 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2830 * nptl/semaphore.h: Move to ...
2831 * sysdeps/pthread/semaphore.h: ... here.
2832 * Makefile (installed-headers): Change nptl/semaphore.h to
2833 sysdeps/pthread/semaphore.h.
2835 2014-12-11 Roland McGrath <roland@hack.frob.com>
2837 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2838 generated error format strings.
2840 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2841 -Wformat-extra-args warnings for scanf formats.
2842 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2843 test of zero-length format (duh).
2844 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2845 corner-case scanf format test.
2846 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2847 generated fprintf format string.
2848 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2849 corner-case sprintf format tests.
2850 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2851 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2852 -Wformat-extra-args warnings throughout.
2853 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2854 (CFLAGS-scanf4.c): Likewise.
2855 (CFLAGS-scanf7.c): Likewise.
2856 (CFLAGS-tst-sprintf.c): Likewise.
2857 (CFLAGS-tst-printf.c): Likewise.
2858 (CFLAGS-tst-printfsz.c): Likewise.
2860 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2862 * include/cpio.h: New file.
2863 * include/fmtmsg.h: Likewise.
2865 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2866 corresponding format argument to size_t.
2867 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2869 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2870 corresponding format argument to size_t.
2871 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2873 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2874 corresponding format argument to size_t.
2875 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2876 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2877 (CFLAGS-tst-mbswcs2.c): Likewise.
2878 (CFLAGS-tst-mbswcs3.c): Likewise.
2879 (CFLAGS-tst-mbswcs4.c): Likewise.
2880 (CFLAGS-tst-mbswcs5.c): Likewise.
2881 (CFLAGS-tst-trans.c): Likewise
2883 2014-12-11 Roland McGrath <roland@hack.frob.com>
2885 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2886 rather than assuming they won't contain any '%'s.
2888 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2890 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2891 inhibit_loop_to_libcall to avoid recursive calls.
2892 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2893 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2895 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2897 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2900 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2902 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2903 integer value instead of boolean.
2905 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2907 * malloc/malloc.c: Fix powerof2 check.
2909 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2911 * locale/programs/locfile.h (maybe_swap_uint32):
2912 Remove inline and add unused attribute.
2914 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2916 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2917 Truncating assembler expression to a .long expression.
2919 2014-12-11 Andreas Schwab <schwab@suse.de>
2921 * elf/rtld.c (struct map_args): Constify str member.
2922 (do_preload): Constify fname argument.
2924 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2926 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2927 constants definition.
2929 2014-12-11 Andreas Schwab <schwab@suse.de>
2932 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2933 FORCE_ELISION instead of DO_ELISION.
2934 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2936 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2939 * iconvdata/gconv-modules: Remove duplicate entry.
2941 2014-12-11 Will Newton <will.newton@linaro.org>
2943 Merge gettext 0.19.3 into intl/.
2945 This involves a number of cosmetic changes to comments
2946 and ANSI function definitions and prototypes throughout
2947 all the files. The gettext copyright header is used but
2948 with the date ranges taken from the glibc copy.
2950 * NEWS: Add gettext merge to 2.21.
2951 * intl/bindtextdom.c: Switch to gettext copyright.
2952 Use ANSI definitions and prototypes.
2953 Use gl_* locking primitives rather than __libc_* ones.
2954 Use __builtin_expect rather than __glibc_likely/unlikely.
2955 * intl/dcgettext.c: Switch to gettext copyright.
2956 Use ANSI definitions and prototypes.
2957 * intl/dcigettext.c: Switch to gettext copyright.
2958 Use ANSI definitions and prototypes.
2959 (INTDIV0_RAISES_SIGFPE): New define.
2960 Use gl_* locking primitives rather than __libc_* ones.
2961 Include eval-plural.h instead of plural-eval.c.
2962 Use __builtin_expect rather than __glibc_likely/unlikely.
2963 * intl/dcngettext.c: Switch to gettext copyright.
2964 Use ANSI definitions and prototypes.
2965 * intl/dgettext.c: Likewise.
2966 * intl/dngettext.c: Likewise.
2967 * intl/plural-eval.c: Renamed to...
2968 * intl/eval-plural.h: ...this.
2969 * intl/explodename.c: Switch to gettext copyright.
2970 Use ANSI definitions and prototypes.
2971 (_nl_explode_name): Use strchr instead of __rawmemchr.
2972 * intl/finddomain.c: Switch to gettext copyright.
2973 Use ANSI definitions and prototypes.
2974 Use gl_* locking primitives rather than __libc_* ones.
2975 (_nl_find_domain): Use malloc rather than alloca for
2976 allocation of temporary locale name.
2977 * intl/gettext.c: Switch to gettext copyright.
2978 Use ANSI definitions and prototypes.
2979 * intl/gettextP.h: Switch to gettext copyright.
2980 Use ANSI definitions and prototypes.
2981 Use gl_* locking primitives rather than __libc_* ones.
2982 * intl/gmo.h: Switch to gettext copyright.
2983 (struct sysdep_string): Move struct segment_pair outside of
2985 * intl/hash-string.c: Use ANSI definitions and prototypes.
2986 * intl/hash-string.h: Switch to gettext copyright.
2987 Use ANSI definitions and prototypes.
2988 * intl/l10nflist.c: Switch to gettext copyright.
2989 Use ANSI definitions and prototypes.
2990 (_nl_normalize_codeset): Avoid integer overflow.
2991 * intl/loadinfo.h: Switch to gettext copyright.
2992 Use ANSI definitions and prototypes.
2993 (LIBINTL_DLL_EXPORTED): New define.
2994 (PATH_SEPARATOR): New define.
2995 * intl/loadmsgcat.c: Switch to gettext copyright.
2996 * intl/localealias.c: Switch to gettext copyright.
2997 Use ANSI definitions and prototypes.
2998 (_nl_expand_alias): Use PATH_SEPARATOR.
2999 * intl/ngettext.c: Switch to gettext copyright.
3000 Use ANSI definitions and prototypes.
3001 * intl/plural-exp.c: Likewise.
3002 * intl/plural-exp.h: Switch to gettext copyright.
3003 Use ANSI definitions and prototypes.
3004 (struct expression): Move definition of enum operator outside
3005 of struct definition.
3006 * intl/plural.c: Regenerate.
3007 * intl/plural.y: Switch to gettext copyright.
3008 Use ANSI definitions and prototypes.
3010 * intl/textdomain.c: Switch to gettext copyright.
3011 Use ANSI definitions and prototypes.
3012 Use gl_* locking primitives rather than __libc_* ones.
3014 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3016 * debug/warning-nop.c: Add used atrribute.
3018 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3020 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3022 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3023 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3024 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3026 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3027 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3030 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3031 Undefine after defining function. Define as weak alias of
3032 __wcschr. Use libc_hidden_weak.
3033 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3034 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3035 (libc_hidden_def): Also define __GI___wcschr alias.
3036 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3037 __wcschr and define as weak alias of __wcschr.
3038 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3040 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3041 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3042 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3043 libc_hidden_weak. Do not use libc_hidden_def.
3044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3045 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3046 __GI___wcschr alias.
3047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3048 [IS_IN (libc)] (wcschr): Define as macro expanding to
3050 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3051 [IS_IN (libc)] (__wcschr_power6): Likewise.
3052 [IS_IN (libc)] (__wcschr_power7): Likewise.
3053 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3055 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3057 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3058 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3059 __wcschr and define as weak alias of __wcschr. Use
3060 libc_hidden_builtin_def.
3061 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3062 as weak alias of __wcschr. Use libc_hidden_weak.
3063 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3065 * time/era.c (_nl_init_era_entries): Likewise.
3066 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3068 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3069 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3071 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3073 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3074 format for long int variable.
3076 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3079 * manual/search.texi: (Array Sort Function): Remove claim how to make
3082 2014-12-10 Andreas Schwab <schwab@suse.de>
3085 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3086 user-controlled locks.
3088 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3090 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3093 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3095 * configure.ac (--disable-werror): New configure option.
3096 (enable_werror): New AC_SUBST.
3097 * configure: Regenerated.
3098 * config.make.in (enable-werror): New variable.
3099 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3101 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3102 * manual/install.texi (Configuring and compiling): Document
3104 * INSTALL: Regenerated.
3105 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3106 (CFLAGS-tst-chk2.c): Likewise.
3107 (CFLAGS-tst-chk3.c): Likewise.
3108 (CFLAGS-tst-chk4.cc): Likewise.
3109 (CFLAGS-tst-chk5.cc): Likewise.
3110 (CFLAGS-tst-chk6.cc): Likewise.
3111 (CFLAGS-tst-lfschk1.c): Likewise.
3112 (CFLAGS-tst-lfschk2.c): Likewise.
3113 (CFLAGS-tst-lfschk3.c): Likewise.
3114 (CFLAGS-tst-lfschk4.cc): Likewise.
3115 (CFLAGS-tst-lfschk5.cc): Likewise.
3116 (CFLAGS-tst-lfschk6.cc): Likewise.
3118 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3119 (main): Disable -Wdeprecated-declarations around calls to
3120 register_printf_function.
3122 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3123 (do_test): Disable -Wdiv-by-zero around some calls to
3124 fwrite_unlocked and fread_unlocked.
3126 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3127 (DIAG_POP_NEEDS_COMMENT): Likewise.
3128 (_DIAG_STR1): Likewise.
3129 (_DIAG_STR): Likewise.
3130 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3131 * stdio-common/bug21.c: Include <libc-internal.h>.
3132 (do_test): Disable -Wformat around call to sscanf.
3133 * stdio-common/scanf14.c: Include <libc-internal.h>.
3134 (main): Disable -Wformat around some calls to scanf functions.
3136 2014-12-09 Torvald Riegel <triegel@redhat.com>
3138 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3140 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3142 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3143 stack variable alignment.
3145 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3148 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3149 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3150 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3151 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3152 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3153 __getrlimit instead of getrlimit.
3154 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3155 __gettimeofday instead of gettimeofday.
3156 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3158 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3160 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3161 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3163 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3164 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3166 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3168 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3169 for wide-character tests.
3171 2014-12-04 Roland McGrath <roland@hack.frob.com>
3173 * io/openat64.c: #include <libc-internal.h>
3174 (__openat64): Prototypify. Use ignore_value on MODE.
3175 * io/openat.c: Likewise.
3176 * misc/reboot.c: #include <libc-internal.h>
3177 (reboot): Prototypify. Use ignore_value on HOWTO.
3178 * misc/ptrace.c: #include <libc-internal.h>
3179 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3181 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3183 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3184 XPG4, UNIX98 and XOPEN2K.
3185 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3187 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3189 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3191 * libio/fileops.c: Use ISO C style for function definitions.
3192 * libio/iofopen.c: Likewise.
3193 * libio/wfileops.c: Likewise.
3196 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3198 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3199 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3200 (fgets_func): Function pointer to fgets and fgetws.
3201 (do_ftell_test): Add test to verify ftell value after read
3203 (do_test): Set fgets_func.
3205 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3206 O_TRUNC flag for w and w+ modes.
3207 (do_rewind_test): Likewise.
3208 (do_ftell_test): Likewise.
3209 (do_write_test): Likewise.
3212 * libio/fileops.c (do_ftell): Seek only when there are
3214 * libio/wfileops.c (do_ftell_wide): Likewise.
3215 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3217 (do_one_test): Call it.
3219 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3221 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3222 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3223 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3225 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3226 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3227 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3229 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3231 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3233 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3236 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3237 as weak alias of __getifaddrs. Use libc_hidden_weak.
3238 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3239 __freeifaddrs. Use libc_hidden_weak.
3240 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3241 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3242 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3243 __freeifaddrs. Use libc_hidden_weak.
3244 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3245 __getifaddrs and define as weak alias of __getifaddrs. Use
3247 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3248 __freeifaddrs. Use libc_hidden_weak.
3249 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3251 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3252 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3254 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3257 * sysdeps/mips/start.S (__start): Use indirect jump to call
3260 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3262 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3264 * nptl/tst-mutex1.c: Include <stdbool.h>.
3265 [!ATTR] (ATTR_NULL): New macro.
3266 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3267 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3268 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3270 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3274 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3275 Change conditional to [__USE_MISC].
3278 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3280 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3282 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3284 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3286 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3287 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3288 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3289 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3290 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3291 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3292 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3293 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3294 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3296 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3298 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3300 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3301 Remove strpbrk objects.
3302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3303 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3304 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3305 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3306 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3307 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3309 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3310 Remove strcspn objects.
3311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3312 (__libc_ifunc_impl_list): Remove strcspn implementation.
3313 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3314 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3315 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3316 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3318 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3319 Remove strspn objetcs.
3320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3321 (__libc_ifunc_impl_list): Remove strspn implementation.
3322 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3323 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3324 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3325 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3327 2014-12-01 James Lemke <jwlemke@codesourcery.com>
3331 (mem2mem_check): Add a terminator to the chain of checking blocks.
3332 (malloc_check_get_size): Use it here.
3333 (mem2chunk_check): Ditto.
3335 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3337 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3338 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3340 2014-11-29 Carlos O'Donell <carlos@redhat.com>
3342 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3344 * nptl/nptl-init.c: Include libc-internal.h.
3345 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3347 * elf/ldconfig.c (search_dir): Expand comment.
3349 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3351 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3353 (linknamespace-symlist-stdlibs-tests): Likewise.
3354 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3355 instead of $(objpfx)symlist-stdlibs.
3356 (linknamespace-libs-isoc): New variable.
3357 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3358 (linknamespace-libs-ISO): New variable.
3359 (linknamespace-libs-ISO99): Likewise.
3360 (linknamespace-libs-ISO11): Likewise.
3361 (linknamespace-libs-XPG3): Likewise.
3362 (linknamespace-libs-XPG4): Likewise.
3363 (linknamespace-libs-POSIX): Likewise.
3364 (linknamespace-libs-UNIX98): Likewise.
3365 (linknamespace-libs-XOPEN2K): Likewise.
3366 (linknamespace-libs-POSIX2008): Likewise.
3367 (linknamespace-libs-XOPEN2K8): Likewise.
3368 ($(objpfx)symlist-stdlibs): Replace by
3369 $(linknamespace-symlist-stdlibs-tests). Use
3370 $(linknamespace-libs-$*) as set of libraries.
3371 ($(linknamespace-header-tests)): Update dependencies. Use
3372 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3373 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3374 * conform/linknamespace.pl: Remove comment about considering
3375 definitions of symbols from irrelevant libraries.
3377 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3380 * elf/dl-tls.c: Include <atomic.h>.
3381 (oom): Remove #ifdef SHARED/#endif.
3382 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3383 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3384 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3386 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3387 * nptl/Makefile (tests): Add tst-stack4.
3388 (modules-names): Add tst-stack4mod.
3389 ($(objpfx)tst-stack4): New.
3390 (tst-stack4mod.sos): Likewise.
3391 ($(objpfx)tst-stack4.out): Likewise.
3392 ($(tst-stack4mod.sos)): Likewise.
3394 * nptl/tst-stack4.c: New file.
3395 * nptl/tst-stack4mod.c: Likewise.
3397 2014-11-27 J. Brown <jb999@gmx.de>
3399 * sysdeps/x86/bits/string.h: Add recent CPUs.
3401 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3403 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3406 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3409 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3412 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3414 * nscd/connections.c: Include libc-internal.h because of macro
3417 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3419 * string/bits/string3.h (__warn_memset_zero_len): Don't
3420 declare for gcc newer than 5.0.
3421 (memset): Don't test for zero-length __LEN for gcc newer than
3424 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3426 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3427 size_t for %zu format.
3429 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3430 difference, not %ju.
3432 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3434 * include/libc-internal.h (ignore_value): New macro.
3435 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3438 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3441 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3442 pthread_cleanup_push to void *.
3444 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3449 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3450 instead of 1L << 52.
3452 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3453 * libio/bug-rewind2.c (do_test): Likewise.
3455 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3456 * debug/test-strcpy_chk-ifunc.c: Likewise.
3457 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3458 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3459 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3460 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3461 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3462 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3463 * Rules [$(multi-arch) = no] (tests): Do not filter out
3465 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3466 * debug/Makefile (tests-ifunc): Remove variable.
3467 (tests): Do not add $(tests-ifunc).
3468 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3469 (tests): Do not add $(tests-ifunc).
3470 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3471 [TEST_IFUNC]: Remove conditionals.
3472 * string/test-string.h (TEST_IFUNC): Remove macro.
3473 [TEST_IFUNC]: Remove conditionals.
3475 * string/test-strchr.c [!WIDE] (L): New macro.
3476 [WIDE] (L): Likewise.
3477 (check1): Use CHAR instead of char. Use L on string and character
3480 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3482 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3484 * sysdeps/powerpc/bits/atomic.h
3485 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3486 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3487 (atomic_exchange_and_add_acq): Likewise.
3488 (atomic_exchange_and_add_rel): Likewise.
3489 * sysdeps/powerpc/powerpc32/bits/atomic.h
3490 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3491 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3492 * sysdeps/powerpc/powerpc64/bits/atomic.h
3493 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3494 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3496 2014-11-26 Torvald Riegel <triegel@redhat.com>
3498 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3499 Change synchronization of __sched_fifo_min_prio and
3500 __sched_fifo_max_prio.
3501 * nptl/pthread_mutexattr_getprioceiling.c
3502 (pthread_mutexattr_getprioceiling): Likewise.
3503 * nptl/pthread_mutexattr_setprioceiling.c
3504 (pthread_mutexattr_setprioceiling): Likewise.
3505 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3506 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3509 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3511 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3514 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3516 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3517 third argument const.
3519 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3521 fnmatch: work around GCC compiler warning bug with uninit var
3522 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3523 This works around a bug with x86-64 GCC 4.9.2 and earlier
3524 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3525 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3526 used uninitialized in this function [-Wmaybe-uninitialized]".
3528 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3530 * posix/bug-regex31.c (main): Return RES not 0.
3532 2014-11-25 Anton Blanchard <anton@samba.org>
3534 * sysdeps/powerpc/bits/atomic.h
3535 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3537 2014-11-24 Sterling Augustine <saugustine@google.com>
3539 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3541 2014-11-24 Ryan Cumming <etaoins@gmail.com>
3544 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3546 2014-11-24 Joseph Myers <joseph@codesourcery.com>
3549 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3550 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3552 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3553 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3555 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3557 * string/strncpy.c (strncpy): Improve performance by using memset.
3559 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3561 * string/strcpy.c (strcpy):
3562 Improve performance by using strlen and memcpy.
3564 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
3566 * string/strcoll_l.c (get_next_seq): __always_inline.
3567 * string/strcoll_l.c (do_compare): __always_inline.
3569 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3571 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3573 * include/mqueue.h: Likewise.
3574 * include/stdlib.h: Likewise.
3576 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3577 (get_null_defines): Adjust.
3578 * sunrpc/Makefile: Adjust comment.
3579 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3580 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3581 (CFLAGS-interp.c): Likewise.
3582 (CFLAGS-ldconfig.c): Likewise.
3583 (CPPFLAGS-.os): Likewise.
3584 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3585 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3586 * extra-modules.mk (extra-modules.mk): Likewise.
3587 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3588 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3589 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3590 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3591 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3592 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3593 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3594 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3595 * iconvdata/Makefile (CPPFLAGS): Likewise.
3596 (cpp-srcs-left): Add libof for all iconvdata routines.
3597 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3598 * include/assert.h: Likewise.
3599 * include/ctype.h: Likewise.
3600 * include/errno.h: Likewise.
3601 * include/libc-symbols.h: Likewise.
3602 * include/math.h: Likewise.
3603 * include/netdb.h: Likewise.
3604 * include/resolv.h: Likewise.
3605 * include/stdio.h: Likewise.
3606 * include/stdlib.h: Likewise.
3607 * include/string.h: Likewise.
3608 * include/sys/stat.h: Likewise.
3609 * include/wctype.h: Likewise.
3610 * intl/l10nflist.c: Likewise.
3611 * libidn/idn-stub.c: Likewise.
3612 * libio/libioP.h: Likewise.
3613 * nptl/libc_multiple_threads.c: Likewise.
3614 * nptl/pthreadP.h: Likewise.
3615 * posix/regex_internal.h: Likewise.
3616 * resolv/res_hconf.c: Likewise.
3617 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3618 * sysdeps/arm/memmove.S: Likewise.
3619 * sysdeps/arm/sysdep.h: Likewise.
3620 * sysdeps/generic/_itoa.h: Likewise.
3621 * sysdeps/generic/symbol-hacks.h: Likewise.
3622 * sysdeps/gnu/errlist.awk: Likewise.
3623 * sysdeps/gnu/errlist.c: Likewise.
3624 * sysdeps/i386/i586/memcpy.S: Likewise.
3625 * sysdeps/i386/i586/memset.S: Likewise.
3626 * sysdeps/i386/i686/memcpy.S: Likewise.
3627 * sysdeps/i386/i686/memmove.S: Likewise.
3628 * sysdeps/i386/i686/mempcpy.S: Likewise.
3629 * sysdeps/i386/i686/memset.S: Likewise.
3630 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3633 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3636 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3637 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3638 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3639 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3640 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3641 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3642 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3643 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3644 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3645 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3646 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3647 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3648 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3649 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3650 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3651 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3652 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3653 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3654 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3655 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3656 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3657 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3658 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3659 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3660 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3661 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3663 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3664 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3665 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3666 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3667 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3668 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3669 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3670 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3671 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3672 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3673 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3676 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3677 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3678 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3679 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3680 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3681 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3682 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3683 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3684 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3685 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3686 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3687 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3688 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3689 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3691 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3692 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3693 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3694 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3695 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3696 * sysdeps/posix/closedir.c: Likewise.
3697 * sysdeps/posix/opendir.c: Likewise.
3698 * sysdeps/posix/readdir.c: Likewise.
3699 * sysdeps/posix/rewinddir.c: Likewise.
3700 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3701 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3702 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3703 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3704 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3705 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3706 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3707 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3708 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3709 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3710 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3711 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3712 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3713 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3714 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3715 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3716 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3717 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3718 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3719 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3720 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3721 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3722 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3723 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3724 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3725 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3726 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3727 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3728 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3735 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3736 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3737 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3738 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3739 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3740 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3741 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3742 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3744 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3745 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3746 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3747 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3748 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3749 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3750 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3751 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3752 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3753 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3754 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3755 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3756 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3757 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3758 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3759 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3760 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3761 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3762 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3763 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3764 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3765 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3766 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3767 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3768 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3769 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3770 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3771 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3772 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3773 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3774 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3775 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3776 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3777 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3778 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3779 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3780 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3781 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3782 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3783 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3784 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3785 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3786 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3787 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3788 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3789 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3790 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3791 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3792 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3794 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3796 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3798 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3799 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3801 * sysdeps/unix/alpha/sysdep.S: Likewise.
3802 * sysdeps/unix/alpha/sysdep.h: Likewise.
3803 * sysdeps/unix/make-syscalls.sh: Likewise.
3804 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3805 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3806 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3807 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3808 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3809 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3810 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3811 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3812 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3813 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3814 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3815 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3816 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3817 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3818 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3819 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3820 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3821 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3822 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3823 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3824 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3825 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3826 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3827 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3828 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3829 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3830 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3833 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3834 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3837 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3838 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3839 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3842 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3843 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3844 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3845 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3846 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3847 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3848 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3850 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3851 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3852 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3853 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3854 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3855 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3856 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3857 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3858 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3859 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3860 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3862 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3863 * sysdeps/x86_64/memcpy.S: Likewise.
3864 * sysdeps/x86_64/memmove.c: Likewise.
3865 * sysdeps/x86_64/memset.S: Likewise.
3866 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3867 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3868 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3869 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3870 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3871 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3872 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3873 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3874 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3875 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3876 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3877 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3878 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3879 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3880 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3881 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3882 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3883 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3884 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3885 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3886 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3887 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3888 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3889 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3890 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3891 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3892 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3893 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3894 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3895 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3896 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3897 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3898 * sysdeps/x86_64/strcmp.S: Likewise.
3900 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3902 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3903 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3904 * elf/rtld-Rules: Likewise.
3905 * elf/setup-vdso.h: Likewise.
3906 * include/assert.h: Likewise.
3907 * include/bits/stdlib-float.h: Likewise.
3908 * include/errno.h: Likewise.
3909 * include/sys/stat.h: Likewise.
3910 * include/unistd.h: Likewise.
3911 * sysdeps/aarch64/setjmp.S: Likewise.
3912 * sysdeps/alpha/setjmp.S: Likewise.
3913 * sysdeps/arm/__longjmp.S: Likewise.
3914 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3915 * sysdeps/arm/setjmp.S: Likewise.
3916 * sysdeps/arm/sysdep.h: Likewise.
3917 * sysdeps/generic/_itoa.h: Likewise.
3918 * sysdeps/generic/dl-sysdep.h: Likewise.
3919 * sysdeps/generic/ldsodefs.h: Likewise.
3920 * sysdeps/i386/dl-tls.h: Likewise.
3921 * sysdeps/i386/setjmp.S: Likewise.
3922 * sysdeps/m68k/setjmp.c: Likewise.
3923 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3924 * sysdeps/mach/hurd/opendir.c: Likewise.
3925 * sysdeps/posix/getcwd.c: Likewise.
3926 * sysdeps/posix/opendir.c: Likewise.
3927 * sysdeps/posix/profil.c: Likewise.
3928 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3929 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3930 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3931 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3932 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3934 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3935 * sysdeps/s390/dl-tls.h: Likewise.
3936 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3937 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3938 * sysdeps/sh/sh3/setjmp.S: Likewise.
3939 * sysdeps/sh/sh4/setjmp.S: Likewise.
3940 * sysdeps/unix/alpha/sysdep.h: Likewise.
3941 * sysdeps/unix/arm/sysdep.S: Likewise.
3942 * sysdeps/unix/i386/sysdep.S: Likewise.
3943 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3944 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3945 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3946 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3947 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3948 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3949 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3950 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3951 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3952 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3953 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3954 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3955 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3958 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3959 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3960 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3961 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3962 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3963 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3964 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3966 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3967 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3968 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3970 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3971 * sysdeps/x86_64/setjmp.S: Likewise.
3973 * include/math.h: Use IS_IN instead of IS_IN_libm.
3974 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3975 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3977 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3986 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3994 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3995 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3996 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3997 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3998 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3999 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4000 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4001 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4002 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4003 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4004 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4005 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4006 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4017 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4018 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4019 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4020 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4021 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4022 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4028 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4029 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4030 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4031 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4032 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4033 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4034 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4035 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4036 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4037 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4038 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4039 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4040 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4041 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4043 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4045 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4046 * nptl/pthreadP.h: Likewise.
4047 * nptl_db/structs.def: Likewise.
4048 * sysdeps/arm/sysdep.h: Likewise.
4049 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4050 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4051 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4052 * sysdeps/unix/alpha/sysdep.h: Likewise.
4053 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4054 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4055 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4056 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4057 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4058 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4059 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4060 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4061 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4062 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4063 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4064 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4065 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4066 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4070 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4071 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4072 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4073 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4074 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4075 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4076 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4077 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4078 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4080 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4081 * nptl/pthreadP.h: Likewise.
4082 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4083 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4084 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4085 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4086 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4087 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4088 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4089 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4090 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4091 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4092 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4093 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4100 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4103 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4104 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4105 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4107 * dlfcn/dladdr.c: Use IS_IN.
4108 * dlfcn/dladdr1.c: Likewise.
4109 * dlfcn/dlclose.c: Likewise.
4110 * dlfcn/dlerror.c: Likewise.
4111 * dlfcn/dlinfo.c: Likewise.
4112 * dlfcn/dlmopen.c: Likewise.
4113 * dlfcn/dlopen.c: Likewise.
4114 * dlfcn/dlsym.c: Likewise.
4115 * dlfcn/dlvsym.c: Likewise.
4117 * include/ifaddrs.h: Use IS_IN.
4118 * inet/check_pf.c: Likewise.
4119 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4120 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4122 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4124 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4125 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4127 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4128 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4131 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4133 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4134 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4135 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4136 * include/libc-symbols.h (IS_IN_LIB): New macro.
4137 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4138 * include/netdb.h: Likewise.
4139 * include/stap-probe.h: Remove all uses of IN_LIB.
4141 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4142 instead of IN_MODULE.
4143 * include/libc-symbols.h (IN_MODULE): Define using
4145 (PASTE_NAME, PASTE_NAME1): New macros.
4146 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4148 (STAP_PROBE_ASM): Likewise.
4150 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4152 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4153 __mach_init in dlopened libc.
4155 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4157 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4158 * sysdeps/arm/preconfigure: Regenerate.
4160 2014-11-21 Roland McGrath <roland@hack.frob.com>
4162 * nptl/pthread_create.c (__pthread_create_2_1): Set
4163 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4164 when copying values from IATTR into PD.
4166 2014-11-21 Will Newton <will.newton@linaro.org>
4167 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4169 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4170 Refactor inline-asm. Also add comment.
4172 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4173 ElfW macro instead of hardcoded Elf64 types.
4174 (la_aarch64_gnu_pltenter): Likewise.
4175 * sysdeps/aarch64/dl-machine.h
4176 (elf_machine_runtime_setup): Use ElfW(Addr).
4178 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4179 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4180 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4181 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4182 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4183 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4184 (R_AARCH64_TLS_DTPMOD): This.
4185 (R_AARCH64_TLS_DTPREL64): Rename to ...
4186 (R_AARCH64_TLS_DTPREL): This.
4187 (R_AARCH64_TLS_TPREL64): Rename to ...
4188 (R_AARCH64_TLS_TPREL): This.
4189 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4190 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4191 R_AARCH64_TLS_TPREL64.
4192 (elf_machine_rela): Likewise.
4194 2014-11-21 Torvald Riegel <triegel@redhat.com>
4196 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4197 by setting it to 0. 64b atomics are not supported currently.
4199 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4202 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4203 search domain names.
4205 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4209 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4211 * posix/tst-getaddrinfo5.c: New.
4212 * posix/Makefile (tests): Add it.
4214 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4218 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4219 after parsing line but before break_if_match.
4220 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4221 if there is a protocol mismatch.
4223 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4225 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4226 because the potential race is on the user-supplied stream.
4228 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4230 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4231 string literal if not passed a buffer.
4232 * manual/job.texi (ctermid): Update reasoning, note deviation
4233 from posix, suggest mtasurace when not passed a buffer, for
4234 future non-preliminary safety notes.
4236 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4238 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4239 of not passing it a buffer.
4240 Reported by Peng Haitao.
4242 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4244 * manual/Makefile ($(objpfx)stamp-summary): Require
4245 check-safety.sh to pass.
4246 * manual/check-safety.sh: Wish for verification that every
4247 @deftypefn and @deftypefun is followed by a @safety remark.
4249 2014-11-20 Roland McGrath <roland@hack.frob.com>
4251 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4253 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4254 PTHREAD_CANCEL_ASYNCHRONOUS.
4255 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4258 * nptl/default-sched.h: New file.
4259 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4260 * nptl/pthread_create.c: Include it.
4261 (__pthread_create_2_1): Use collect_default_sched instead of making
4262 Linux syscalls here directly.
4264 2014-11-20 Torvald Riegel <triegel@redhat.com>
4266 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4267 __pthread_once): Use C11 atomics.
4269 2014-11-20 Torvald Riegel <triegel@redhat.com>
4271 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4273 2014-11-20 Torvald Riegel <triegel@redhat.com>
4275 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4276 atomic_thread_fence_acquire, atomic_thread_fence_release,
4277 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4278 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4279 atomic_compare_exchange_weak_relaxed,
4280 atomic_compare_exchange_weak_acquire,
4281 atomic_compare_exchange_weak_release,
4282 atomic_exchange_acquire, atomic_exchange_release,
4283 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4284 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4285 atomic_fetch_and_acquire,
4286 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4288 2014-11-20 Torvald Riegel <triegel@redhat.com>
4290 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4291 USE_ATOMIC_COMPILER_BUILTINS): Define.
4292 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4293 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4294 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4295 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4296 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4297 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4298 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4299 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4300 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4301 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4302 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4303 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4304 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4305 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4306 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4307 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4308 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4309 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4310 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4311 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4312 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4313 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4314 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4315 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4316 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4317 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4318 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4319 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4320 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4321 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4322 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4323 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4324 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4325 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4326 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4327 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4328 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4329 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4330 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4331 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4333 2014-11-19 Roland McGrath <roland@hack.frob.com>
4335 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4336 the sched_priority value here. It was already checked when the user
4337 called pthread_attr_setschedparam.
4339 * nptl/tst-bad-schedattr.c: New file.
4340 * nptl/Makefile (tests): Add it.
4342 2014-11-19 Carlos O'Donell <carlos@redhat.com>
4343 Florian Weimer <fweimer@redhat.com>
4344 Joseph Myers <joseph@codesourcery.com>
4345 Adam Conrad <adconrad@0c3.net>
4346 Andreas Schwab <schwab@suse.de>
4347 Brooks <bmoses@google.com>
4350 * wordexp-test.c (__dso_handle): Add prototype.
4351 (__register_atfork): Likewise.
4352 (__app_register_atfork): New function.
4353 (registered_forks): New global.
4354 (register_fork): New function.
4355 (test_case): Add 3 new tests for WRDE_CMDSUB.
4356 (main): Call __app_register_atfork.
4357 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4358 fork count is non-zero fail the test.
4359 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4361 (parse_dollars): Remove check for WRDE_NOCMD.
4362 (parse_dquote): Likewise.
4364 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4366 * Makeconfig (built-modules): List non-library modules to be
4368 (module-cppflags): Include libc-modules.h for
4369 everything except shlib-versions.v.i.
4371 (before-compile): Add libc-modules.h.
4372 ($(common-objpfx)libc-modules.h,
4373 $(common-objpfx)libc-modules.stmp): New targets.
4374 (common-generated): Add libc-modules.h and libc-modules.stmp.
4375 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4376 * include/libc-symbols.h: Don't include libc-modules.h.
4377 * include/libc-modules.h: Remove file.
4378 * scripts/gen-libc-modules.awk: New script to generate
4380 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4381 Depend on libc-modules.stmp.
4383 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4385 * Makeconfig (in-module): Get value of libof set for the
4387 (CPPFLAGS): Use $(in-module).
4388 * Makerules: Don't suffix routine names for nonlib.
4389 * include/libc-modules.h: New file.
4390 * include/libc-symbols.h: Include libc-modules.h
4391 (IS_IN): New macro to replace IS_IN_* macros.
4392 * elf/Makefile: Set libof-* for each routine.
4393 * elf/rtld-Rules: Likewise.
4394 * extra-modules.mk: Likewise.
4395 * iconv/Makefile: Likewise.
4396 * iconvdata/Makefile: Likewise.
4397 * locale/Makefile: Likewise.
4398 * malloc/Makefile: Likewise.
4399 * nss/Makefile: Likewise.
4400 * sysdeps/gnu/Makefile: Likewise.
4401 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4402 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4403 * sysdeps/s390/s390-64/Makefile: Likewise.
4404 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4405 CPPFLAGS for nscd instead of nonlib.
4407 2014-11-18 Roland McGrath <roland@hack.frob.com>
4409 * nptl/createthread.c: New file.
4411 * nptl/createthread.c: Moved ...
4412 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4414 * nptl/createthread.c: Add proper top-line comment.
4415 (do_clone): Folded into ...
4416 (create_thread): ... here. Take new arguments STOPPED_START and
4417 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4418 increment __nptl_threads, do event-reporting logic, do
4419 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4420 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4421 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4422 just send SIGCANCEL.
4423 * nptl/pthread_create.c: Forward-declare create_thread before
4424 including createthread.c.
4425 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4426 declaration, and new macro START_THREAD_SELF to replace argument.
4427 Remove return statement.
4428 (report_thread_creation): New function.
4429 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4430 synchronization logic, and __nptl_nthreads increment here, around
4431 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4432 PD->parent_cancelhandling here, before create_thread. When
4433 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4434 __deallocate_stack, and ENOMEM translation here.
4436 2014-11-18 Joseph Myers <joseph@codesourcery.com>
4439 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4440 (mptwo): Rename to __mptwo.
4441 (__inv): Use __mptwo instead of mptwo.
4442 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4443 (mptwo): Rename to __mptwo.
4444 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4445 of mpone and __mptwo instead of mptwo.
4446 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4449 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4450 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4451 of mpone and __mptwo instead of mptwo.
4452 (__mpranred): Use __mpone instead of mpone.
4453 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4455 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4456 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4457 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4458 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4459 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4460 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4461 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4462 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4463 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4464 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4465 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4466 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4467 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4468 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4469 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4470 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4471 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4472 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4473 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4475 2014-11-18 Tom de Vries <tom@codesoucery.com>
4477 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4478 replace BSD Handler xref with BSD Signal Handling.
4480 2014-11-17 Richard Henderson <rth@redhat.com>
4482 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4483 (_FP_PACK_RAW_2): Remove.
4484 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4485 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4486 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4487 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4488 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4489 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4490 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4491 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4492 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4493 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4494 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4495 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4496 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4497 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4498 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4499 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4501 2014-11-14 Roland McGrath <roland@hack.frob.com>
4503 * signal/signal.h [__USE_MISC]
4504 (struct sigvec): Remove type.
4505 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4506 (sigvec): Remove declaration.
4507 * sysdeps/posix/sigvec.c: Moved ...
4508 * signal/sigvec.c: ... here, replacing old file.
4509 (struct sigvec): New type, copied from old signal.h definition.
4510 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4511 (__sigvec): Convert definition to prototype.
4512 (sigvec): Replace weak_alias with compat_symbol.
4513 * signal/Versions (libc: GLIBC_2.21): New version set.
4514 * include/signal.h: Remove __sigvec declaration.
4515 * sysdeps/unix/bsd/sigvec.c: Remove file.
4516 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4517 * manual/signal.texi (BSD Handler): Remove subsection.
4518 Move siginterrupt up to ...
4519 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4520 (Blocking in BSD): Fold subsection into its parent.
4521 * NEWS: Mention sigvec removal.
4523 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4525 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4526 (DLA_FMS): Make definition conditional only on [__FMA4__].
4527 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4530 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4531 Make definition conditional only on [PROF].
4532 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4534 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4535 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4537 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4539 * include/signal.h (__sigpause): Move declaration above call to
4541 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4543 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4544 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4546 2014-11-14 David S. Miller <davem@davemloft.net>
4548 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4549 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4551 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4553 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4554 * configure: Regenerated.
4555 * manual/install.texi (Tools for Compilation): Document a
4556 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4557 compiler verified to work.
4558 * INSTALL: Regenerated.
4560 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4561 redeclare with asm name.
4562 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4563 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4564 including <string.h>.
4565 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4566 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4567 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4568 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4569 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4570 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4571 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4573 2014-11-13 Joseph Myers <joseph@codesourcery.com>
4575 * stdlib/strtol.c (__strtol): Use prototype definition.
4578 * stdlib/strtol.c (SYM__): New macro.
4580 (__strtol): Likewise.
4581 (strtol): Rename to __strtol and define as weak alias of
4582 __strtol. Use libc_hidden_weak.
4584 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4586 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4587 Use numbered labels in inline assembly.
4589 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4591 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4592 Add setjmp LIBC_PROBE.
4593 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4595 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4596 Add longjmp, longjmp_target LIBC_PROBE.
4597 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4600 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4602 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4603 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4604 to get rid of unused variable warning.
4606 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4608 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4609 Check for unwind_backtrace == NULL only in SHARED case.
4610 (__backchain_backtrace): Compile only in SHARED case.
4611 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4613 (__backchain_backtrace): Declare as static.
4615 2014-11-12 Roland McGrath <roland@hack.frob.com>
4617 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4618 (__libc_multiple_threads_ptr): Variable moved ...
4619 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4621 2014-11-12 Joseph Myers <joseph@codesourcery.com>
4623 * conform/GlibcConform.pm: New file.
4624 * conform/conformtest.pl: Use GlibcConform module.
4625 * conform/linknamespace.pl: New file.
4626 * conform/list-header-symbols.pl: Likewise.
4627 * conform/Makefile (linknamespace-symlists-base): New variable.
4628 (linknamespace-symlists-tests): Likewise.
4629 (linknamespace-header-base): Likewise.
4630 (linknamespace-header-tests): Likewise.
4631 (tests-special): Add new tests.
4632 ($(linknamespace-symlists-tests)): New rule.
4633 (linknamespace-libs): New variable.
4634 ($(objpfx)symlist-stdlibs): New rule.
4635 ($(linknamespace-header-tests)): Likewise.
4636 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4637 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4638 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4639 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4640 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4641 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4642 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4643 (test-xfail-ISO/math.h/linknamespace): Likewise.
4644 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4645 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4646 (test-xfail-ISO/time.h/linknamespace): Likewise.
4647 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4648 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4649 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4650 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4651 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4652 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4653 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4654 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4655 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4656 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4657 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4658 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4659 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4660 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4661 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4662 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4663 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4664 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4665 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4666 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4667 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4668 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4669 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4670 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4671 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4672 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4673 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4674 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4675 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4676 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4677 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4678 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4679 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4680 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4681 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4682 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4683 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4684 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4685 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4686 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4687 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4688 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4689 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4690 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4691 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4692 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4693 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4694 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4695 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4696 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4697 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4698 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4699 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4700 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4701 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4702 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4703 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4704 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4705 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4706 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4707 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4708 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4709 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4710 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4711 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4712 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4713 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4714 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4715 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4716 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4717 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4718 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4719 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4720 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4721 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4722 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4723 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4724 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4725 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4726 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4727 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4728 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4729 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4730 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4731 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4732 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4733 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4734 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4735 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4736 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4737 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4738 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4739 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4740 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4741 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4742 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4743 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4744 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4745 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4746 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4747 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4748 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4749 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4750 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4751 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4752 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4753 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4754 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4755 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4756 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4757 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4758 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4759 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4760 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4761 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4762 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4763 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4764 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4765 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4766 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4767 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4768 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4769 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4770 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4771 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4772 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4773 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4774 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4775 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4776 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4777 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4778 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4779 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4780 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4781 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4782 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4783 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4784 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4785 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4786 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4787 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4788 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4789 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4790 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4791 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4792 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4793 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4794 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4795 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4796 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4799 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4803 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4804 (memmem): Rename to __memmem and define as weak alias of
4805 __memmem. Use libc_hidden_weak.
4806 (__memmem): Use libc_hidden_def.
4807 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4808 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4812 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4813 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4814 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4815 and define as weak alias of __fgets_unlocked. Use
4817 (__fgets_unlocked): Use libc_hidden_def.
4818 * include/stdio.h (__fgets_unlocked): Declare. Use
4820 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4821 __fgets_unlocked instead of fgets_unlocked.
4822 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4823 (GET_NPROCS_CONF_PARSER): Likewise.
4824 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4825 (GET_NPROCS_CONF_PARSER): Likewise.
4828 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4829 weak alias of __wmemset. Use libc_hidden_weak.
4830 (__wmemset): Use libc_hidden_def.
4831 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4832 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4836 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4837 with asm name __mempcpy.
4838 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4841 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4842 and define as weak alias of __rawmemchr.
4843 (__rawmemchr): Do not define as strong alias of rawmemchr.
4846 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4848 (qsort): Call __qsort_r instead of qsort_r.
4849 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4850 (__qsort_r): Declare. Call libc_hidden_proto.
4851 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4853 * nscd/gai.c (__qsort_r): Define to qsort_r.
4854 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4855 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4856 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4859 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4860 define as weak alias of __malloc_info.
4863 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4864 as weak alias of __rewinddir. Don't use libc_hidden_def.
4865 (__rewinddir): Use libc_hidden_def.
4866 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4867 as weak alias of __rewinddir. Don't use libc_hidden_def.
4868 (__rewinddir): Use libc_hidden_def.
4869 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4870 weak alias of __rewinddir. Don't use libc_hidden_def.
4871 (__rewinddir): Use libc_hidden_def.
4872 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4873 (__rewinddir): Use libc_hidden_proto.
4874 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4876 (__getcwd): Use __rewinddir instead of rewinddir.
4879 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4880 alias of __fileno. Use libc_hidden_weak.
4881 (__fileno): Use libc_hidden_def.
4882 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4883 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4885 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4887 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4888 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4890 (fread_unlocked): Don't use libc_hidden_ver.
4891 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4892 and define as weak alias of __fread_unlocked. Don't use
4894 (__fread_unlocked): Use libc_hidden_def.
4895 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4896 (ftello): Don't use libc_hidden_proto.
4897 (__ftello): Declare. Use libc_hidden_proto.
4898 (fread_unlocked): Don't use libc_hidden_proto.
4899 (__fread_unlocked): Declare. Use libc_hidden_proto.
4900 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4901 and __ftello instead of fileno, fread_unlocked and ftello.
4903 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4905 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4907 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4909 (_dl_start_user): Likewise.
4910 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4912 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4913 Siddhesh Poyarekar <siddhesh@redhat.com>
4915 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4916 Move argv and envp down instead of moving argc up.
4917 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4919 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4922 * test-skeleton.c (main): Return successful if one of
4923 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4924 * string/tst-strcoll-overflow.c: Define expected status.
4926 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4929 * locale/iso-639.def: Define Bhili and Tulu language codes.
4931 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4933 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4935 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4938 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4940 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4942 * configure.ac: Updated check of minimal required version to
4944 * manual/install.texi (Tools for Compilation): Updated version
4946 * configure: Regenerated.
4947 * INSTALL: Likewise.
4949 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4951 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4954 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4956 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4957 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4958 (__waitpid): Don't define as alias. Use libc_hidden_def not
4960 (waitpid): Define as alias of __waitpid.
4961 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4963 (__waitpid): Don't define as alias. Use libc_hidden_def not
4965 (waitpid): Define as alias of __waitpid.
4966 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4967 __libc_waitpid alias.
4968 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4969 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4971 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4972 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4973 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4975 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4977 (__waitpid): Don't define as alias. Use libc_hidden_def not
4979 (waitpid): Define as alias of __waitpid.
4981 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4983 * manual/llio.texi: Add comment that write safety has been
4986 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4987 (localplt-build-dso): Add elf/ld.so.
4988 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4989 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4992 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4997 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4998 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4999 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5000 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5001 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5002 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5003 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5004 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5005 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5006 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5007 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5009 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5012 * include/libc-symbols.h (INTUSE): Remove macro.
5014 (INTVARDEF): Likewise.
5015 (_INTVARDEF): Likewise.
5016 (INTDEF2): Likewise.
5017 (INTVARDEF2): Likewise.
5018 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5019 rtld_hidden_def instead of INTVARDEF.
5020 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5021 (_dl_starting_up_internal): Remove declaration.
5022 (_dl_starting_up): Use rtld_hidden_proto.
5023 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5025 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5026 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5028 * elf/dl-writev.h (_dl_writev): Likewise.
5029 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5030 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5031 _dl_starting_up_internal.
5033 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5035 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5038 2014-11-05 Will Newton <will.newton@linaro.org>
5040 * benchtests/Makefile: (bench-malloc): Add malloc thread
5041 scalability benchmark.
5042 * benchtests/bench-malloc-threads.c: New file.
5044 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5046 * sysdeps/aarch64/strchrnul.S: New file.
5048 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5050 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5052 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5054 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5056 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5058 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5060 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5063 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5065 * catgets/test-gencat.c: Use test-skeleton.c.
5066 * catgets/tst-catgets.c: Likewise.
5067 * csu/tst-empty.c: Likewise.
5068 * elf/tst-audit2.c: Likewise.
5069 * elf/tst-global1.c: Likewise.
5070 * elf/tst-pathopt.c: Likewise.
5071 * elf/tst-piemod1.c: Likewise.
5072 * elf/tst-tls10.c: Likewise.
5073 * elf/tst-tls11.c: Likewise.
5074 * elf/tst-tls12.c: Likewise.
5075 * gnulib/tst-gcc.c: Likewise.
5076 * iconvdata/tst-e2big.c: Likewise.
5077 * iconvdata/tst-loading.c: Likewise.
5078 * iconv/tst-iconv1.c: Likewise.
5079 * iconv/tst-iconv2.c: Likewise.
5080 * inet/test-inet6_opt.c: Likewise.
5081 * inet/tst-gethnm.c: Likewise.
5082 * inet/tst-network.c: Likewise.
5083 * inet/tst-ntoa.c: Likewise.
5084 * intl/tst-codeset.c: Likewise.
5085 * intl/tst-gettext2.c: Likewise.
5086 * intl/tst-gettext3.c: Likewise.
5087 * intl/tst-ngettext.c: Likewise.
5088 * intl/tst-translit.c: Likewise.
5089 * io/test-stat.c: Likewise.
5090 * libio/test-fmemopen.c: Likewise.
5091 * libio/tst-freopen.c: Likewise.
5092 * libio/tst-sscanf.c: Likewise.
5093 * libio/tst-ungetwc1.c: Likewise.
5094 * libio/tst-ungetwc2.c: Likewise.
5095 * libio/tst-widetext.c: Likewise.
5096 * localedata/tst-ctype.c: Likewise.
5097 * localedata/tst-digits.c: Likewise.
5098 * localedata/tst-leaks.c: Likewise.
5099 * localedata/tst-mbswcs1.c: Likewise.
5100 * localedata/tst-mbswcs2.c: Likewise.
5101 * localedata/tst-mbswcs3.c: Likewise.
5102 * localedata/tst-mbswcs4.c: Likewise.
5103 * localedata/tst-mbswcs5.c: Likewise.
5104 * localedata/tst-setlocale.c: Likewise.
5105 * localedata/tst-trans.c: Likewise.
5106 * localedata/tst-wctype.c: Likewise.
5107 * localedata/tst-xlocale1.c: Likewise.
5108 * login/tst-grantpt.c: Likewise.
5109 * malloc/tst-calloc.c: Likewise.
5110 * malloc/tst-malloc.c: Likewise.
5111 * malloc/tst-mallocstate.c: Likewise.
5112 * malloc/tst-mcheck.c: Likewise.
5113 * malloc/tst-mtrace.c: Likewise.
5114 * malloc/tst-obstack.c: Likewise.
5115 * math/atest-exp2.c: Likewise.
5116 * math/atest-exp.c: Likewise.
5117 * math/atest-sincos.c: Likewise.
5118 * math/test-matherr.c: Likewise.
5119 * math/test-misc.c: Likewise.
5120 * math/test-powl.c: Likewise.
5121 * math/tst-definitions.c: Likewise.
5122 * misc/tst-dirname.c: Likewise.
5123 * misc/tst-efgcvt.c: Likewise.
5124 * misc/tst-fdset.c: Likewise.
5125 * misc/tst-hsearch.c: Likewise.
5126 * misc/tst-mntent2.c: Likewise.
5127 * nptl/tst-sem7.c: Likewise.
5128 * nptl/tst-sem8.c: Likewise.
5129 * nptl/tst-sem9.c: Likewise.
5130 * nss/test-netdb.c: Likewise.
5131 * posix/tst-fnmatch.c: Likewise.
5132 * posix/tst-getlogin.c: Likewise.
5133 * posix/tst-gnuglob.c: Likewise.
5134 * posix/tst-mmap.c: Likewise.
5135 * pwd/tst-getpw.c: Likewise.
5136 * resolv/tst-inet_ntop.c: Likewise.
5137 * rt/tst-timer.c: Likewise.
5138 * stdio-common/test-fseek.c: Likewise.
5139 * stdio-common/test-popen.c: Likewise.
5140 * stdio-common/test-vfprintf.c: Likewise.
5141 * stdio-common/tst-cookie.c: Likewise.
5142 * stdio-common/tst-fileno.c: Likewise.
5143 * stdio-common/tst-gets.c: Likewise.
5144 * stdio-common/tst-obprintf.c: Likewise.
5145 * stdio-common/tst-perror.c: Likewise.
5146 * stdio-common/tst-sprintf2.c: Likewise.
5147 * stdio-common/tst-sprintf3.c: Likewise.
5148 * stdio-common/tst-sprintf.c: Likewise.
5149 * stdio-common/tst-swprintf.c: Likewise.
5150 * stdio-common/tst-tmpnam.c: Likewise.
5151 * stdio-common/tst-unbputc.c: Likewise.
5152 * stdio-common/tst-wc-printf.c: Likewise.
5153 * stdlib/tst-environ.c: Likewise.
5154 * stdlib/tst-fmtmsg.c: Likewise.
5155 * stdlib/tst-limits.c: Likewise.
5156 * stdlib/tst-rand48-2.c: Likewise.
5157 * stdlib/tst-rand48.c: Likewise.
5158 * stdlib/tst-random2.c: Likewise.
5159 * stdlib/tst-random.c: Likewise.
5160 * stdlib/tst-strtol.c: Likewise.
5161 * stdlib/tst-strtoll.c: Likewise.
5162 * stdlib/tst-tls-atexit.c: Likewise.
5163 * stdlib/tst-xpg-basename.c: Likewise.
5164 * string/test-ffs.c: Likewise.
5165 * string/tst-bswap.c: Likewise.
5166 * string/tst-inlcall.c: Likewise.
5167 * string/tst-strtok.c: Likewise.
5168 * string/tst-strxfrm.c: Likewise.
5169 * sysdeps/x86_64/tst-audit10.c: Likewise.
5170 * sysdeps/x86_64/tst-audit3.c: Likewise.
5171 * sysdeps/x86_64/tst-audit4.c: Likewise.
5172 * sysdeps/x86_64/tst-audit5.c: Likewise.
5173 * time/tst-ftime_l.c: Likewise.
5174 * time/tst-getdate.c: Likewise.
5175 * time/tst-mktime3.c: Likewise.
5176 * time/tst-mktime.c: Likewise.
5177 * time/tst-posixtz.c: Likewise.
5178 * time/tst-strptime2.c: Likewise.
5179 * time/tst-strptime3.c: Likewise.
5180 * wcsmbs/tst-btowc.c: Likewise.
5181 * wcsmbs/tst-mbrtowc.c: Likewise.
5182 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5183 * wcsmbs/tst-wchar-h.c: Likewise.
5184 * wcsmbs/tst-wcpncpy.c: Likewise.
5185 * wcsmbs/tst-wcrtomb.c: Likewise.
5186 * wcsmbs/tst-wcsnlen.c: Likewise.
5187 * wcsmbs/tst-wcstof.c: Likewise.
5189 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5192 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5194 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5196 (_dl_mcount): Use rtld_hidden_proto.
5197 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5199 * elf/rtld.c (_rtld_global_ro): Likewise.
5202 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5203 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5204 of _dl_init_internal.
5205 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5206 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5207 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5208 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5209 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5210 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5211 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5212 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5213 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5214 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5215 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5216 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5217 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5218 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5219 * sysdeps/tile/dl-start.S (_start): Likewise.
5220 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5221 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5224 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5225 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5226 (rtld_progname): Make macro definition unconditional.
5227 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5229 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5230 (dl_main): Likewise.
5231 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5232 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5233 instead of _dl_argv_internal.
5234 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5235 __GI__dl_argv instead of INTUSE(_dl_argv).
5236 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5237 __GI__dl_argv instead of _dl_argv_internal.
5239 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5240 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5242 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5243 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5245 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5246 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5248 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5249 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5251 2014-11-04 Andreas Schwab <schwab@suse.de>
5253 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5255 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5257 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5258 mtvsrd instruction in binary form.
5260 2014-11-03 Andreas Schwab <schwab@suse.de>
5263 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5264 for less than MB_LEN_MAX use a local buffer of that size.
5265 * libio/tst-fputws.c: New file.
5266 * libio/Makefile (tests): Add tst-fputws.
5268 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5270 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5271 the size of the fpu_fr.fpu_dregs[] array.
5273 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5275 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5276 (__nanosleep): Do not define as alias.
5277 (nanosleep): Define as alias of __nanosleep.
5278 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5279 __libc_nanosleep name.
5281 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5283 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5284 install.texi in comment.
5286 2014-10-31 Torvald Riegel <triegel@redhat.com>
5288 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5289 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5290 ... add here and use lwsync or sync ...
5291 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5292 ... and add here using lwsync.
5294 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5296 * elf/dl-machine-reject-phdr.h: New file.
5297 * elf/dl-load.c: #include that.
5298 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5299 if that returned true.
5301 2014-10-31 Roland McGrath <roland@hack.frob.com>
5304 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5305 gen-as-const-headers chunk. Add a big scare comment after the last
5306 safe place to touch before-compile.
5308 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5310 * manual/install.texi (Tools for Compilation): Update autoconf
5311 version requirements.
5312 * INSTALL: Regenerated.
5314 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5315 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5316 (__libc_pselect): Likewise.
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5324 2014-10-31 Torvald Riegel <triegel@redhat.com>
5326 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5327 correct barrier instruction.
5328 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5330 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5333 2014-10-30 Roland McGrath <roland@hack.frob.com>
5335 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5336 after defining inlines. Instead, just use parens to defeat macro
5337 expansion of __isctype in its declaration.
5339 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5341 * include/sys/uio.h (__libc_readv): Remove declaration.
5342 (__libc_writev): Likewise.
5343 * misc/readv.c (__libc_readv): Rename to __readv.
5344 (__readv): Do not define as alias.
5345 (readv): Define as alias of __readv.
5346 * misc/writev.c (__libc_writev): Rename to __writev.
5347 (__writev): Do not define as alias.
5348 (writev): Define as alias of __writev.
5349 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5350 (__readv): Do not define as alias.
5351 (readv): Define unconditionally as alias of __readv.
5352 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5353 (__writev): Do not define as alias.
5354 (writev): Define unconditionally as alias of __writev.
5355 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5357 (writev): Do not define __libc_writev name.
5359 2014-10-30 Roland McGrath <roland@hack.frob.com>
5361 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5362 (convert_charseq): New function, broken out of ...
5363 (use_from_charmap): ... here. Call it.
5364 (use_to_charmap): Use convert_charseq and free instead of duplicating
5365 its code with a variable-length stack struct.
5367 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5369 * include/fcntl.h (__libc_creat): Remove declaration.
5370 * io/creat.c (__libc_creat): Rename to creat.
5371 (creat): Do not define as alias.
5372 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5373 of creat instead of __libc_creat.
5374 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5376 (creat): Do not define as alias.
5377 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5379 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5381 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5384 2014-10-29 Carlos O'Donell <carlos@redhat.com>
5386 * manual/llio.texi: Add comments discussing why write() may be
5387 considered MT-unsafe on Linux.
5389 2014-10-28 Carlos O'Donell <carlos@redhat.com>
5391 * dl-load.c (local_strdup): Remove.
5392 (expand_dynamic_string_token): Use __strdup.
5393 (decompose_rpath): Likewise.
5394 (_dl_map_object): Likewise.
5396 2014-10-28 Joseph Myers <joseph@codesourcery.com>
5399 * sysdeps/generic/unwind-dw2-fde.c
5400 (__register_frame_info_bases_internal): Do not declare.
5401 (__register_frame_info_table_bases_internal): Likewise.
5402 (__deregister_frame_info_bases_internal): Likewise.
5403 (__register_frame_info_bases): Declare and use hidden_proto before
5404 definition. Use hidden_def instead of INTDEF.
5405 (__register_frame_info_table_bases): Likewise.
5406 (__deregister_frame_info_bases): Likewise.
5407 (__register_frame_info): Do not use INTUSE.
5408 (__register_frame): Likewise.
5409 (__register_frame_info_table): Likewise.
5410 (__register_frame_table): Likewise.
5411 (__deregister_frame_info): Likewise.
5412 (__deregister_frame): Likewise.
5414 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5416 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5417 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5419 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5421 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5424 2014-10-27 Joseph Myers <joseph@codesourcery.com>
5427 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5428 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5429 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5430 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5431 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5432 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5433 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5434 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5435 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5436 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5437 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5438 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5439 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5441 (setfsuid): Likewise.
5442 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5443 (setfsuid): Likewise.
5444 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5445 (setfsuid): Likewise.
5446 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5448 (setfsuid): Likewise.
5449 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5450 (setfsuid): Likewise.
5451 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5453 (setfsuid): Likewise.
5455 2014-10-27 Andreas Schwab <schwab@suse.de>
5458 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5459 check for Slow_SSE4_2 feature bit.
5460 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5461 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5462 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5463 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5465 2014-10-24 Roland McGrath <roland@hack.frob.com>
5467 * configure.ac: Validate compiler version with a empirical test of
5468 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5470 * configure: Regenerated.
5472 * inet/htons.c (htons): Prototypify.
5473 * inet/htonl.c (htonl): Likewise.
5475 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5477 * string/strncat.c (strncat): Improve performance by using strlen.
5479 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5481 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5483 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5485 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5486 Call libc_fetestexcept_aarch64.
5488 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5490 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5491 Call libc_feholdexcept_aarch64.
5493 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5495 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5496 Call get_rounding_mode.
5498 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5500 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5503 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5505 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5508 2014-10-24 Joseph Myers <joseph@codesourcery.com>
5511 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5512 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5513 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5514 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5515 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5516 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5517 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5518 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5519 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5520 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5521 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5522 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5523 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5524 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5525 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5526 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5527 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5528 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5529 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5530 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5531 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5532 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5533 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5534 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5535 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5536 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5537 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5538 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5539 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5540 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5541 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5542 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5543 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5544 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5545 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5546 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5547 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5548 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5549 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5550 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5551 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5553 (geteuid): Likewise.
5556 (getresgid): Likewise.
5557 (getresuid): Likewise.
5558 (getgroups): Likewise.
5559 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5560 (geteuid): Likewise.
5563 (getresgid): Likewise.
5564 (getresuid): Likewise.
5565 (getgroups): Likewise.
5566 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5567 (geteuid): Likewise.
5570 (getresgid): Likewise.
5571 (getresuid): Likewise.
5572 (getgroups): Likewise.
5573 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5575 (geteuid): Likewise.
5578 (getresgid): Likewise.
5579 (getresuid): Likewise.
5580 (getgroups): Likewise.
5581 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5582 (geteuid): Likewise.
5585 (getresgid): Likewise.
5586 (getresuid): Likewise.
5587 (getgroups): Likewise.
5588 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5590 (geteuid): Likewise.
5593 (getgroups): Likewise.
5596 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5597 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5598 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5599 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5600 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5601 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5602 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5603 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5604 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5605 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5606 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5607 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5608 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5610 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5613 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5617 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5620 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5625 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5627 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5630 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5632 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5635 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5637 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5638 Remove unused include.
5640 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5642 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5643 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5644 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5645 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5647 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5648 Helge Deller <deller@gmx.de>
5651 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5652 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5653 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5655 2014-10-23 Joseph Myers <joseph@codesourcery.com>
5658 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5659 Remove macro definition.
5660 (__ashrdi3_v_glibc20): Likewise.
5661 (__lshrdi3_v_glibc20): Likewise.
5662 (__cmpdi2_v_glibc20): Likewise.
5663 (__ucmpdi2_v_glibc20): Likewise.
5664 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5665 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5666 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5667 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5668 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5669 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5671 2014-10-22 Roland McGrath <roland@hack.frob.com>
5673 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5674 old GNU extension [0] syntax.
5675 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5676 alloca rather than an array member with variable length.
5677 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5678 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5679 (parse_opt): ... here. Likewise use alloca there.
5680 Validate the -i argument before checking for rootness.
5681 (send_shutdown): New function, broken out of ...
5682 (parse_opt): ... here.
5684 2014-10-22 Roland McGrath <roland@hack.frob.com>
5686 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5687 macro to get at the _rt_local_ro field.
5688 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5689 ([PIC] case) or _dl_hwcap ([!PIC] case).
5690 * sysdeps/arm/setjmp.S: Likewise.
5692 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5693 * sysdeps/arm/configure.ac: New check to define it.
5694 * sysdeps/arm/configure: Regenerated.
5695 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5696 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5697 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5698 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5699 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5700 Use move/movt pair instead of a load.
5701 (LDST_GLOBAL): Macro removed.
5702 (LDR_GLOBAL): New macro replaces it.
5703 (LDR_HIDDEN): New macro.
5704 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5705 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5707 * setjmp/tst-setjmp-static.c: New file.
5708 * setjmp/Makefile (tests): Add it.
5709 (tests-static): New variable.
5711 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5714 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5716 2014-10-21 Joseph Myers <joseph@codesourcery.com>
5719 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5721 2014-10-21 Roland McGrath <roland@hack.frob.com>
5723 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5725 2014-10-20 Roland McGrath <roland@hack.frob.com>
5727 * io/fts.c (dirent_not_directory): New function.
5728 (fts_build): Call it.
5730 2014-10-20 Roland McGrath <roland@hack.frob.com>
5732 * nptl/version.c (__nptl_main): Use normal __write rather than
5734 (banner): Update copyright years.
5736 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5738 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5739 * nptl/pthread_cond_timedwait.c: Likewise.
5740 * nptl/pthread_mutex_timedlock.c: Likewise.
5741 * nptl/sem_timedwait.c: Likewise.
5743 * sysdeps/nptl/bits/libc-lock.h
5744 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5745 (__libc_lock_init_recursive): Return void, not 0.
5746 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5747 (__libc_rwlock_init): Likewise.
5748 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5750 2014-10-20 Torvald Riegel <triegel@redhat.com>
5753 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5754 (__pthread_once_slow): ... here.
5755 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5756 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5758 2014-10-20 Torvald Riegel <triegel@redhat.com>
5761 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5762 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5763 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5764 * nptl/pthread_once.c (__pthread_once): Likewise.
5767 2014-10-20 Joseph Myers <joseph@codesourcery.com>
5770 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5772 (writev): Use __libc_writev as strong name.
5773 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5774 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5776 2014-10-17 Roland McGrath <roland@hack.frob.com>
5778 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5780 * sysdeps/i386/nptl/tls.h
5781 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5782 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5784 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5785 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5786 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5787 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5788 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5789 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5791 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5792 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5794 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5796 (__pthread_mutex_init): ... here. Call it.
5797 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5798 Conditionalize PI cases on [__NR_futex].
5799 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5800 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5801 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5803 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5804 conditional on [SIGSETXID].
5805 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5806 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5807 is defined. Likewise for SIGSETXID.
5808 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5809 Conditionalize definitions on [SIGSETXID].
5810 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5811 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5812 unblocking on [SIGCANCEL].
5814 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5815 [__NR_set_robust_list].
5817 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5819 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5820 (do_compare): Likewise.
5822 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5825 * string/strcoll_l.c: Don't include stdio.h.
5826 (coll_seq): Remove members idxarr and rulearr.
5827 (get_next_seq_cached): Remove function.
5828 (get_next_seq): Likewise.
5829 (get_next_seq_nocache): Rename to get_next_seq.
5830 (do_compare): Remove function.
5831 (do_compare_nocache): Rename to do_compare.
5832 (STRCOLL): Remove weight and rules cache.
5834 2014-10-16 Roland McGrath <roland@hack.frob.com>
5836 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5837 * sysdeps/arm/sfp-machine.h: ... to here.
5838 * sysdeps/arm/Implies: Remove arm/soft-fp.
5840 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5842 * conform/data/sys/utsname.h-data (*_t): Allow.
5843 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5844 [POSIX] (WEXITED): Do not expect constant.
5845 [POSIX] (WSTOPPED): Likewise.
5846 [POSIX] (WNOHANG): Likewise.
5847 [POSIX] (WNOWAIT): Likewise.
5848 [POSIX] (siginfo_t): Do not expect type or elements.
5849 [POSIX] (pid_t): Do not expect type.
5850 [POSIX] (signal.h): Do not allow header.
5851 [POSIX] (sys/resource.h): Likewise.
5852 [POSIX] (si_*): Do not allow pattern.
5853 [POSIX] (W*): Likewise.
5854 [POSIX] (P_*): Likewise.
5855 [POSIX] (BUS_*): Likewise.
5856 [POSIX] (CLD_*): Likewise.
5857 [POSIX] (FPE_*): Likewise.
5858 [POSIX] (ILL_*): Likewise.
5859 [POSIX] (POLL_*): Likewise.
5860 [POSIX] (SEGV_*): Likewise.
5861 [POSIX] (SI_*): Likewise.
5862 [POSIX] (TRAP_*): Likewise.
5863 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5866 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5869 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5870 infinite loop when __recvmsg returns 0.
5872 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5874 * CANCEL-FCT-WAIVE: Remove file.
5875 * CANCEL-FILE-WAIVE: Likewise.
5878 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5879 instead of INTVARDEF.
5880 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5881 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5882 rtld_hidden_data_def instead of INTVARDEF.
5883 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5884 * elf/dl-deps.c (expand_dst): Likewise.
5885 * elf/dl-load.c (_dl_dst_count): Likewise.
5886 (_dl_dst_substitute): Likewise.
5887 (decompose_rpath): Likewise.
5888 (_dl_init_paths): Likewise.
5889 (open_path): Likewise.
5890 (_dl_map_object): Likewise.
5891 * elf/rtld.c (dl_main): Likewise.
5892 (process_dl_audit): Likewise.
5893 (process_envvars): Likewise.
5894 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5896 (__libc_enable_secure): Use rtld_hidden_proto.
5898 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5901 (add_path): New function broken out of _dl_rtld_di_serinfo.
5902 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5904 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5906 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5907 parentheses around macro arguments.
5908 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5909 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5910 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5911 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5912 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5913 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5914 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5915 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5916 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5917 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5918 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5919 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5920 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5921 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5922 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5923 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5924 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5925 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5926 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5927 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5928 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5929 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5930 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5931 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5932 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5933 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5934 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5935 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5936 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5937 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5938 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5939 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5940 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5941 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5942 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5943 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5945 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5946 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5947 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5948 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5949 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5950 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5951 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5952 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5953 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5954 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5955 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5956 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5957 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5958 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5959 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5960 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5961 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5962 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5963 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5964 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5965 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5966 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5967 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5968 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5969 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5970 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5971 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5972 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5973 (_FP_FRAC_SRS_1): Likewise.
5974 (_FP_FRAC_CLZ_1): Likewise.
5975 (_FP_MUL_MEAT_1_imm): Likewise.
5976 (_FP_MUL_MEAT_1_wide): Likewise.
5977 (_FP_MUL_MEAT_1_hard): Likewise.
5978 (_FP_SQRT_MEAT_1): Likewise.
5979 (_FP_FRAC_ASSEMBLE_1): Likewise.
5980 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5981 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5982 (__FP_CLZ_2): Likewise.
5983 (_FP_MUL_MEAT_2_wide): Likewise.
5984 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5985 (_FP_MUL_MEAT_2_gmp): Likewise.
5986 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5987 (_FP_SQRT_MEAT_2): Likewise.
5988 (_FP_FRAC_ASSEMBLE_2): Likewise.
5989 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5990 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5991 (_FP_FRAC_CLZ_4): Likewise.
5992 (_FP_MUL_MEAT_4_wide): Likewise.
5993 (_FP_MUL_MEAT_4_gmp): Likewise.
5994 (_FP_SQRT_MEAT_4): Likewise.
5995 (_FP_FRAC_ASSEMBLE_4): Likewise.
5996 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5997 * soft-fp/op-common.h (_FP_CMP): Likewise.
5998 (_FP_CMP_EQ): Likewise.
5999 (_FP_CMP_UNORD): Likewise.
6000 (_FP_TO_INT): Likewise.
6001 (_FP_FROM_INT): Likewise.
6002 [!__FP_CLZ] (__FP_CLZ): Likewise.
6003 (_FP_DIV_HELP_imm): Likewise.
6004 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6006 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6007 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6008 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6009 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6010 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6011 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6012 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6013 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6014 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6015 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6016 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6017 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6018 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6019 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6020 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6021 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6022 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6023 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6024 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6025 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6026 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6027 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6028 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6029 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6030 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6031 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6032 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6033 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6034 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6035 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6036 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6037 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6038 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6039 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6040 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6041 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6042 (FP_UNPACK_RAW_SP): Likewise.
6043 (FP_PACK_RAW_S): Likewise.
6044 (FP_PACK_RAW_SP): Likewise.
6045 (FP_UNPACK_S): Likewise.
6046 (FP_UNPACK_SP): Likewise.
6047 (FP_UNPACK_SEMIRAW_S): Likewise.
6048 (FP_UNPACK_SEMIRAW_SP): Likewise.
6049 (FP_PACK_S): Likewise.
6050 (FP_PACK_SP): Likewise.
6051 (FP_PACK_SEMIRAW_S): Likewise.
6052 (FP_PACK_SEMIRAW_SP): Likewise.
6053 (_FP_SQRT_MEAT_S): Likewise.
6054 (FP_CMP_S): Likewise.
6055 (FP_CMP_EQ_S): Likewise.
6056 (FP_CMP_UNORD_S): Likewise.
6057 (FP_TO_INT_S): Likewise.
6058 (FP_FROM_INT_S): Likewise.
6060 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6062 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6063 (FP_EX_INVALID_IMZ): Likewise.
6064 (FP_EX_INVALID_IMZ_FMA): Likewise.
6065 (FP_EX_INVALID_ISI): Likewise.
6066 (FP_EX_INVALID_ZDZ): Likewise.
6067 (FP_EX_INVALID_IDI): Likewise.
6068 (FP_EX_INVALID_SQRT): Likewise.
6069 (FP_EX_INVALID_CVI): Likewise.
6070 (FP_EX_INVALID_VC): Likewise.
6071 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6072 "invalid" exceptions.
6073 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6074 (_FP_ADD_INTERNAL): Likewise.
6075 (_FP_MUL): Likewise.
6076 (_FP_FMA): Likewise.
6077 (_FP_DIV): Likewise.
6078 (_FP_CMP_CHECK_NAN): Likewise.
6079 (_FP_SQRT): Likewise.
6080 (_FP_TO_INT): Likewise.
6081 (FP_EXTEND): Likewise.
6083 2014-10-09 Allan McRae <allan@archlinux.org>
6085 * po/fr.po: Update French translation from translation project.
6087 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6090 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6092 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6093 (__cxa_atexit): Use libc_hidden_proto.
6094 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6097 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6099 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6100 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6101 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6102 [!_ISOMAC] (__iswctype_internal): Likewise.
6103 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6104 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6106 (fcntl): Remove __fcntl_internal alias.
6107 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6108 __connect_internal alias.
6109 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6112 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6113 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6115 (_FP_CHECK_FLUSH_ZERO): New macro.
6116 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6117 (_FP_CMP): Likewise.
6118 (_FP_CMP_EQ): Likewise.
6119 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6121 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6122 (FP_TRUNC): Likewise.
6124 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6125 treated as invalid conversion, not as normal exponent.
6127 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6128 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6129 (_FP_CMP_EQ): Likewise.
6130 (_FP_CMP_UNORD): Likewise.
6131 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6132 (FP_CMP_EQ_D): Likewise.
6133 (FP_CMP_UNORD_D): Likewise.
6134 * soft-fp/extended.h (FP_CMP_E): Likewise.
6135 (FP_CMP_EQ_E): Likewise.
6136 (FP_CMP_UNORD_E): Likewise.
6137 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6138 (FP_CMP_EQ_Q): Likewise.
6139 (FP_CMP_UNORD_Q): Likewise.
6140 * soft-fp/single.h (FP_CMP_S): Likewise.
6141 (FP_CMP_EQ_S): Likewise.
6142 (FP_CMP_UNORD_S): Likewise.
6143 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6144 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6145 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6146 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6147 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6148 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6149 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6150 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6151 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6152 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6153 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6154 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6155 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6157 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6159 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6160 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6162 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6164 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6165 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6166 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6167 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6169 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6171 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6172 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6174 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6176 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6177 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6178 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6179 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6182 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6183 a subnormal result, set the underflow exception if trapping on
6184 underflow is enabled.
6185 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6186 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6187 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6189 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6190 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6191 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6192 * soft-fp/extendxftf2.c (__extendxftf2): Use
6193 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6195 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6196 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6197 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6198 FP_HANDLE_EXCEPTIONS.
6199 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6200 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6201 FP_HANDLE_EXCEPTIONS.
6202 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6203 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6204 FP_HANDLE_EXCEPTIONS.
6205 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6206 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6207 FP_HANDLE_EXCEPTIONS.
6209 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6212 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6213 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6215 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6216 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6218 (__adjtimex): Define using libc_hidden_ver.
6219 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6221 (ntp_gettime): Call __adjtimex directly.
6222 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6224 (ntp_gettimex): Call __adjtimex directly.
6225 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6226 __adjtimex_internal alias.
6228 2014-10-08 Roland McGrath <roland@hack.frob.com>
6231 * nscd/nscd.c (more_help): Rewrite list of tables collection
6232 using xstrdup and asprintf.
6234 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6236 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6237 Roland McGrath <roland@hack.frob.com>
6239 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6240 (do_lookup_unique): ... local function 'enter' here; update callers.
6242 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6244 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6245 compat_symbol calls on [SHARED].
6246 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6247 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6249 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6250 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6251 (oldsetrlimit): Remove.
6252 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6254 (lchown): New syscall entry.
6255 (oldsetrlimit): Remove.
6256 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6258 (oldsetrlimit): Remove.
6259 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6262 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6263 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6264 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6265 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6266 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6267 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6269 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6274 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6276 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6277 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6278 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6279 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6280 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6282 (__old_sem_post): Likewise.
6284 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6286 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6287 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6288 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6289 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6290 Use INLINE_VSYSCALL macro.
6291 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6292 __vdso_clock_gettime.
6293 * sysdeps/unix/sysv/linux/tile/init-first.c
6294 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6295 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6296 __vdso_clock_gettime.
6298 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6299 to set up frame more cleanly.
6301 * sysdeps/tile/memcmp.c: New file.
6303 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6305 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6306 * sysdeps/tile/tilegx/strcasestr.c: New file.
6307 * sysdeps/tile/tilegx/strnlen.c: New file.
6308 * sysdeps/tile/tilegx/strstr.c: New file.
6310 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6312 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
6314 * nptl/tst-setuid3.c: Write errors to stdout.
6316 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6319 (preload): New functions broken out of _dl_map_object_deps.
6320 (_dl_map_object_deps): Remove a nested function. Update call sites.
6322 2014-10-01 Joseph Myers <joseph@codesourcery.com>
6325 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6326 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6328 2014-10-01 Steve Ellcey <sellcey@mips.com>
6330 * sysdeps/mips/strcmp.S: New.
6332 2014-09-30 Joseph Myers <joseph@codesourcery.com>
6335 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6337 (mkdirat): Likewise.
6338 (readlinkat): Likewise.
6339 (renameat): Likewise.
6340 (symlinkat): Likewise.
6341 (unlinkat): Likewise.
6342 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6343 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6344 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6345 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6346 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6347 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6348 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6350 2014-09-30 Will Newton <will.newton@linaro.org>
6352 * math/math.h: Define long double math functions if
6353 _LIBC_TEST is defined.
6354 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6356 * localedata/Makefile: Move assignment to tests-special
6357 into an ifdef testing run-built-tests.
6358 * timezone/Makefile: Likewise.
6360 2014-09-29 Joseph Myers <joseph@codesourcery.com>
6362 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6363 with $(BASH) not $(SHELL).
6365 2014-09-29 Carlos O'Donell <carlos@redhat.com>
6366 Matthew LeGendre <legendre1@llnl.gov>
6369 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6372 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6374 * stdio-common/printf_fp.c
6375 (hack_digit): New function, broken out of ...
6376 (__printf_fp): ... local function here. Update call sites.
6377 hack_digit now takes an additional parameter that is a pointer
6378 to a struct of the referenced locals. Those locals moved inside
6379 the struct and references updated.
6381 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6383 * aclocal.m4: Require autoconf 2.69.
6384 * configure: Regenerated.
6385 * sysdeps/aarch64/configure: Likewise.
6386 * sysdeps/alpha/configure: Likewise.
6387 * sysdeps/arm/armv7/configure: Likewise.
6388 * sysdeps/arm/configure: Likewise.
6389 * sysdeps/ia64/configure: Likewise.
6390 * sysdeps/mach/configure: Likewise.
6391 * sysdeps/mips/configure: Likewise.
6392 * sysdeps/s390/configure: Likewise.
6393 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6396 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6398 * sysdeps/ia64/configure.ac: Likewise.
6400 2014-09-26 Joseph Myers <joseph@codesourcery.com>
6402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6403 specify symbol version for ld.so. Do not include entry for
6405 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6406 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6407 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6410 * Makeconfig [$(build-shared) = yes]
6411 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6413 [$(build-shared) = yes && $(soversions.mk-done) = t]
6414 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6415 [$(build-shared) = yes && $(soversions.mk-done) = t]
6416 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6418 [$(build-shared) = yes && $(soversions.mk-done) = t]
6419 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6421 [$(build-shared) = yes && $(soversions.mk-done) = t]
6422 (common-generated): Don't append gnu/lib-names.h and
6423 gnu/lib-names.stmp here.
6424 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6425 (lib-names-h-abi): New variable.
6426 [$(build-shared) = yes && $(soversions.mk-done) = t]
6427 (lib-names-stmp-abi): Likewise.
6428 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6429 abi-variants] (before-compile): Append
6430 $(common-objpfx)$(lib-names-h-abi).
6431 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6432 abi-variants] (common-generated): Append gnu/lib-names.h.
6433 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6434 abi-variants] (install-others-nosubdir): Depend on
6435 $(inst_includedir)/$(lib-names-h-abi).
6436 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6437 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6438 [$(build-shared) = yes && $(soversions.mk-done) = t]
6439 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6440 [$(build-shared) = yes && $(soversions.mk-done) = t]
6441 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6442 [$(build-shared) = yes && $(soversions.mk-done) = t]
6443 (common-generated): Append $(lib-names-h-abi) and
6444 $(lib-names-stmp-abi).
6445 * scripts/lib-names.awk: Do not handle multi being set.
6446 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6448 (abi-lp64_be-ld-soname): Likewise.
6449 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6451 (abi-hard-ld-soname): Likewise.
6452 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6453 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6455 (abi-o32_hard-ld-soname): Likewise.
6456 (abi-o32_soft_2008-ld-soname): Likewise.
6457 (abi-o32_hard_2008-ld-soname): Likewise.
6458 (abi-n32_soft-ld-soname): Likewise.
6459 (abi-n32_hard-ld-soname): Likewise.
6460 (abi-n32_soft_2008-ld-soname): Likewise.
6461 (abi-n32_hard_2008-ld-soname): Likewise.
6462 (abi-n64_soft-ld-soname): Likewise.
6463 (abi-n64_hard-ld-soname): Likewise.
6464 (abi-n64_soft_2008-ld-soname): Likewise.
6465 (abi-n64_hard_2008-ld-soname): Likewise.
6466 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6468 (abi-64-v2-ld-soname): Likewise.
6469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6471 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6473 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6475 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6477 (abi-64-ld-soname): Likewise.
6478 (abi-x32-ld-soname): Likewise.
6479 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6481 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6483 2014-09-23 Joseph Myers <joseph@codesourcery.com>
6486 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6487 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6488 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6489 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6490 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6491 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6492 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6493 syscall entry for GLIBC_2.2 symbol version.
6494 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6497 (setrlimit): Likewise.
6498 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6501 2014-09-23 Will Newton <will.newton@linaro.org>
6503 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6504 _LINUX_ARM_SYSDEP_H include guard too.
6505 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6508 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6510 * sysdeps/unix/sysv/linux/eventfd.c:
6511 Make first argument unsigned.
6512 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6513 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6515 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
6517 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6518 * socket/sys/socket.h: Likewise
6519 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6521 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6523 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6525 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
6527 * time/tst-ftime.c: New test.
6528 * time/Makefile (tests): Add tst-ftime.
6530 2014-09-17 Joseph Myers <joseph@codesourcery.com>
6532 * soft-fp/extended.h: Fix comment formatting.
6533 * soft-fp/op-1.h: Likewise.
6534 * soft-fp/op-2.h: Likewise.
6535 * soft-fp/op-4.h: Likewise.
6536 * soft-fp/op-8.h: Likewise.
6537 * soft-fp/op-common.h: Likewise.
6538 * soft-fp/soft-fp.h: Likewise.
6540 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6542 2014-09-16 Joseph Myers <joseph@codesourcery.com>
6545 * Makeconfig (soversions-default-setname): Remove variable.
6546 ($(common-objpfx)soversions.i): Don't pass default_setname to
6548 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6549 oldest_abi to abi-versions.awk.
6550 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6551 * config.make.in (oldest-abi): Remove variable.
6552 * configure.ac (--enable-oldest-abi): Remove configure option.
6553 * configure: Regenerated.
6554 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6556 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6557 * scripts/soversions.awk: Do not handle default_setname variable.
6558 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6560 * sysdeps/mach/hurd/configure: Regenerated.
6561 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6563 * sysdeps/unix/sysv/linux/configure: Regenerated.
6565 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6567 * elf/Makefile (CFLAGS-interp.c): Remove.
6568 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6570 * elf/interp.c: Include generated runtime-linker.h
6572 * Makerules (lib%.so): Don't include $(+interp) in
6574 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6575 * dlfcn/eval.c: Remove file.
6577 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6581 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6585 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6587 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6588 Jakub Jelinek <jakub@redhat.com>
6591 * libio/stdio.h: Check definition of __fortify_function
6592 instead of __extern_always_inline to include bits/stdio2.h.
6593 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6594 check if __extern_always_inline is defined.
6595 [__USE_MISC || __USE_XOPEN]: Likewise.
6596 [__USE_ISOC99] Likewise.
6597 * misc/sys/cdefs.h (__fortify_function): Define only if
6598 __extern_always_inline is defined.
6599 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6600 __extern_always_inline and __extern_inline only for g++-4.3
6601 and newer or a compatible gcc.
6603 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6606 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6607 last change to handle zero prefix length.
6609 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6611 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6614 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6617 2014-09-13 Allan McRae <allan@archlinux.org>
6619 * po/ru.po: Update Russian translation from translation project.
6621 2014-09-12 Roland McGrath <roland@hack.frob.com>
6623 * locale/programs/locale.c (show_locale_vars): Inline local function
6624 into its sole call site. Clean up some style nits.
6625 (print_item): New function, broken out of ...
6626 (show_info): ... local function here. Clean up style nits.
6628 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6630 (set_class_defaults): ... local function set_default here.
6631 Define set_default as a macro locally to pass constant parameters.
6632 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6633 rather than a shared local.
6635 * stdlib/rpmatch.c (try): New function, broken out of ...
6636 (rpmatch): ... local function here. Also, prototypify definition.
6638 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6640 * scripts/soversions.awk: Do not handle configuration names.
6641 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6642 vendor and os variables to soversions.awk.
6643 * configure.ac: Do not modify gnu-* host_os.
6644 * configure: Regenerated
6645 * shlib-versions: Remove first column with configuration names.
6646 * nptl/shlib-versions: Likewise.
6647 * nptl_db/shlib-versions: Likewise.
6648 * sysdeps/hppa/shlib-versions: Likewise.
6649 * sysdeps/m68k/shlib-versions: Likewise.
6650 * sysdeps/mach/hurd/shlib-versions: Likewise.
6651 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6652 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6653 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6654 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6655 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6656 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6657 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6658 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6661 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6662 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6663 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6664 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6665 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6666 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6667 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6668 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6671 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6674 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6676 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6678 * shlib-versions: Remove OS-specific entries. Moved to files in
6680 * sysdeps/mach/hurd/shlib-versions: New file.
6681 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6683 * nptl/shlib-versions: Remove architecture-specific entries.
6684 Moved to files in sysdeps.
6685 * shlib-versions: Likewise.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6688 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6689 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6690 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6691 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6693 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6694 (UDP_NO_CHECK6_RX): Likewise.
6696 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6698 * sysdeps/posix/sysconf.c (__sysconf): Spell
6699 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6701 2014-08-12 Florian Weimer <fweimer@redhat.com>
6703 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6705 * iconv/Versions (__gconv_transliterate): Export for use from
6707 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6708 (struct __gconv_trans_data, __gconv_trans_fct,
6709 __gconv_trans_context_fct, __gconv_trans_query_fct,
6710 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6712 (struct __gconv_step_data): Remove __trans member.
6713 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6714 longer hidden. Remove unused trans_data argument.
6715 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6716 (__gconv_translit_find): Remove declaration.
6717 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6719 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6720 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6721 trans_data argument. Add hidden definition.
6722 (__gconv_translit_find): Remove.
6723 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6724 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6725 * iconv/skeleton.c: Remove transliteration initialization.
6726 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6727 __gconv_step_data initialization.
6728 * libio/iofwide.c (__libio_translit_): Remove.
6729 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6730 * wcsmbs/btowc.c (__btowc): Likewise.
6731 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6732 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6733 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6734 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6735 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6736 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6737 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6738 * wcsmbs/wctob.c (wctob): Likewise.
6740 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6743 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6744 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6746 * sysdeps/x86/Makefile: Adjust.
6748 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6749 Roland McGrath <roland@hack.frob.com>
6751 * locale/weight.h: Add include guard.
6752 (findidx): Make static rather than auto; take new parameters
6753 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6754 * locale/weightwc.h: Likewise.
6755 * posix/fnmatch_loop.c
6756 (FCT): Change type of EXTRA from int32_t to wint_t.
6757 Don't include either header inside the function.
6758 Call FINDIDX rather than findidx, and pass new arguments.
6759 #undef FINDIDX at the end of the file.
6760 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6761 FINDIDX before including fnmatch_loop.c for the non-wide version.
6762 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6763 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6764 for the wide version.
6765 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6766 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6767 Pass new arguments to findidx.
6768 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6769 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6770 Don't #include it inside the function. Pass new arguments to findidx.
6771 * posix/regex_internal.h
6772 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6773 (re_string_elem_size_at): Don't #include it inside the function.
6774 Pass new arguments to findidx.
6775 * string/strcoll_l.c: #include WEIGHT_H at top level.
6776 (get_next_seq): Don't #include it inside the function.
6777 Pass new arguments to findidx.
6778 (get_next_seq_nocache): Likewise.
6779 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6780 (STRXFRM): Don't #include it inside the function.
6781 Pass new arguments to findidx.
6783 2014-09-11 Florian Weimer <fweimer@redhat.com>
6786 * malloc/malloc.c (unlink): Turn asserts into a call to
6789 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
6792 * libio/wfileops (do_ftell_wide): Free OUT.
6794 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6796 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6798 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6801 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6802 group if the current group is empty.
6804 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6806 * benchtests/bench-memset.c (test_main): Add more test from size
6807 from 32 to 512 bytes.
6808 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6809 Add POWER8 memset object.
6810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6811 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6812 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6814 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6816 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6817 multiarch POWER8 memset optimization.
6818 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6819 POWER8 memset optimization.
6821 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6822 Remove bzero multiarch objects.
6823 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6824 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6825 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6826 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6828 [__bzero]: Redefine to specific name.
6829 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6830 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6831 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6833 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6834 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6836 2014-09-10 Florian Weimer <fweimer@redhat.com>
6838 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6839 warnings into errors.
6841 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6842 __cxa_thread_atexit_impl prototype.
6844 2014-09-09 Steve Ellcey <sellcey@mips.com>
6846 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6847 Fix capitalization of error message.
6849 2014-09-09 Steve Ellcey <sellcey@mips.com>
6851 * sysdeps/mips/preconfigure: Modify ABI tests.
6853 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6855 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6857 2014-09-07 Roland McGrath <roland@hack.frob.com>
6858 Carlos O'Donell <carlos@systemhalted.org>
6860 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6861 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6862 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6863 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6864 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6865 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6866 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6867 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6868 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6869 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6870 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6871 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6872 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6873 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6874 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6875 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6876 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6877 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6878 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6879 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6880 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6881 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6882 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6883 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6884 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6885 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6886 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6887 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6888 Deconditionalize the code that was previously under [RESET_PID].
6889 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6890 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6891 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6892 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6895 2014-09-08 Allan McRae <allan@archlinux.org>
6897 * version.h (RELEASE): Set to "development".
6898 (VERSION): Set to "2.20.90"
6900 2014-09-07 Allan McRae <allan@archlinux.org
6902 * version.h (RELEASE): Set to "stable".
6903 (VERSION): Set to "2.20"
6904 * include/features.h (__GLIBC_MINOR__): Set to 20.
6906 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6909 * po/ko.po: Update Korean translation from translation project.
6911 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6914 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6915 macro for handling signed relocations.
6917 2014-09-03 Florian Weimer <fweimer@redhat.com>
6920 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6921 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6923 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6924 * iconvdata/ibm935.c (BODY): Likewise.
6925 * iconvdata/ibm937.c (BODY): Likewise.
6926 * iconvdata/ibm939.c (BODY): Likewise.
6927 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6929 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6931 * iconvdata/run-iconv-test.sh: New test loop for checking for
6934 2014-09-02 Khem Raj <raj.khem@gmail.com>
6936 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6939 2014-09-01 Allan McRae <allan@archlinux.org>
6941 * po/eo.po: Update Esperanto translation from translation project.
6943 * po/ca.po: Update Catalan translation from translation project.
6945 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6947 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6950 2014-08-27 Mark Wielaard <mjw@redhat.com>
6953 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6954 to call set_thread_area instead of hand written asm.
6955 (__NR_set_thread_area): Removed define.
6956 (TLS_FLAG_WRITABLE): Likewise.
6957 (__ASSUME_SET_THREAD_AREA): Remove check.
6958 (TLS_EBX_ARG): Remove define.
6959 (TLS_LOAD_EBX): Likewise.
6961 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6963 Simplify atomicity of socket creation in bind.
6965 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6966 looking up the name after linking the file.
6968 2014-08-27 Allan McRae <allan@archlinux.org>
6970 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6972 2014-08-26 Florian Weimer <fweimer@redhat.com>
6975 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6976 trans_compare, open_translit, __gconv_translit_find):
6977 Remove module loading code.
6979 2014-08-26 Allan McRae <allan@archlinux.org>
6981 * po/vi.po: Update Vietnamese translation from translation project.
6983 * po/uk.po: Update Ukrainian translation from translation project.
6985 * po/fr.po: Update French translation from translation project.
6987 * po/ru.po: Update Russian translation from translation project.
6989 * po/pl.po: Update Polish translation from translation project.
6991 * po/cs.po: Update Czech translation from translation project.
6993 * po/de.po: Update German translation from translation project.
6995 * po/bg.po: Update Bulgarian translation from translation project.
6997 * po/sv.po: Update Sweedish translation from translation project.
6999 * po/nl.po: Update Dutch translation from translation project.
7001 * po/es.po: Update Spanish translation from translation project.
7003 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7005 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7007 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7008 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7009 (CPPFLAGS-iconvconfig): Likewise.
7010 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7012 * include/libc-symbols.h: Remove unnecessary check for
7014 * nptl/pthreadP.h: Likewise.
7015 * sysdeps/aarch64/setjmp.S: Likewise.
7016 * sysdeps/alpha/setjmp.S: Likewise.
7017 * sysdeps/arm/sysdep.h: Likewise.
7018 * sysdeps/i386/setjmp.S: Likewise.
7019 * sysdeps/m68k/setjmp.c: Likewise.
7020 * sysdeps/posix/getcwd.c: Likewise.
7021 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7022 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7023 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7024 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7025 * sysdeps/sh/sh3/setjmp.S: Likewise.
7026 * sysdeps/sh/sh4/setjmp.S: Likewise.
7027 * sysdeps/unix/alpha/sysdep.h: Likewise.
7028 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7029 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7030 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7031 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7036 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7037 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7039 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7041 * sysdeps/x86_64/setjmp.S: Likewise.
7043 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7046 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7048 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7049 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7051 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7053 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7056 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7057 and __x86_64__ when disabling x87 inline functions.
7059 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7062 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7063 asm statement with __cpuid_count.
7065 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7067 * configure.ac: Change __ehdr_start code to dereference the struct.
7068 Run readelf on the output to look for relocations.
7069 * configure: Regenerated.
7071 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7074 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7076 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7078 2014-08-12 Roland McGrath <roland@hack.frob.com>
7080 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7082 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7085 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7086 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7088 2014-08-12 Sean Anderson <seanga2@gmail.com>
7090 * malloc/malloc.c: Fix typo in comment.
7092 2014-08-09 Allan McRae <allan@archlinux.org>
7094 * Regenerate libc.po.
7096 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7098 * intl/tst-gettext2.sh: Check every lang file for creation.
7100 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7102 * sysdeps/aarch64/fpu/math_private.h
7103 (libc_feholdsetround_noex_aarch64_ctx): New function.
7105 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7107 * sysdeps/arm/armv6/strcpy.S (strcpy):
7108 Fix performance issue in misaligned cases.
7110 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7112 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7113 Move definition from termios.h.
7114 (struct termio): Likewise.
7115 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7116 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7117 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7118 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7120 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7121 Move definition to ioctl-types.h
7122 (struct termio): Likewise.
7123 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7124 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7125 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7126 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7129 2014-08-05 Richard Henderson <rth@redhat.com>
7131 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7133 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7135 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7136 Use __feraiseexcept.
7137 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7138 Protect libm symbols with IS_IN_libm.
7140 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7142 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7144 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7146 2014-08-04 Will Newton <will.newton@linaro.org>
7148 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7151 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7153 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7154 variants for each function.
7156 2014-08-04 Roland McGrath <roland@hack.frob.com>
7158 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7160 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7161 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7163 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7164 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7165 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7166 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7167 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7168 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7169 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7170 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7171 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7172 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7173 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7175 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7177 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7178 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7179 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7180 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7181 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7182 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7183 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7184 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7185 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7186 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7187 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7188 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7189 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7190 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7191 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7192 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7193 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7194 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7195 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7196 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7197 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7198 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7199 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7200 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7201 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7202 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7203 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7204 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7205 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7206 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7207 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7208 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7209 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7210 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7211 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7212 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7213 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7214 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7215 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7217 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7218 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7220 2014-08-04 Roland McGrath <roland@hack.frob.com>
7222 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7223 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7224 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7225 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7226 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7227 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7229 2014-08-04 Roland McGrath <roland@hack.frob.com>
7231 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7232 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7233 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7234 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7236 2014-08-04 Roland McGrath <roland@hack.frob.com>
7238 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7239 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7240 (__libc_vfork): Define function under this name.
7241 (__vfork): Define as an alias.
7242 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7243 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7245 2014-08-04 Roland McGrath <roland@hack.frob.com>
7247 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7248 that was previously under [RESET_PID].
7249 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7251 2014-08-04 Andreas Schwab <schwab@suse.de>
7253 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7255 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7257 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7260 2014-08-01 Roland McGrath <roland@hack.frob.com>
7262 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7264 2014-08-01 Richard Henderon <rth@redhat.com>
7266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7267 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7268 typo in exact zero test.
7269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7270 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7271 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7273 2014-08-01 Roland McGrath <roland@hack.frob.com>
7275 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7276 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7277 * sysdeps/arm/sysdep.h: ... here.
7278 [!__ASSEMBLER__]: Include <stdint.h>.
7280 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7282 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7283 (HAVE_WCTYPE_H): Likewise.
7284 (HAVE_ISWCTYPE): Likewise.
7285 (ENABLE_NLS): Likewise.
7286 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7287 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7289 * posix/regex_internal.c: Check if DEBUG is defined and is
7292 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7293 (HAVE_MBSRTOWCS): Likewise.
7294 * posix/fnmatch.c: Include string.h unconditionally.
7296 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7298 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7301 2014-07-31 Roland McGrath <roland@hack.frob.com>
7303 * sysdeps/generic/safe-fatal.h: New file.
7304 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7305 * nptl/forward.c: Include it.
7306 (__pthread_unwind): Use __safe_fatal as default action, rather
7307 than a bogus use of INTERNAL_SYSCALL that could never work.
7309 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7310 * configure.ac (libc_cv_builtin_trap): New test.
7311 * configure: Regenerated.
7312 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7313 (ABORT_INSTRUCTION): Define using __builtin_trap.
7315 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7316 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7317 * sysdeps/nptl/nptl-signals.h: New file.
7318 * nptl/pthreadP.h: Include <nptl-signals.h>.
7320 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7322 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7323 (ONE_DIRECTION): Define.
7324 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7325 (ONE_DIRECTION): Define.
7326 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7327 (ONE_DIRECTION): Define.
7329 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7331 * sysdeps/s390/Makefile: Delete file.
7332 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7333 * sysdeps/s390/__longjmp.c: Delete file.
7334 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7335 Remove fields __flags and __reserved.
7336 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7338 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7339 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7340 * sysdeps/s390/rtld-setjmp.S: Likewise.
7341 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7342 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7343 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7344 * sysdeps/s390/s390-32/setjmp.S: ... here.
7346 (__sigsetjmp): Remove setting __flags field.
7347 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7348 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7349 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7350 * sysdeps/s390/s390-64/setjmp.S: ... here.
7352 (__sigsetjmp): Remove setting __flags field.
7353 * sysdeps/s390/setjmp.S: Delete file.
7354 * sysdeps/s390/sigjmp.c: Likewise.
7355 * sysdeps/s390/v1-longjmp.c: Likewise.
7356 * sysdeps/s390/v1-setjmp.h: Likewise.
7357 * sysdeps/s390/v1-sigjmp.c: Likewise.
7358 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7359 Remove v1-longjmp_chk.
7360 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7361 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7362 Include debug/longjmp_chk.c and add versioning.
7363 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7364 Include nptl/pt-longjmp.c and add versioning.
7365 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7366 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7367 Include __longjmp.c.
7368 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7370 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7371 (__getcontext): Remove setting __flags field.
7373 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7374 Don't restore upper high grps.
7375 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7377 (__swapcontext): Remove setting uc_flags field.
7378 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7380 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7381 Include __longjmp.c.
7382 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7384 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7385 (__getcontext): Remove setting __flags field.
7387 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7388 (__swapcontext): Remove setting uc_flags field.
7389 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7390 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7391 Remove fields uc_high_gprs and __reserved.
7392 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7393 New file with reverted content.
7394 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7395 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7397 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7400 2014-07-31 Andreas Schwab <schwab@suse.de>
7402 * config.h.in (HAVE_IFUNC): Define to 0.
7403 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7406 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7409 memmove-avx-unaligned, memcpy-avx-unaligned and
7410 mempcpy-avx-unaligned.
7411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7412 Add tests for AVX memcpy functions.
7413 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7414 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7416 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7417 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7419 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7420 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7422 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7423 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7424 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7426 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7429 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7432 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
7435 * manual/llio.texi: Add section about open file description locks.
7436 * manual/examples/ofdlocks.c: Example of open file description
7438 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7439 F_OFD_SETLK, and F_OFD_SETLKW.
7441 2014-07-23 Allan McRae <allan@archlinux.org>
7443 * po/es.po: Update Spanish translation from translation project.
7445 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7447 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7449 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7452 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7453 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7454 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7456 2014-07-17 Joseph Myers <joseph@codesourcery.com>
7459 * math/fesetenv.c (__fesetenv)
7460 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7461 * math/feupdateenv.c (__feupdateenv)
7462 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7464 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7465 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7466 (__ASSUME_SOCKETCALL): Do not define.
7468 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7469 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7470 (__ASSUME_SOCKETCALL): Do not define.
7471 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7472 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7473 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7474 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7475 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7476 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7477 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7478 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7480 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7481 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7482 (__ASSUME_SOCKETCALL): Do not define.
7483 (__ASSUME_IPC64): Define unconditionally.
7484 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7485 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7486 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7487 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7488 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7489 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7490 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7493 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7494 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7495 (__ASSUME_SOCKETCALL): Do not define.
7496 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7497 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7498 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7499 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7500 (__ASSUME_REQUEUE_PI): Define unconditionally.
7501 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7502 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7503 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7504 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7505 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7506 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7508 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7509 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7510 (__ASSUME_SOCKETCALL): Do not define.
7511 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7512 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7513 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7514 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7515 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7516 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7518 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7519 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7520 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7521 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7522 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7523 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7524 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7525 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7526 (__ASSUME_GETCPU_SYSCALL): Likewise.
7528 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7529 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7530 cases for individual architectures.
7531 * sysdeps/gnu/configure: Regenerated.
7532 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7533 LIBC_SLIBDIR_RTLDDIR.
7534 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7535 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7536 LIBC_SLIBDIR_RTLDDIR.
7537 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7539 LIBC_SLIBDIR_RTLDDIR.
7540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7542 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7543 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7545 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7546 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7548 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7549 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7550 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7551 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7553 * sysdeps/aarch64/shlib-versions: Move to ...
7554 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7555 * sysdeps/alpha/shlib-versions: Move to ...
7556 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7557 * sysdeps/arm/shlib-versions: Move to ...
7558 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7559 * sysdeps/hppa/shlib-versions: Move all contents except for
7560 libgcc_s entry to ...
7561 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7563 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7564 * sysdeps/ia64/shlib-versions: Move to ...
7565 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7567 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7568 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7569 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7570 * sysdeps/microblaze/shlib-versions: Move to ...
7571 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7572 * sysdeps/mips/shlib-versions: Move to ...
7573 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7575 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7576 * sysdeps/tile/shlib-versions: Move to ...
7577 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7578 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7580 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7581 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7583 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7585 2014-07-17 Will Newton <will.newton@linaro.org>
7587 * sysdeps/arm/bits/atomic.h
7588 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7589 (__arch_compare_and_exchange_bool_16_int): Likewise.
7590 (__arch_compare_and_exchange_bool_64_int): Likewise.
7592 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7593 into an #else block.
7595 2014-07-16 Roland McGrath <roland@hack.frob.com>
7597 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7598 just Linux configurations. Test empirically that the compiler sets
7599 __ARM_EABI__, rather than using the tuple to decide.
7600 * sysdeps/arm/preconfigure: Regenerated.
7601 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7602 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7603 contents appended ...
7604 * sysdeps/arm/configure.ac: ... here.
7605 * sysdeps/arm/configure: Regenerated.
7607 2014-07-15 Roland McGrath <roland@hack.frob.com>
7609 * nptl/pthread_kill.c: New file.
7610 * nptl/pthread_sigmask.c: New file.
7611 * nptl/pthread_sigqueue.c: New file.
7613 * sysdeps/nptl/lowlevellock.h: New file.
7614 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7615 * sysdeps/nptl/lowlevellock-futex.h: New file.
7617 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7618 Remove dead declarations.
7620 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7622 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7623 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7625 * sysdeps/x86_64/configure.ac: Likewise.
7626 * sysdeps/i386/configure: Regenerated.
7627 * sysdeps/x86_64/configure: Likewise.
7628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7629 memset-avx2 only if config-cflags-avx2 is yes.
7630 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7631 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7633 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7634 only if HAVE_AVX2_SUPPORT is defined.
7635 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7637 2014-07-14 Alan Modra <amodra@gmail.com>
7640 * elf/elf.h (DT_PPC64_NUM): Correct value.
7641 * NEWS: Add to fixed bug list.
7643 2014-07-13 Jim Meyering <meyering@fb.com>
7646 regex: don't deref NULL upon heap allocation failure
7647 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7648 failure in one more place.
7649 To trigger the segfault, configure grep -with-included-regex,
7650 build it, and run these commands:
7651 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7653 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7655 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7657 2014-07-11 Richard Henderson <rth@redhat.com>
7659 * sysdeps/aarch64/libm-test-ulps: Update.
7661 2014-07-10 Florian Weimer <fweimer@redhat.com>
7664 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7665 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7666 (__nptl_setxid): Initialize error member. Call
7667 __nptl_setxid_error.
7668 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7669 * nptl/descr.h (struct xid_command): Add error member.
7670 * nptl/tst-setuid3.c: New file.
7671 * nptl/Makefile (tests): Add it.
7673 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7675 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7677 (__lll_trylock): Use __lll_base_trylock.
7678 (__lll_cond_trylock): Likewise.
7680 2014-07-10 Roland McGrath <roland@hack.frob.com>
7682 * nptl/pthread_create.c (start_thread): Use atomic_or and
7683 lll_futex_wake directly rather than lll_robust_dead.
7684 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7685 (lll_robust_dead): Macro removed.
7686 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7687 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7688 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7689 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7690 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7691 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7692 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7693 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7694 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7695 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7696 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7697 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7698 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7699 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7700 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7702 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7703 Use atomic_compare_and_exchange_val_acq directly rather than
7705 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7706 (__lll_robust_trylock, lll_robust_trylock): Removed.
7707 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7708 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7709 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7710 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7711 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7712 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7713 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7714 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7715 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7716 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7717 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7718 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7719 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7720 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7722 2014-07-02 Florian Weimer <fweimer@redhat.com>
7724 * manual/locale.texi (Locale Names): New section documenting
7725 locale name syntax. Adjust menu and node chaining accordingly.
7726 (Choosing Locale): Reference Locale Names, Locale Categories.
7727 Mention setting LC_ALL=C. Reflect that name syntax is now
7729 (Locale Categories): New section title. Reference Locale Names.
7730 LC_ALL is an environment variable, but not a category.
7731 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7732 description, now in Locale Name. Reference that section. Locale
7733 name syntax is now documented.
7735 2014-07-02 Florian Weimer <fweimer@redhat.com>
7738 * locale/findlocale.c (name_present, valid_locale_name): New
7740 (_nl_find_locale): Use the loc_name variable to store name
7741 candidates. Call name_present and valid_locale_name to check and
7742 validate locale names. Return an error if the locale is invalid.
7744 2014-07-02 Florian Weimer <fweimer@redhat.com>
7746 * locale/setlocale.c (setlocale): Use strdup for allocating
7747 composite name copy.
7749 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7751 Sync up with gnulib.
7752 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7753 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7754 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7755 and _GL_ARG_NONNULL.
7756 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7757 [!_LIBC]: Include code for Windows and Cygwin.
7758 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7759 Include prototype for int strerror_r.
7760 [!_LIBC] (is_open): New function.
7761 (flush_stdout): New function.
7762 (print_errno_message): Use it.
7764 (error_at_line): Likewise.
7765 (error_tail) Add function attribute macros. Use
7768 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7770 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7772 * io/ftw.c: Include sys/param.h unconditionally.
7774 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7777 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7779 (freecache): New function to free CACHE on exit.
7781 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7784 2014-07-09 David S. Miller <davem@davemloft.net>
7786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7788 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7789 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7790 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7791 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7792 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7793 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7794 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7795 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7796 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7797 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7798 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7799 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7800 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7802 2014-07-09 Andreas Schwab <schwab@suse.de>
7804 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7806 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7807 (do_test): Likewise.
7809 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7811 2014-07-09 Will Newton <will.newton@linaro.org>
7813 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7814 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7815 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7816 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7817 * sysdeps/hppa/start.S (_start): Likewise.
7819 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7821 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7823 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7826 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7828 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7829 after checking that it is non-NULL.
7831 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7833 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7835 * sysdeps/powerpc/memmove.c: Remove file.
7836 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7837 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7838 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7839 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7840 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7841 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7842 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7843 string memmove instead of removed powerpc one.
7845 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7846 [weak_alias]: Fix compiler warning due trailing data.
7847 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7848 [weak_alias]: Likewise.
7849 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7850 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7852 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7853 (__libc_ifunc_impl_list): Add memmove functions.
7855 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7857 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7859 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7861 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7863 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7865 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7867 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7869 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7871 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7873 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7875 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7877 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7879 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7881 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7883 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7885 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7887 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7889 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7892 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7894 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7895 to avoid alignment traps in non-cacheable memory.
7896 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7900 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7901 file: multiarch power7 memmove.
7902 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7903 multiarch default memmove.
7904 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7905 multiarch memove for powerpc32/power4.
7907 * string/bcopy.c: Use full path to include memmove.c.
7908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7910 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7911 bcopy for powerpc64.
7912 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7913 bcopy for powerpc64.
7914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7915 and memmove implementations.
7916 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7917 optimized multiarch memmove for POWER7/powerpc64.
7918 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7919 default multiarch memmove for powerpc64.
7920 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7921 multiarch for powerpc64.
7922 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7923 for POWER7/powerpc64.
7924 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7925 memmove for POWER7/powerpc64.
7927 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7930 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7931 __ELF_NATIVE_CLASS equal to 64.
7933 2014-07-07 Roland McGrath <roland@hack.frob.com>
7935 * sysdeps/nptl/lowlevellock.h: File removed.
7937 * NEWS: NPTL is no longer an add-on!
7938 * nptl/internaltypes.h: Moved ...
7939 * sysdeps/nptl/internaltypes.h: ... here.
7940 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7941 * sysdeps/nptl/fork.c: Likewise.
7942 * sysdeps/nptl/gai_misc.h: Likewise.
7943 * sysdeps/nptl/librt-cancellation.c: Likewise.
7944 * sysdeps/nptl/jmp-unwind.c: Likewise.
7945 * sysdeps/nptl/setxid.h: Likewise.
7946 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7947 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7948 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7949 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7950 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7951 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7952 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7953 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7954 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7955 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7956 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7957 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7958 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7959 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7960 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7961 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7962 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7963 * nptl/Makeconfig: Moved ...
7964 * sysdeps/nptl/Makeconfig: ... here.
7965 * nptl/configure: File removed.
7966 * nptl/ANNOUNCE: File removed.
7967 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7968 * sysdeps/unix/sysv/linux/configure: Regenerated.
7970 * nptl/Makefile (routines): Add libc_pthread_init,
7971 libc_multiple_threads, register-atfork and unregister-atfork.
7972 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7973 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7974 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7975 pthread-pi-defines.sym, structsem.sym.
7976 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7977 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7978 [$(subdir) = nptl] (tests): Add tst-setgetname.
7979 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7980 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7981 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7982 [!LIBC_SIGACTION]: Remove aliases.
7983 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7984 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7985 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7986 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7987 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7988 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7989 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7990 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7991 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7992 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7993 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7994 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7995 __libc_allocate_rtsig_private.
7996 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7997 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7998 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7999 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8000 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8001 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8002 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8003 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8004 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8005 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8006 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8007 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8008 * nptl/internaltypes.h: ... here.
8009 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8010 * sysdeps/nptl/jmp-unwind.c: ... here.
8011 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8012 * nptl/libc-lowlevellock.c: ... here.
8013 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8014 * nptl/libc_multiple_threads.c: ... here.
8015 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8016 * nptl/libc_pthread_init.c: ... here.
8017 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8018 * nptl/lowlevelbarrier.sym: ... here.
8019 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8020 * nptl/lowlevelcond.sym: ... here.
8021 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8022 * nptl/lowlevellock.c: ... here.
8023 * nptl/lowlevellock.h: Moved ...
8024 * sysdeps/nptl/lowlevellock.h: ... here.
8025 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8026 * nptl/lowlevelrobustlock.c: ... here.
8027 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8028 * nptl/lowlevelrobustlock.sym: ... here.
8029 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8030 * nptl/lowlevelrwlock.sym: ... here.
8031 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8032 * nptl/pt-fork.c: ... here.
8033 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8034 * nptl/pthread-pi-defines.sym: ... here.
8035 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8036 * nptl/pthread_attr_getaffinity.c: ... here.
8037 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8038 * nptl/pthread_attr_setaffinity.c: ... here.
8039 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8040 * nptl/pthread_mutex_cond_lock.c: ... here.
8041 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8043 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8044 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8045 * nptl/pthread_once.c: ... here, replacing old file.
8046 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8047 * nptl/pthread_yield.c: ... here.
8048 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8049 * nptl/register-atfork.c: ... here.
8050 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8051 * nptl/sem_post.c: ... here.
8052 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8053 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8054 * nptl/sem_timedwait.c: ... here.
8055 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8056 * nptl/sem_trywait.c: ... here.
8057 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8058 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8059 * nptl/sem_wait.c: ... here.
8060 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8061 * nptl/structsem.sym: ... here.
8062 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8063 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8064 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8065 * nptl/unregister-atfork.c: ... here.
8066 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8067 * nptl/unwindbuf.sym: ... here.
8068 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8069 * sysdeps/nptl/fork.c: ... here.
8070 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8071 * sysdeps/nptl/fork.h: ... here.
8072 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8073 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8074 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8075 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8076 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8077 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8078 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8079 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8080 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8081 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8082 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8083 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8084 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8085 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8086 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8087 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8088 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8089 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8090 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8091 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8092 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8093 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8094 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8095 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8096 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8097 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8098 * sysdeps/unix/sysv/linux/raise.c: ... here.
8099 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8100 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8101 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8102 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8103 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8104 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8105 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8106 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8107 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8108 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8109 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8110 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8111 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8112 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8113 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8115 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8117 * sysdeps/generic/memcopy.h: Add comment for
8118 MEMCPY_OK_FOR_FWD_MEMMOVE.
8120 2014-07-04 Will Newton <will.newton@linaro.org>
8122 * string/memchr.c: Merge from gnulib.
8123 [_LIBC]: Remove conditionals.
8124 (__ptr_t): Remove define.
8125 (LONG_MAX_32_BITS): Likewise.
8126 (LONG_MAX): Likewise.
8127 (MEMCHR): Use ANSI prototype and optimize algorithm.
8129 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8131 2014-07-03 Roland McGrath <roland@hack.frob.com>
8133 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8134 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8136 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8137 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8138 in a bare environment with no <stdlib.h> installed.
8139 * sysdeps/nptl/configure: Regenerated.
8141 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8143 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8144 AC_EGREP_CPP for kernel header checks, so they only succeed if
8145 including <linux/version.h> actually works right.
8146 * sysdeps/unix/sysv/linux/configure: Regenerated.
8148 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8149 value so it's not diagnosed as unused.
8151 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8152 thing) with "ifeq ($(subdir),rt)".
8154 2014-07-03 Richard Henderson <rth@redhat.com>
8156 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8157 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8158 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8160 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8161 (math_force_eval): New.
8163 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8164 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8166 * sysdeps/alpha/fpu/s_round.c: Remove file.
8167 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8169 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8170 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8171 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8172 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8173 (_dl_start, print_statistics): Likewise.
8174 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8175 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8177 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8178 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8179 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8180 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8181 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8182 (HP_SMALL_TIMING_AVAIL): Define.
8183 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8184 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8185 (HP_SMALL_TIMING_AVAIL): Define.
8186 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8187 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8189 * sysdeps/aarch64/hp-timing.h: New file.
8191 * sysdeps/generic/hp-timing.h: Remove dead comment.
8192 * sysdeps/generic/hp-timing-common.h: New file.
8193 * sysdeps/alpha/hp-timing.h: Include it.
8194 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8195 * sysdeps/i386/i686/hp-timing.h: Likewise.
8196 * sysdeps/ia64/hp-timing.h: Likewise.
8197 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8198 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8199 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8200 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8201 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8202 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8205 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8206 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8207 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8208 * elf/rtld.c (_dl_start_final): Likewise.
8209 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8210 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8211 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8212 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8213 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8214 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8215 (HP_TIMING_DIFF_INIT): Remove.
8216 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8217 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8218 (HP_TIMING_DIFF_INIT): Remove.
8219 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8220 * sysdeps/i386/i686/hp-timing.c: Remove file.
8221 * sysdeps/x86_64/hp-timing.c: Remove file.
8222 * sysdeps/ia64/hp-timing.c: Remove file.
8223 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8224 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8225 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8226 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8228 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8229 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8230 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8231 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8232 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8233 (HP_TIMING_ACCUM): Remove.
8234 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8235 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8236 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8238 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8239 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8240 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8241 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8242 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8243 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8244 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8245 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8247 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8249 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8251 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8253 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8255 Sync up with gettext.
8256 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8257 [_MSC_VER]: Include malloc.h
8258 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8259 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8260 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8261 TEMP_FAILURE_RETRY. Cast return of alloca.
8262 [!_LIBC] Call gl_rwlock_init.
8263 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8265 2014-07-02 Roland McGrath <roland@hack.frob.com>
8267 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8268 before checking its value.
8270 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8272 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8274 * debug/memcpy_chk.c: Don't include pagecopy.h.
8275 * debug/mempcpy_chk.c: Likewise.
8276 * string/memcpy.c: Likewise.
8277 * string/memmove.c: Likewise.
8278 * sysdeps/powerpc/memmove.c: Likewise.
8279 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8280 definition of PAGE_COPY_FWD_MAYBE here...
8281 * sysdeps/generic/pagecopy.h: ... from here.
8282 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8284 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8285 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8287 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8291 (__libc_ifunc_impl_list): Likewise.
8292 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8293 multiarch strcat for PPC64.
8294 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8295 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8297 2014-07-02 Roland McGrath <roland@hack.frob.com>
8299 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8301 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8303 * intl/loadmsgcat.c: Remove declaration of
8304 get_sysdep_segment_value.
8305 (get_sysdep_segment_value): Use ISO C style.
8306 (_nl_load_domain): Use ISO C style. Get rid of redundant
8307 semicolon. Fix typo and formatting in comment.
8308 (_nl_unload_domain): Use ISO C style.
8310 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8312 2014-07-02 Will Newton <will.newton@linaro.org>
8314 * malloc/obstack.c: Merge from gnulib master.
8315 [HAVE_CONFIG_H]: Remove conditional code.
8316 [!_LIBC]: Include config.h.
8317 [!ELIDE_CODE]: Don't include inttypes.h, include
8318 stdint.h unconditionally.
8319 (print_and_abort): Mark as _Noreturn.
8320 (_obstack_allocated_p): Mark as __attribute_pure__.
8321 (obstack_free): Rename to __obstack_free.
8322 [!__attribute__]: Remove conditional code.
8323 * malloc/obstack.h: Merge from gnulib master.
8324 [__cplusplus]: Move conditional down.
8325 [!__attribute_pure__]: Define __attribute_pure__ here
8326 if it is not already defined.
8327 (_obstack_memory_used): Mark as __attribute_pure__.
8328 [!__obstack_free]: Define as obstack_free.
8329 [__GNUC__]: Remove check for ancient NeXT gcc.
8331 2014-07-02 Will Newton <will.newton@linaro.org>
8332 Paul Eggert <eggert@cs.ucla.edu>
8334 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8336 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8338 * resolv/gethnamaddr.c: Add comment warning that the file is
8341 2014-07-01 Carlos O'Donell <carlos@redhat.com>
8343 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8346 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8347 entry for aio_cancel and aio_cancel64.
8348 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8349 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8350 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8351 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8352 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8353 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8354 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8355 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8356 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8357 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8358 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8359 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8360 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8362 2014-07-01 Roland McGrath <roland@hack.frob.com>
8364 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8365 * nptl/pthread_mutex_lock.c: Likewise.
8366 * nptl/pthread_mutex_timedlock.c: Likewise.
8367 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8369 2014-07-01 Richard henderson <rth@redhat.com>
8371 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8372 (__isnan, __isnanl): Remove.
8373 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8375 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8377 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8379 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8381 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8383 * resolv/nss_dns/dns-host.c (getanswer_r)
8384 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8386 2014-07-01 Joseph Myers <joseph@codesourcery.com>
8388 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8389 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8391 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8392 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8394 2014-07-01 Roland McGrath <roland@hack.frob.com>
8396 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8397 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8399 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8400 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8402 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8403 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8405 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8406 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8408 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8409 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8410 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8411 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8413 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8414 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8415 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8416 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8417 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8419 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8421 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8422 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8423 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8424 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8425 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8426 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8427 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8428 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8429 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8430 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8431 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8432 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8433 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8434 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8435 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8436 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8437 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8438 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8439 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8440 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8442 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8443 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8444 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8445 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8446 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8447 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8448 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8449 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8451 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8453 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8454 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8455 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8458 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8462 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8464 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8465 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8467 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8469 * sysdeps/arm/libm-test-ulps: Regenerated.
8471 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8472 Roland McGrath <roland@hack.frob.com>
8474 * test-skeleton.c (signal_handler): Kill the whole process group
8475 before killing the child individually.
8476 (main): Report any failure on `setpgid'.
8478 2014-06-30 Roland McGrath <roland@hack.frob.com>
8480 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8481 from _TLS_H to _ARM_NPTL_TLS_H.
8482 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8483 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8485 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8488 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8489 (__expm1l): Return argument unchanged when small but not
8492 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8494 (_FP_UNPACK_RAW_1_P): Likewise.
8495 (_FP_PACK_RAW_1): Likewise.
8496 (_FP_PACK_RAW_1_P): Likewise.
8497 (_FP_MUL_MEAT_1_wide): Likewise.
8498 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8499 (_FP_MUL_MEAT_1_hard): Likewise.
8500 (_FP_DIV_MEAT_1_imm): Likewise.
8501 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8502 (_FP_DIV_MEAT_1_udiv): Likewise.
8503 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8504 (_FP_UNPACK_RAW_2): Likewise.
8505 (_FP_UNPACK_RAW_2_P): Likewise.
8506 (_FP_PACK_RAW_2): Likewise.
8507 (_FP_PACK_RAW_2_P): Likewise.
8508 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8509 (_FP_MUL_MEAT_2_wide): Likewise.
8510 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8511 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8512 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8513 (_FP_MUL_MEAT_2_gmp): Likewise.
8514 (_FP_DIV_MEAT_2_udiv): Likewise.
8515 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8516 (_FP_FRAC_SRL_4): Likewise.
8517 (_FP_FRAC_SRST_4): Likewise.
8518 (_FP_FRAC_SRS_4): Likewise.
8519 (_FP_UNPACK_RAW_4): Likewise.
8520 (_FP_UNPACK_RAW_4_P): Likewise.
8521 (_FP_PACK_RAW_4): Likewise.
8522 (_FP_PACK_RAW_4_P): Likewise.
8523 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8524 (_FP_MUL_MEAT_4_wide): Likewise.
8525 (_FP_MUL_MEAT_4_gmp): Likewise.
8526 (umul_ppppmnnn): Likewise.
8527 (_FP_DIV_MEAT_4_udiv): Likewise.
8528 (__FP_FRAC_ADD_4): Likewise.
8529 (__FP_FRAC_SUB_3): Likewise.
8530 (__FP_FRAC_SUB_4): Likewise.
8531 (__FP_FRAC_DEC_3): Likewise.
8532 (__FP_FRAC_DEC_4): Likewise.
8533 (__FP_FRAC_ADDI_4): Likewise.
8534 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8535 (_FP_FRAC_SRL_8): Likewise.
8536 (_FP_FRAC_SRS_8): Likewise.
8538 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8540 (FP_UNPACK_RAW_EP): Likewise.
8541 (FP_PACK_RAW_E): Likewise.
8542 (FP_PACK_RAW_EP): Likewise.
8543 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8544 (_FP_ISSIGNAN): Likewise.
8545 (_FP_ADD_INTERNAL): Likewise.
8546 (_FP_FMA): Likewise.
8547 (_FP_CMP): Likewise.
8548 (_FP_SQRT): Likewise.
8549 (_FP_TO_INT): Likewise.
8550 (_FP_FROM_INT): Likewise.
8551 (FP_EXTEND): Likewise.
8552 (_FP_DIV_MEAT_N_loop): Likewise.
8554 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8556 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8559 2014-06-29 Joseph Myers <joseph@codesourcery.com>
8562 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8563 result with correct sign in case of exponents that produce
8564 overflow except for X very close to 1.
8566 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8568 mktime: merge #if/#ifdef usage from glibc
8569 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8570 as that works with both Glibc's and Gnulib's style.
8571 See thread starting at Siddhesh Poyarekar's bug report at:
8572 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8574 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8576 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8577 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8578 * sysdeps/tile/tilegx/memmove.c: Remove file.
8580 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8582 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8583 abi-name definition.
8584 * scripts/soversions.awk: Do not handle or generate ABI lines.
8585 * shlib-versions: Remove ABI entries.
8586 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8587 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8589 2014-06-27 Roland McGrath <roland@hack.frob.com>
8591 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8592 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8593 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8594 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8596 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8597 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8599 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8601 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8602 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8603 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8604 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8605 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8606 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8608 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8609 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8610 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8612 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8613 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8615 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8616 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8617 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8618 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8619 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8620 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8622 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8623 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8625 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8627 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8628 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8630 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8631 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8632 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8634 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8635 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8636 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8637 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8639 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8640 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8641 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8642 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8644 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8645 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8647 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8648 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8649 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8650 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8652 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8654 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8655 Identical file removed.
8656 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8658 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8659 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8660 Identical file removed.
8661 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8662 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8663 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8665 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8666 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8667 Identical file removed.
8668 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8669 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8670 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8671 Identical file removed.
8672 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8673 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8674 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8675 Identical file removed.
8676 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8677 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8678 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8679 Identical file removed.
8680 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8682 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8683 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8684 Identical file removed.
8685 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8687 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8688 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8689 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8690 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8691 Identical file removed.
8692 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8694 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8696 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8697 Identical file removed.
8698 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8700 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8701 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8702 Identical file removed.
8703 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8705 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8706 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8707 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8708 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8709 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8710 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8712 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8713 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8714 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8716 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8717 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8718 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8719 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8720 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8722 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
8725 * nscd/nscd.c (monitor_child): Return exit status of child
8726 instead of return value from wait syscall.
8728 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8730 * configure.ac (libc_commonpagesize): Remove variable.
8731 (libc_relro_required): Likewise.
8732 (libc_cv_z_relro): Remove configure test.
8733 * configure: Regenerated.
8734 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8736 (libc_relro_required): Likewise.
8737 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8738 (libc_relro_required): Likewise.
8739 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8740 (libc_relro_required): Likewise.
8741 * sysdeps/arm/preconfigure: Regenerated.
8742 * sysdeps/ia64/preconfigure: Remove file.
8743 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8745 (libc_relro_required): Likewise.
8749 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8750 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8751 recompute overflowing results in original rounding mode.
8752 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8753 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8754 recompute overflowing results in original rounding mode.
8755 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8756 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8757 recompute overflowing results in original rounding mode.
8758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8759 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8760 recompute overflowing results in original rounding mode.
8761 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8762 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8763 recompute overflowing results in original rounding mode.
8764 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8765 (libc_feholdsetround_ctx): New macro.
8766 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8767 * sysdeps/i386/fpu/libm-test-ulps: Update.
8768 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8770 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8772 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8773 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8774 corresponding .cpsetup call.
8776 2014-06-26 Roland McGrath <roland@hack.frob.com>
8778 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8779 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8780 * sysdeps/arm/Makefile [$(subdir) = csu]
8781 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8782 (static-only-routines): Add aeabi_read_tp here.
8783 (shared-only-routines): Add libc-aeabi_read_tp here.
8784 (CFLAGS-libc-start.c): Add -fexceptions here.
8785 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8786 (sysdep_routines, static-only-routines, shared-only-routines):
8787 Don't add to these here.
8788 (CFLAGS-libc-start.c): Likewise.
8790 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8791 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8792 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8793 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8794 * sysdeps/arm/Makefile [$(subdir) = rt]
8795 (librt-sysdep_routines, librt-shared-only-routines):
8796 Append rt-aeabi_unwind_cpp_pr1 here.
8797 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8798 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8799 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8800 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8801 Append nptl-aeabi_unwind_cpp_pr1 here.
8802 (tests): Filter out tst-cleanupx4 here.
8803 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8804 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8805 Don't do those here.
8807 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8809 * scripts/list-sources.sh: Do not handle ports specially.
8811 2014-06-26 Roland McGrath <roland@hack.frob.com>
8813 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8814 * sysdeps/arm/feupdateenv.c: Likewise.
8816 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8818 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8820 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8821 trailing whitespace removed.
8822 * scripts/config.guess: Update to version 2014-03-23.
8823 * scripts/config.sub: Update to version 2014-05-01
8824 * scripts/install-sh: Update to version 2013-12-25.23.
8825 * scripts/move-if-change: Update from gnulib.
8827 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8829 * debug/memmove_chk.c: Remove pagecopy.h include.
8831 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8833 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8834 identical to gnulib mktime.
8836 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8838 * configure.ac: Do not test for machine being rs6000. Do not test
8840 * configure: Regenerated.
8842 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8844 * configure: Regenerated.
8845 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8846 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8847 Remove configure test.
8848 * sysdeps/arm/configure: Regenerated.
8849 * sysdeps/nptl/configure.ac: Do not check
8850 libc_cv_asm_cfi_directives.
8851 * sysdeps/nptl/configure: Regenerated.
8852 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8853 * sysdeps/x86_64/nptl/configure: Remove generated file.
8854 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8856 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8858 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8860 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8861 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8862 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8865 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8866 instead of whether it is defined.
8867 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8868 * sysdeps/hppa/dl-machine.h: Likewise.
8869 * sysdeps/ia64/dl-machine.h: Likewise.
8870 * sysdeps/m68k/dl-machine.h: Likewise.
8871 * sysdeps/microblaze/dl-machine.h: Likewise.
8872 * sysdeps/mips/dl-machine.: Likewise.
8873 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8874 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8875 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8876 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8877 * sysdeps/sh/dl-machine.h: Likewise.
8878 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8879 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8880 * sysdeps/tile/dl-machine.h: Likewise.
8881 * sysdeps/x86_64/dl-machine.h: Likewise.
8883 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8885 (verify_persistent_db): Likewise.
8887 2014-06-26 Roland McGrath <roland@hack.frob.com>
8889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8890 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8892 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8895 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8898 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8900 Identical file removed.
8901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8902 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8904 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8906 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8908 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8910 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8913 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8915 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8917 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8920 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8922 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8924 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8926 Identical file removed.
8927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8928 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8930 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8933 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8936 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8938 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8940 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8942 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8944 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8947 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8950 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8952 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8955 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8957 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8959 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8961 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8962 * sysdeps/unix/sysv/linux/s390/Versions
8963 (libpthread: GLIBC_2.19): New version set.
8964 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8965 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8966 (librt: GLIBC_2.3.3): New version set.
8967 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8968 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8969 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8970 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8971 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8972 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8973 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8974 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8975 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8976 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8977 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8978 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8979 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8980 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8981 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8982 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8983 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8984 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8985 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8986 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8987 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8988 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8989 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8990 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8991 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8992 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8993 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8994 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8995 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8996 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8997 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8998 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8999 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9000 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9001 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9002 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9003 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9004 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9005 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9006 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9007 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9008 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9009 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9010 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9011 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9013 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9014 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9015 (__libc_vfork): Define the function under this name.
9016 [!NOT_IN_libc] (__vfork): Make this an alias.
9017 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9019 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9020 (__libc_vfork): Define the function under this name.
9021 [!NOT_IN_libc] (__vfork): Make this an alias.
9022 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9023 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9024 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9025 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9026 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9027 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9029 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9030 code that was previously under [RESET_PID].
9031 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9032 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9033 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9035 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9036 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9037 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9038 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9039 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9040 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9041 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9042 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9043 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9044 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9045 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9047 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9048 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9049 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9050 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9051 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9052 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9053 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9054 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9055 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9056 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9057 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9058 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9059 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9060 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9061 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9062 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9063 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9064 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9065 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9066 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9067 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9068 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9069 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9070 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9071 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9072 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9073 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9074 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9075 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9077 2014-06-25 Roland McGrath <roland@hack.frob.com>
9079 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9080 that was previously under [RESET_PID].
9081 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9083 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9085 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9086 not undefine and redefine.
9087 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9088 [O_CLOEXEC]: Make code unconditional.
9089 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9090 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9091 <kernel-features.h>.
9092 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9093 conditional variable definition.
9094 (shm_open) [O_CLOEXEC]: Make code unconditional.
9095 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9098 * configure.ac (USE_REGPARMS): Don't define here.
9099 * configure: Regenerated.
9100 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9101 * sysdeps/i386/configure: Regenerated.
9103 * nptl/createthread.c: Don't include kernel-features.h.
9104 * nptl/pthread_cancel.c: Likewise.
9105 * nptl/pthread_condattr_setclock.c: Likewise.
9106 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9107 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9108 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9109 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9110 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9111 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9112 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9113 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9114 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9115 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9116 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9117 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9118 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9119 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9120 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9121 * nscd/gai.c: Likewise.
9122 * nss/nss_db/db-open.c: Likewise.
9123 * sysdeps/generic/ldsodefs.h: Likewise.
9124 * sysdeps/sh/nptl/tls.h: Likewise.
9125 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9126 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9127 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9128 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9129 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9130 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9131 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9132 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9133 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9134 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9135 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9136 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9137 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9138 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9139 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9140 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9141 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9142 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9143 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9144 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9145 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9146 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9147 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9148 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9149 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9150 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9151 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9152 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9153 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9154 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9155 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9156 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9157 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9158 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9159 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9160 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9161 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9162 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9163 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9164 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9165 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9166 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9167 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9168 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9169 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9170 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9171 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9172 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9173 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9174 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9175 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9176 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9177 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9178 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9179 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9180 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9181 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9182 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9205 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9206 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9207 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9208 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9209 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9210 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9211 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9212 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9213 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9214 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9215 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9216 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9217 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9218 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9219 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9220 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9221 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9222 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9223 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9224 * sysdeps/unix/sysv/linux/system.c: Likewise.
9225 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9226 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9227 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9228 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9229 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9230 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9231 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9233 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9234 * configure: Regenerated.
9235 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9237 * configure.ac (base_machine): Do not set specially for particular
9239 * configure: Regenerated.
9240 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9241 settings from configure.ac.
9242 * sysdeps/i386/preconfigure: New file.
9243 * sysdeps/s390/preconfigure: Likewise.
9244 * sysdeps/sh/preconfigure: Likewise.
9245 * sysdeps/sparc/preconfigure: Likewise.
9247 2014-06-25 Roland McGrath <roland@hack.frob.com>
9249 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9250 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9251 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9252 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9253 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9254 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9255 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9256 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9257 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9258 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9259 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9260 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9261 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9262 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9263 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9264 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9265 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9266 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9267 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9269 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9270 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9271 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9272 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9273 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9274 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9275 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9276 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9277 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9278 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9279 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9280 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9281 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9282 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9283 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9284 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9285 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9286 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9287 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9288 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9289 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9290 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9291 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9292 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9293 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9294 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9295 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9296 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9297 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9298 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9299 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9300 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9301 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9302 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9303 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9304 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9305 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9306 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9309 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9311 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9314 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9317 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9319 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9322 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9324 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9326 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9328 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9331 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9334 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9336 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9339 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9341 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9343 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9345 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9347 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9350 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9353 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9355 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9358 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9360 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9362 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9364 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9367 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9370 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9372 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9375 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9377 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9379 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9381 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9383 * timezone/checktab.awk: Update from tzcode 2014e.
9384 * timezone/private.h: Likewise.
9385 * timezone/tzfile.h: Likewise.
9386 * timezone/zdump.c: Likewise.
9387 * timezone/zic.c: Likewise.
9389 * sysdeps/unix/sysv/linux/kernel-features.h
9390 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9391 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9392 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9393 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9394 Remove conditional code.
9396 2014-06-25 Will Newton <will.newton@linaro.org>
9398 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9399 (_dl_arm_cap_flags): Add HWCAP2 values.
9400 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9401 (_DL_HWCAP_COUNT): Increase to 37.
9402 (_DL_HWCAP_LAST): New define.
9403 (_DL_HWCAP2_LAST): New define.
9404 (_dl_procinfo): Add support for printing
9406 (_dl_string_hwcap): Use _dl_hwcap_string.
9408 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9412 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9414 * README: Do not mention ports directory.
9416 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9418 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9419 <kernel-features.h>.
9420 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9421 conditional variable definition.
9422 (__futimes): Update comment.
9423 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9424 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9427 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9428 arguments close to 0.
9429 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9431 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9433 * math/auto-libm-test-in: Add more tests of exp10.
9434 * math/auto-libm-test-out: Regenerated.
9435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9437 * sysdeps/unix/sysv/linux/kernel-features.h
9438 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9439 * sysdeps/unix/sysv/linux/readv.c: Do not include
9440 <kernel-features.h>.
9441 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9442 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9443 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9445 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9447 * sysdeps/unix/sysv/linux/writev.c: Do not include
9448 <kernel-features.h>.
9449 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9450 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9451 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9453 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9456 2014-06-25 Will Newton <will.newton@linaro.org>
9458 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9459 comment changes throughout the file. Remove checks
9460 for HAVE_*_H definitions that are not required.
9461 (__gen_tempname): Call abort if an unknown kind value is
9464 2014-06-25 Andreas Schwab <schwab@suse.de>
9467 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9468 scalbln, scalblnf, scalblnl in libc.
9470 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9473 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9474 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9475 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9477 2014-06-24 Roland McGrath <roland@hack.frob.com>
9479 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9480 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9481 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9482 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9484 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9485 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9487 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9488 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9489 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9490 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9491 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9492 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9493 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9494 * sysdeps/x86/bits/semaphore.h: ... here.
9495 * sysdeps/x86/nptl/elide.h: Moved ...
9496 * sysdeps/x86/elide.h: ... here.
9497 * sysdeps/x86_64/nptl/Implies: File removed.
9498 * sysdeps/i386/nptl/Implies: File removed.
9500 2014-06-24 Joseph Myers <joseph@codesourcery.com>
9503 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9504 return the argument for normal arguments with exponent below -64.
9505 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9507 * math/auto-libm-test-in: Add another test of expm1.
9508 * math/auto-libm-test-out: Regenerated.
9511 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9512 calling __erfcl for arguments at least 16.
9513 * math/auto-libm-test-in: Add more tests of erf.
9514 * math/auto-libm-test-out: Regenerated.
9516 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9517 individual architectures.
9518 * sysdeps/unix/sysv/linux/configure: Regenerated.
9519 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9520 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9521 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9522 (ldd_rewrite_script): Define variable.
9523 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9528 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9529 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9530 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9531 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9532 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9533 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9534 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9535 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9537 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9540 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9541 Rename member __data.d to __data.__elision_data.
9543 2014-06-24 Wilco <wdijkstr@arm.com>
9545 * NEWS: Add 16918 to fixed bug list.
9547 2014-06-24 Wilco <wdijkstr@arm.com>
9549 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9551 2014-06-24 Wilco <wdijkstr@arm.com>
9553 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9554 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9555 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9556 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9557 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9558 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9559 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9562 2014-06-24 Wilco <wdijkstr@arm.com>
9564 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9566 2014-06-24 Wilco <wdijkstr@arm.com>
9568 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9569 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9570 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9571 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9573 2014-06-24 Wilco <wdijkstr@arm.com>
9576 * sysdeps/arm/feupdateenv.c (feupdateenv):
9577 Rewrite to reduce FPSCR accesses and fix return value.
9579 2014-06-24 Wilco <wdijkstr@arm.com>
9581 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9582 Optimize to avoid unnecessary FPSCR writes.
9583 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9584 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9585 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9586 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9588 2014-06-24 Wilco <wdijkstr@arm.com>
9590 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9591 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9592 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9593 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9594 Call libc_fetestexcept_vfp.
9595 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9596 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9597 __SOFTFP__ ifdef so that they can be built for softfp.
9599 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9601 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9602 argument type signed char.
9604 * Makerules (check-abi): Dump diff of symlist if the test
9607 2014-06-23 Roland McGrath <roland@hack.frob.com>
9609 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9612 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9613 Remove unused variable ST.
9615 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9619 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9620 small arguments before calling __expm1.
9621 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9622 small arguments before calling __expm1f.
9623 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9624 small arguments before calling __expm1l.
9625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9627 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9628 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9629 spurious underflow for some cosh tests.
9630 * math/auto-libm-test-out: Regenerated.
9631 * sysdeps/i386/fpu/libm-test-ulps: Update.
9634 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9635 (__ieee754_y1): Set errno if return value overflows.
9636 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9637 (__ieee754_y1f): Set errno if return value overflows.
9638 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9639 (__ieee754_y1l): Set errno if return value overflows.
9640 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9641 (__ieee754_y1l): Set errno if return value overflows.
9642 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9643 * math/auto-libm-test-out: Regenerated.
9645 * math/gen-auto-libm-tests.c: Document use of
9646 ignore-zero-inf-sign.
9647 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9648 (input_flags): Add ignore-zero-inf-sign.
9649 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9650 * math/gen-libm-test.pl (generate_testfile): Handle
9651 ignore-zero-inf-sign.
9652 * math/auto-libm-test-in: Mark some cpow tests with
9653 ignore-zero-inf-sign and some with xfail-rounding.
9654 * math/auto-libm-test-out: Regenerated.
9655 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9656 * sysdeps/i386/fpu/libm-test-ulps: Update.
9657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9660 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9661 overflowing or underflowing operations take place with sign of
9663 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9664 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9665 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9666 (__ieee754_pow): Recompute overflowing and underflowing results in
9667 original rounding mode.
9668 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9669 (__powl_helper): Allow negative argument X and scale negated value
9670 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9671 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9672 overflowing or underflowing operations take place with sign of
9674 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9676 * math/auto-libm-test-in: Add more tests of pow.
9677 * math/auto-libm-test-out: Regenerated.
9678 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9679 (pow_tonearest_test_data): Remove.
9680 (pow_test_tonearest): Likewise.
9681 (pow_towardzero_test_data): Likewise.
9682 (pow_test_towardzero): Likewise.
9683 (pow_downward_test_data): Likewise.
9684 (pow_test_downward): Likewise.
9685 (pow_upward_test_data): Likewise.
9686 (pow_test_upward): Likewise.
9687 (main): Don't call removed functions.
9688 * sysdeps/i386/fpu/libm-test-ulps: Update.
9689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9691 2014-06-23 Roland McGrath <roland@hack.frob.com>
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9867 2014-06-23 Will Newton <will.newton@linaro.org>
9868 Wilco <wdijkstr@arm.com>
9870 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9871 implementation. Include get-rounding-mode.h.
9872 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9873 [!libc_feholdsetround_noex_ctx]: Define
9874 libc_feholdsetround_noex_ctx.
9875 [!libc_feholdsetround_noexf_ctx]: Define
9876 libc_feholdsetround_noexf_ctx.
9877 [!libc_feholdsetround_noexl_ctx]: Define
9878 libc_feholdsetround_noexl_ctx.
9879 (libc_feholdsetround_ctx): New function.
9880 (libc_feresetround_ctx): New function.
9881 (libc_feholdsetround_noex_ctx): New function.
9882 (libc_feresetround_noex_ctx): New function.
9884 2014-06-23 Roland McGrath <roland@hack.frob.com>
9886 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9887 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9888 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9889 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9890 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9891 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9893 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9894 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9895 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9896 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9897 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9898 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9899 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9900 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9901 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9902 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9903 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9905 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9907 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9908 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9909 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9910 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9911 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9913 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9914 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9915 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9916 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9917 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9918 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9919 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9920 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9922 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9923 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9925 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9926 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9927 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9928 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9930 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9931 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9932 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9933 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9934 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9935 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9936 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9937 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9938 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9939 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9941 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9943 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9944 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9945 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9946 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9947 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9948 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9949 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9950 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9951 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9952 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9954 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9955 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9957 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9958 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9959 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9960 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9961 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9962 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9964 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9966 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9968 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9970 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9971 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9972 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9973 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9974 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9975 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9976 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9977 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9979 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9980 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9981 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9982 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9983 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9984 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9985 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9986 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9987 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9988 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9989 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9990 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9991 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9992 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9993 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9994 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9995 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9996 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9997 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9999 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10002 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10003 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10004 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10005 (IPV6_PMTUDISC_INTERFACE): Likewise.
10006 (IPV6_PMTUDISC_OMIT): Likewise.
10008 2014-06-23 Andreas Schwab <schwab@suse.de>
10010 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10011 Remove unused errout label.
10013 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10015 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10016 macro: hardware supports Vector Crypto instructions.
10018 2014-06-23 Will Newton <will.newton@linaro.org>
10020 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10021 rather than __builtin_expect.
10023 * elf/dl-lookup.c (undefined_msg): Remove variable.
10024 (_dl_lookup_symbol_x): Replace undefined_msg with string
10027 * elf/dl-lookup.c (do_lookup_unique): New function.
10028 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10029 to a separate function.
10031 2014-06-23 Andreas Schwab <schwab@suse.de>
10034 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10035 before reading the next line.
10037 2014-06-23 Will Newton <will.newton@linaro.org>
10039 * test-skeleton.c (signal_handler): Use printf and %m
10040 rather than perror. Use printf rather than fprintf to
10041 stderr. Use puts rather than fputs to stderr.
10044 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10046 * nscd/nscd.c (thread_info_t): Remove typedef.
10047 (thread_info): Remove variable.
10049 2014-06-21 Allan McRae <allan@archlinux.org>
10051 * NEWS: Mention CVE-2014-4043.
10053 2014-06-20 Roland McGrath <roland@hack.frob.com>
10055 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10056 * nptl/smp.h: ... here.
10058 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10060 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10061 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10062 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10063 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10065 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10066 * nptl/stack-aliasing.h: New file.
10067 * sysdeps/i386/i686/stack-aliasing.h: New file.
10068 * sysdeps/i386/i686/nptl/Makefile: File removed.
10069 * sysdeps/x86_64/stack-aliasing.h: New file.
10070 * sysdeps/x86_64/nptl/Makefile
10071 (CFLAGS-pthread_create.c): Variable removed.
10073 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10074 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10076 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10077 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10080 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10082 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10083 (__ASSUME_SIGFRAME_V2): Remove macro.
10084 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10085 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10086 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10087 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10088 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10089 Declare as function. Remove conditional macro definitions.
10090 (__default_rt_sa_restorer): Likewise.
10091 (__default_sa_restorer_v1): Remove declaration.
10092 (__default_sa_restorer_v2): Likewise.
10093 (__default_rt_sa_restorer_v1): Likewise.
10094 (__default_rt_sa_restorer_v2): Likewise.
10095 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10096 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10097 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10099 2014-06-20 Roland McGrath <roland@hack.frob.com>
10101 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10102 (libpthread-routines): Add sysdep.
10103 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10104 * sysdeps/unix/sysv/linux/sparc/Versions
10105 (libpthread: GLIBC_2.3.3): New version set.
10106 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10107 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10108 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10109 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10110 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10111 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10113 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10114 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10115 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10116 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10117 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10118 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10119 * sysdeps/sparc/nptl/sem_init.c: ... here.
10120 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10121 * sysdeps/sparc/nptl/sem_post.c: ... here.
10122 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10123 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10124 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10125 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10126 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10127 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10128 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10129 (libpthread-routines): Add cpu_relax.
10130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10132 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10133 (librt: GLIBC_2.3.3): New version set.
10134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10135 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10136 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10137 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10140 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10143 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10145 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10147 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10149 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10151 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10154 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10158 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10162 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10166 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10170 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10174 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10177 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10181 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10183 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10185 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10188 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10191 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10192 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10194 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10196 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10197 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10198 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10199 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10200 * nscd/nscd.c: Likewise.
10201 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10202 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10203 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10204 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10206 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10207 <kernel-features.h>.
10208 (init_mq_netlink): Remove conditional have_sock_cloexec
10209 definitions. Remove code conditional on have_sock_cloexec < 0.
10210 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10211 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10212 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10213 <kernel-features.h>.
10214 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10215 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10217 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10220 Add tests for memset_chk and memset.
10222 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10225 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10228 * elf/tst-dl-iter-static.c: New file.
10229 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10231 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10234 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10236 * sysdeps/unix/sysv/linux/kernel-features.h
10237 (__ASSUME_F_GETOWN_EX): Remove macro.
10238 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10239 <kernel-features.h>.
10240 (miss_F_GETOWN_EX): Remove variable or macro.
10241 (do_fcntl): Do not check miss_F_GETOWN_EX.
10242 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10244 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10247 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10248 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10250 * sysdeps/unix/sysv/linux/kernel-features.h
10251 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10252 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10253 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10254 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10256 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10259 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10260 Fix calculation of the symbol's value.
10261 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10262 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10263 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10264 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10265 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10266 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10267 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10268 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10269 (modules-names): Add `tst-armtlsdescmod',
10270 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10271 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10272 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10273 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10274 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10275 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10276 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10277 ($(objpfx)tst-armtlsdescloc): New dependency.
10278 ($(objpfx)tst-armtlsdescextnow): Likewise.
10279 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10280 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10281 TLS scheme support.
10282 * sysdeps/arm/configure: Regenerate.
10284 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10286 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10287 (__atfct_seterrno_2): Likewise.
10288 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10289 <kernel-features.h>.
10290 (__ASSUME_ATFCTS): Do not undefine and redefine.
10291 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10292 (__have_atfcts): Remove conditional definition.
10293 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10294 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10295 unreachable if [__ASSUME_ATFCTS].
10296 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10297 not undefine and redefine.
10298 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10299 <kernel-features.h>.
10300 (faccessat) [__NR_faccessat]: Make code unconditional.
10301 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10302 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10303 <kernel-features.h>.
10304 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10305 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10306 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10307 <kernel-features.h>.
10308 (fchownat) [__NR_fchownat]: Make code unconditional.
10309 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10310 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10311 <kernel-features.h>.
10312 (futimesat) [__NR_futimesat]: Make code unconditional.
10313 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10314 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10315 <kernel-features.h>.
10316 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10317 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10318 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10319 <kernel-features.h>.
10320 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10321 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10322 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10323 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10324 <kernel-features.h>.
10325 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10326 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10327 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10328 <kernel-features.h>.
10329 (linkat) [__NR_linkat]: Make code unconditional.
10330 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10331 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10332 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10333 <kernel-features.h>.
10334 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10335 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10336 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10337 <kernel-features.h>.
10338 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10339 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10340 * sysdeps/unix/sysv/linux/openat.c: Do not include
10341 <kernel-features.h>.
10342 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10343 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10344 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10345 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10346 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10347 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10348 <kernel-features.h>.
10349 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10350 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10351 result of INLINE_SYSCALL directly, not via int variable.
10352 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10353 <kernel-features.h>.
10354 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10355 (renameat) [__NR_renameat]: Make code unconditional.
10356 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10357 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10358 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10359 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10360 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10361 (__ASSUME_ATFCTS): Do not undefine and redefine.
10362 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10363 <kernel-features.h>.
10364 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10365 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10366 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10367 <kernel-features.h>.
10368 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10369 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10370 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10371 (__ASSUME_ATFCTS): Do not undefine and redefine.
10372 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10373 <kernel-features.h>.
10374 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10375 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10376 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10377 <kernel-features.h>.
10378 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10379 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10381 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10383 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10385 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10388 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10389 constructed tree before returning error.
10390 * posix/bug-regexp36.c: Expand test case.
10392 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10395 * math/libm-test.inc (scalbln_test_date):
10396 Add errno expectations.
10397 * math/w_scalblnf.c: New File.
10398 Add wrapper which checks for setting errno to ERANGE.
10399 Add weak_alias for corresponding scalbln function.
10400 * math/w_scalbln.c: Likewise.
10401 * math/w_scalblnl.c: Likewise.
10402 * math/Makefile (libm-calls): Add w_scalbln.
10403 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10404 Remove weak_alias for corresponding scalbln function.
10405 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10407 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10409 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10410 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10411 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10412 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10413 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10414 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10415 Remove long_double_symbol for scalblnl function in libm, libc.
10416 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10417 Add wrapper which checks for setting errno to ERANGE.
10418 Add long_double_symbol for scalblnl function in libm, libc.
10419 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10420 Remove long_double_symbol for scalblnl in libm.
10421 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10422 Add wrapper which checks for setting errno to ERANGE.
10423 Add long_double_symbol for scalblnl function in libm.
10424 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10425 Do not use wrapper because of own implementation.
10427 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10429 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10430 3 bytes for __pad1 for x32.
10431 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10433 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10434 H.J. Lu <hongjiu.lu@intel.com>
10436 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10437 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10438 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10439 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10440 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10442 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10445 * posix/regcomp.c (parse_expression): Deallocate partially
10446 constructed tree before returning error.
10447 * posix/Makefile.c (tests): Add bug-regex36.
10448 (generated): Add bug-regex36.mtrace.
10449 (tests-special): Add $(objpfx)bug-regex36-mem.out
10450 (bug-regex36-ENV): New variable.
10451 ($(objpfx)bug-regex36-mem.out): New rule.
10452 * posix/bug-regex36.c: New file.
10454 2014-06-19 Will Newton <will.newton@linaro.org>
10456 * malloc/malloc.c (systrim): If extra is zero then return
10459 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10461 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10463 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
10465 * sysdeps/aarch64/strchr.S: New file.
10467 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10470 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10471 from arguments -2 or below.
10472 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10473 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10475 2014-06-18 Andreas Schwab <schwab@suse.de>
10478 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10479 of a bracket expr not to run off the end of the string.
10480 * posix/Makefile (tests): Add tst-fnmatch3.
10481 * posix/tst-fnmatch3.c: New file.
10483 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10485 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10486 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10487 [$(cross-compiling) = no]: Likewise.
10488 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10489 [$(cross-compiling) = no]: Likewise.
10491 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10494 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10495 double, adjusted for any remainder from the high double.
10496 * math/libm-test.inc (nearbyint): Add tests.
10499 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10501 * nptl/sysdeps/powerpc/Makefile: Moved ...
10502 * sysdeps/powerpc/nptl/Makefile: ... here.
10503 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10504 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10505 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10506 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10507 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10508 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10509 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10510 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10511 * nptl/sysdeps/powerpc/tls.h: Moved ...
10512 * sysdeps/powerpc/nptl/tls.h: ... here.
10514 2014-06-16 Joseph Myers <joseph@codesourcery.com>
10517 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10518 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10519 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10520 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10521 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10522 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10523 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10524 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10525 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10527 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10529 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10531 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10533 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10536 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10539 2014-06-16 Florian Weimer <fweimer@redhat.com>
10542 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10543 non-executed part of the test.
10545 2014-06-16 Andreas Schwab <schwab@suse.de>
10547 * string/bits/string2.h (strdup, strndup): Update feature guard.
10549 2014-06-14 David S. Miller <davem@davemloft.net>
10551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10553 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10555 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10556 that was previously under [RESET_PID].
10557 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10559 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10560 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10561 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10562 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10563 (__libc_vfork): New strong alias.
10564 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10566 2014-06-14 Andi Kleen <ak@linux.intel.com>
10568 * sysdeps/generic/elide.h: New file.
10570 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10572 * Makefile (installed-headers): Adjust path of pthread.h header.
10574 2014-06-13 Roland McGrath <roland@hack.frob.com>
10576 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10577 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10578 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10579 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10581 * nptl/sysdeps/s390/Makefile: Moved ...
10582 * sysdeps/s390/nptl/Makefile: ... here.
10583 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10584 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10585 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10586 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10587 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10588 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10589 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10590 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10591 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10592 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10593 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10594 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10595 * nptl/sysdeps/s390/tls.h: Moved ...
10596 * sysdeps/s390/nptl/tls.h: ... here.
10598 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10599 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10601 2014-06-13 David S. Miller <davem@davemloft.net>
10603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10606 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10610 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10611 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10612 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10613 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10614 Remove RESET_PID cpp guards.
10615 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10616 Remove RESET_PID cpp guards.
10617 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10619 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10621 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10624 2014-06-13 Andi Kleen <ak@linux.intel.com>
10626 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10627 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10628 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10629 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10630 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10631 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10632 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10633 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10634 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10635 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10636 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10637 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10638 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10639 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10640 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10641 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10642 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10643 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10644 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10645 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10647 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10648 (pthread_rwlock_rdlock): Add elision.
10649 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10650 (pthread_rwlock_wrlock): Add elision.
10651 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10652 (pthread_rwlock_trywrlock): Add elision.
10653 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10654 (pthread_rwlock_tryrdlock): Add elision.
10655 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10656 (pthread_rwlock_tryrdlock): Add elision unlock.
10657 * nptl/sysdeps/pthread/pthread.h:
10658 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10659 (PTHREAD_RWLOCK_INITIALIZER,
10660 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10661 Handle new elision field.
10662 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10663 * sysdeps/arm/nptl/bits/pthreadtypes.h
10664 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10665 * sysdeps/sh/nptl/bits/pthreadtypes.h
10666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10667 * sysdeps/tile/nptl/bits/pthreadtypes.h
10668 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10669 * sysdeps/a/nptl/bits/pthreadtypes.h
10670 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10671 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10672 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10673 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10675 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10676 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10677 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10678 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10679 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10680 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10681 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10682 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10683 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10685 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10686 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10687 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10688 (elision_init): Set try_xbegin to zero when no RTM.
10689 * sysdeps/x86/nptl/bits/pthreadtypes.h
10690 (pthread_rwlock_t): Change __pad1 to __rwelision.
10691 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10693 2014-06-13 Andi Kleen <ak@linux.intel.com>
10695 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10696 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10697 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10698 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10700 2014-06-13 Meador Inge <meadori@codesourcery.com>
10703 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10704 that the cached result has been set before returning it.
10706 2014-06-12 Roland McGrath <roland@hack.frob.com>
10708 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10709 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10710 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10711 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10712 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10713 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10715 * nptl/sysdeps/sparc/Makefile: Moved ...
10716 * sysdeps/sparc/nptl/Makefile: ... here.
10717 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10718 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10719 * nptl/sysdeps/sparc/tls.h: Moved ...
10720 * sysdeps/sparc/nptl/tls.h: ... here.
10721 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10722 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10723 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10724 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10725 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10726 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10727 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10728 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10729 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10730 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10731 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10732 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10733 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10734 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10735 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10736 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10737 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10738 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10740 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10741 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10743 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10744 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10746 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10747 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10750 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10752 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10753 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10755 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10756 (struct list_links): Type removed.
10757 (struct thread_node, struct timer_node): Replace struct list_links
10758 with struct list_head.
10759 (list_unlink_ip): Likewise.
10760 * sysdeps/pthread/timer_routines.c
10761 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10762 (list_append, list_insbefore): Likewise.
10763 (list_init): Function removed.
10764 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10765 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10766 * sysdeps/pthread/Makefile: ... here, new file.
10768 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10769 * sysdeps/nptl/Implies: ... here.
10770 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10771 * nptl/sysdeps/pthread/list.h: Moved ...
10772 * include/list.h: ... here.
10773 * nptl/sysdeps/pthread/createthread.c: Moved ...
10774 * nptl/createthread.c: ... here.
10775 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10776 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10777 * nptl/pt-longjmp.c: ... here.
10778 * nptl/sysdeps/pthread/Makefile: Moved ...
10779 * sysdeps/nptl/Makefile: ... here.
10780 * nptl/sysdeps/pthread/Subdirs: Moved ...
10781 * sysdeps/nptl/Subdirs: ... here.
10782 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10783 * sysdeps/nptl/aio_misc.h: ... here.
10784 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10785 * sysdeps/nptl/bits/libc-lock.h: ... here.
10786 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10787 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10788 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10789 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10790 * nptl/sysdeps/pthread/configure: Moved ...
10791 * sysdeps/nptl/configure: ... here.
10792 * nptl/sysdeps/pthread/configure.ac: Moved ...
10793 * sysdeps/nptl/configure.ac: ... here.
10794 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10795 * sysdeps/nptl/gai_misc.h: ... here.
10796 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10797 * sysdeps/nptl/librt-cancellation.c: ... here.
10798 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10799 * sysdeps/nptl/malloc-machine.h: ... here.
10800 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10801 * sysdeps/nptl/pthread-functions.h: ... here.
10802 * nptl/sysdeps/pthread/pthread.h: Moved ...
10803 * sysdeps/nptl/pthread.h: ... here.
10804 * nptl/sysdeps/pthread/setxid.h: Moved ...
10805 * sysdeps/nptl/setxid.h: ... here.
10806 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10807 * sysdeps/nptl/sigfillset.c: ... here.
10808 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10809 * sysdeps/nptl/tcb-offsets.h: ... here.
10810 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10811 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10812 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10813 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10814 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10815 * sysdeps/pthread/allocalim.h: ... here.
10816 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10817 * sysdeps/pthread/bits/sigthread.h: ... here.
10818 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10819 * sysdeps/pthread/flockfile.c: ... here.
10820 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10821 * sysdeps/pthread/ftrylockfile.c: ... here.
10822 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10823 * sysdeps/pthread/funlockfile.c: ... here.
10824 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10825 * sysdeps/pthread/posix-timer.h: ... here.
10826 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10827 * sysdeps/pthread/timer_create.c: ... here.
10828 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10829 * sysdeps/pthread/timer_delete.c: ... here.
10830 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10831 * sysdeps/pthread/timer_getoverr.c: ... here.
10832 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10833 * sysdeps/pthread/timer_gettime.c: ... here.
10834 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10835 * sysdeps/pthread/timer_routines.c: ... here.
10836 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10837 * sysdeps/pthread/timer_settime.c: ... here.
10838 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10839 * sysdeps/pthread/tst-timer.c: ... here.
10840 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10841 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10843 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10844 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10846 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10847 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10848 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10849 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10850 Update #include target.
10851 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10852 * sysdeps/i386/i686/nptl/Makefile: ... here.
10853 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10854 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10855 Update #include target.
10856 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10857 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10858 * nptl/sysdeps/i386/Makefile: Moved ...
10859 * sysdeps/i386/nptl/Makefile: ... here.
10860 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10861 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10862 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10863 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10864 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10865 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10866 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10867 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10868 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10869 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10870 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10871 * nptl/sysdeps/i386/tls.h: Moved ...
10872 * sysdeps/i386/nptl/tls.h: ... here.
10874 * sysdeps/sh/Makefile [$(subdir) = csu]
10875 (gen-as-const-headers): Add tcb-offsets.sym.
10876 * nptl/sysdeps/sh/Makefile: File removed.
10877 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10878 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10879 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10880 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10881 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10882 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10883 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10884 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10885 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10886 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10887 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10888 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10889 * nptl/sysdeps/sh/tls.h: Moved ...
10890 * sysdeps/sh/nptl/tls.h: ... here.
10891 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10892 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10893 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10894 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10895 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10896 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10897 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10898 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10899 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10900 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10901 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10902 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10903 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10904 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10905 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10906 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10907 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10908 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10909 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10910 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10912 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10913 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10914 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10915 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10917 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10918 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10920 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10921 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10922 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10923 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10924 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10925 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10926 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10927 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10928 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10929 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10930 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10931 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10932 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10933 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10934 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10935 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10936 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10937 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10938 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10940 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10942 * posix/spawn_faction_addopen.c: Include string.h.
10944 2014-06-11 Roland McGrath <roland@hack.frob.com>
10946 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10947 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10948 * nptl/sysdeps/x86_64/Makefile: Moved ...
10949 * sysdeps/x86_64/nptl/Makefile: ... here.
10950 * nptl/sysdeps/x86_64/configure: Moved ...
10951 * sysdeps/x86_64/nptl/configure: ... here.
10952 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10953 * sysdeps/x86_64/nptl/configure.ac: ... here.
10954 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10955 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10956 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10957 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10958 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10959 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10960 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10961 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10962 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10963 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10964 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10965 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10966 * nptl/sysdeps/x86_64/tls.h: Moved ...
10967 * sysdeps/x86_64/nptl/tls.h: ... here.
10968 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10969 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10970 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10971 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10973 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10975 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10979 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10981 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10983 [POSIX] (off_t): Likewise.
10984 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10985 [POSIX] (S_ISBLK): Require macro.
10986 [POSIX] (S_ISCHR): Likewise.
10987 [POSIX] (S_ISDIR): Likewise.
10988 [POSIX] (S_ISFIFO): Likewise.
10989 [POSIX] (S_ISREG): Likewise.
10990 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10992 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10994 [POSIX] (time_t): Likewise.
10995 [POSIX] (timer_t): Likewise.
10997 2014-06-11 Florian Weimer <fweimer@redhat.com>
11000 * posix/spawn_int.h (struct __spawn_action): Make the path string
11001 non-const to support deallocation.
11002 * posix/spawn_faction_addopen.c
11003 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11004 * posix/spawn_faction_destroy.c
11005 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11006 path in all spawn_do_open actions.
11007 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11008 posix_spawn_file_actions_addopen.
11010 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11012 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11013 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11014 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11015 conditional code always true.
11016 (__libc_vfork): New alias.
11018 2014-06-11 Roland McGrath <roland@hack.frob.com>
11020 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11021 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11023 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11025 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11026 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11028 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11029 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11031 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11032 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11034 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11036 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11037 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11038 multiarch strcmp for PPC64.
11039 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11040 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11042 multiarch optimizations.
11043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11044 (__libc_ifunc_impl_list): Likewise.
11046 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11048 * benchtests/scripts/validate_benchout.py: New script.
11049 * benchtests/Makefile (bench-func): Call it.
11050 * benchtests/scripts/benchout.schema.json: New file.
11052 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11054 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11055 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11056 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11057 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11058 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11059 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11060 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11061 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11062 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11063 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11064 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11065 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11066 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11067 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11068 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11069 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11173 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11174 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11175 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11176 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11177 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11179 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11182 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11183 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11184 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11185 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11186 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11188 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11190 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11192 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11193 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11195 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11196 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11198 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11199 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11200 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11201 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11203 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11204 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11205 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11206 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11207 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11208 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11209 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11211 2014-06-10 Wilco <wdijkstr@arm.com>
11213 * math/test-fenv-return.c: New file.
11214 * math/Makefile: Add new test test-fenv-return.
11216 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11219 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11220 when x - 1 is zero.
11221 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11222 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11223 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11224 0.0L for an argument of 1.0L.
11225 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11227 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11228 value when x - 1 is zero.
11229 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11230 * sysdeps/i386/fpu/libm-test-ulps: Update.
11231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11233 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11236 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11238 2014-06-09 Roland McGrath <roland@hack.frob.com>
11240 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11241 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11243 2014-06-09 Roland McGrath <roland@hack.frob.com>
11245 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11246 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11248 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11249 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11251 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11252 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11254 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11255 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11257 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11258 if not already defined.
11259 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11260 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11261 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11262 (TLS_INIT_TP): Use it.
11263 (TLS_DEFINE_INIT_TP): New macro.
11264 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11266 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11268 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11270 [POSIX] (IXANY): Likewise.
11271 [POSIX] (OLCUC): Likewise.
11272 [POSIX || POSIX2008] (CBAUD): Do not allow.
11273 [POSIX || POSIX2008] (DEFECHO): Likewise.
11274 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11275 [POSIX || POSIX2008] (ECHOKE): Likewise.
11276 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11277 [POSIX || POSIX2008] (EXTA): Likewise.
11278 [POSIX || POSIX2008] (EXTB): Likewise.
11279 [POSIX || POSIX2008] (FLUSHO): Likewise.
11280 [POSIX || POSIX2008] (LOBLK): Likewise.
11281 [POSIX || POSIX2008] (PENDIN): Likewise.
11282 [POSIX || POSIX2008] (SWTCH): Likewise.
11283 [POSIX || POSIX2008] (VDISCARD): Likewise.
11284 [POSIX || POSIX2008] (VDSUSP): Likewise.
11285 [POSIX || POSIX2008] (VLNEXT): Likewise.
11286 [POSIX || POSIX2008] (VREPRINT): Likewise.
11287 [POSIX || POSIX2008] (VSTATUS): Likewise.
11288 [POSIX || POSIX2008] (VWERASE): Likewise.
11289 (B*): Change to B[0123456789]*.
11290 * conform/data/time.h-data [POSIX || UNIX98]
11291 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11292 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11293 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11294 [POSIX] (tm_*): Do not allow.
11296 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11298 * Makefile (install): Don't set LANGUAGE.
11299 * Makefile.in (install): Likewise.
11300 * assert/Makefile (test-assert-ENV): Remove variable.
11301 (test-assert-perr-ENV): Likewise.
11302 * elf/Makefile (neededtest4-ENV): Likewise.
11303 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11304 [$(cross-compiling) = no]: Don't set LANGUAGE.
11305 * io/ftwtest-sh (LANG): Remove variable.
11306 * libio/Makefile (tst-widetext-ENV): Likewise.
11307 * manual/install.texi (Running make install): Don't refer to
11308 environment settings for make install.
11309 * INSTALL: Regenerated.
11310 * nptl/tst-tls6.sh: Don't set LANG.
11311 * posix/globtest.sh (LANG): Remove variable.
11312 * string/Makefile (tester-ENV): Likewise.
11313 (inl-tester-ENV): Likewise.
11314 (noinl-tester-ENV): Likewise.
11315 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11316 [$(cross-compiling) = no]: Don't set LANGUAGE.
11317 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11318 without explicit environment settings.
11320 2014-06-06 Roland McGrath <roland@hack.frob.com>
11322 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11323 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11324 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11325 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11327 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11329 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11330 other files in the crypt directory.
11331 * crypt/crypt.c: Remove duplicate includes.
11332 * crypt/crypt-entry.c: Likewise.
11333 * crypt/crypt_util.c: Likewise.
11335 2014-06-06 Joseph Myers <joseph@codesourcery.com>
11337 * Makeconfig (run-program-env): New variable.
11338 (run-program-prefix-before-env): Likewise.
11339 (run-program-prefix-after-env): Likewise.
11340 (run-program-prefix): Define in terms of new variables.
11341 (built-program-cmd-before-env): New variable.
11342 (built-program-cmd-after-env): Likewise.
11343 (built-program-cmd): Define in terms of new variables.
11344 (test-program-prefix-before-env): New variable.
11345 (test-program-prefix-after-env): Likewise.
11346 (test-program-prefix): Define in terms of new variables.
11347 (test-program-cmd-before-env): New variable.
11348 (test-program-cmd-after-env): Likewise.
11349 (test-program-cmd): Define in terms of new variables.
11350 * Rules (make-test-out): Use $(run-program-env).
11351 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11352 (help): Do not mention environment variables. Mention
11353 --timeoutfactor option.
11354 (timeoutfactor): New variable.
11355 (blacklist_exports): Remove function.
11356 (exports): Remove variable.
11357 (command): Do not include ${exports}.
11358 * manual/install.texi (Configuring and compiling): Do not mention
11359 test wrappers preserving environment variables. Mention that last
11360 assignment to a variable must take precedence.
11361 * INSTALL: Regenerated.
11362 * benchtests/Makefile (run-bench): Use $(run-program-env).
11363 * catgets/Makefile ($(objpfx)test1.cat): Use
11364 $(built-program-cmd-before-env), $(run-program-env) and
11365 $(built-program-cmd-after-env).
11366 ($(objpfx)test2.cat): Do not specify environment variables
11368 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11369 $(run-program-env) and $(built-program-cmd-after-env).
11370 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11371 $(run-program-env) and $(test-program-cmd-after-env).
11372 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11374 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11375 run_program_env and test_program_cmd_after_env arguments.
11376 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11377 * elf/tst-pathopt.sh: Use run_program_env argument.
11378 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11379 $(test-wrapper-env) and $(run-program-env).
11380 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11381 run_program_env arguments.
11382 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11383 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11384 $(test-program-prefix-before-env), $(run-program-env) and
11385 $(test-program-prefix-after-env).
11386 ($(objpfx)tst-gettext2.out): Likewise.
11387 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11388 run_program_env and test_program_prefix_after_env arguments.
11389 * intl/tst-gettext2.sh: Likewise.
11390 * intl/tst-gettext4.sh: Do not set environment variables
11392 * intl/tst-gettext6.sh: Likewise.
11393 * intl/tst-translit.sh: Likewise.
11394 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11395 $(test-program-prefix-before-env), $(run-program-env) and
11396 $(test-program-prefix-after-env).
11397 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11398 run_program_env and test_program_prefix_after_env arguments.
11399 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11400 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11401 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11402 explicitly with each use of ${test_wrapper_env}.
11403 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11404 $(test-program-prefix-before-env), $(run-program-env) and
11405 $(test-program-prefix-after-env).
11406 * posix/tst-getconf.sh: Do not set environment variables
11408 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11409 run_program_env and test_program_prefix_after_env arguments.
11410 * stdio-common/tst-printf.sh: Do not set environment variables
11412 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11413 $(test-program-prefix-before-env), $(run-program-env) and
11414 $(test-program-prefix-after-env).
11415 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11416 run_program_env and test_program_prefix_after_env arguments.
11417 Split $test calls into $test_pre and $test.
11418 * timezone/Makefile (build-testdata): Use
11419 $(built-program-cmd-before-env), $(run-program-env) and
11420 $(built-program-cmd-after-env).
11422 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11424 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11425 strlen for non SHARED builds.
11427 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11429 * nptl/allocatestack.c (check_list): Inlined function...
11430 (__reclaim_stacks): ... here.
11432 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11435 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11438 2014-06-05 Joseph Myers <joseph@codesourcery.com>
11440 * Rules (make-test-out): Include
11441 LOCPATH=$(common-objpfx)localedata in default environment.
11442 * debug/Makefile (tst-chk1-ENV): Remove variable.
11443 (tst-chk2-ENV): Likewise.
11444 (tst-chk3-ENV): Likewise.
11445 (tst-chk4-ENV): Likewise.
11446 (tst-chk5-ENV): Likewise.
11447 (tst-chk6-ENV): Likewise.
11448 (tst-lfschk1-ENV): Likewise.
11449 (tst-lfschk2-ENV): Likewise.
11450 (tst-lfschk3-ENV): Likewise.
11451 (tst-lfschk4-ENV): Likewise.
11452 (tst-lfschk5-ENV): Likewise.
11453 (tst-lfschk6-ENV): Likewise.
11454 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11455 (tst-iconv7-ENV): Likewise.
11456 * intl/Makefile (LOCPATH-ENV): Likewise.
11457 (tst-codeset-ENV): Likewise.
11458 (tst-gettext3-ENV): Likewise.
11459 (tst-gettext5-ENV): Likewise.
11460 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11461 (tst-fopenloc-ENV): Likewise.
11462 (tst-fgetws-ENV): Remove variable.
11463 (tst-ungetwc1-ENV): Likewise.
11464 (tst-ungetwc2-ENV): Likewise.
11465 (bug-ungetwc2-ENV): Likewise.
11466 (tst-swscanf-ENV): Likewise.
11467 (bug-ftell-ENV): Likewise.
11468 (tst-fgetwc-ENV): Likewise.
11469 (tst-fseek-ENV): Likewise.
11470 (tst-ftell-partial-wide-ENV): Likewise.
11471 (tst-ftell-active-handler-ENV): Likewise.
11472 (tst-ftell-append-ENV): Likewise.
11473 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11474 (tst-regexloc-ENV): Likewise.
11475 (bug-regex1-ENV): Likewise.
11476 (tst-regex-ENV): Likewise.
11477 (tst-regex2-ENV): Likewise.
11478 (bug-regex5-ENV): Likewise.
11479 (bug-regex6-ENV): Likewise.
11480 (bug-regex17-ENV): Likewise.
11481 (bug-regex18-ENV): Likewise.
11482 (bug-regex19-ENV): Likewise.
11483 (bug-regex20-ENV): Likewise.
11484 (bug-regex22-ENV): Likewise.
11485 (bug-regex23-ENV): Likewise.
11486 (bug-regex25-ENV): Likewise.
11487 (bug-regex26-ENV): Likewise.
11488 (bug-regex30-ENV): Likewise.
11489 (bug-regex32-ENV): Likewise.
11490 (bug-regex33-ENV): Likewise.
11491 (bug-regex34-ENV): Likewise.
11492 (bug-regex35-ENV): Likewise.
11493 (tst-rxspencer-ENV): Likewise.
11494 (tst-rxspencer-no-utf8-ENV): Likewise.
11495 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11496 (tst-sscanf-ENV): Likewise.
11497 (tst-swprintf-ENV): Likewise.
11498 (tst-swscanf-ENV): Likewise.
11499 (test-vfprintf-ENV): Likewise.
11500 (scanf13-ENV): Likewise.
11501 (bug14-ENV): Likewise.
11502 (tst-grouping-ENV): Likewise.
11503 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11504 (tst-strtod3-ENV): Likewise.
11505 (tst-strtod4-ENV): Likewise.
11506 (tst-strtod5-ENV): Likewise.
11507 (testmb2-ENV): Likewise./
11508 * string/Makefile (tst-strxfrm-ENV): Likewise.
11509 (tst-strxfrm2-ENV): Likewise.
11510 (bug-strcoll1-ENV): Likewise.
11511 (test-strcasecmp-ENV): Likewise.
11512 (test-strncasecmp-ENV): Likewise.
11513 * time/Makefile (tst-strptime-ENV): Likewise.
11514 (tst-ftime_l-ENV): Likewise.
11515 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11516 (tst-mbrtowc-ENV): Likewise.
11517 (tst-wcrtomb-ENV): Likewise.
11518 (tst-mbrtowc2-ENV): Likewise.
11519 (tst-c16c32-1-ENV): Likewise.
11520 (tst-mbsnrtowcs-ENV): Likewise.
11522 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11524 * manual/resource.texi (How to get information about the memory
11525 subsystem?): Fix typo.
11526 Reported by Peon de la Parra Ivan <peon@keba.com>
11528 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11531 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11532 (pthread_spin_lock): Branch out of spin loop to proper location.
11533 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11534 (pthread_spin_lock): Likewise.
11536 * nptl/tst-spin4.c: New test.
11537 * nptl/Makefile (tests): Add tst-spin4.
11539 2014-06-03 Andreas Schwab <schwab@suse.de>
11542 * resolv/res_send.c (send_dg): Reload file descriptor after
11545 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11547 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11549 2014-06-03 Richard Henderson <rth@redhat.com>
11551 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11552 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11553 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11554 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11555 in the SAVE_PID block.
11556 (__libc_vfork): New alias.
11557 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11559 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11560 child in registers, not on the stack. Remove RESET_PID conditionals.
11561 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11563 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11565 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11567 2014-06-03 Wilco <wdijkstr@arm.com>
11569 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11570 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11571 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11572 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11573 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11576 2014-06-03 Wilco <wdijkstr@arm.com>
11578 * sysdeps/aarch64/fpu/math_private.h
11579 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11580 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11581 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11582 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11585 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11587 * crypt/crypt-private.h: Include ufc-crypt.h.
11588 (__b64_from_24bit): Declare extern.
11589 * crypt/crypt_util.c(__b64_from_24bit): New function.
11590 (b64t): New static const variable.
11591 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11592 (b64t): Remove variable.
11593 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11594 * crypt/sha256-crypt.c: Include crypt-private.h.
11595 (b64t): Remove variable.
11596 (__sha256_crypt_r): Remove b64_from_24bit and replace
11597 with __b64_from_24bit.
11598 * crypt/sha512-crypt.c: Likewise.
11600 2014-06-02 Roland McGrath <roland@hack.frob.com>
11602 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11603 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11604 Label the code __libc_vfork rather than __vfork.
11605 [!NOT_IN_libc] (vfork): Define as weak alias.
11606 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11607 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11608 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11610 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11612 * malloc/malloc.c (malloc_info): Fix format specifier for
11615 2014-06-02 Wilco <wdijkstr@arm.com>
11617 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11620 2014-06-02 Wilco <wdijkstr@arm.com>
11623 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11624 Rewrite to reduce FPCR/FPSR accesses.
11626 2014-06-01 David S. Miller <davem@davemloft.net>
11628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11630 2014-05-31 David S. Miller <davem@davemloft.net>
11632 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11633 to occur in round to nearest mode when |x| >= 2.0
11635 2014-05-30 Richard Henderson <rth@twiddle.net>
11637 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11638 (PSEUDO_RET_NOERRNO): Remove.
11639 (ret): Don't redefine.
11640 (ret_NOERRNO): Define in terms of ret.
11641 (ret_ERRVAL): Likewise.
11643 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11644 use of PSEUDO_RET; perform the error check directly.
11646 2014-05-30 Marko Myllynen <myllynen@redhat.com>
11648 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11651 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11653 * malloc/malloc (malloc_info): Fix formatting.
11655 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11656 Roland McGrath <roland@hack.frob.com>
11658 * malloc/malloc (malloc_info): Also print mmapped statistics.
11660 2014-05-30 Roland McGrath <roland@hack.frob.com>
11662 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11663 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11665 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
11667 * malloc/malloc.c (malloc_info): Inline mi_arena.
11669 2014-05-29 Richard Henderson <rth@twiddle.net>
11671 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11672 Remove comma before expanding ASM_ARGS_##nr.
11673 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11674 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11676 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11677 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11678 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11679 (ASM_ARGS_1): Add leading comma.
11681 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11682 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11683 to __errno_location.
11684 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11685 Remove the expected plt for __errno_location.
11687 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11688 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11691 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11692 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11693 it and break it down.
11694 (DOCARGS_0, DOCARGS_1): Do nothing.
11695 (DOCARGS_2): Update to store into the new stack frame.
11696 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11697 (UNDOCARGS_1): Update to restore from the new stack frame.
11698 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11699 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11701 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11702 (SINGLE_THREAD_P): New parameter for result regno.
11703 (PSEUDO): Update to match; use cbz instead of beq.
11705 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11706 Use ENTRY to define the _nocancel entry point. Share the syscall
11707 and syscall error check paths with the cancel path.
11710 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11711 whitespace; tabs before and after asm mnemonics.
11713 2014-05-29 Eric Wong <normalperson@yhbt.net>
11716 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11717 Call fstat64 or stat64 internally, depending on arguments passed.
11718 Replace stat buffer argument with file descriptor argument.
11719 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11720 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11721 Pass fd to __internal_statvfs instead of calling fstat64.
11722 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11723 Pass fd to __internal_statvfs64 instead of calling fstat64.
11724 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11725 Pass -1 to __internal_statvfs instead of calling stat64.
11726 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11727 Pass -1 to __internal_statvfs64 instead of calling stat64.
11729 2014-05-28 Roland McGrath <roland@hack.frob.com>
11731 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11732 that was previously under [RESET_PID].
11733 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11735 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11736 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11738 2014-05-27 Roland McGrath <roland@hack.frob.com>
11740 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11742 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11743 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11745 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
11747 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11749 2014-05-27 Andreas Schwab <schwab@suse.de>
11751 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11753 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11754 * elf/rtld.c (init_tls, dl_main): Likewise.
11755 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11756 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11757 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11758 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11759 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11760 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11761 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11762 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11763 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11764 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11765 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11766 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11767 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11768 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11769 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11770 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11771 * sysdeps/generic/tls.h: Update description.
11773 2014-05-27 Will Newton <will.newton@linaro.org>
11776 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11777 and restore r2 rather than just restoring.
11779 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11782 * libio/tst-ftell-append.c: New test case.
11783 * libio/Makefile (tests): Add test case.
11784 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11786 * libio/wfileops.c (do_ftell_wide): Likewise.
11788 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11792 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11796 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11797 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11798 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11799 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11800 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11801 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11802 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11805 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11808 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11809 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11810 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11811 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11812 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11814 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11815 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11817 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11819 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11821 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11822 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11823 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11825 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11826 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11827 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11828 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11830 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11839 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11846 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11851 conditional [RESET_PID].
11852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11855 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11860 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11861 (__libc_vfork): New strong alias.
11862 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11864 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11869 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11870 (__libc_vfork): New strong alias.
11871 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11873 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11876 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11878 * malloc/malloc.c (mi_arena): New function.
11879 (malloc_info): Remove nested function mi_arena. Call non-nosted
11882 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11884 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11886 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11887 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11888 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11889 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11890 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11891 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11892 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11894 2014-05-26 Andreas Schwab <schwab@suse.de>
11897 * locale/programs/repertoire.c (repertoire_read): Add slash
11898 between I18NPATH element and file name.
11899 * locale/programs/locfile.c (locfile_read): Likewise.
11901 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11903 * nptl/pthread_mutexattr_settype.c
11904 (__pthread_mutexattr_settype):
11905 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11907 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11909 * nptl/tst-mutex5 (do_test):
11910 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11912 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11914 * benchtests/README: Document 'init' directive.
11915 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11917 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11918 (parse_file): Recognize 'init' directive.
11920 2014-05-26 Kyle McMartin <kyle@redhat.com>
11923 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11924 alignment of struct pthread.
11926 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11929 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11930 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11931 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11932 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11934 2014-05-25 Richard Henderson <rth@twiddle.net>
11936 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11937 (SINGLE_THREAD_P_PIC): Remove.
11938 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11939 (SINGLE_THREAD_P_PIC): Remove.
11941 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11942 branch to syscall error ...
11943 (PSEUDO): ... here.
11944 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11945 from __local_syscall_error to .Lsyscall_error.
11946 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11947 (SYSCALL_ERROR): Update label name.
11949 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11950 Do not use DOARGS/UNDOARGS.
11951 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11952 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11953 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11954 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11955 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11957 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11960 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11961 define if !NOT_IN_libc.
11962 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11963 define with non-default symbol versions.
11965 2014-05-23 Richard Henderson <rth@twiddle.net>
11967 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11968 (vfork, __vfork): Define via compat_symbol.
11970 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11971 [!HAVE_IFUNC] (vfork_compat): Remove.
11972 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11974 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11977 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11978 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11981 2014-05-23 Richard Henderson <rth@twiddle.net>
11983 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11984 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11985 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11986 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11988 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11989 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11990 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11991 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11992 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11993 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11994 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11995 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11996 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11997 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11998 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11999 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12000 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12001 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12002 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12003 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12004 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12005 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12006 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12007 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12008 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12009 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12010 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12011 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12012 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12013 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12014 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12015 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12016 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12017 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12018 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12019 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12020 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12021 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12022 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12023 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12024 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12025 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12026 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12027 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12028 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12029 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12030 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12031 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12032 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12033 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12034 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12035 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12036 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12037 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12038 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12039 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12040 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12041 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12042 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12043 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12045 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12046 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12047 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12048 before exiting on error.
12049 (__libc_vfork): New strong alias.
12050 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12051 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12053 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12054 that was previously under [RESET_PID].
12055 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12057 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12059 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12062 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12063 value when x - 1 is zero.
12064 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12065 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12066 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12067 0.0L for an argument of 1.0L.
12068 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12070 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12071 value when x - 1 is zero.
12072 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12073 * sysdeps/i386/fpu/libm-test-ulps: Update.
12074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12076 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12078 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12079 alphasort and versionsort.
12081 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12083 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12085 [copysignf]: Likewise.
12087 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12089 * crypt/md5-crypt.c: Fix formatting.
12091 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12093 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12094 (b64_from_24bit): New function.
12096 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12098 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12099 libc_hidden_builtin_def to ifunc.
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12101 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12103 2014-05-21 Roland McGrath <roland@hack.frob.com>
12105 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12106 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12108 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12110 * nscd/Depend (linuxthreads): Remove.
12112 * resolv/Depend (linuxthreads): Remove.
12113 * rt/Depend (linuxthreads): Remove.
12115 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12116 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12117 $(common-objpfx)elf/.
12118 (link-libc-before-gnulib): Likewise.
12119 (elfobjdir): Remove variable.
12120 * Makefile (install): Use $(elf-objpfx) instead of
12121 $(common-objpfx)elf/.
12122 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12124 (link-libc-deps): Likewise.
12125 ($(common-objpfx)libc.so): Likewise.
12126 ($(common-objpfx)linkobj/libc.so): Likewise.
12127 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12128 instead of $(common-objpfx)elf/.
12129 (symbolic-link-list): Likewise.
12130 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12131 [$(cross-compiling) = no]: Likewise.
12132 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12134 (static-gnulib-arch): Likewise.
12135 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12136 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12137 $(common-objpfx)elf/.
12139 2014-05-21 Richard Henderson <rth@redhat.com>
12141 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12142 (SINGLE_THREAD_P): Use the correct width load. Fold
12143 into the ldr offset.
12145 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12146 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12148 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12150 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12151 (libgcc_s_resume): Use __attribute_used__.
12152 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12155 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12157 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12158 optimization when used with float constants.
12160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12162 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12165 * locale/nl_langinfo_l.c: Make direct reference to every
12166 _nl_current_CATEGORY symbol.
12167 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12168 (tests-static): Add tst-langinfo-static.
12169 (tests-special): Add tst-langinfo-static.out.
12170 ($(objpfx)tst-langinfo.out): Redirect output.
12171 ($(objpfx)tst-langinfo-static.out): New.
12172 * localedata/tst-langinfo.sh: Send output to stdout.
12173 * localedata/tst-langinfo-static.c: New file.
12176 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12177 when the shift amount is modulo the limb size.
12179 2014-05-20 Richard Henderson <rth@redhat.com>
12182 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12183 Change type of sa_flags from unsigned int to int.
12186 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12188 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12190 2014-05-20 Will Newton <will.newton@linaro.org>
12192 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12193 Test the return value of the system call in the nocancel case.
12195 2014-05-20 Will Newton <will.newton@linaro.org>
12196 Yvan Roux <yvan.roux@linaro.org>
12198 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12199 #include of asm/ptrace.h.
12200 (PTRACE_GET_THREAD_AREA): Remove #undef.
12201 (PTRACE_GETHBPREGS): Likewise.
12202 (PTRACE_SETHBPREGS): Likewise.
12203 (struct user_regs_struct): New structure.
12204 (struct user_fpsimd_struct): New structure.
12205 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12206 #include of asm/ptrace.h and second #include of sys/user.h.
12207 (PTRACE_GET_THREAD_AREA): Remove #undef.
12208 (PTRACE_GETHBPREGS): Likewise.
12209 (PTRACE_SETHBPREGS): Likewise.
12210 (ELF_NGREG): Use new struct user_regs_struct.
12211 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12213 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12215 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12216 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12218 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12222 membar to avoid block loads/stores to overlap previous stores.
12224 2014-05-17 Richard Henderson <rth@redhat.com>
12226 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12227 Create the __##syscall_name##_nocancel entry point.
12228 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12229 Remove; let the sysdep-cancel.h code create it.
12231 2014-05-17 David S. Miller <davem@davemloft.net>
12233 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12234 Protect with __USE_GNU.
12235 (TIOCSET_TEMPT): Likewise.
12236 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12237 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12238 these are already provided in bits/ioctl-types.h
12240 2014-05-16 Roland McGrath <roland@hack.frob.com>
12242 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12243 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12245 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12246 Use wait4 regardless of [__NR_waitpid].
12248 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12251 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12252 (_FP_NANSIGN_Q): Set the quiet bit.
12254 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12256 * benchtests/Makefile
12257 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12258 not $(common-objpfx)math/libm.so.
12259 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12260 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12261 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12262 $(common-objpfx)dlfcn/libdl.so.
12263 ($(objpfx)tst-audit8): Depend on $(libm), not
12264 $(common-objpfx)math/libm.so.
12265 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12266 not $(common-objpfx)dlfcn/libdl.so.
12268 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12269 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12270 [$(build-shared) = yes].
12271 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12272 $(common-objpfx)nptl/libpthread.so.
12273 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12274 $(common-objpfx)math/libm.so$(libm.so-version) or
12275 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12276 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12277 $(common-objpfx)dlfcn/libdl.so.
12278 * setjmp/Makefile (link-libm): Remove variable.
12279 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12280 * stdio-common/Makefile (link-libm): Remove variable.
12281 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12282 * stdlib/Makefile (link-libm): Remove variable.
12283 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12284 ($(objpfx)tst-strtod-round): Likewise.
12285 ($(objpfx)tst-tininess): Likewise.
12286 ($(objpfx)tst-strtod-underflow): Likewise.
12287 ($(objpfx)tst-strtod6): Likewise.
12288 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12289 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12290 $(common-objpfx)dlfcn/libdl.so.
12292 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12294 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12295 BSD terminal modes definitions.
12297 2014-05-16 Roland McGrath <roland@hack.frob.com>
12299 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12300 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12302 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12303 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12304 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12305 Don't do #include_next.
12306 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12307 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12308 Don't do #include_next.
12309 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12310 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12311 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12312 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12314 2014-05-16 Allan McRae <allan@archlinux.org>
12316 * po/sv.po: Update Swedish translation from translation project.
12318 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12321 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12324 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12325 errno if the TIOCGPTN ioctl fails with an error different than
12327 * login/tst-ptsname.c: New file.
12328 * login/Makefile (tests): Add tst-ptsname.
12331 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12334 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12338 herrno to return EAI_AGAIN.
12340 2014-05-14 Roland McGrath <roland@hack.frob.com>
12342 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12343 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12344 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12345 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12346 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12347 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12348 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12349 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12350 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12351 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12352 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12353 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12354 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12355 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12356 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12357 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12358 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12359 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12360 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12361 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12362 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12363 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12364 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12365 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12366 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12367 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12368 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12369 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12370 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12371 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12373 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12375 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12378 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12380 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12382 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12384 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12386 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12388 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12390 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12392 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12394 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12396 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12398 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12400 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12402 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12404 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12407 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12409 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12411 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12413 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12415 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12417 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12419 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12421 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12423 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12425 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12428 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12430 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12432 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12433 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12434 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12435 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12436 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12437 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12438 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12439 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12440 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12441 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12442 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12443 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12444 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12445 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12446 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12448 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12450 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12452 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12453 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12454 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12455 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12456 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12457 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12458 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12459 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12460 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12461 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12462 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12464 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12465 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12467 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12468 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12469 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12470 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12471 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12472 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12474 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12475 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12477 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12478 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12480 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12481 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12483 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12484 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12485 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12486 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12488 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12489 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12490 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12491 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12492 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12493 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12494 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12495 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12497 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12498 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12500 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12502 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12503 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12504 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12505 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12506 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12508 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12510 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12512 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12513 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12514 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12515 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12516 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12517 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12519 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12522 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12523 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12525 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12526 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12529 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12530 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12531 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12533 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12534 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12535 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12536 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12537 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12538 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12539 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12540 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12542 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12543 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12545 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12547 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12548 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12549 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12550 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12551 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12553 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12555 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12557 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12559 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12560 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12561 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12562 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12563 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12564 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12565 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12568 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12569 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12571 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12572 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12574 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12575 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12577 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12578 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12579 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12580 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12581 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12582 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12584 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12585 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12586 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12587 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12588 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12589 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12590 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12591 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12593 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12594 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12596 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12598 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12599 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12600 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12601 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12602 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12604 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12606 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12608 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12609 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12610 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12611 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12612 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12613 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12614 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12615 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12616 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12617 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12618 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12620 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12621 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12623 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12624 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12626 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12627 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12628 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12629 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12630 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12631 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12632 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12633 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12634 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12635 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12636 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12637 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12638 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12639 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12640 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12642 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12645 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12647 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12650 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12651 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12652 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12654 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12656 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12657 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12659 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12660 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12662 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12664 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12665 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12666 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12667 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12668 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12669 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12670 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12671 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12672 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12673 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12674 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12675 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12676 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12677 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12678 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12680 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12681 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12682 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12683 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12684 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12686 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12687 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12688 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12689 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12690 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12691 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12692 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12693 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12694 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12695 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12697 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12698 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12700 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12701 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12702 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12703 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12704 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12705 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12706 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12707 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12708 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12709 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12710 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12711 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12712 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12713 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12714 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12734 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12736 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12739 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12740 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12741 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12742 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12743 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12744 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12745 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12746 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12747 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12748 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12750 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12751 that was previously under [RESET_PID].
12752 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12753 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12754 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12756 * sysdeps/i386/nptl/Implies: New file.
12757 * sysdeps/x86_64/nptl/Implies: New file.
12758 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12759 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12760 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12761 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12763 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12764 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12765 (__libc_vfork): New strong alias.
12766 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12767 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12769 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12770 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12771 (__libc_vfork): New strong alias.
12772 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12773 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12775 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12776 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12777 (__libc_vfork): New strong alias.
12778 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12779 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12780 * nptl/pt-vfork.c: New file.
12781 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12782 (libpthread: GLIBC_2.20): New version set (empty).
12784 2014-05-14 Will Newton <will.newton@linaro.org>
12786 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12789 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12792 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12793 arguments with exponent 65 or above.
12794 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12795 arguments 0x1p113L or above.
12796 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12797 to arguments 0x1p107L or above.
12798 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12799 positive arguments with exponent 65 or above.
12800 * math/auto-libm-test-in: Add more tests of log1p.
12801 * math/auto-libm-test-out: Regenerated.
12804 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12805 non-finite arguments is +0.
12806 * math/s_cacosf.c (__cacosf): Likewise.
12807 * math/s_cacosl.c (__cacosl): Likewise.
12808 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12809 * sysdeps/i386/fpu/libm-test-ulps: Update.
12810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12813 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12815 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12816 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12817 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12818 for explicit high bit of mantissa when testing for argument equal
12820 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12821 * sysdeps/i386/fpu/libm-test-ulps: Update.
12822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12825 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12826 (__erf): Scale by 16 instead of 8 in potentially underflowing
12827 case. Ensure exception if result actually underflows.
12828 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12829 (__erff): Scale by 16 instead of 8 in potentially underflowing
12830 case. Ensure exception if result actually underflows.
12831 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12832 (efx8): Remove variable.
12833 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12834 case. Ensure exception if result actually underflows.
12835 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12836 (efx8): Remove variable.
12837 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12838 case. Ensure exception if result actually underflows.
12839 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12840 (efx8): Remove variable.
12841 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12842 case. Ensure exception if result actually underflows.
12843 * math/auto-libm-test-in: Add more tests of erf.
12844 * math/auto-libm-test-out: Regenerated.
12846 2014-05-14 Andreas Schwab <schwab@suse.de>
12848 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12849 Remove code conditionalized on USE___THREAD.
12851 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12852 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12855 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12857 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12858 Define unconditionally.
12859 (__ASSUME_O_CLOEXEC): Likewise.
12860 (__ASSUME_SOCK_CLOEXEC): Likewise.
12861 (__ASSUME_IN_NONBLOCK): Likewise.
12862 (__ASSUME_PIPE2): Likewise.
12863 (__ASSUME_EVENTFD2): Likewise.
12864 (__ASSUME_SIGNALFD4): Likewise.
12865 (__ASSUME_DUP3): Likewise.
12866 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12867 (__ASSUME_DUP3): Do not define.
12868 (__ASSUME_EVENTFD2): Likewise.
12869 (__ASSUME_IN_NONBLOCK): Likewise.
12870 (__ASSUME_O_CLOEXEC): Likewise.
12871 (__ASSUME_PIPE2): Likewise.
12872 (__ASSUME_SIGNALFD4): Likewise.
12873 (__ASSUME_SOCK_CLOEXEC): Likewise.
12874 (__ASSUME_UTIMES): Undefine.
12875 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12876 (__ASSUME_UTIMES): Do not define.
12877 (__ASSUME_O_CLOEXEC): Likewise.
12878 (__ASSUME_SOCK_CLOEXEC): Likewise.
12879 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12880 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12882 (__ASSUME_PIPE2): Likewise.
12883 (__ASSUME_EVENTFD2): Likewise.
12884 (__ASSUME_SIGNALFD4): Likewise.
12885 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12886 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12888 (__ASSUME_EVENTFD2): Likewise.
12889 (__ASSUME_SIGNALFD4): Likewise.
12890 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12891 (__ASSUME_32BITUIDS): Likewise.
12892 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12893 (__ASSUME_IPC64): Likewise.
12894 (__ASSUME_ST_INO_64_BIT): Likewise.
12895 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12896 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12897 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12898 (__ASSUME_UTIMES): Do not define.
12899 (__ASSUME_PSELECT): Likewise.
12900 (__ASSUME_PPOLL): Likewise.
12901 (__ASSUME_O_CLOEXEC): Likewise.
12902 (__ASSUME_SOCK_CLOEXEC): Likewise.
12903 (__ASSUME_IN_NONBLOCK): Likewise.
12904 (__ASSUME_PIPE2): Likewise.
12905 (__ASSUME_EVENTFD2): Likewise.
12906 (__ASSUME_SIGNALFD4): Likewise.
12907 (__ASSUME_DUP3): Likewise.
12908 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12909 (__ASSUME_UTIMES): Likewise.
12910 (__ASSUME_O_CLOEXEC): Likewise.
12911 (__ASSUME_SOCK_CLOEXEC): Likewise.
12912 (__ASSUME_IN_NONBLOCK): Likewise.
12913 (__ASSUME_PIPE2): Likewise.
12914 (__ASSUME_EVENTFD2): Likewise.
12915 (__ASSUME_SIGNALFD4): Likewise.
12916 (__ASSUME_DUP3): Likewise.
12917 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12918 (__ASSUME_UTIMES): Likewise.
12919 (__ASSUME_O_CLOEXEC): Likewise.
12920 (__ASSUME_SOCK_CLOEXEC): Likewise.
12921 (__ASSUME_IN_NONBLOCK): Likewise.
12922 (__ASSUME_PIPE2): Likewise.
12923 (__ASSUME_EVENTFD2): Likewise.
12924 (__ASSUME_SIGNALFD4): Likewise.
12925 (__ASSUME_DUP3): Likewise.
12926 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12928 (__ASSUME_UTIMES): Likewise.
12929 (__ASSUME_EVENTFD2): Likewise.
12930 (__ASSUME_SIGNALFD4): Likewise.
12931 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12932 (__ASSUME_O_CLOEXEC): Likewise.
12933 (__ASSUME_SOCK_CLOEXEC): Likewise.
12934 (__ASSUME_IN_NONBLOCK): Likewise.
12935 (__ASSUME_PIPE2): Likewise.
12936 (__ASSUME_EVENTFD2): Likewise.
12937 (__ASSUME_SIGNALFD4): Likewise.
12938 (__ASSUME_DUP3): Likewise.
12939 (__ASSUME_UTIMES): Undefine.
12941 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12942 feclearexcept. Remove symbol versioning code.
12943 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12944 symbol versioning code.
12945 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12946 symbol versioning code.
12947 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12948 feupdateenv. Remove symbol versioning code.
12949 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12950 fegetexceptflag. Remove symbol versioning code.
12951 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12952 fesetexceptflag. Remove symbol versioning code.
12953 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12954 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12955 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12956 (__posix_fadvise64_l32): Remove prototype.
12957 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12960 2014-05-13 Roland McGrath <roland@hack.frob.com>
12962 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12963 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12964 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12965 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12967 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12969 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12970 current working directory
12972 2014-05-13 Roland McGrath <roland@hack.frob.com>
12974 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12975 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12976 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12977 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12978 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12979 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12980 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12981 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12982 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12983 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12984 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12985 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12986 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12987 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12988 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12989 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12990 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12991 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12992 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12993 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12994 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12995 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12996 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12997 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12998 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12999 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13000 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13001 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13002 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13003 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13004 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13005 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13006 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13007 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13008 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13009 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13010 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13011 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13012 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13013 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13014 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13015 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13017 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13018 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13020 * sysdeps/unix/sysv/linux/arm/Makefile
13021 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13022 Add rt-aeabi_unwind_cpp_pr1.
13023 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13024 Add nptl-aeabi_unwind_cpp_pr1.
13025 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13026 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13027 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13028 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13029 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13030 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13032 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13033 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13034 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13035 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13037 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13038 Deconditionalize the code that was previously under [RESET_PID].
13039 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13041 * sysdeps/generic/exit-thread.h: New file.
13042 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13043 * include/unistd.h (__exit_thread): Remove declaration.
13044 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13045 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13046 * csu/libc-start.c: Include <exit-thread.h>.
13047 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13048 * nptl/pthread_create.c: Include <exit-thread.h>.
13049 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13050 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13051 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13052 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13053 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13054 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13055 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13056 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13057 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13058 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13059 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13060 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13061 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13062 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13063 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13064 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13065 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13067 2014-05-13 Andreas Schwab <schwab@suse.de>
13069 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13071 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13073 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13074 (__ASSUME_UTIMES): Do not condition on kernel version.
13075 (__ASSUME_PSELECT): Define unconditionally.
13076 (__ASSUME_PPOLL): Likewise.
13077 (__ASSUME_ATFCTS): Likewise.
13078 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13079 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13080 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13081 (__ASSUME_UTIMENSAT): Define unconditionally.
13082 (__ASSUME_PRIVATE_FUTEX): Likewise.
13083 (__ASSUME_FALLOCATE): Likewise.
13084 (__ASSUME_O_CLOEXEC): Likewise.
13085 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13086 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13087 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13088 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13089 (__ASSUME_IN_NONBLOCK): Likewise.
13090 (__ASSUME_PIPE2): Likewise.
13091 (__ASSUME_EVENTFD2): Likewise.
13092 (__ASSUME_SIGNALFD4): Likewise.
13093 (__ASSUME_DUP3): Likewise.
13094 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13095 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13096 (__ASSUME_AT_RANDOM): Likewise.
13097 (__ASSUME_PREADV): Likewise.
13098 (__ASSUME_PWRITEV): Likewise.
13099 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13100 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13101 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13102 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13103 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13104 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13105 (__ASSUME_O_CLOEXEC): Define unconditionally.
13106 (__ASSUME_PSELECT): Do not undefine conditionally.
13107 (__ASSUME_PPOLL): Likewise.
13108 (__ASSUME_ATFCTS): Likewise.
13109 (__ASSUME_SET_ROBUST_LIST): Likewise.
13110 (__ASSUME_UTIMENSAT): Likewise.
13111 (__ASSUME_FDATASYNC): Define unconditionally.
13112 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13113 (__ASSUME_SIGFRAME_V2): Likewise.
13114 )__ASSUME_EVENTFD2): Likewise.
13115 (__ASSUME_SIGNALFD4): Likewise.
13116 (__ASSUME_PSELECT): Do not undefine conditionally.
13117 (__ASSUME_PPOLL): Likewise.
13118 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13119 (__ASSUME_PSELECT): Define unconditionally.
13120 (__ASSUME_PPOLL): Likewise.
13121 (__ASSUME_O_CLOEXEC): Likewise.
13122 (__ASSUME_SOCK_CLOEXEC): Likewise.
13123 (__ASSUME_IN_NONBLOCK): Likewise.
13124 (__ASSUME_PIPE2): Likewise.
13125 (__ASSUME_EVENTFD2): Likewise.
13126 (__ASSUME_SIGNALFD4): Likewise.
13127 (__ASSUME_DUP3): Likewise.
13128 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13129 (__ASSUME_O_CLOEXEC): Likewise.
13130 (__ASSUME_SOCK_CLOEXEC): Likewise.
13131 (__ASSUME_IN_NONBLOCK): Likewise.
13132 (__ASSUME_PIPE2): Likewise.
13133 (__ASSUME_EVENTFD2): Likewise.
13134 (__ASSUME_SIGNALFD4): Likewise.
13135 (__ASSUME_DUP3): Likewise.
13136 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13137 (__ASSUME_EVENTFD2): Likewise.
13138 (__ASSUME_SIGNALFD4): Likewise.
13139 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13141 2014-05-12 Andreas Schwab <schwab@suse.de>
13144 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13145 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13146 than maximum RPC packet size.
13147 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13148 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13149 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13150 (_nss_nis_getservbyport_r): Likewise.
13152 2014-05-12 Will Newton <will.newton@linaro.org>
13154 * malloc/Makefile (tests): Add tst-mallopt.
13155 * malloc/tst-mallopt.c: New file.
13157 2014-05-09 Roland McGrath <roland@hack.frob.com>
13159 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13160 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13162 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13164 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13165 (tst-tlsmod6.so): Likewise.
13167 2014-05-09 Roland McGrath <roland@hack.frob.com>
13169 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13171 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13174 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13175 and <dl-procinfo.h>.
13176 (__fegetenv): Save SSE state in envp->__eip if supported.
13177 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13178 envp->__eip if supported.
13179 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13180 and <dl-procinfo.h>.
13181 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13182 __data_offset and __data_selector in environment to 0. Set SSE
13183 state if supported.
13184 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13186 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13188 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13190 2014-05-09 Will Newton <will.newton@linaro.org>
13192 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13193 and libc_relro_required for ARM.
13194 * sysdeps/arm/preconfigure: Regenerate.
13196 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13197 Stefan Liebler <stli@linux.vnet.ibm.com>
13199 * config.make.in (enable-lock-elision): New Makefile variable.
13200 * configure.ac: Likewise.
13201 * configure: Regenerate.
13202 * sysdeps/s390/configure.ac:
13203 Add check for gcc transactions support.
13204 * sysdeps/s390/configure: Regenerate.
13205 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13206 Build elision files if enabled.
13207 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13208 Add lock elision support for s390.
13209 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13210 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13211 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13212 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13213 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13214 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13215 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13217 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13219 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13221 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13223 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13224 (__lll_timedlock_elision, __lll_lock_elision)
13225 (__lll_unlock_elision, __lll_trylock_elision)
13226 (lll_timedlock_elision, lll_lock_elision)
13227 (lll_unlock_elision, lll_trylock_elision): Add.
13228 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13229 (pthread_mutex_t): Add lock elision support for s390.
13231 2014-05-14 Wilco <wdijkstr@arm.com>
13233 * sysdeps/arm/fclrexcpt.c: Cleanup.
13234 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13235 * sysdeps/arm/feenablxcpt.c: Cleanup.
13236 * sysdeps/arm/fegetenv.c: Cleanup.
13237 * sysdeps/arm/fegetexcept.c: Cleanup.
13238 * sysdeps/arm/fegetround.c: Cleanup.
13239 * sysdeps/arm/feholdexcpt.c: Cleanup.
13240 * sysdeps/arm/fesetenv.c: Cleanup.
13241 * sysdeps/arm/fesetround.c: Cleanup.
13242 * sysdeps/arm/feupdateenv.c: Cleanup.
13243 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13244 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13245 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13246 * sysdeps/arm/ftestexcept.c: Cleanup.
13247 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13248 * sysdeps/arm/setfpucw.c: Cleanup.
13250 2014-05-09 Will Newton <will.newton@linaro.org>
13252 * sysdeps/arm/armv7/strcmp.S: New file.
13253 * NEWS: Mention addition of ARMv7 optimized strcmp.
13255 2014-05-08 Roland McGrath <roland@hack.frob.com>
13257 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13258 look for %.ac rather than %.in.
13260 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13261 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13262 * sysdeps/mach/hurd/configure: Regenerated.
13263 * sysdeps/unix/sysv/linux/configure: Regenerated.
13265 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13267 2014-05-07 Steve Ellcey <sellcey@mips.com>
13270 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13274 2014-05-07 Andreas Schwab <schwab@suse.de>
13276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13277 when skipping over non-matching result from nscd.
13279 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13282 * nptl/sockperf.c (client): Check socket return value.
13285 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13286 nscd security class.
13288 2014-05-06 Roland McGrath <roland@hack.frob.com>
13290 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13291 * sysdeps/arm/unwind.h: ... here.
13293 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13296 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13299 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13301 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13302 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13303 multiarch strncpy for PPC64.
13304 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13305 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13307 multiarch optimizations.
13308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13309 (__libc_ifunc_impl_list): Likewise.
13310 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13311 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13312 multiarch stpncpy for PPC64.
13313 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13314 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13316 2014-05-06 Andreas Schwab <schwab@suse.de>
13319 * gmon/mcount.c (_MCOUNT_DECL): Use
13320 atomic_compare_and_exchange_bool_acq instead of
13321 catomic_compare_and_exchange_bool_acq.
13323 2014-05-05 Roland McGrath <roland@hack.frob.com>
13325 * elf/Makefile (others, install-bin): Remove pldd.
13326 (pldd-modules): Variable removed.
13327 ($(objpfx)pldd): Target removed.
13328 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13329 (others, install-bin): Append pldd here.
13330 ($(objpfx)pldd): New target.
13332 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13333 to 0, so the first #if test emitted later doesn't see it undefined.
13334 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13335 * sysdeps/gnu/errlist.c: Regenerated.
13337 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13339 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13340 [libc_hidden_builtin_def]: Define to empty value.
13341 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13342 [libc_hidden_builtin_def]: Likewise.
13343 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13344 [libc_hidden_builtin_def]: Likewise.
13345 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13346 [libc_hidden_builtin_def]: Likewise.
13347 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13348 __redirect_memcpy and define ifunc as default hidden symbol.
13349 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13350 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13352 2014-05-04 Adam Conrad <adconrad@0c3.net>
13354 * locale/iso-4217.def: Reintroduce XDR currency.
13356 2014-05-04 Allan McRae <allan@archlinux.org>
13358 * po/eo.po: Update Esperanto translation from translation project.
13360 2014-05-02 Carlos O'Donell <carlos@redhat.com>
13362 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13363 and FEATURE_INDEX_MAX to 1.
13364 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13366 2014-05-01 Steve Ellcey <sellcey@mips.com>
13368 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13369 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13370 * iconvdata/big5.c (ONE_DIRECTION): Define.
13371 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13372 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13373 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13374 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13375 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13376 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13377 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13378 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13379 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13380 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13381 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13382 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13383 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13384 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13385 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13386 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13387 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13388 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13389 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13390 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13391 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13392 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13393 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13394 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13395 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13396 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13397 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13398 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13399 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13400 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13401 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13402 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13403 * iconvdata/johab.c (ONE_DIRECTION): Define.
13404 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13405 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13406 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13407 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13408 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13409 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13410 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13411 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13412 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13413 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13415 2014-05-01 Roland McGrath <roland@hack.frob.com>
13417 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13418 (_IO_JUMPS_OFFSET): Define to 0.
13420 * nptl/sysdeps/pthread/bits/libc-lock.h
13421 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13422 (__libc_lock_define_initialized_recursive): Always define using
13423 initializer. Modern compilers treat uninitialized (implicit zero) and
13424 explicit zero initializers the same (i.e. put the datum in bss).
13426 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13428 * nscd/nscd-client.h: Include <string.h>.
13430 2014-05-01 David S. Miller <davem@davemloft.net>
13433 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13434 multiple zero bytes exist at the end of a string.
13435 Reported by Aurelien Jarno <aurelien@aurel32.net>
13437 * string/test-strcmp.c (check): Add explicit test for situations where
13438 there are multiple zero bytes after the first.
13440 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13443 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13444 when compiling wprintf.
13445 * stdio-common/tstdiomisc.c (t3): New function.
13448 2014-05-01 Steve Ellcey <sellcey@mips.com>
13450 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13451 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13452 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13453 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13455 2014-05-01 Steve Ellcey <sellcey@mips.com>
13457 * stdlib/longlong.h: Updated from GCC.
13459 2014-05-01 Will Newton <will.newton@linaro.org>
13460 Bernard Ogden <bernie.ogden@linaro.org>
13462 * NEWS: Update fixed bug list.
13465 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13467 2014-04-30 David S. Miller <davem@davemloft.net>
13469 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13470 (libc_feholdexcept_setround_sparc_ctx): New function.
13471 (libc_fesetenv_sparc_ctx): Likewise.
13472 (libc_feupdateenv_sparc_ctx): Likewise.
13473 (libc_feholdsetround_sparc_ctx): Likewise.
13474 (libc_feholdexcept_setround_ctx): Define.
13475 (libc_feholdexcept_setroundf_ctx): Likewise.
13476 (libc_feholdexcept_setroundl_ctx): Likewise.
13477 (libc_fesetenv_ctx): Likewise.
13478 (libc_fesetenvf_ctx): Likewise.
13479 (libc_fesetenvl_ctx): Likewise.
13480 (libc_feupdateenv_ctx): Likewise.
13481 (libc_feupdateenvf_ctx): Likewise.
13482 (libc_feupdateenvl_ctx): Likewise.
13483 (libc_feresetround_ctx): Likewise.
13484 (libc_feresetroundf_ctx): Likewise.
13485 (libc_feresetroundl_ctx): Likewise.
13486 (libc_feholdsetround_ctx): Likewise.
13487 (libc_feholdsetroundf_ctx): Likewise.
13488 (libc_feholdsetroundl_ctx): Likewise.
13490 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13491 with __USE_GNU instead of XOPEN cpp guards.
13493 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13496 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13497 with XOPEN cpp guards.
13499 2014-04-30 Julian Brown <julian@codesourcery.com>
13502 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13505 2014-04-30 Joseph Myers <joseph@codesourcery.com>
13508 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13510 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13511 * sysdeps/unix/sysv/linux/configure: Regenerated.
13512 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13513 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13514 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13515 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13516 * README: Update reference to required Linux kernel version.
13517 * manual/install.texi (Linux): Update reference to required Linux
13518 kernel headers version.
13519 * INSTALL: Regenerated.
13521 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13523 [POSIX] (limits.h): Likewise.
13524 [POSIX] (math.h): Likewise.
13525 [POSIX] (sys/wait.h): Likewise.
13526 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13528 [POSIX] (stddef.h): Do not allow header inclusion.
13530 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13532 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13534 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13536 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13537 Return immediately after lll_futex_wake.
13539 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13542 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13544 (datahead_init_pos): Call datahead_init_common early.
13545 (datahead_init_neg): Likewise.
13547 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13548 datahead_init_neg): New functions.
13549 * nscd/aicache.c (addhstaiX): Use them.
13550 * nscd/grpcache.c (cache_addgr): Likewise.
13551 * nscd/hstcache.c (cache_addhst): Likewise.
13552 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13553 * nscd/netgroupcache.c (do_notfound): Likewise.
13554 (addgetnetgrentX): Likewise.
13555 (addinnetgrX): Likewise.
13556 * nscd/pwdcache.c (cache_addpw): Likewise.
13557 * nscd/servicescache.c (cache_addserv): Likewise.
13559 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13560 Atsushi Onoe <atsushi@onoe.org>
13565 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13566 one response is valid.
13567 * resolv/res_send.c (send_dg): Check for validity of other
13568 response if the current response is a referral.
13570 2014-04-29 Steve Ellcey <sellcey@mips.com>
13572 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13574 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13577 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13578 Always divide by positive zero when computing -Inf result.
13579 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13580 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13582 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13584 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13585 FPSCR if value do not change.
13586 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13587 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13588 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13589 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13590 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13591 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13594 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13596 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13597 * sysdeps/unix/sysv/linux/hppa: Move directory from
13598 ports/systeps/unix/sysv/linux/hppa.
13599 * README: Update listing for hppa-*-linux-gnu.
13601 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
13604 * manual/stdio.texi (Hook functions): Fix types of stream hook
13607 * socket/sys/socket.h: Fix typo in comment.
13609 2014-04-28 Wilco <wdijkstr@arm.com>
13611 * sysdeps/arm/fenv_private.h: New file.
13612 * sysdeps/arm/math_private.h: New file.
13613 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13615 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13617 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13619 (La_x86_64_retval): Likewise.
13621 2014-04-24 Ian Bolton <ian.bolton@arm.com>
13623 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13624 fpsr if value didn't change.
13625 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13626 to fpcr if value didn't change.
13627 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13628 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13629 fpsr or fpcr if value didn't change.
13630 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13631 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13632 fpcr if value didn't change.
13633 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13634 to fpsr if value didn't change.
13636 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13638 * nptl/tst-sem3.c: Use test-skeleton.c
13639 (main): Rename to do_test. Use return instead of
13641 * nptl/tst-sem4.c: Use test-skeleton.c
13642 (main): Rename to do_test.
13644 2014-04-22 David S. Miller <davem@davemloft.net>
13646 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13647 (struct sigaction): New struct member __glibc_reserved0, change
13648 type of sa_flags to int.
13650 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13652 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13653 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13655 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13657 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13658 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13660 2014-04-22 Will Newton <will.newton@linaro.org>
13661 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13663 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13664 (__longjmp): Add longjmp and longjmp_target SystemTap
13666 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13667 (__sigsetjmp): Add setjmp SystemTap probe.
13669 2014-04-17 Carlos O'Donell <carlos@redhat.com>
13671 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13672 match manual order.
13674 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13676 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13678 * sysdeps/powerpc/fpu/fenv_private.h
13679 (libc_feholdexcept_setroundl_ctx): Define to
13680 libc_feholdexcept_setround_ppc_ctx.
13681 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13682 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13683 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13684 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13686 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13688 * sysdeps/aarch64/math-tests.h: New file.
13690 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13692 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13695 Check and set bit_AVX2_Usable.
13696 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13698 (bit_AVX2): Likewise.
13699 (index_AVX2_Usable): Likewise.
13700 (CPUID_AVX2): Likewise.
13701 (HAS_AVX2): Likewise.
13703 2014-04-17 Will Newton <will.newton@linaro.org>
13705 * manual/setjmp.texi (System V contexts): Add note that
13706 calling setcontext on a context created by a call to a
13707 signal handler is undefined. Update text to note that
13708 setcontext from a signal handler is possible but not
13712 * stdlib/tst-setcontext.c: Include signal.h.
13713 (main): Check that the signal stack before and
13714 after swapcontext is the same.
13716 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13717 Re-implement to restore registers in user code and avoid
13718 rt_sigreturn system call.
13720 2014-04-17 Wilco <wdijkstr@arm.com>
13722 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13723 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13724 * math/test-fenv.c: Skip exception trap tests on targets which only
13725 support non-stop mode.
13727 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13728 Wilco Dijkstra <wilco.dijkstra@arm.com>
13730 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13731 (libc_feholdsetround_aarch64_ctx)
13732 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13733 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13734 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13735 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13736 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13737 (libc_feresetround_noexl_ctx): Define.
13739 2014-04-16 Richard Henderson <rth@redhat.com>
13741 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13743 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13746 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13747 const from the non-libc, non-ldso copy.
13749 * sysdeps/alpha/libm-test-ulps: Regenerate.
13751 2014-04-16 Ian Bolton <ian.bolton@arm.com>
13752 Wilco Dijkstra <wilco.dijkstra@arm.com>
13754 * sysdeps/aarch64/fpu/math_private.h: New file.
13756 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13758 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13760 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13763 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13764 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13765 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13766 Intel MPX bound registers before _dl_profile_fixup.
13767 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13768 registers after _dl_profile_fixup. Save and restore bound
13769 registers bnd0/bnd1 when calling _dl_call_pltexit.
13770 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13771 (LR_BND_OFFSET): Likewise.
13772 (LRV_BND0_OFFSET): Likewise.
13773 (LRV_BND1_OFFSET): Likewise.
13775 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13777 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13779 * sysdeps/mach/hurd/i386/tls.h: ... here.
13780 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13781 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13784 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13786 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13788 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13790 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13792 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13795 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13796 * sysdeps/s390/configure: Regenerate.
13799 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13800 Set round-to-nearest internally to reduce error accumulation.
13802 2014-04-16 Alan Modra <amodra@gmail.com>
13806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13807 * math/libm-test.inc (frexp_test_data): Add tests.
13808 * NEWS: Update fixed bug list.
13810 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13812 * benchtests/Makefile: Depend on libraries in build directory.
13813 (bench-math): Separate out math tests.
13814 (bench-pthread): Separate out pthread tests.
13815 (bench): Include math and pthread tests.
13817 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13820 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13821 _dl_debug_initialize.
13823 * configure.ac: Remove SELinux header check.
13824 * configure: Regenerate.
13825 * nscd/selinux.c (perms): Array of const char* to permission names.
13826 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13827 default policy. Call string_to_security_class and string_to_av_perm to
13828 translate strings. Enforce default policy and call avs_has_perm with
13829 results of translated strings.
13831 2014-04-13 David S. Miller <davem@davemloft.net>
13833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13835 2014-04-12 Allan McRae <allan@archlinux.org>
13838 * manual/string.texi (Collation Functions): Fix qsort argument
13840 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13842 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13844 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13845 Make the test a no-op if there are no exceptions defined.
13847 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13849 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13850 enable-hardcoded-path-in-tests
13852 2014-04-11 Will Newton <will.newton@linaro.org>
13854 * benchtests/Makefile (extra-objs): Add json-lib.o.
13855 (bench-func): Tidy up JSON output.
13856 * benchtests/bench-skeleton.c: Include json-lib.h.
13857 (main): Use JSON library functions to do output of
13859 * benchtests/bench-timing-type.c (main): Output the
13860 timing type simply, leaving formatting to the user.
13861 * benchtests/json-lib.c: New file.
13862 * benchtests/json-lib.h: Likewise.
13864 2014-04-11 Torvald Riegel <triegel@redhat.com>
13867 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13868 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13869 memory barriers. Add comments.
13870 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13871 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13872 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13873 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13874 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13875 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13877 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13879 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13880 * sysdeps/s390/s390-64/configure.ac: ... this ...
13881 * sysdeps/s390/configure.ac: ... to here.
13882 * sysdeps/s390/s390-32/configure: Delete file.
13883 * sysdeps/s390/s390-64/configure: Delete file.
13884 * sysdeps/s390/configure: Regenerate.
13886 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13888 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13890 2014-04-11 Will Newton <will.newton@linaro.org>
13892 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13893 to zero if it is not defined elsewhere. (mtrim): Test
13894 the value of MALLOC_DEBUG with #if rather than #ifdef.
13896 2014-04-10 Torvald Riegel <triegel@redhat.com>
13898 * benchtests/pthread_once-inputs: New file.
13899 * benchtests/pthread_once-source.c: New file.
13900 * benchtests/README: Update documentation.
13902 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13903 H.J. Lu <hongjiu.lu@intel.com>
13906 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13907 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13908 * sysdeps/x86_64/configure: Regenerated.
13909 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13911 (REGISTER_SAVE_RAX): Likewise.
13912 (REGISTER_SAVE_RCX): Likewise.
13913 (REGISTER_SAVE_RDX): Likewise.
13914 (REGISTER_SAVE_RSI): Likewise.
13915 (REGISTER_SAVE_RDI): Likewise.
13916 (REGISTER_SAVE_R8): Likewise.
13917 (REGISTER_SAVE_R9): Likewise.
13918 (REGISTER_SAVE_BND0): Likewise.
13919 (REGISTER_SAVE_BND1): Likewise.
13920 (REGISTER_SAVE_BND2): Likewise.
13921 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13922 bound registers when calling _dl_fixup.
13924 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13926 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13927 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13929 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13930 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13931 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13932 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13933 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13934 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13935 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13937 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13940 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13941 pathconf(_PC_NAME_MAX).
13943 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13945 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13946 Remove macro usage.
13947 (__PTHREAD_SPINS): Move definition to ...
13948 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13949 (__PTHREAD_SPINS): ... here.
13950 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13951 (__PTHREAD_SPIN): Likewise.
13952 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13953 (__PTHREAD_SPIN): Likewise.
13954 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13955 (__PTHREAD_SPIN): Likewise.
13956 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13957 (__PTHREAD_SPIN): Likewise.
13958 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13959 (__PTHREAD_SPIN): Likewise.
13960 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13961 (__PTHREAD_SPIN): Likewise.
13962 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13963 (__PTHREAD_SPIN): Likewise.
13964 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13965 (__PTHREAD_SPIN): Likewise.
13966 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13967 (__PTHREAD_SPIN): Likewise.
13968 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13969 (__PTHREAD_SPIN): Likewise.
13970 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13971 (__PTHREAD_SPIN): Likewise.
13972 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13973 (__PTHREAD_SPIN): Likewise.
13975 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13976 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13977 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13978 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13980 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13981 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13982 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13983 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13984 correct imply path.
13985 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13986 strlen symbol for non multi-arch builds.
13987 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13988 missing hidden_def and weak_alias.
13990 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13992 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13994 2014-04-07 Will Newton <will.newton@linaro.org>
13996 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13997 and contents. [!_LIBC] Remove #ifndef and contents.
13998 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13999 * string/memccpy.c (__memccpy): Use ANSI prototype.
14000 * string/memfrob.c (memfrob): Likewise.
14001 * string/strcoll.c (STRCOLL): Likewise.
14002 * string/strlen.c (strlen): Likewise.
14003 * string/strtok.c (STRTOK): Likewise.
14004 * string/strcat.c: Remove unused #include of memcopy.h.
14005 (strcat): Use ANSI prototype.
14006 * string/strchr.c: Remove unused #include of memcopy.h.
14007 (strchr): Use ANSI prototype.
14008 * string/strcmp.c: Remove unused #include of memcopy.h.
14009 (strcmp): Use ANSI prototype.
14010 * string/strcpy.c: Remove unused #include of memcopy.h.
14011 (strcpy): Use ANSI prototype.
14013 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14015 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14016 * config.make.in (config-extra-cppflags): Set it from
14017 libc_extra_cppflags.
14018 * configure.ac (libc_extra_cflags): Make it accumulate over
14019 configure fragments.
14020 (libc_extra_cppflags): New flag.
14021 * configure. Regenerate.
14022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14023 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14024 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14028 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14029 result for FE_DOWNWARD rounding mode.
14030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14034 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14036 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14037 in function argument name.
14039 2014-04-03 David Svoboda <svoboda@cert.org>
14042 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14045 2014-04-03 Roland McGrath <roland@hack.frob.com>
14047 * elf/dl-unmap-segments.h: New file.
14048 * sysdeps/generic/ldsodefs.h
14049 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14050 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14051 * elf/dl-fptr.c: Likewise.
14052 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14053 * sysdeps/aarch64/tlsdesc.c: Likewise.
14054 * sysdeps/arm/tlsdesc.c: Likewise.
14055 * sysdeps/i386/tlsdesc.c: Likewise.
14056 * sysdeps/tile/dl-runtime.c: Likewise.
14057 * sysdeps/x86_64/tlsdesc.c: Likewise.
14058 * elf/dl-load.h: New file.
14059 * elf/dl-load.c: Include it.
14060 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14061 Macros moved to dl-load.h.
14062 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14063 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14064 Use _dl_unmap_segments in place of __munmap.
14065 Break out segment-mapping loop into ...
14066 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14068 2014-04-03 Will Newton <will.newton@linaro.org>
14070 * elf/dl-lookup.c (do_lookup_x): Remove comment
14071 referring to nested function and move variable
14072 declarations down to before first use.
14074 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14078 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14080 * math/s_catanf.c (__catanf): Likewise.
14081 * math/s_catanh.c (__catanh): Likewise.
14082 * math/s_catanhf.c (__catanhf): Likewise.
14083 * math/s_catanhl.c (__catanhl): Likewise.
14084 * math/s_catanl.c (__catanl): Likewise.
14085 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14086 by positive zero when computing -Inf result.
14087 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14088 (catanh_test): Likewise.
14089 * sysdeps/i386/fpu/libm-test-ulps: Update.
14090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14093 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14094 instead of using underflowing value in computing result.
14095 * math/s_clog10.c (__clog10): Likewise.
14096 * math/s_clog10f.c (__clog10f): Likewise.
14097 * math/s_clog10l.c (__clog10l): Likewise.
14098 * math/s_clogf.c (__clogf): Likewise.
14099 * math/s_clogl.c (__clogl): Likewise.
14100 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14101 (clog10_test): Likewise.
14102 * sysdeps/i386/fpu/libm-test-ulps: Update.
14103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14105 2014-04-02 Alan Modra <amodra@gmail.com>
14108 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14109 output when value is near a power of two. Use int64_t for lx and
14110 remove casts. Use decimal rather than hex exponent constants.
14111 Don't use long double multiplication when double will suffice.
14112 * math/libm-test.inc (nextafter_test_data): Add tests.
14113 * NEWS: Add 16739 and 16786 to bug list.
14115 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14117 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14119 2014-04-01 Will Newton <will.newton@linaro.org>
14121 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14122 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14124 2014-04-01 Florian Weimer <fweimer@redhat.com>
14127 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14128 * nptl/tst-setuid2.c: New file.
14129 * nptl/Makefile (xtests): Add tst-setuid2.
14131 2014-04-01 Alan Modra <amodra@gmail.com>
14134 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14136 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14140 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14141 set errno as appropriate.
14142 * math/w_scalbf.c (__scalbf): Likewise.
14143 * math/w_scalbl.c (__scalbl): Likewise.
14144 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14145 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14146 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14147 Add more NaN tests.
14150 * math/w_atan2.c: Include <errno.h>.
14151 (__atan2): Set errno for result underflowing to zero.
14152 * math/w_atan2f.c: Include <errno.h>.
14153 (__atan2f): Set errno for result underflowing to zero.
14154 * math/w_atan2l.c: Include <errno.h>.
14155 (__atan2l): Set errno for result underflowing to zero.
14156 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14158 * math/auto-libm-test-out: Regenerated.
14160 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14162 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14163 Encode instruction correctly in little endian.
14164 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14166 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14168 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14170 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14173 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14176 * sysdeps/unix/sysv/linux/kernel-features.h
14177 [__sparc__ && !__arch64__ && !__sparc_v9__]
14178 (__ASSUME_SET_ROBUST_LIST): Do not define.
14179 [__sparc__ && !__arch64__ && !__sparc_v9__]
14180 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14181 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14183 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14184 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14185 (__ASSUME_REQUEUE_PI): Likewise.
14186 (__ASSUME_SET_ROBUST_LIST): Likewise.
14187 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14188 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14190 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14191 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14193 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14195 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14197 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14198 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14200 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14201 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14205 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14206 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14207 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14209 2014-03-31 Will Newton <will.newton@linaro.org>
14211 * benchtests/Makefile (bench): Add ffs and ffsll to list
14213 * benchtests/ffs-inputs: New file.
14214 * benchtests/ffsll-inputs: Likewise.
14216 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14219 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14220 too large before casting to int.
14221 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14222 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14223 * math/libm-test.inc (scalb_test_data): Add more tests.
14225 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14227 * benchtests/Makefile (DETAILED_OPT): New make option.
14228 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14230 * benchtests/bench-skeleton.c: Include stdbool.h.
14231 (main): Store and print timings per input.
14232 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14233 member to each argument value.
14234 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14235 (_print_arg_data): Initialize per-input timing to 0.
14237 * benchtests/Makefile (timing-type): New binary.
14238 (bench-clean): Also remove bench-timing-type.
14239 (bench): New target for timing-type.
14240 (bench-func): Print output in JSON format.
14241 * benchtests/bench-skeleton.c (main): Print output in JSON
14243 * benchtests/bench-timing-type.c: New file.
14244 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14245 (TIMING_PRINT_STATS): Remove.
14246 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14249 * benchtests/bench-modf.c: Remove.
14250 * benchtests/modf-inputs: New inputs file.
14252 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14255 * math/s_clog10.c (M_PI_LOG10E): New macro.
14256 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14257 imaginary parts are 0.
14258 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14259 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14260 imaginary parts are 0.
14261 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14262 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14263 imaginary parts are 0.
14264 * math/libm-test.inc (clog10_test_data): Update expected results
14265 for when real and imaginary parts are 0.
14267 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14269 * elf/dl-load.c: Finish conversion of __builtin_expect into
14270 __glibc_{un}likely.
14272 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14275 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14276 1+x for argument with exponent below -67.
14277 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14279 * math/auto-libm-test-in: Add more tests of exp.
14280 * math/auto-libm-test-out: Regenerated.
14282 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14285 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14286 (nscd_getnetgrent): Use it.
14289 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14292 2014-03-27 Andi Kleen <ak@linux.intel.com>
14294 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14295 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14296 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14297 (lll_robust_unlock): Remove out of line section. Use cfi
14299 (LLL_STUB_UNWIND_INFO*): Remove.
14300 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14301 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14302 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14303 (lll_robust_unlock): Remove out of line section. Use cfi
14305 (LLL_STUB_UNWIND_INFO*): Remove.
14307 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14310 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14313 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14315 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14317 2014-03-26 Joseph Myers <joseph@codesourcery.com>
14320 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14322 * math/test-fenv-preserve.c: New file.
14323 * math/Makefile (tests): Add test-fenv-preserve.
14325 2014-03-26 Will Newton <will.newton@linaro.org>
14327 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14329 2014-03-25 Roland McGrath <roland@hack.frob.com>
14331 * scripts/versionlist.awk: Partition the version sets and emit all
14332 GLIBC_* (sorted) before all others (sorted).
14334 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14336 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14337 GLIBC_2.2.5 version.
14339 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14341 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14344 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14349 2014-03-25 Andreas Schwab <schwab@suse.de>
14351 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14352 label to be used after in6ailist is initialized.
14354 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14356 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14357 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14359 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14363 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14365 (fp_formats): Update initializers.
14366 (init_fp_formats): Initialize new field.
14367 (output_for_one_input_case): Allow underflow for results up to
14369 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14370 * math/auto-libm-test-in: Don't mark some underflows from asin and
14372 * math/auto-libm-test-out: Regenerated.
14373 * sysdeps/i386/fpu/libm-test-ulps: Update.
14374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14376 2014-03-25 Andreas Schwab <schwab@suse.de>
14378 * libio/Makefile (tst-ftell-partial-wide-ENV)
14379 (tst-ftell-active-handler-ENV): Define.
14381 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14383 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14385 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14387 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14389 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14391 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14392 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14393 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14395 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14398 * elf/dl-load.c (open_verify): Add mode parameter.
14399 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14400 (open_path): Change from boolean 'secure' to complete flag 'mode'
14401 (_dl_map_object): Adjust.
14402 * elf/Makefile (tests): Add tst-dlopen-aout.
14403 * elf/tst-dlopen-aout.c: New test.
14405 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14408 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14409 (struct stat): Rename member pad0 to __glibc_reserved0.
14412 * sysdeps/s390/s390-32/bits/wordsize.h
14413 (__WORDSIZE32_SIZE_ULONG): New define.
14414 * sysdeps/s390/s390-64/bits/wordsize.h
14415 (__WORDSIZE32_SIZE_ULONG): Likewise.
14416 * sysdeps/generic/stdint.h (SIZE_MAX):
14417 Define as UL if __WORDSIZE32_SIZE_ULONG.
14420 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14421 (__glibc_reserved0): New variable.
14422 (sa_flags): Change type to int.
14424 * posix/Makefile (before-compile): Use += before-compile instead
14427 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14428 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14430 2014-03-20 Andreas Schwab <schwab@suse.de>
14433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14434 non-matching result from nscd.
14436 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14438 * scripts/bench.py: Moved to ...
14439 * benchtests/scripts/bench.py: ... here.
14440 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14442 2014-03-24 Andreas Schwab <schwab@suse.de>
14445 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14446 alloca_account and account alloca use for struct in6ailist.
14448 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14451 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14452 rounding mode to recompute results that overflow to infinity or
14454 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14456 * math/auto-libm-test-out: Regenerated.
14457 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14458 (ccosh_test): Likewise.
14459 (csin_test_data): Use plus_oflow.
14460 (csin_test): Use ALL_RM_TEST.
14461 (csinh_test_data): Use plus_oflow.
14462 (csinh_test): Use ALL_RM_TEST.
14463 * sysdeps/i386/fpu/libm-test-ulps: Update.
14464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14466 2014-03-21 Joseph Myers <joseph@codesourcery.com>
14468 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14469 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14470 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14473 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14474 when x - 1 is zero.
14475 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14476 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14477 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14478 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14480 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14481 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14483 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14484 * sysdeps/i386/fpu/libm-test-ulps: Update.
14485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14487 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14489 * scripts/bench.pl: Remove file.
14490 * scripts/bench.py: New benchmark script.
14491 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14492 * benchtests/README: Mention python dependency.
14493 * scripts/pylintrc: New file.
14494 * scripts/pylint: New file.
14496 * bits/mathdef.h: Use #ifdef instead of #if.
14497 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14498 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14499 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14500 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14501 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14502 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14504 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14505 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14507 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14509 and strpbrk-ppc64 objects.
14510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14511 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14512 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14513 multiarch strpbrk for POWER7.
14514 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14515 multiarch strpbrk for PPC64.
14516 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14518 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14519 strpbrk for POWER7.
14521 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14523 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14524 (atan_test): Likewise.
14525 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14526 (atanh_test): Use ALL_RM_TEST.
14527 (atan2_test_data): Likewise.
14528 (cabs_test): Likewise.
14529 (cacosh_test): Likewise.
14530 (carg_test): Likewise.
14531 (casin_test): Likewise.
14532 (casinh_test): Likewise.
14533 (cbrt_test): Likewise.
14534 (csqrt_test): Likewise.
14535 (erf_test): Likewise.
14536 (erfc_test): Likewise.
14537 (pow10_test): Likewise.
14538 (exp2_test): Likewise.
14539 (hypot_test): Likewise.
14540 (j0_test): Likewise.
14541 (j1_test): Likewise.
14542 (lgamma_test): Likewise.
14543 (gamma_test): Likewise.
14544 (sincos_test): Likewise.
14545 (tanh_test): Likewise.
14546 (y0_test): Likewise.
14547 (y1_test): Likewise.
14548 * sysdeps/i386/fpu/libm-test-ulps: Update.
14549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14551 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14553 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14555 and strcspn-ppc64 objects.
14556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14557 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14558 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14559 multiarch strcspn for POWER7.
14560 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14561 multiarch strcspn for PPC64.
14562 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14564 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14565 strcspn for POWER7.
14567 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14569 * math/gen-libm-test.pl (generate_testfile): Expect only function
14570 name as argument to AUTO_TESTS_* and pass results for all rounding
14571 modes to parse_args.
14572 (parse_auto_input): Separate inputs of automatic tests from
14573 outputs before storing in %auto_tests.
14574 * math/libm-test.inc (acos_test_data): Update call to
14576 (acos_test): Use ALL_RM_TEST.
14577 (acos_tonearest_test_data): Remove.
14578 (acos_test_tonearest): Likewise.
14579 (acos_towardzero_test_data): Likewise.
14580 (acos_test_towardzero): Likewise.
14581 (acos_downward_test_data): Likewise.
14582 (acos_test_downward): Likewise.
14583 (acos_upward_test_data): Likewise.
14584 (acos_test_upward): Likewise.
14585 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14586 (asin_test_data): Likewise.
14587 (asin_test): Use ALL_RM_TEST.
14588 (asin_tonearest_test_data): Remove.
14589 (asin_test_tonearest): Likewise.
14590 (asin_towardzero_test_data): Likewise.
14591 (asin_test_towardzero): Likewise.
14592 (asin_downward_test_data): Likewise.
14593 (asin_test_downward): Likewise.
14594 (asin_upward_test_data): Likewise.
14595 (asin_test_upward): Likewise.
14596 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14597 (atan_test_data): Likewise.
14598 (atanh_test_data): Likewise.
14599 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14600 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14601 (carg_test_data): Likewise.
14602 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14603 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14604 (ccosh_test_data): Likewise.
14605 (cexp_test_data): Likewise.
14606 (clog_test_data): Likewise.
14607 (clog10_test_data): Likewise.
14608 (cos_test_data): Update call to AUTO_TESTS_f_f.
14609 (cos_test): Use ALL_RM_TEST.
14610 (cos_tonearest_test_data): Remove.
14611 (cos_test_tonearest): Likewise.
14612 (cos_towardzero_test_data): Likewise.
14613 (cos_test_towardzero): Likewise.
14614 (cos_downward_test_data): Likewise.
14615 (cos_test_downward): Likewise.
14616 (cos_upward_test_data): Likewise.
14617 (cos_test_upward): Likewise.
14618 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14619 (cosh_test): Use ALL_RM_TEST.
14620 (cosh_tonearest_test_data): Remove.
14621 (cosh_test_tonearest): Likewise.
14622 (cosh_towardzero_test_data): Likewise.
14623 (cosh_test_towardzero): Likewise.
14624 (cosh_downward_test_data): Likewise.
14625 (cosh_test_downward): Likewise.
14626 (cosh_upward_test_data): Likewise.
14627 (cosh_test_upward): Likewise.
14628 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14629 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14630 (ctan_test_data): Likewise.
14631 (ctan_test): Use ALL_RM_TEST.
14632 (ctan_tonearest_test_data): Remove.
14633 (ctan_test_tonearest): Likewise.
14634 (ctan_towardzero_test_data): Likewise.
14635 (ctan_test_towardzero): Likewise.
14636 (ctan_downward_test_data): Likewise.
14637 (ctan_test_downward): Likewise.
14638 (ctan_upward_test_data): Likewise.
14639 (ctan_test_upward): Likewise.
14640 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14641 (ctanh_test): Use ALL_RM_TEST.
14642 (ctanh_tonearest_test_data): Remove.
14643 (ctanh_test_tonearest): Likewise.
14644 (ctanh_towardzero_test_data): Likewise.
14645 (ctanh_test_towardzero): Likewise.
14646 (ctanh_downward_test_data): Likewise.
14647 (ctanh_test_downward): Likewise.
14648 (ctanh_upward_test_data): Likewise.
14649 (ctanh_test_upward): Likewise.
14650 (erf_test_data): Update call to AUTO_TESTS_f_f.
14651 (erfc_test_data): Likewise.
14652 (exp_test_data): Likewise.
14653 (exp_test): Use ALL_RM_TEST.
14654 (exp_tonearest_test_data): Remove.
14655 (exp_test_tonearest): Likewise.
14656 (exp_towardzero_test_data): Likewise.
14657 (exp_test_towardzero): Likewise.
14658 (exp_downward_test_data): Likewise.
14659 (exp_test_downward): Likewise.
14660 (exp_upward_test_data): Likewise.
14661 (exp_test_upward): Likewise.
14662 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14663 (exp10_test): Use ALL_RM_TEST.
14664 (exp10_tonearest_test_data): Remove.
14665 (exp10_test_tonearest): Likewise.
14666 (exp10_towardzero_test_data): Likewise.
14667 (exp10_test_towardzero): Likewise.
14668 (exp10_downward_test_data): Likewise.
14669 (exp10_test_downward): Likewise.
14670 (exp10_upward_test_data): Likewise.
14671 (exp10_test_upward): Likewise.
14672 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14673 (expm1_test_data): Likewise.
14674 (expm1_test): Use ALL_RM_TEST.
14675 (expm1_tonearest_test_data): Remove.
14676 (expm1_test_tonearest): Likewise.
14677 (expm1_towardzero_test_data): Likewise.
14678 (expm1_test_towardzero): Likewise.
14679 (expm1_downward_test_data): Likewise.
14680 (expm1_test_downward): Likewise.
14681 (expm1_upward_test_data): Likewise.
14682 (expm1_test_upward): Likewise.
14683 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14684 (fma_test): Use ALL_RM_TEST.
14685 (fma_towardzero_test_data): Remove.
14686 (fma_test_towardzero): Likewise.
14687 (fma_downward_test_data): Likewise.
14688 (fma_test_downward): Likewise.
14689 (fma_upward_test_data): Likewise.
14690 (fma_test_upward): Likewise.
14691 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14692 (j0_test_data): Update call to AUTO_TESTS_f_f.
14693 (j1_test_data): Likewise.
14694 (jn_test_data): Update call to AUTO_TESTS_if_f.
14695 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14696 (log_test_data): Update call to AUTO_TESTS_f_f.
14697 (log10_test_data): Likewise.
14698 (log1p_test_data): Likewise.
14699 (log2_test_data): Likewise.
14700 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14701 (pow_tonearest_test_data): Likewise.
14702 (sin_test_data): Update call to AUTO_TESTS_f_f.
14703 (sin_test): Use ALL_RM_TEST.
14704 (sin_tonearest_test_data): Remove.
14705 (sin_test_tonearest): Likewise.
14706 (sin_towardzero_test_data): Likewise.
14707 (sin_test_towardzero): Likewise.
14708 (sin_downward_test_data): Likewise.
14709 (sin_test_downward): Likewise.
14710 (sin_upward_test_data): Likewise.
14711 (sin_test_upward): Likewise.
14712 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14713 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14714 (sinh_test): Use ALL_RM_TEST.
14715 (sinh_tonearest_test_data): Remove.
14716 (sinh_test_tonearest): Likewise.
14717 (sinh_towardzero_test_data): Likewise.
14718 (sinh_test_towardzero): Likewise.
14719 (sinh_downward_test_data): Likewise.
14720 (sinh_test_downward): Likewise.
14721 (sinh_upward_test_data): Likewise.
14722 (sinh_test_upward): Likewise.
14723 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14724 (sqrt_test): Use ALL_RM_TEST.
14725 (sqrt_tonearest_test_data): Remove.
14726 (sqrt_test_tonearest): Likewise.
14727 (sqrt_towardzero_test_data): Likewise.
14728 (sqrt_test_towardzero): Likewise.
14729 (sqrt_downward_test_data): Likewise.
14730 (sqrt_test_downward): Likewise.
14731 (sqrt_upward_test_data): Likewise.
14732 (sqrt_test_upward): Likewise.
14733 (tan_test_data): Update call to AUTO_TESTS_f_f.
14734 (tan_test): Use ALL_RM_TEST.
14735 (tan_tonearest_test_data): Remove.
14736 (tan_test_tonearest): Likewise.
14737 (tan_towardzero_test_data): Likewise.
14738 (tan_test_towardzero): Likewise.
14739 (tan_downward_test_data): Likewise.
14740 (tan_test_downward): Likewise.
14741 (tan_upward_test_data): Likewise.
14742 (tan_test_upward): Likewise.
14743 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14744 (tgamma_test_data): Likewise.
14745 (y0_test_data): Likewise.
14746 (y1_test_data): Likewise.
14747 (yn_test_data): Update call to AUTO_TESTS_if_f.
14748 (main): Do not call removed functions.
14750 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14752 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14753 (ldexp_test_data): Remove.
14754 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14756 (scalb_test): Use ALL_RM_TEST.
14758 2014-03-19 Andreas Schwab <schwab@suse.de>
14760 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14762 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14765 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14766 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14767 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14768 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14769 (__ASSUME_PREADV): Undefine.
14770 (__ASSUME_PWRITEV): Likewise.
14772 2014-03-18 Roland McGrath <roland@hack.frob.com>
14774 * bits/mman-linux.h: Add comment about non-Linux use.
14775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14776 bits/mman-linux.h resting place.
14778 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14779 * bits/mman-linux.h: ... here.
14781 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14783 * conform/conformtest.pl: Add standard definition when calling C
14784 preprocessor on data files.
14785 (checknamespace): Remove unused variable.
14787 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14789 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14790 minus_oflow, plus_uflow and minus_uflow in expected results.
14791 * math/libm-test.inc (scalbn_test_data): Add more tests of
14792 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14794 (scalbn_test): Use ALL_RM_TEST.
14795 (scalbln_test_data): Add more tests of negative arguments. Use
14796 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14797 (scalbln_test): Use ALL_RM_TEST.
14799 2014-03-18 Roland McGrath <roland@hack.frob.com>
14801 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14803 2014-03-18 Will Newton <will.newton@linaro.org>
14805 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14806 inaccurate comment.
14808 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14810 * Makerules [!subdir] (check-abi): Exit with error status if a
14813 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14815 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14816 for rint. Include results for all rounding modes.
14817 (nearbyint_test): Use ALL_RM_TEST.
14818 (rint_test_data): Include all tests used for nearbyint.
14820 2014-03-17 Will Newton <will.newton@linaro.org>
14822 * nptl/sysdeps/pthread/pthread.h: Revert previous
14825 * sysdeps/generic/ldsodefs.h: Revert previous
14828 * libio/genops.c: Revert previous change.
14829 * libio/libioP.h: Likewise.
14830 * stdio-common/vfprintf.c: Likewise.
14832 * sysdeps/generic/math_private.h: Revert previous
14835 * sysdeps/generic/math_private.h: Check whether
14836 HAVE_RM_CTX is defined with #ifdef rather
14839 * argp/argp-fmtstream.h: Check whether
14840 __STRICT_ANSI__ is defined with #ifdef rather
14842 * argp/argp.h: Likewise.
14844 * libio/genops.c: Check whether
14845 _IO_JUMPS_OFFSET is defined with #ifdef rather
14847 * libio/libioP.h: Likewise.
14848 * stdio-common/vfprintf.c: Likewise.
14850 * sysdeps/generic/ldsodefs.h: Check whether
14851 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14854 * nptl/sysdeps/pthread/pthread.h: Check
14855 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14858 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14860 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14862 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14866 * libio/fileops.c (_IO_file_open): Seek to end of file but
14867 don't cache the offset.
14868 (get_file_offset): Remove function.
14869 (do_ftell): Use cached offset when available.
14870 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14871 don't cache the offset.
14872 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14874 (do_one_test): Call it.
14875 (do_ftell_test): Fix up expected old offset for a+ mode.
14876 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14879 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14880 up test status with function return status.
14881 (do_write_test): Likewise.
14882 (do_append_test): Likewise.
14884 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14885 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14888 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14890 * math/gen-libm-test.pl (parse_args): Handle results specified for
14891 each rounding mode separately.
14892 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14893 tests and results from lrint_tonearest_test_data,
14894 lrint_towardzero_test_data, lrint_downward_test_data and
14895 lrint_upward_test_data.
14896 (lrint_test): Use ALL_RM_TEST.
14897 (lrint_tonearest_test_data): Remove.
14898 (lrint_test_tonearest): Likewise.
14899 (lrint_towardzero_test_data): Likewise.
14900 (lrint_test_towardzero): Likewise.
14901 (lrint_downward_test_data): Likewise.
14902 (lrint_test_downward): Likewise.
14903 (lrint_upward_test_data): Likewise.
14904 (lrint_test_upward): Likewise.
14905 (llrint_test_data): Merge in per-rounding-mode tests and results
14906 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14907 llrint_downward_test_data and llrint_upward_test_data.
14908 (llrint_test): Use ALL_RM_TEST.
14909 (llrint_tonearest_test_data): Remove.
14910 (llrint_test_tonearest): Likewise.
14911 (llrint_towardzero_test_data): Likewise.
14912 (llrint_test_towardzero): Likewise.
14913 (llrint_downward_test_data): Likewise.
14914 (llrint_test_downward): Likewise.
14915 (llrint_upward_test_data): Likewise.
14916 (llrint_test_upward): Likewise.
14917 (rint_test_data): Merge in per-rounding-mode tests and results
14918 from rint_tonearest_test_data, rint_towardzero_test_data,
14919 rint_downward_test_data and rint_upward_test_data. Add
14920 per-rounding-mode results for tests not in those arrays.
14921 (rint_test): Use ALL_RM_TEST.
14922 (rint_tonearest_test_data): Remove.
14923 (rint_test_tonearest): Likewise.
14924 (rint_towardzero_test_data): Likewise.
14925 (rint_test_towardzero): Likewise.
14926 (rint_downward_test_data): Likewise.
14927 (rint_test_downward): Likewise.
14928 (rint_upward_test_data): Likewise.
14929 (rint_test_upward): Likewise.
14930 (main): Don't call removed functions.
14932 2014-03-14 Roland McGrath <roland@hack.frob.com>
14934 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14935 "Compiled on ..." crapola. It is anti-useful.
14937 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14939 * scripts/evaluate-test.sh: Handle fourth argument to determine
14940 whether test run should stop on failure.
14941 * Makeconfig (stop-on-test-failure): New variable.
14942 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14943 $(stop-on-test-failure).
14944 * Makefile (tests): Give a summary of results from testing and
14945 exit with failure status if they include an ERROR or FAIL.
14946 (xtests): Likewise.
14947 * manual/install.texi (Configuring and compiling): Mention
14948 stop-on-test-failure=y.
14949 * INSTALL: Regenerated.
14951 2014-03-14 Roland McGrath <roland@hack.frob.com>
14953 * scripts/versionlist.awk: New file.
14954 * Makerules [$(build-shared) = yes]
14955 (postclean-generated): Add Versions.def, not Versions.def.v and
14957 ($(common-objpfx)Versions.def.v.i): Target removed.
14958 ($(common-objpfx)Versions.def): New target.
14959 ($(common-objpfx)Versions.all): Depend on that rather that
14960 $(common-objpfx)Versions.def.v.
14961 * Versions.def: File removed.
14963 * Makeconfig (+gccwarn): Add -Wundef.
14964 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14965 a dl-sysdep.h breaking its contract.
14966 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14967 * include/stackinfo.h: New file.
14968 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14969 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14970 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14971 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14972 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14973 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14974 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14975 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14976 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14977 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14978 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14979 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14980 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14981 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14982 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14984 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14987 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14989 * math/libm-test.inc (round_test_data): Add more tests.
14992 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14994 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14997 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14999 * math/libm-test.inc (ceil_test_data): Add more tests.
15001 * math/libm-test.inc (trunc_test_data): Add more tests related to
15004 2014-03-14 Roland McGrath <roland@hack.frob.com>
15006 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15007 with #if rather than #ifdef.
15008 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15010 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15012 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15013 first. Disable AVX-512 GCC support if assembler doesn't support
15015 * sysdeps/x86_64/configure: Regenerated.
15017 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15019 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15020 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15021 (__old_pthread_attr_setstack): Likewise.
15022 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15023 [!_STACK_GROWS_DOWN]: Likewise.
15025 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15027 * config.make.in (have-bash2): Delete.
15028 * configure.ac (libc_cv_have_bash2): Delete.
15029 * configure: Regenerate.
15030 * elf/Makefile (common-ldd-rewrite): Rename to ...
15031 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15032 (sh-ldd-rewrite): Delete.
15033 (bash-ldd-rewrite): Delete.
15034 (have-bash2): Delete checks.
15035 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15038 * config.make.in (have-ksh): Delete.
15040 * configure.ac (libc_cv_have_ksh): Delete.
15041 * configure: Regenerate.
15043 * elf/Makefile: Delete $(have-ksh) check.
15044 ($(objpfx)sotruss): Change KSH to BASH.
15045 * elf/sotruss.ksh: Rename to ...
15046 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15047 function style to match POSIX. Drop ksh vim mode setting.
15049 * manual/time.texi (Specifying the Time Zone with TZ): Change
15050 Tuesday to Thursday.
15052 * debug/tst-longjmp_chk2.c: Update header comment.
15053 (stackoverflow_handler): Add comment. Call assert on pass value.
15055 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15058 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15059 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15060 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15061 (La_x86_64_vector): Add zmm.
15062 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15063 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15064 ($(objpfx)tst-audit10): New target.
15065 ($(objpfx)tst-audit10.out): Likewise.
15066 (tst-audit10-ENV): New.
15067 (AVX512-CFLAGS): Likewise.
15068 (CFLAGS-tst-audit10.c): Likewise.
15069 (CFLAGS-tst-auditmod10a.c): Likewise.
15070 (CFLAGS-tst-auditmod10b.c): Likewise.
15071 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15072 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15073 * sysdeps/x86_64/configure: Regenerated.
15074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15075 AVX-512 zmm register support.
15076 (_dl_x86_64_save_sse): Likewise.
15077 (_dl_x86_64_restore_sse): Likewise.
15078 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15079 size vector registers.
15080 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15081 (ZMM_SIZE): Likewise.
15082 * sysdeps/x86_64/tst-audit10.c: New file.
15083 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15084 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15086 2014-03-13 Roland McGrath <roland@hack.frob.com>
15088 * configure.ac (HAVE_EHDR_START): New check.
15089 * configure: Regenerated.
15090 * config.h.in (HAVE_EHDR_START): New #undef.
15091 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15092 assuming the lowest-addressed segment maps the start of the file.
15094 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15096 * INSTALL: Regenerated.
15098 2014-03-13 Will Newton <will.newton@linaro.org>
15100 * manual/setjmp.texi (System V contexts): Improve
15101 clarity and grammar of documentation.
15103 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15106 * elf/Makefile (tests): Add tst-pie2.
15107 (tests-pie): Add tst-pie2.
15108 * elf/tst-pie2.c: New file.
15109 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15111 * elf/rtld.c (map_doit): Load executable as lt_executable.
15112 (dl_main): Likewise.
15114 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15117 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15118 (__ASSUME_PSELECT): Undefine.
15120 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15123 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15124 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15126 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15127 selector for static builds.
15129 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15132 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15135 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15137 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15138 IFUNC selector for static builds.
15140 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15142 * sysdeps/mips/math_private.h [__mips_hard_float]
15143 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15144 libc_feresetround_mips_ctx.
15145 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15146 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15147 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15150 * math/s_nextafter.c (__nextafter): Do not return value from
15151 overflowing computation.
15152 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15153 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15154 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15156 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15158 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15159 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15161 2014-03-11 Roland McGrath <roland@hack.frob.com>
15163 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15164 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15165 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15166 the new mov targetting sp.
15168 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15171 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15172 Define it for static builds as well.
15173 (NO_BZERO_IMPL): Likewise.
15175 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15177 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15178 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15179 multiarch strspn for PPC64.
15180 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15181 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15183 (__libc_ifunc_impl_list): Likewise.
15184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15185 multiarch optimizations
15186 * string/strspn.c (strspn): Using macro to redefine symbol name.
15188 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15189 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15191 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15192 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15193 multiarch strncat for PPC64.
15194 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15195 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15197 (__libc_ifunc_impl_list): Likewise.
15198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15199 multiarch optimizations
15201 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15204 * nscd/nscd.service: Make service type forking.
15206 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15208 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15209 sign in non default rounding modes.
15210 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15212 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15214 * math/libm-test.inc (ALL_RM_TEST): New macro.
15215 (ceil_test): Use ALL_RM_TEST.
15216 (cimag_test): Likewise.
15217 (conj_test): Likewise.
15218 (copysign_test): Likewise.
15219 (cproj_test): Likewise.
15220 (creal_test): Likewise.
15221 (fabs_test): Likewise.
15222 (floor_test): Likewise.
15223 (fmax_test): Likewise.
15224 (fmin_test): Likewise.
15225 (fmod_test): Likewise.
15226 (fpclassify_test): Likewise.
15227 (frexp_test): Likewise.
15228 (ilogb_test): Likewise.
15229 (isfinite_test): Likewise.
15230 (finite_test): Likewise.
15231 (isgreater_test): Likewise.
15232 (isgreaterequal_test): Likewise.
15233 (isinf_test): Likewise.
15234 (isless_test): Likewise.
15235 (islessequal_test): Likewise.
15236 (islessgreater_test): Likewise.
15237 (isnan_test): Likewise.
15238 (isnormal_test): Likewise.
15239 (issignaling_test): Likewise.
15240 (isunordered_test): Likewise.
15241 (logb_test): Likewise.
15242 (logb_downward_test_data): Remove.
15243 (logb_test_downward): Likewise.
15244 (lround_test): Use ALL_RM_TEST.
15245 (llround_test): Likewise.
15246 (modf_test): Likewise.
15247 (nexttoward_test): Likewise.
15248 (remainder_test): Likewise.
15249 (drem_test): Likewise.
15250 (remainder_tonearest_test_data): Likewise.
15251 (remainder_test_tonearest): Likewise.
15252 (drem_test_tonearest): Likewise.
15253 (remainder_towardzero_test_data): Likewise.
15254 (remainder_test_towardzero): Likewise.
15255 (drem_test_towardzero): Likewise.
15256 (remainder_downward_test_data): Likewise.
15257 (remainder_test_downward): Likewise.
15258 (drem_test_downward): Likewise.
15259 (remainder_upward_test_data): Likewise.
15260 (remainder_test_upward): Likewise.
15261 (drem_test_upward): Likewise.
15262 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15263 (round_test): Use ALL_RM_TEST.
15264 (signbit_test): Likewise.
15265 (trunc_test): Likewise.
15266 (significand_test): Likewise.
15267 (main): Don't call removed functions.
15269 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15272 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15273 || __USE_XOPEN2K8].
15274 (ILL_ILLOPN): Likewise.
15275 (ILL_ILLADR): Likewise.
15276 (ILL_ILLTRP): Likewise.
15277 (ILL_PRVOPC): Likewise.
15278 (ILL_PRVREG): Likewise.
15279 (ILL_COPROC): Likewise.
15280 (ILL_BADSTK): Likewise.
15281 (FPE_INTDIV): Likewise.
15282 (FPE_INTOVF): Likewise.
15283 (FPE_FLTDIV): Likewise.
15284 (FPE_FLTOVF): Likewise.
15285 (FPE_FLTUND): Likewise.
15286 (FPE_FLTRES): Likewise.
15287 (FPE_FLTINV): Likewise.
15288 (FPE_FLTSUB): Likewise.
15289 (SEGV_MAPERR): Likewise.
15290 (SEGV_ACCERR): Likewise.
15291 (BUS_ADRALN): Likewise.
15292 (BUS_ADRERR): Likewise.
15293 (BUS_OBJERR): Likewise.
15294 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15295 (TRAP_TRACE): Likewise.
15296 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15298 (CLD_KILLED): Likewise.
15299 (CLD_DUMPED): Likewise.
15300 (CLD_TRAPPED): Likewise.
15301 (CLD_STOPPED): Likewise.
15302 (CLD_CONTINUED): Likewise.
15303 (POLL_IN): Likewise.
15304 (POLL_OUT): Likewise.
15305 (POLL_MSG): Likewise.
15306 (POLL_ERR): Likewise.
15307 (POLL_PRI): Likewise.
15308 (POLL_HUP): Likewise.
15309 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15311 (ILL_ILLOPN): Likewise.
15312 (ILL_ILLADR): Likewise.
15313 (ILL_ILLTRP): Likewise.
15314 (ILL_PRVOPC): Likewise.
15315 (ILL_PRVREG): Likewise.
15316 (ILL_COPROC): Likewise.
15317 (ILL_BADSTK): Likewise.
15318 (FPE_INTDIV): Likewise.
15319 (FPE_INTOVF): Likewise.
15320 (FPE_FLTDIV): Likewise.
15321 (FPE_FLTOVF): Likewise.
15322 (FPE_FLTUND): Likewise.
15323 (FPE_FLTRES): Likewise.
15324 (FPE_FLTINV): Likewise.
15325 (FPE_FLTSUB): Likewise.
15326 (SEGV_MAPERR): Likewise.
15327 (SEGV_ACCERR): Likewise.
15328 (BUS_ADRALN): Likewise.
15329 (BUS_ADRERR): Likewise.
15330 (BUS_OBJERR): Likewise.
15331 (BUS_MCEERR_AR): Likewise.
15332 (BUS_MCEERR_AO): Likewise.
15333 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15334 (TRAP_TRACE): Likewise.
15335 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15337 (CLD_KILLED): Likewise.
15338 (CLD_DUMPED): Likewise.
15339 (CLD_TRAPPED): Likewise.
15340 (CLD_STOPPED): Likewise.
15341 (CLD_CONTINUED): Likewise.
15342 (POLL_IN): Likewise.
15343 (POLL_OUT): Likewise.
15344 (POLL_MSG): Likewise.
15345 (POLL_ERR): Likewise.
15346 (POLL_PRI): Likewise.
15347 (POLL_HUP): Likewise.
15348 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15349 (ILL_ILLOPN): Likewise.
15350 (ILL_ILLADR): Likewise.
15351 (ILL_ILLTRP): Likewise.
15352 (ILL_PRVOPC): Likewise.
15353 (ILL_PRVREG): Likewise.
15354 (ILL_COPROC): Likewise.
15355 (ILL_BADSTK): Likewise.
15356 (FPE_INTDIV): Likewise.
15357 (FPE_INTOVF): Likewise.
15358 (FPE_FLTDIV): Likewise.
15359 (FPE_FLTOVF): Likewise.
15360 (FPE_FLTUND): Likewise.
15361 (FPE_FLTRES): Likewise.
15362 (FPE_FLTINV): Likewise.
15363 (FPE_FLTSUB): Likewise.
15364 (SEGV_MAPERR): Likewise.
15365 (SEGV_ACCERR): Likewise.
15366 (BUS_ADRALN): Likewise.
15367 (BUS_ADRERR): Likewise.
15368 (BUS_OBJERR): Likewise.
15369 (BUS_MCEERR_AR): Likewise.
15370 (BUS_MCEERR_AO): Likewise.
15371 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15372 (TRAP_TRACE): Likewise.
15373 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15375 (CLD_KILLED): Likewise.
15376 (CLD_DUMPED): Likewise.
15377 (CLD_TRAPPED): Likewise.
15378 (CLD_STOPPED): Likewise.
15379 (CLD_CONTINUED): Likewise.
15380 (POLL_IN): Likewise.
15381 (POLL_OUT): Likewise.
15382 (POLL_MSG): Likewise.
15383 (POLL_ERR): Likewise.
15384 (POLL_PRI): Likewise.
15385 (POLL_HUP): Likewise.
15386 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15388 (ILL_ILLOPN): Likewise.
15389 (ILL_ILLADR): Likewise.
15390 (ILL_ILLTRP): Likewise.
15391 (ILL_PRVOPC): Likewise.
15392 (ILL_PRVREG): Likewise.
15393 (ILL_COPROC): Likewise.
15394 (ILL_BADSTK): Likewise.
15395 (ILL_BADIADDR): Likewise.
15396 (ILL_BREAK): Likewise.
15397 (FPE_INTDIV): Likewise.
15398 (FPE_INTOVF): Likewise.
15399 (FPE_FLTDIV): Likewise.
15400 (FPE_FLTOVF): Likewise.
15401 (FPE_FLTUND): Likewise.
15402 (FPE_FLTRES): Likewise.
15403 (FPE_FLTINV): Likewise.
15404 (FPE_FLTSUB): Likewise.
15405 (FPE_DECOVF): Likewise.
15406 (FPE_DECDIV): Likewise.
15407 (FPE_DECERR): Likewise.
15408 (FPE_INVASC): Likewise.
15409 (FPE_INVDEC): Likewise.
15410 (SEGV_MAPERR): Likewise.
15411 (SEGV_ACCERR): Likewise.
15412 (SEGV_PSTKOVF): Likewise.
15413 (BUS_ADRALN): Likewise.
15414 (BUS_ADRERR): Likewise.
15415 (BUS_OBJERR): Likewise.
15416 (BUS_MCEERR_AR): Likewise.
15417 (BUS_MCEERR_AO): Likewise.
15418 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15419 (TRAP_TRACE): Likewise.
15420 (TRAP_BRANCH): Likewise.
15421 (TRAP_HWBKPT): Likewise.
15422 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15424 (CLD_KILLED): Likewise.
15425 (CLD_DUMPED): Likewise.
15426 (CLD_TRAPPED): Likewise.
15427 (CLD_STOPPED): Likewise.
15428 (CLD_CONTINUED): Likewise.
15429 (POLL_IN): Likewise.
15430 (POLL_OUT): Likewise.
15431 (POLL_MSG): Likewise.
15432 (POLL_ERR): Likewise.
15433 (POLL_PRI): Likewise.
15434 (POLL_HUP): Likewise.
15435 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15436 (ILL_ILLOPN): Likewise.
15437 (ILL_ILLADR): Likewise.
15438 (ILL_ILLTRP): Likewise.
15439 (ILL_PRVOPC): Likewise.
15440 (ILL_PRVREG): Likewise.
15441 (ILL_COPROC): Likewise.
15442 (ILL_BADSTK): Likewise.
15443 (FPE_INTDIV): Likewise.
15444 (FPE_INTOVF): Likewise.
15445 (FPE_FLTDIV): Likewise.
15446 (FPE_FLTOVF): Likewise.
15447 (FPE_FLTUND): Likewise.
15448 (FPE_FLTRES): Likewise.
15449 (FPE_FLTINV): Likewise.
15450 (FPE_FLTSUB): Likewise.
15451 (SEGV_MAPERR): Likewise.
15452 (SEGV_ACCERR): Likewise.
15453 (BUS_ADRALN): Likewise.
15454 (BUS_ADRERR): Likewise.
15455 (BUS_OBJERR): Likewise.
15456 (BUS_MCEERR_AR): Likewise.
15457 (BUS_MCEERR_AO): Likewise.
15458 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15459 (TRAP_TRACE): Likewise.
15460 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15462 (CLD_KILLED): Likewise.
15463 (CLD_DUMPED): Likewise.
15464 (CLD_TRAPPED): Likewise.
15465 (CLD_STOPPED): Likewise.
15466 (CLD_CONTINUED): Likewise.
15467 (POLL_IN): Likewise.
15468 (POLL_OUT): Likewise.
15469 (POLL_MSG): Likewise.
15470 (POLL_ERR): Likewise.
15471 (POLL_PRI): Likewise.
15472 (POLL_HUP): Likewise.
15473 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15474 (ILL_ILLOPN): Likewise.
15475 (ILL_ILLADR): Likewise.
15476 (ILL_ILLTRP): Likewise.
15477 (ILL_PRVOPC): Likewise.
15478 (ILL_PRVREG): Likewise.
15479 (ILL_COPROC): Likewise.
15480 (ILL_BADSTK): Likewise.
15481 (FPE_INTDIV): Likewise.
15482 (FPE_INTOVF): Likewise.
15483 (FPE_FLTDIV): Likewise.
15484 (FPE_FLTOVF): Likewise.
15485 (FPE_FLTUND): Likewise.
15486 (FPE_FLTRES): Likewise.
15487 (FPE_FLTINV): Likewise.
15488 (FPE_FLTSUB): Likewise.
15489 (SEGV_MAPERR): Likewise.
15490 (SEGV_ACCERR): Likewise.
15491 (BUS_ADRALN): Likewise.
15492 (BUS_ADRERR): Likewise.
15493 (BUS_OBJERR): Likewise.
15494 (BUS_MCEERR_AR): Likewise.
15495 (BUS_MCEERR_AO): Likewise.
15496 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15497 (TRAP_TRACE): Likewise.
15498 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15500 (CLD_KILLED): Likewise.
15501 (CLD_DUMPED): Likewise.
15502 (CLD_TRAPPED): Likewise.
15503 (CLD_STOPPED): Likewise.
15504 (CLD_CONTINUED): Likewise.
15505 (POLL_IN): Likewise.
15506 (POLL_OUT): Likewise.
15507 (POLL_MSG): Likewise.
15508 (POLL_ERR): Likewise.
15509 (POLL_PRI): Likewise.
15510 (POLL_HUP): Likewise.
15511 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15512 (ILL_ILLOPN): Likewise.
15513 (ILL_ILLADR): Likewise.
15514 (ILL_ILLTRP): Likewise.
15515 (ILL_PRVOPC): Likewise.
15516 (ILL_PRVREG): Likewise.
15517 (ILL_COPROC): Likewise.
15518 (ILL_BADSTK): Likewise.
15519 (FPE_INTDIV): Likewise.
15520 (FPE_INTOVF): Likewise.
15521 (FPE_FLTDIV): Likewise.
15522 (FPE_FLTOVF): Likewise.
15523 (FPE_FLTUND): Likewise.
15524 (FPE_FLTRES): Likewise.
15525 (FPE_FLTINV): Likewise.
15526 (FPE_FLTSUB): Likewise.
15527 (SEGV_MAPERR): Likewise.
15528 (SEGV_ACCERR): Likewise.
15529 (BUS_ADRALN): Likewise.
15530 (BUS_ADRERR): Likewise.
15531 (BUS_OBJERR): Likewise.
15532 (BUS_MCEERR_AR): Likewise.
15533 (BUS_MCEERR_AO): Likewise.
15534 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15535 (TRAP_TRACE): Likewise.
15536 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15538 (CLD_KILLED): Likewise.
15539 (CLD_DUMPED): Likewise.
15540 (CLD_TRAPPED): Likewise.
15541 (CLD_STOPPED): Likewise.
15542 (CLD_CONTINUED): Likewise.
15543 (POLL_IN): Likewise.
15544 (POLL_OUT): Likewise.
15545 (POLL_MSG): Likewise.
15546 (POLL_ERR): Likewise.
15547 (POLL_PRI): Likewise.
15548 (POLL_HUP): Likewise.
15549 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15550 (ILL_ILLOPN): Likewise.
15551 (ILL_ILLADR): Likewise.
15552 (ILL_ILLTRP): Likewise.
15553 (ILL_PRVOPC): Likewise.
15554 (ILL_PRVREG): Likewise.
15555 (ILL_COPROC): Likewise.
15556 (ILL_BADSTK): Likewise.
15557 (ILL_DBLFLT): Likewise.
15558 (ILL_HARDWALL): Likewise.
15559 (FPE_INTDIV): Likewise.
15560 (FPE_INTOVF): Likewise.
15561 (FPE_FLTDIV): Likewise.
15562 (FPE_FLTOVF): Likewise.
15563 (FPE_FLTUND): Likewise.
15564 (FPE_FLTRES): Likewise.
15565 (FPE_FLTINV): Likewise.
15566 (FPE_FLTSUB): Likewise.
15567 (SEGV_MAPERR): Likewise.
15568 (SEGV_ACCERR): Likewise.
15569 (BUS_ADRALN): Likewise.
15570 (BUS_ADRERR): Likewise.
15571 (BUS_OBJERR): Likewise.
15572 (BUS_MCEERR_AR): Likewise.
15573 (BUS_MCEERR_AO): Likewise.
15574 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15575 (TRAP_TRACE): Likewise.
15576 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15578 (CLD_KILLED): Likewise.
15579 (CLD_DUMPED): Likewise.
15580 (CLD_TRAPPED): Likewise.
15581 (CLD_STOPPED): Likewise.
15582 (CLD_CONTINUED): Likewise.
15583 (POLL_IN): Likewise.
15584 (POLL_OUT): Likewise.
15585 (POLL_MSG): Likewise.
15586 (POLL_ERR): Likewise.
15587 (POLL_PRI): Likewise.
15588 (POLL_HUP): Likewise.
15589 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15590 (ILL_ILLOPN): Likewise.
15591 (ILL_ILLADR): Likewise.
15592 (ILL_ILLTRP): Likewise.
15593 (ILL_PRVOPC): Likewise.
15594 (ILL_PRVREG): Likewise.
15595 (ILL_COPROC): Likewise.
15596 (ILL_BADSTK): Likewise.
15597 (FPE_INTDIV): Likewise.
15598 (FPE_INTOVF): Likewise.
15599 (FPE_FLTDIV): Likewise.
15600 (FPE_FLTOVF): Likewise.
15601 (FPE_FLTUND): Likewise.
15602 (FPE_FLTRES): Likewise.
15603 (FPE_FLTINV): Likewise.
15604 (FPE_FLTSUB): Likewise.
15605 (SEGV_MAPERR): Likewise.
15606 (SEGV_ACCERR): Likewise.
15607 (BUS_ADRALN): Likewise.
15608 (BUS_ADRERR): Likewise.
15609 (BUS_OBJERR): Likewise.
15610 (BUS_MCEERR_AR): Likewise.
15611 (BUS_MCEERR_AO): Likewise.
15612 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15613 (TRAP_TRACE): Likewise.
15614 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15616 (CLD_KILLED): Likewise.
15617 (CLD_DUMPED): Likewise.
15618 (CLD_TRAPPED): Likewise.
15619 (CLD_STOPPED): Likewise.
15620 (CLD_CONTINUED): Likewise.
15621 (POLL_IN): Likewise.
15622 (POLL_OUT): Likewise.
15623 (POLL_MSG): Likewise.
15624 (POLL_ERR): Likewise.
15625 (POLL_PRI): Likewise.
15626 (POLL_HUP): Likewise.
15627 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15628 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15631 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15632 before #include of <time.h>.
15633 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15634 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15635 (test-xfail-UNIX98/sched.h/conform): Likewise.
15637 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15639 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15640 error absence of trapping exception support.
15641 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15643 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15645 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15646 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15647 * timezone/Makefile (testdata): Move definition above include of
15649 (test-zones): New variable.
15650 (tests-special): Add zone files.
15651 (build-testdata): Use $(evaluate-test).
15653 * elf/Makefile (tests-special): Rename tests to end with .out.
15654 ($(objpfx)noload-mem): Likewise.
15655 ($(objpfx)tst-leaks1-mem): Likewise.
15656 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15657 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15658 $(objpfx)test-iconvconfig.out.
15659 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15660 set -e inside subshell and redirect output to file.
15661 * iconvdata/Makefile (generated): Rename tests to end with .out.
15663 (tests-special): Rename tests to end with .out.
15664 ($(objpfx)mtrace-tst-loading): Likewise.
15665 * intl/Makefile (generated): Likewise.
15666 (tests-special): Likewise.
15667 ($(objpfx)mtrace-tst-gettext): Likewise.
15668 * misc/Makefile (generated): Likewise.
15669 (tests-special): Likewise.
15670 ($(objpfx)tst-error1-mem): Likewise.
15671 * nptl/Makefile (tests-special): Likewise.
15672 ($(objpfx)tst-stack3-mem): Likewise.
15673 (generated): Likewise.
15674 * posix/Makefile (generated): Likewise.
15675 (tests-special): Likewise.
15676 (xtests-special): Likewise.
15677 ($(objpfx)tst-fnmatch-mem): Likewise.
15678 ($(objpfx)bug-regex2-mem): Likewise.
15679 ($(objpfx)bug-regex14-mem): Likewise.
15680 ($(objpfx)bug-regex21-mem): Likewise.
15681 ($(objpfx)bug-regex31-mem): Likewise.
15682 ($(objpfx)tst-vfork3-mem): Likewise.
15683 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15684 ($(objpfx)tst-pcre-mem): Likewise.
15685 ($(objpfx)tst-boost-mem): Likewise.
15686 ($(objpfx)bug-ga2-mem): Likewise.
15687 ($(objpfx)bug-glob2-mem): Likewise.
15688 * resolv/Makefile (generate): Likewise.
15689 (tests-special): Likewise.
15690 (xtests-special): Likewise.
15691 (generated): Likewise.
15692 ($(objpfx)mtrace-tst-leaks): Likewise.
15693 ($(objpfx)mtrace-tst-leaks2): Likewise.
15695 * scripts/merge-test-results.sh: New file.
15696 * Makefile (tests-special-notdir): New variable.
15697 (tests): Run merge-test-results.sh.
15698 (xtests): Likewise.
15699 * Rules (tests-special-notdir): New variable.
15700 (xtests-special-notdir): Likewise.
15701 (tests): Run merge-test-results.sh
15702 (xtests): Likewise.
15704 * Makeconfig (test-xfail-name): New variable.
15705 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15706 compute variable name for expected failures.
15707 * conform/Makefile (conformtest-headers-data): New variable.
15708 (conformtest-standards): Likewise.
15709 (conformtest-headers-ISO): Likewise.
15710 (conformtest-headers-ISO99): Likewise.
15711 (conformtest-headers-ISO11): Likewise.
15712 (conformtest-headers-POSIX): Likewise.
15713 (conformtest-headers-XPG3): Likewise.
15714 (conformtest-headers-XPG4): Likewise.
15715 (conformtest-headers-UNIX98): Likewise.
15716 (conformtest-headers-XOPEN2K): Likewise.
15717 (conformtest-headers-POSIX2008): Likewise.
15718 (conformtest-headers-XOPEN2K8): Likewise.
15719 (conformtest-header-list-base): Likewise.
15720 (conformtest-header-list-tests): Likewise.
15721 (conformtest-header-base): Likewise.
15722 (conformtest-header-tests): Likewise.
15723 (tests-special): Add $(conformtest-header-list-tests). If
15724 [$(fast-check) && !$(cross-compiling)], add
15725 $(conformtest-header-tests) instead of
15726 $(objpfx)run-conformtest.out.
15727 (generated): Add $(conformtest-header-list-base). If
15728 [$(fast-check) && !$(cross-compiling)], add
15729 $(conformtest-header-base). Remove previous setting.
15730 ($(conformtest-header-list-tests)): New target.
15731 (test-xfail-run-conformtest): Remove variable.
15732 ($(objpfx)run-conformtest.out): Remove target.
15733 (test-xfail-ISO11/complex.h/conform): New variable.
15734 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15735 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15736 (test-xfail-XPG3/varargs.h/conform): Likewise.
15737 (test-xfail-XPG4/varargs.h/conform): Likewise.
15738 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15739 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15740 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15741 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15742 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15743 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15744 (test-xfail-XPG3/ftw.h/conform): Likewise.
15745 (test-xfail-XPG3/grp.h/conform): Likewise.
15746 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15747 (test-xfail-XPG3/limits.h/conform): Likewise.
15748 (test-xfail-XPG3/pwd.h/conform): Likewise.
15749 (test-xfail-XPG3/search.h/conform): Likewise.
15750 (test-xfail-XPG3/signal.h/conform): Likewise.
15751 (test-xfail-XPG3/stdio.h/conform): Likewise.
15752 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15753 (test-xfail-XPG3/string.h/conform): Likewise.
15754 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15755 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15756 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15757 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15758 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15759 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15760 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15761 (test-xfail-XPG3/termios.h/conform): Likewise.
15762 (test-xfail-XPG3/time.h/conform): Likewise.
15763 (test-xfail-XPG3/unistd.h/conform): Likewise.
15764 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15765 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15766 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15767 (test-xfail-XPG4/netdb.h/conform): Likewise.
15768 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15769 (test-xfail-XPG4/signal.h/conform): Likewise.
15770 (test-xfail-XPG4/stdio.h/conform): Likewise.
15771 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15772 (test-xfail-XPG4/stropts.h/conform): Likewise.
15773 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15774 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15775 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15776 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15777 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15778 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15779 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15780 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15781 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15782 (test-xfail-XPG4/termios.h/conform): Likewise.
15783 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15784 (test-xfail-XPG4/unistd.h/conform): Likewise.
15785 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15786 (test-xfail-POSIX/sched.h/conform): Likewise.
15787 (test-xfail-POSIX/signal.h/conform): Likewise.
15788 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15789 (test-xfail-POSIX/tar.h/conform): Likewise.
15790 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15791 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15792 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15793 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15794 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15795 (test-xfail-UNIX98/sched.h/conform): Likewise.
15796 (test-xfail-UNIX98/signal.h/conform): Likewise.
15797 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15798 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15799 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15800 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15801 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15802 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15803 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15804 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15805 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15806 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15807 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15808 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15809 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15810 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15811 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15812 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15813 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15814 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15815 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15816 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15817 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15818 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15819 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15820 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15821 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15822 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15823 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15824 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15825 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15826 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15827 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15828 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15829 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15830 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15831 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15832 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15833 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15834 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15835 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15836 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15837 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15838 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15839 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15840 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15841 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15842 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15843 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15844 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15845 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15846 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15847 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15848 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15849 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15850 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15851 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15852 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15853 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15854 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15855 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15856 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15857 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15858 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15859 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15860 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15861 (conformtest-cc-flags): Likewise.
15862 ($(conformtest-header-tests): New target.
15863 * conform/check-header-lists.sh: New file.
15864 * conform/run-conformtest.sh: Remove.
15866 * conform/conformtest.pl: Allow ' and \ in values given for
15868 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15870 [POSIX] (sys/types.h): Likewise.
15871 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15873 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15875 * conform/data/signal.h-data (SIGIO): Remove expectation.
15876 [XPG3] (SIGBUS): Do not expect.
15877 [POSIX || XPG3] (SIGPOLL): Likewise.
15878 [POSIX || XPG3] (SIGPROF): Likewise.
15879 [POSIX || XPG3] (SIGSYS): Likewise.
15880 [XPG3] (SIGTRAP): Likewise.
15881 [POSIX || XPG3] (SIGURG): Likewise.
15882 [POSIX || XPG3] (SIGVTALRM): Likewise.
15883 [POSIX || XPG3] (SIGXCPU): Likewise.
15884 [POSIX || XPG3] (SIGXFSZ): Likewise.
15885 [POSIX] (SA_SIGINFO): Expect.
15886 [XPG3] (siginfo_t): Do not expect type or contents.
15887 [POSIX] (si_pid): Do not expect element.
15888 [POSIX] (si_uid): Likewise.
15889 [POSIX] (si_addr): Likewise.
15890 [POSIX] (si_status): Likewise.
15891 [POSIX] (si_band): Likewise.
15892 [XPG4] (si_value): Likewise.
15893 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15894 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15895 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15896 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15897 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15898 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15899 [POSIX || XPG3] (ILL_COPROC): Likewise.
15900 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15901 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15902 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15903 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15904 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15905 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15906 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15907 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15908 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15909 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15910 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15911 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15912 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15913 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15914 [POSIX || XPG3] (CLD_EXITED): Likewise.
15915 [POSIX || XPG3] (CLD_KILLED): Likewise.
15916 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15917 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15918 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15919 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15920 [POSIX || XPG3] (POLL_IN): Likewise.
15921 [POSIX || XPG3] (POLL_OUT): Likewise.
15922 [POSIX || XPG3] (POLL_MSG): Likewise.
15923 [POSIX || XPG3] (POLL_ERR): Likewise.
15924 [POSIX || XPG3] (POLL_PRI): Likewise.
15925 [POSIX || XPG3] (POLL_HUP): Likewise.
15926 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15927 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15928 (SIG*): Do not allow.
15929 [XPG3] (si_*): Likewise.
15930 [XPG3] (SI_*): Likewise.
15931 [XPG3 || XPG4] (sigev_*): Likewise.
15932 [XPG3 || XPG4] (SIGEV_*): Likewise.
15933 [XPG3 || XPG4] (sival_*): Likewise.
15934 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15935 [POSIX || XPG3] (BUS_*): Likewise.
15936 [POSIX || XPG3] (CLD_*): Likewise.
15937 [POSIX || XPG3] (FPE_*): Likewise.
15938 [POSIX || XPG3] (ILL_*): Likewise.
15939 [POSIX || XPG3] (POLL_*): Likewise.
15940 [POSIX || XPG3] (SEGV_*): Likewise.
15941 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15942 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15943 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15944 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15945 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15946 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15947 Specify type and value.
15948 (TVERSLEN): Likewise.
15949 (REGTYPE): Likewise.
15950 (AREGTYPE): Likewise.
15951 (LNKTYPE): Likewise.
15952 (SYMTYPE): Likewise.
15953 (CHRTYPE): Likewise.
15954 (BLKTYPE): Likewise.
15955 (DIRTYPE): Likewise.
15956 (FIFOTYPE): Likewise.
15957 (CONTTYPE): Likewise.
15961 (TUREAD): Likewise.
15962 (TUWRITE): Likewise.
15963 (TUEXEC): Likewise.
15964 (TGREAD): Likewise.
15965 (TGWRITE): Likewise.
15966 (TGEXEC): Likewise.
15967 (TOREAD): Likewise.
15968 (TOWRITE): Likewise.
15969 (TOEXEC): Likewise.
15970 [POSIX] (TSVTX): Expect constant.
15972 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15974 * Makefile (tests): Change dependencies to ....
15975 (tests-special): ... additions to this variable.
15976 (tests): Depend on $(tests-special).
15977 * Makerules (check-abi-list): New variable.
15978 (check-abi): Depend on $(check-abi-list).
15979 [$(subdir) = elf] (tests-special): Add
15980 $(objpfx)check-abi-libc.out.
15981 [$(build-shared) = yes && subdir] (tests-special): Add
15983 [$(build-shared) = yes && subdir] (tests): Do not depend on
15985 * Rules (tests): Depend on $(tests-special).
15986 (xtests): Depend on $(xtests-special).
15987 * catgets/Makefile (tests): Change dependencies to ....
15988 (tests-special): ... additions to this variable.
15989 * conform/Makefile (tests): Change dependencies to ....
15990 (tests-special): ... additions to this variable.
15991 * elf/Makefile (tests): Change dependencies to ....
15992 (tests-special): ... additions to this variable.
15993 * grp/Makefile (tests): Change dependencies to ....
15994 (tests-special): ... additions to this variable.
15995 * iconv/Makefile (xtests): Change dependencies to ....
15996 (xtests-special): ... additions to this variable.
15997 * iconvdata/Makefile (tests): Change dependencies to ....
15998 (tests-special): ... additions to this variable.
15999 * intl/Makefile (tests): Change dependencies to ....
16000 (tests-special): ... additions to this variable. Also add
16001 $(objpfx)tst-gettext.out.
16002 * io/Makefile (tests): Change dependencies to ....
16003 (tests-special): ... additions to this variable.
16004 * libio/Makefile (tests): Change dependencies to ....
16005 (tests-special): ... additions to this variable.
16006 * malloc/Makefile (tests): Change dependencies to ....
16007 (tests-special): ... additions to this variable.
16008 * misc/Makefile (tests): Change dependencies to ....
16009 (tests-special): ... additions to this variable.
16010 * nptl/Makefile (tests): Change dependencies to ....
16011 (tests-special): ... additions to this variable.
16012 * nptl_db/Makefile (tests): Change dependencies to ....
16013 (tests-special): ... additions to this variable.
16014 * posix/Makefile (tests): Change dependencies to ....
16015 (tests-special): ... additions to this variable.
16016 (xtests): Change dependencies to ....
16017 (xtests-special): ... additions to this variable.
16018 * resolv/Makefile (tests): Change dependencies to ....
16019 (tests-special): ... additions to this variable.
16020 (xtests): Change dependencies to ....
16021 (xtests-special): ... additions to this variable.
16022 * stdio-common/Makefile (tests): Change dependencies to ....
16023 (tests-special): ... additions to this variable.
16024 (do-tst-unbputc): Remove target.
16025 (do-tst-printf): Likewise.
16026 * stdlib/Makefile (tests): Change dependencies to ....
16027 (tests-special): ... additions to this variable.
16028 * string/Makefile (tests): Change dependencies to ....
16029 (tests-special): ... additions to this variable.
16030 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16031 (tests-special): ... additions to this variable.
16033 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16035 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16037 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16038 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16040 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16041 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16042 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16043 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16044 * conform/data/libgen.h-data [XPG3]: Likewise.
16045 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16046 * conform/data/ndbm.h-data [XPG3]: Likewise.
16047 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16048 * conform/data/netdb.h-data [XPG3]: Likewise.
16049 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16050 * conform/data/poll.h-data [XPG3]: Likewise.
16051 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16052 * conform/data/strings.h-data [XPG3]: Likewise.
16053 * conform/data/stropts.h-data [XPG3]: Likewise.
16054 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16055 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16056 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16058 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16059 * conform/data/sys/time.h-data [XPG3]: Likewise.
16060 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16061 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16062 * conform/data/sys/un.h-data [XPG3]: Likewise.
16063 * conform/data/syslog.h-data [XPG3]: Likewise.
16064 * conform/data/ucontext.h-data [XPG3]: Likewise.
16065 * conform/data/utmpx.h-data [XPG3]: Likewise.
16066 * conform/data/varargs.h-data [UNIX98]: Enable file.
16068 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16070 * math/libm-test.inc (struct test_f_f_data): Move expected results
16071 into structure for each rounding mode.
16072 (struct test_ff_f_data): Likewise.
16073 (struct test_ff_f_data_nexttoward): Likewise.
16074 (struct test_fi_f_data): Likewise.
16075 (struct test_fl_f_data): Likewise.
16076 (struct test_if_f_data): Likewise.
16077 (struct test_fff_f_data): Likewise.
16078 (struct test_c_f_data): Likewise.
16079 (struct test_f_f1_data): Likewise.
16080 (struct test_fF_f1_data): Likewise.
16081 (struct test_ffI_f1_data): Likewise.
16082 (struct test_c_c_data): Likewise.
16083 (struct test_cc_c_data): Likewise.
16084 (struct test_f_i_data): Likewise.
16085 (struct test_ff_i_data): Likewise.
16086 (struct test_f_l_data): Likewise.
16087 (struct test_f_L_data): Likewise.
16088 (struct test_fFF_11_data): Likewise.
16090 (RM_FE_DOWNWARD): Likewise.
16091 (RM_FE_TONEAREST): Likewise.
16092 (RM_FE_TOWARDZERO): Likewise.
16093 (RM_FE_UPWARD): Likewise.
16094 (RUN_TEST_LOOP_f_f): Update references to expected results.
16095 (RUN_TEST_LOOP_2_f): Likewise.
16096 (RUN_TEST_LOOP_fff_f): Likewise.
16097 (RUN_TEST_LOOP_c_f): Likewise.
16098 (RUN_TEST_LOOP_f_f1): Likewise.
16099 (RUN_TEST_LOOP_fF_f1): Likewise.
16100 (RUN_TEST_LOOP_fI_f1): Likewise.
16101 (RUN_TEST_LOOP_ffI_f1): Likewise.
16102 (RUN_TEST_LOOP_c_c): Likewise.
16103 (RUN_TEST_LOOP_cc_c): Likewise.
16104 (RUN_TEST_LOOP_f_i): Likewise.
16105 (RUN_TEST_LOOP_f_i_tg): Likewise.
16106 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16107 (RUN_TEST_LOOP_f_b): Likewise.
16108 (RUN_TEST_LOOP_f_b_tg): Likewise.
16109 (RUN_TEST_LOOP_f_l): Likewise.
16110 (RUN_TEST_LOOP_f_L): Likewise.
16111 (RUN_TEST_LOOP_fFF_11): Likewise.
16112 * math/gen-libm-test.pl (parse_args): Output four copies of
16113 expected results for each test.
16115 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16116 (__ASSUME_UTIMES): Remove.
16117 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16118 (__ASSUME_UTIMES): Likewise.
16120 * math/gen-auto-libm-tests.c: Update comment on output format.
16121 (output_for_one_input_case): Generate before-rounding and
16122 after-rounding information as conditions on output flags not
16123 floating-point format.
16124 * math/auto-libm-test-out: Regenerated.
16125 * math/gen-libm-test.pl (cond_value): New function.
16126 (or_cond_value): Use cond_value.
16127 (generate_testfile): Handle conditional exceptions.
16129 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16131 * math/libm-test.inc (max_valid_error): New variable.
16132 (init_max_error): Take new argument specifying whether function
16133 results are exactly determined. Set max_valid_error and bound
16134 other variables for errors based on this argument.
16135 (set_max_error): Do not record results above max_valid_error.
16136 (check_float_internal): Only accept errors of up to 0.5ulps if
16137 also at most max_valid_error.
16138 (START): Take new argument EXACT and pass it to init_max_error.
16139 (acos_test): Update call to START.
16140 (acos_test_tonearest): Likewise.
16141 (acos_test_towardzero): Likewise.
16142 (acos_test_downward): Likewise.
16143 (acos_test_upward): Likewise.
16144 (acosh_test): Likewise.
16145 (asin_test): Likewise.
16146 (asin_test_tonearest): Likewise.
16147 (asin_test_towardzero): Likewise.
16148 (asin_test_downward): Likewise.
16149 (asin_test_upward): Likewise.
16150 (asinh_test): Likewise.
16151 (atan_test): Likewise.
16152 (atanh_test): Likewise.
16153 (atan2_test): Likewise.
16154 (cabs_test): Likewise.
16155 (cacos_test): Likewise.
16156 (cacosh_test): Likewise.
16157 (carg_test): Likewise.
16158 (casin_test): Likewise.
16159 (casinh_test): Likewise.
16160 (catan_test): Likewise.
16161 (catanh_test): Likewise.
16162 (cbrt_test): Likewise.
16163 (ccos_test): Likewise.
16164 (ccosh_test): Likewise.
16165 (ceil_test): Likewise.
16166 (cexp_test): Likewise.
16167 (cimag_test): Likewise.
16168 (clog_test): Likewise.
16169 (clog10_test): Likewise.
16170 (conj_test): Likewise.
16171 (copysign_test): Likewise.
16172 (cos_test): Likewise.
16173 (cos_test_tonearest): Likewise.
16174 (cos_test_towardzero): Likewise.
16175 (cos_test_downward): Likewise.
16176 (cos_test_upward): Likewise.
16177 (cosh_test): Likewise.
16178 (cosh_test_tonearest): Likewise.
16179 (cosh_test_towardzero): Likewise.
16180 (cosh_test_downward): Likewise.
16181 (cosh_test_upward): Likewise.
16182 (cpow_test): Likewise.
16183 (cproj_test): Likewise.
16184 (creal_test): Likewise.
16185 (csin_test): Likewise.
16186 (csinh_test): Likewise.
16187 (csqrt_test): Likewise.
16188 (ctan_test): Likewise.
16189 (ctan_test_tonearest): Likewise.
16190 (ctan_test_towardzero): Likewise.
16191 (ctan_test_downward): Likewise.
16192 (ctan_test_upward): Likewise.
16193 (ctanh_test): Likewise.
16194 (ctanh_test_tonearest): Likewise.
16195 (ctanh_test_towardzero): Likewise.
16196 (ctanh_test_downward): Likewise.
16197 (ctanh_test_upward): Likewise.
16198 (erf_test): Likewise.
16199 (erfc_test): Likewise.
16200 (exp_test): Likewise.
16201 (exp_test_tonearest): Likewise.
16202 (exp_test_towardzero): Likewise.
16203 (exp_test_downward): Likewise.
16204 (exp_test_upward): Likewise.
16205 (exp10_test): Likewise.
16206 (exp10_test_tonearest): Likewise.
16207 (exp10_test_towardzero): Likewise.
16208 (exp10_test_downward): Likewise.
16209 (exp10_test_upward): Likewise.
16210 (pow10_test): Likewise.
16211 (exp2_test): Likewise.
16212 (expm1_test): Likewise.
16213 (expm1_test_tonearest): Likewise.
16214 (expm1_test_towardzero): Likewise.
16215 (expm1_test_downward): Likewise.
16216 (expm1_test_upward): Likewise.
16217 (fabs_test): Likewise.
16218 (fdim_test): Likewise.
16219 (floor_test): Likewise.
16220 (fma_test): Likewise.
16221 (fma_test_towardzero): Likewise.
16222 (fma_test_downward): Likewise.
16223 (fma_test_upward): Likewise.
16224 (fmax_test): Likewise.
16225 (fmin_test): Likewise.
16226 (fmod_test): Likewise.
16227 (fpclassify_test): Likewise.
16228 (frexp_test): Likewise.
16229 (hypot_test): Likewise.
16230 (ilogb_test): Likewise.
16231 (isfinite_test): Likewise.
16232 (finite_test): Likewise.
16233 (isgreater_test): Likewise.
16234 (isgreaterequal_test): Likewise.
16235 (isinf_test): Likewise.
16236 (isless_test): Likewise.
16237 (islessequal_test): Likewise.
16238 (islessgreater_test): Likewise.
16239 (isnan_test): Likewise.
16240 (isnormal_test): Likewise.
16241 (issignaling_test): Likewise.
16242 (isunordered_test): Likewise.
16243 (j0_test): Likewise.
16244 (j1_test): Likewise.
16245 (jn_test): Likewise.
16246 (ldexp_test): Likewise.
16247 (lgamma_test): Likewise.
16248 (gamma_test): Likewise.
16249 (lrint_test): Likewise.
16250 (lrint_test_tonearest): Likewise.
16251 (lrint_test_towardzero): Likewise.
16252 (lrint_test_downward): Likewise.
16253 (lrint_test_upward): Likewise.
16254 (llrint_test): Likewise.
16255 (llrint_test_tonearest): Likewise.
16256 (llrint_test_towardzero): Likewise.
16257 (llrint_test_downward): Likewise.
16258 (llrint_test_upward): Likewise.
16259 (log_test): Likewise.
16260 (log10_test): Likewise.
16261 (log1p_test): Likewise.
16262 (log2_test): Likewise.
16263 (logb_test): Likewise.
16264 (logb_test_downward): Likewise.
16265 (lround_test): Likewise.
16266 (llround_test): Likewise.
16267 (modf_test): Likewise.
16268 (nearbyint_test): Likewise.
16269 (nextafter_test): Likewise.
16270 (nexttoward_test): Likewise.
16271 (pow_test): Likewise.
16272 (pow_test_tonearest): Likewise.
16273 (pow_test_towardzero): Likewise.
16274 (pow_test_downward): Likewise.
16275 (pow_test_upward): Likewise.
16276 (remainder_test): Likewise.
16277 (drem_test): Likewise.
16278 (remainder_test_tonearest): Likewise.
16279 (drem_test_tonearest): Likewise.
16280 (remainder_test_towardzero): Likewise.
16281 (drem_test_towardzero): Likewise.
16282 (remainder_test_downward): Likewise.
16283 (drem_test_downward): Likewise.
16284 (remainder_test_upward): Likewise.
16285 (drem_test_upward): Likewise.
16286 (remquo_test): Likewise.
16287 (rint_test): Likewise.
16288 (rint_test_tonearest): Likewise.
16289 (rint_test_towardzero): Likewise.
16290 (rint_test_downward): Likewise.
16291 (rint_test_upward): Likewise.
16292 (round_test): Likewise.
16293 (scalb_test): Likewise.
16294 (scalbn_test): Likewise.
16295 (scalbln_test): Likewise.
16296 (signbit_test): Likewise.
16297 (sin_test): Likewise.
16298 (sin_test_tonearest): Likewise.
16299 (sin_test_towardzero): Likewise.
16300 (sin_test_downward): Likewise.
16301 (sin_test_upward): Likewise.
16302 (sincos_test): Likewise.
16303 (sinh_test): Likewise.
16304 (sinh_test_tonearest): Likewise.
16305 (sinh_test_towardzero): Likewise.
16306 (sinh_test_downward): Likewise.
16307 (sinh_test_upward): Likewise.
16308 (sqrt_test): Likewise.
16309 (sqrt_test_tonearest): Likewise.
16310 (sqrt_test_towardzero): Likewise.
16311 (sqrt_test_downward): Likewise.
16312 (sqrt_test_upward): Likewise.
16313 (tan_test): Likewise.
16314 (tan_test_tonearest): Likewise.
16315 (tan_test_towardzero): Likewise.
16316 (tan_test_downward): Likewise.
16317 (tan_test_upward): Likewise.
16318 (tanh_test): Likewise.
16319 (tgamma_test): Likewise.
16320 (trunc_test): Likewise.
16321 (y0_test): Likewise.
16322 (y1_test): Likewise.
16323 (yn_test): Likewise.
16324 (significand_test): Likewise.
16326 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16327 individual tests in comment.
16328 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16329 (prev_max_error): New variable.
16330 (prev_real_max_error): Likewise.
16331 (prev_imag_max_error): Likewise.
16332 (compare_ulp_data): Don't refer to test names in comment.
16333 (find_test_ulps): Remove function.
16334 (find_function_ulps): Likewise.
16335 (find_complex_function_ulps): Likewise.
16336 (init_max_error): Take function name as argument. Look up ulps
16338 (print_ulps): Remove function.
16339 (print_max_error): Use prev_max_error instead of calling
16340 find_function_ulps.
16341 (print_complex_max_error): Use prev_real_max_error and
16342 prev_imag_max_error instead of calling find_complex_function_ulps.
16343 (check_float_internal): Take max_ulp parameter instead of calling
16344 find_test_ulps. Don't call print_ulps.
16345 (check_float): Update call to check_float_internal.
16346 (check_complex): Update calls to check_float_internal.
16347 (START): Pass argument to init_max_error.
16348 * math/gen-libm-test.pl (%results): Don't include "kind"
16350 (parse_ulps): Don't handle ulps of individual tests.
16351 (print_ulps_file): Likewise.
16352 (output_ulps): Likewise.
16353 * math/README.libm-test: Update.
16354 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16356 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16357 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16358 * sysdeps/arm/libm-test-ulps: Likewise.
16359 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16360 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16361 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16362 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16363 * sysdeps/microblaze/libm-test-ulps: Likewise.
16364 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16365 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16366 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16367 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16368 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16369 * sysdeps/sh/libm-test-ulps: Likewise.
16370 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16371 * sysdeps/tile/libm-test-ulps: Likewise.
16372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16374 2014-03-04 Joseph Myers <joseph@codesourcery.com>
16376 * math/libm-test.inc (print_complex_max_error): Check separately
16377 whether real and imaginary errors are within allowed range and
16378 pass 0 to print_complex_function_ulps instead of value within
16381 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16383 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16385 (get_handles_fopen): Likewise.
16386 (do_write_test): Likewise.
16388 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16390 * libio/fileops.c (do_ftell): Use cached offset when
16392 * libio/iofwide.c (do_ftell_wide): Likewise.
16393 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16395 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16398 * libio/libioP.h (get_file_offset): New function.
16399 * libio/fileops.c (get_file_offset): Likewise.
16400 (do_ftell): Likewise.
16401 (_IO_new_file_seekoff): Split out ftell logic.
16402 * libio/wfileops.c (do_ftell_wide): Likewise.
16403 (_IO_wfile_seekoff): Split out ftell logic.
16404 * libio/tst-ftell-active-handler.c: New test case.
16405 * libio/Makefile (tests): Add it.
16407 2014-03-03 Roland McGrath <roland@hack.frob.com>
16409 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16410 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16412 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16415 * nscd/connections.c (nscd_init): Call do_exit.
16416 (start_threads): Call do_exit and notify_parent.
16417 (begin_drop_privileges): Call do_exit.
16418 (finish_drop_privileges): Likewise.
16419 * nscd/selinux.c (preserve_capabilities): Likewise.
16420 (install_real_capabilities): Likewise.
16421 (nscd_selinux_enabled): Likewise.
16422 (avc_create_thread): Likewise.
16423 (avc_alloc_lock): Likewise.
16424 (nscd_avc_init): Likewise.
16425 * nscd/nscd.c (parent_fd): New static variable.
16426 (main): Create a pipe between parent and child processes.
16427 Skip closing parent_fd.
16428 (monitor_child): New function.
16429 (do_exit): Likewise.
16430 (notify_parent): Likewise.
16431 * nscd/nscd.h (notify_parent): Likewise.
16432 (do_exit): Likewise.
16434 2014-03-03 Carlos O'Donell <carlos@redhat.com>
16436 * malloc/malloc.c (__libc_calloc): Revert last change.
16438 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16442 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16444 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16448 (__libc_ifunc_impl_list): Likewise.
16449 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16450 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16451 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16452 * string/strrchr.c: Define STRRCHR.
16454 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
16456 * benchtest/bench-strtok.c (simple_strtok): Delete.
16457 (strtok_string): Use as benchmark.
16458 * string/strtok (STRTOK): New macro.
16460 2014-02-28 Carlos O'Donell <carlos@redhat.com>
16462 * manual/threads.texi: Add header and standard comments to all
16465 * elf/dl-lookup.c (check_match): New function.
16466 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16467 (do_lookup_x): Remove nested function check_match. Use non-nested
16468 function check_match.
16470 2014-02-28 Roland McGrath <roland@hack.frob.com>
16472 * csu/Makefile (generated, before-compile): Use += rather than =.
16473 * catgets/Makefile (generated, generated-dirs): Likewise.
16474 * debug/Makefile (generated): Likewise.
16475 * dlfcn/Makefile (generated): Likewise.
16476 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16477 * iconvdata/Makefile (before-compile, generated): Likewise.
16478 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16479 * libio/Makefile (generated): Likewise.
16480 * malloc/Makefile (generated): Likewise.
16481 * manual/Makefile (generated, generated-dirs): Likewise.
16482 * misc/Makefile (generated): Likewise.
16483 * posix/Makefile (generated): Likewise.
16484 * resolv/Makefile (generated): Likewise.
16485 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16486 * timezone/Makefile (generated, generated-dirs): Likewise.
16488 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16490 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16493 power8 implementation.
16494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16495 file: POWER8 llround ifunc implementation.
16496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16497 (__lllround): Add POWER8 implementation.
16498 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16499 POWER8 llround implementation.
16501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16502 power8 implementation.
16503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16504 file: POWER8 llrint ifunc implementation.
16505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16506 Add POWER8 implementation.
16507 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16508 POWER8 llrint implementation.
16510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16511 power8 implementation.
16512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16513 file: POWER8 finite ifunc implementation.
16514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16515 Add POWER8 implementation.
16516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16518 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16519 POWER8 finite implementation.
16520 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16523 power8 implementation.
16524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16525 file: POWER8 isinf ifunc implementation.
16526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16527 POWER8 implementation.
16528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16530 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16531 isinf implementation.
16532 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16534 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16535 (INIT_ARCH): Add hwcap2 initialization.
16536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16537 power8 implementation.
16538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16539 file: POWER8 isnan ifunc implementation.
16540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16541 POWER8 implementation.
16542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16544 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16545 isnan implementation.
16546 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16548 2014-02-27 Joey Ye <joey.ye@arm.com>
16550 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16551 (_FP_NANFRAC_Q): Set to zero.
16553 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16556 * math/auto-libm-test-in: New test inputs.
16557 * math/auto-libm-test-out: Regenerate.
16558 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16561 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16563 2014-02-27 Joseph Myers <joseph@codesourcery.com>
16565 * scripts/evaluate-test.sh: Take new argument indicating whether
16566 failure is expected.
16567 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16568 indicating whether failure is expected.
16569 * conform/Makefile (test-xfail-run-conformtest): New variable.
16570 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16572 * posix/Makefile (test-xfail-annexc): New variable.
16573 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16575 2014-02-26 Joseph Myers <joseph@codesourcery.com>
16577 * argp/Makefile: Include Makeconfig immediately after defining
16579 * assert/Makefile: Likewise.
16580 * benchtests/Makefile: Likewise.
16581 * catgets/Makefile: Likewise.
16582 * conform/Makefile: Likewise.
16583 * crypt/Makefile: Likewise.
16584 * csu/Makefile: Likewise.
16585 (all): Remove target.
16586 * ctype/Makefile: Include Makeconfig immediately after defining
16588 * debug/Makefile: Likewise.
16589 * dirent/Makefile: Likewise.
16590 * dlfcn/Makefile: Likewise.
16591 * gmon/Makefile: Likewise.
16592 * gnulib/Makefile: Likewise.
16593 * grp/Makefile: Likewise.
16594 * gshadow/Makefile: Likewise.
16595 * hesiod/Makefile: Likewise.
16596 * hurd/Makefile: Likewise.
16597 (all): Remove target.
16598 * iconvdata/Makefile: Include Makeconfig immediately after
16600 * inet/Makefile: Likewise.
16601 * intl/Makefile: Likewise.
16602 * io/Makefile: Likewise.
16603 * libio/Makefile: Likewise.
16604 (all): Remove target.
16605 * locale/Makefile: Include Makeconfig immediately after defining
16607 * login/Makefile: Likewise.
16608 * mach/Makefile: Likewise.
16609 (all): Remove target.
16610 * malloc/Makefile: Include Makeconfig immediately after defining
16612 (all): Remove target.
16613 * manual/Makefile: Include Makeconfig immediately after defining
16615 * math/Makefile: Likewise.
16616 * misc/Makefile: Likewise.
16617 * nis/Makefile: Likewise.
16618 * nss/Makefile: Likewise.
16619 * po/Makefile: Likewise.
16620 (all): Remove target.
16621 * posix/Makefile: Include Makeconfig immediately after defining
16623 * pwd/Makefile: Likewise.
16624 * resolv/Makefile: Likewise.
16625 * resource/Makefile: Likewise.
16626 * rt/Makefile: Likewise.
16627 * setjmp/Makefile: Likewise.
16628 * shadow/Makefile: Likewise.
16629 * signal/Makefile: Likewise.
16630 * socket/Makefile: Likewise.
16631 * soft-fp/Makefile: Likewise.
16632 * stdio-common/Makefile: Likewise.
16633 * stdlib/Makefile: Likewise.
16634 * streams/Makefile: Likewise.
16635 * string/Makefile: Likewise.
16636 * sunrpc/Makefile: Likewise.
16637 (all): Remove target.
16638 * sysvipc/Makefile: Include Makeconfig immediately after defining
16640 * termios/Makefile: Likewise.
16641 * time/Makefile: Likewise.
16642 * timezone/Makefile: Likewise.
16643 (all): Remove target.
16644 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16646 * wctype/Makefile: Likewise.
16648 2014-02-26 Steve Ellcey <sellcey@mips.com>
16650 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16651 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16652 (libc_feholdexcept_setround_mips): Ditto.
16653 (libc_feholdsetround): New.
16654 (libc_feholdsetroundf): New.
16655 (libc_feholdsetroundl): New.
16656 (libc_feupdateenv_test_mips): New.
16657 (libc_feupdateenv_test): New.
16658 (libc_feupdateenv_testf): New.
16659 (libc_feupdateenv_testl): New.
16660 (libc_feresetround): New.
16661 (libc_feresetroundf): New.
16662 (libc_feresetroundl): New.
16663 (libc_fetestexcept_mips): New.
16664 (libc_fetestexcept): New.
16665 (libc_fetestexceptf): New.
16666 (libc_fetestexceptl): New.
16667 (HAVE_RM_CTX): New.
16668 (libc_feholdexcept_setround_mips_ctx): New.
16669 (libc_feholdexcept_setround_ctx): New.
16670 (libc_feholdexcept_setroundf_ctx): New.
16671 (libc_feholdexcept_setroundl_ctx): New.
16672 (libc_fesetenv_mips_ctx): New.
16673 (libc_fesetenv_ctx): New.
16674 (libc_fesetenv_ctxf): New.
16675 (libc_fesetenv_ctxl): New.
16676 (libc_feupdateenv_mips_ctx): New.
16677 (libc_feupdateenv_ctx): New.
16678 (libc_feupdateenvf_ctx): New.
16679 (libc_feupdateenvl_ctx): New.
16680 (libc_feholdsetround_mips_ctx): New.
16681 (libc_feholdsetround_ctx): New.
16682 (libc_feholdsetroundf_ctx): New.
16683 (libc_feholdsetroundl_ctx): New.
16684 (libc_feresetround_mips_ctx): New.
16685 (libc_feresetround_ctx): New.
16686 (libc_feresetroundf_ctx): New.
16687 (libc_feresetroundl_ctx): New.
16689 2014-02-26 Carlos O'Donell <carlos@redhat.com>
16691 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16693 * manual/ipc.texi: New file.
16694 * manual/Makefile (chapters): Add ipc.
16695 * manual/job.texi: Add "Inter-Process Communication" to next.
16696 * manual/process.texi: Add "Inter-Process Communication" to prev.
16698 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16702 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
16704 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16706 * manual/arith.texi: Fix spaces after sentences.
16707 * manual/charset.texi: Likewise.
16708 * manual/errno.texi: Likewise.
16709 * manual/install.texi: Likewise.
16710 * manual/llio.texi: Likewise.
16711 * manual/locale.texi: Likewise.
16712 * manual/maint.texi: Likewise.
16713 * manual/math.texi: Likewise.
16714 * manual/memory.texi: Likewise.
16715 * manual/message.texi: Likewise.
16716 * manual/probes.texi: Likewise.
16717 * manual/resource.texi: Likewise.
16718 * manual/signal.texi: Likewise.
16719 * manual/socket.texi: Likewise.
16720 * manual/stdio.texi: Likewise.
16721 * manual/string.texi: Likewise.
16722 * manual/time.texi: Likewise.
16723 * manual/users.texi: Likewise.
16725 2014-02-25 Carlos O'Donell <carlos@redhat.com>
16728 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16729 _DEFAULT_SOURCE is defined.
16731 2014-02-25 Ulrich Drepper <drepper@gmail.com>
16732 Carlos O'Donell <carlos@redhat.com>
16735 * elf/dl-tls.c (_dl_count_modids): New function.
16736 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16737 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16738 audit library and increment generation counter.
16739 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16740 * elf/tst-audit9.c: New file.
16741 * elf/tst-auditmod9a.c: New file.
16742 * elf/tst-auditmod9b.c: New file.
16743 * elf/Makefile: Add rules to build and run tst-audit9.
16745 2014-02-25 Florian Weimer <fweimer@redhat.com>
16748 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16750 2014-02-25 Will Newton <will.newton@linaro.org>
16752 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16753 (__longjmp): Restore sp and lr before restoring callee
16754 saved registers. Add longjmp and longjmp_target
16755 SystemTap probe point.
16756 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16757 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16758 Define to zero to match jmpbuf layout.
16759 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16760 (__sigsetjmp): Save sp and lr before saving callee
16761 saved registers. Add setjmp SystemTap probe point.
16763 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16765 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16767 2014-02-24 Andreas Schwab <schwab@suse.de>
16770 * elf/pldd.c (wait_for_ptrace_stop): New function.
16771 (main): Call it after attaching.
16773 2014-02-22 Roland McGrath <roland@hack.frob.com>
16775 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16776 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16777 Versions files is now verboten.
16778 * hurd/Versions (libc: GLIBC_2.0):
16779 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16780 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16781 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16782 * mach/Versions: Likewise.
16784 * csu/Versions: Remove unused %include.
16785 * resolv/Versions: Likewise.
16787 2014-02-21 Joseph Myers <joseph@codesourcery.com>
16789 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16790 ($(objpfx)check-local-headers.out): Likewise.
16791 ($(objpfx)begin-end-check.out): Likewise.
16792 * Makerules (check-abi-%.out): Likewise.
16793 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16794 ($(objpfx)test2.cat): Likewise.
16795 ($(objpfx)de/libc.cat): Likewise.
16796 ($(objpfx)test-gencat.out): Likewise.
16797 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16798 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16799 ($(objpfx)noload-mem): Likewise.
16800 ($(objpfx)tst-pathopt.out): Likewise.
16801 ($(objpfx)tst-rtld-load-self.out): Likewise.
16802 ($(objpfx)tst-array1-cmp.out): Likewise.
16803 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16804 ($(objpfx)tst-array2-cmp.out): Likewise.
16805 ($(objpfx)tst-array3-cmp.out): Likewise.
16806 ($(objpfx)tst-array4-cmp.out): Likewise.
16807 ($(objpfx)tst-array5-cmp.out): Likewise.
16808 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16809 ($(objpfx)check-textrel.out): Likewise.
16810 ($(objpfx)check-execstack.out): Likewise.
16811 ($(objpfx)check-localplt.out): Likewise.
16812 ($(objpfx)order2-cmp.out): Likewise.
16813 ($(objpfx)tst-leaks1-mem): Likewise.
16814 ($(objpfx)tst-leaks1-static-mem): Likewise.
16815 ($(objpfx)tst-initorder-cmp.out): Likewise.
16816 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16817 ($(objpfx)tst-unused-dep.out): Likewise.
16818 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16819 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16820 * iconv/Makefile (test-iconvconfig): Likewise.
16821 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16822 ($(objpfx)iconv-test.out): Likewise.
16823 ($(objpfx)tst-tables.out): Likewise.
16824 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16825 ($(objpfx)tst-gettext.out): Likewise.
16826 ($(objpfx)tst-translit.out): Likewise.
16827 ($(objpfx)tst-gettext2.out): Likewise.
16828 ($(objpfx)tst-gettext4.out): Likewise.
16829 ($(objpfx)tst-gettext6.out): Likewise.
16830 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16831 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16832 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16833 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16834 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16835 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16836 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16837 ($(objpfx)wordexp-tst.out): Likewise.
16838 ($(objpfx)annexc.out): Likewise.
16839 ($(objpfx)tst-fnmatch-mem): Likewise.
16840 ($(objpfx)bug-regex2-mem): Likewise.
16841 ($(objpfx)bug-regex14-mem): Likewise.
16842 ($(objpfx)bug-regex21-mem): Likewise.
16843 ($(objpfx)bug-regex31-mem): Likewise.
16844 ($(objpfx)tst-vfork3-mem): Likewise.
16845 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16846 ($(objpfx)tst-pcre-mem): Likewise.
16847 ($(objpfx)tst-boost-mem): Likewise.
16848 ($(objpfx)tst-getconf.out): Likewise.
16849 ($(objpfx)bug-ga2-mem): Likewise.
16850 ($(objpfx)bug-glob2-mem): Likewise.
16851 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16852 ($(objpfx)mtrace-tst-leaks2): Likewise.
16853 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16854 ($(objpfx)tst-printf.out): Likewise.
16855 ($(objpfx)tst-setvbuf1.out): Likewise.
16856 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16857 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16858 ($(objpfx)tst-fmtmsg.out): Likewise.
16859 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16860 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16862 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16863 * bits/sigaction.h [__USE_MISC]: Likewise.
16864 * bits/waitstatus.h: Update #endif comments.
16865 * ctype/ctype.h: Likewise.
16866 * dirent/dirent.h: Likewise.
16867 [__USE_MISC]: Remove redundant conditionals.
16868 * grp/grp.h: Update #endif comments.
16869 [__USE_GNU]: Remove redundant conditionals.
16870 [__USE_MISC]: Likewise.
16871 * inet/netinet/in.h [__USE_GNU]: Likewise.
16872 * io/sys/stat.h [__USE_MISC]: Likewise.
16873 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16874 * libio/bits/stdio.h: Update #endif comments.
16875 [__USE_MISC]: Remove redundant conditionals.
16876 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16877 * libio/stdio.h: Update #endif comments.
16878 [__USE_MISC]: Remove redundant conditionals.
16879 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16880 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16881 * math/math.h: Update #else and #endif comments.
16882 [__USE_MISC]: Remove redundant conditionals.
16883 * misc/sys/uio.h: Update #endif comments.
16884 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16885 * posix/glob.h [__USE_MISC]: Likewise.
16886 * posix/sys/types.h: Update #endif comments.
16887 [__USE_MISC]: Remove redundant conditionals.
16888 * posix/sys/wait.h: Update #endif comments.
16889 [__USE_MISC]: Remove redundant conditionals.
16890 * posix/unistd.h: Update #endif comments.
16891 [__USE_MISC]: Remove redundant conditionals.
16892 * pwd/pwd.h [__USE_GNU]: Likewise.
16893 [__USE_MISC]: Likewise.
16894 * resolv/netdb.h [__USE_GNU]: Likewise.
16895 * signal/signal.h: Update #endif comments.
16896 [__USE_MISC]: Remove redundant conditionals.
16897 * stdlib/stdlib.h: Update #else and #endif comments.
16898 [__USE_MISC]: Remove redundant conditionals.
16899 [__USE_GNU]: Likewise.
16900 * string/bits/string2.h [__USE_MISC]: Likewise.
16901 * string/string.h: Update #endif comments.
16902 [__USE_MISC]: Remove redundant conditionals.
16903 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16905 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16906 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16907 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16909 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16911 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16913 [__USE_MISC]: Remove redundant conditionals.
16914 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16915 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16916 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16917 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16918 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16920 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16921 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16923 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16924 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16926 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16928 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16929 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16931 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16933 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16934 * sysdeps/x86/bits/string.h: Update #endif comments.
16935 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16937 * time/sys/time.h: Update #endif comments.
16938 * time/time.h: Likewise.
16939 [__USE_MISC]: Remove redundant conditionals.
16941 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16944 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16946 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16948 * Versions.def (librt): Add GLIBC_2.17.
16950 2014-02-21 Adam Conrad <adconrad@0c3.net>
16952 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16953 synonym for _SYS_AUXV_H to allow direct inclusion.
16954 * sysdeps/sparc/bits/hwcap.h: Likewise.
16955 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16956 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16957 * sysdeps/sparc/sysdep.h: Likewise.
16959 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16961 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16963 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16965 * benchtests/bench-strrchr.c: Print length instead of position.
16967 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16970 * sysdeps/unix/sysv/linux/kernel-features.h
16971 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16972 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16973 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16974 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16976 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16977 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16978 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16979 (__ASSUME_SENDMMSG): Define instead of using previous
16980 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16981 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16982 (__ASSUME_SENDMMSG_SYSCALL): Define.
16983 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16984 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16986 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16987 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16989 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16990 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16992 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16993 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16994 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16995 [__ASSUME_SENDMMSG]: Change conditionals to
16996 [__ASSUME_SENDMMSG_SOCKETCALL].
16997 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16998 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17000 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17001 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17003 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17004 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17005 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17006 [!__ASSUME_SENDMMSG]: Change conditional to
17007 [!__ASSUME_SENDMMSG_SOCKETCALL].
17008 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17009 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17013 * sysdeps/unix/sysv/linux/kernel-features.h
17014 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17015 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17016 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17017 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17018 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17019 [__i386__ || __sparc__]
17020 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17021 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17022 (__ASSUME_RECVMMSG): Define instead of using previous
17023 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17024 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17025 (__ASSUME_RECVMMSG_SYSCALL): Define.
17026 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17027 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17029 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17030 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17032 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17033 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17035 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17036 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17037 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17038 [__ASSUME_RECVMMSG]: Change condition to
17039 [__ASSUME_RECVMMSG_SOCKETCALL].
17040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17041 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17043 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17044 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17045 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17047 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17048 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17049 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17050 [!__ASSUME_RECVMMSG]: Change condition to
17051 [!__ASSUME_RECVMMSG_SOCKETCALL].
17052 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17053 (__ASSUME_RECVMMSG_SYSCALL): Define.
17056 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17057 __powerpc__ || __s390__ || __sh__ || __sparc__]
17058 (__ASSUME_SOCKETCALL): Define.
17059 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17060 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17061 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17062 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17063 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17064 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17065 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17066 (__ASSUME_ACCEPT4): Define instead of using previous
17067 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17068 __powerpc__ || __sparc__ || __s390__)] condition.
17069 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17070 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17071 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17072 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17073 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17074 [!__ASSUME_ACCEPT4]: Change condition to
17075 [!__ASSUME_ACCEPT4_SOCKETCALL].
17076 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17077 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17078 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17079 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17080 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17081 __ASSUME_ACCEPT4_SYSCALL.
17082 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17083 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17084 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17085 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17086 __ASSUME_ACCEPT4_SYSCALL.
17087 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17088 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17089 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17090 [__ASSUME_ACCEPT4]: Change condition to
17091 [__ASSUME_ACCEPT4_SOCKETCALL].
17092 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17093 (__ASSUME_SOCKETCALL): Define.
17094 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17095 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17096 (__ASSUME_SOCKETCALL): Define.
17097 (__ASSUME_ACCEPT4): Remove.
17098 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17100 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17101 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17103 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17104 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17106 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17108 (HWCAP_ARM_LPAE): Likewise.
17109 (HWCAP_ARM_EVTSTRM): Likewise.
17110 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17111 Add vpfd32, lpae and evtstrm.
17112 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17115 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17117 * math/auto-libm-test-in: Add tests of clog10.
17118 * math/auto-libm-test-out: Regenerated.
17119 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17120 * sysdeps/i386/fpu/libm-test-ulps: Update.
17121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17123 2014-02-18 Andreas Schwab <schwab@suse.de>
17126 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17127 Store non-zero if the second buffer was newly allocated.
17128 (send_dg): Likewise.
17129 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17130 to send_vc and send_dg.
17131 (res_nsend): Pass NULL for ansp2_malloced.
17132 * resolv/res_query.c (__libc_res_nquery): Add parameter
17133 answerp2_malloced and pass it down to __libc_res_nsend.
17134 (res_nquery): Pass additional NULL to __libc_res_nquery.
17135 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17136 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17137 second answer buffer if answerp2_malloced was set.
17138 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17139 (__libc_res_nquerydomain): Add parameter
17140 answerp2_malloced and pass it down to __libc_res_nquery.
17141 (res_nquerydomain): Pass additional NULL to
17142 __libc_res_nquerydomain.
17143 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17144 additional NULL to __libc_res_nsend and __libc_res_nquery.
17145 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17146 additional NULL to __libc_res_nsearch.
17147 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17148 parameter of __libc_res_nsearch to check for separately allocated
17150 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17152 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17153 additional NULL to __libc_res_nquery.
17154 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17155 __libc_res_nsearch.
17156 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17157 * include/resolv.h: Update prototypes of __libc_res_nquery,
17158 __libc_res_nsearch, __libc_res_nsend.
17160 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17162 * math/auto-libm-test-in: Add tests of fma.
17163 * math/auto-libm-test-out: Regenerated.
17164 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17165 (fma_towardzero_test_data): Likewise.
17166 (fma_downward_test_data): Likewise.
17167 (fma_upward_test_data): Likewise.
17168 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17170 (rounding_modes): Add values for new field.
17171 (func_calc_method): Add value mpfr_fff_f.
17172 (func_calc_desc): Add mpfr_fff_f union field.
17173 (test_function): Add field exact_args.
17174 (FUNC): Add macro argument EXACT_ARGS.
17175 (FUNC_mpfr_f_f): Update call to FUNC.
17176 (FUNC_mpfr_f_f): Likewise.
17177 (FUNC_mpfr_ff_f): Likewise.
17178 (FUNC_mpfr_if_f): Likewise.
17179 (FUNC_mpc_c_f): Likewise.
17180 (FUNC_mpc_c_c): Likewise.
17181 (test_functions): Add fma. Update calls to FUNC.
17182 (handle_input_arg): Add argument exact_args.
17183 (add_test): Update call to handle_input_arg.
17184 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17185 (output_for_one_input_case): Update call to calc_generic_results.
17186 Recalculate exact zero results in each rounding mode.
17188 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17189 non-negative before setting low bit.
17190 * math/auto-libm-test-in: Mark one asin test possibly having
17191 spurious underflow.
17192 * math/auto-libm-test-out: Regenerated.
17193 * sysdeps/i386/fpu/libm-test-ulps: Update.
17194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17196 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17198 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17199 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17200 ports/sysdeps/unix/sysv/linux/microblaze.
17201 * README: Add missing listing for microblaze*-*-linux-gnu.
17203 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17205 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17208 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17210 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17211 * sysdeps/unix/sysv/linux/ia64: Move directory from
17212 ports/sysdeps/unix/sysv/linux/ia64.
17213 * README: Update listing for ia64-*-linux-gnu.
17215 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17216 Joseph Myers <joseph@codesourcery.com>
17218 * Makeconfig (test-name): New variable.
17219 (evaluate-test): Likewise.
17220 * Makerules (do-test-clean): Remove .test-result files.
17221 (common-mostlyclean): Likewise.
17222 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17223 * scripts/evaluate-test.sh: New file.
17225 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17227 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17228 separate $(objpfx)tst-fopenloc-cmp.out and
17229 $(objpfx)tst-fopenloc-mem.out targets.
17230 (tests): Update dependencies.
17231 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17232 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17233 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17234 (tst-rxspencer-no-utf8-ARGS): New variable.
17235 (tst-rxspencer-no-utf8-ENV): Likewise.
17236 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17237 instead of $(objpfx)tst-rxspencer-mem.
17238 ($(objpfx)tst-rxspencer-mem): Change target to
17239 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17240 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17241 * posix/tst-rxspencer-no-utf8.c: New file.
17243 * elf/Makefile ($(objpfx)order.out): Remove rule.
17244 [$(run-built-tests) = yes] (tests): Depend on
17245 $(objpfx)order-cmp.out.
17246 ($(objpfx)order-cmp.out): New rule.
17247 [$(run-built-tests) = yes] (tests): Depend on
17248 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17249 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17250 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17251 $(objpfx)tst-array5-static-cmp.out.
17252 ($(objpfx)tst-array1.out): Remove rule.
17253 ($(objpfx)tst-array1-cmp.out): New rule.
17254 ($(objpfx)tst-array1-static.out): Remove rule.
17255 ($(objpfx)tst-array1-static-cmp.out): New rule.
17256 ($(objpfx)tst-array2.out): Remove rule.
17257 ($(objpfx)tst-array2-cmp.out): New rule.
17258 ($(objpfx)tst-array3.out): Remove rule.
17259 ($(objpfx)tst-array3-cmp.out): New rule.
17260 ($(objpfx)tst-array4.out): Remove rule.
17261 ($(objpfx)tst-array4-cmp.out): New rule.
17262 ($(objpfx)tst-array5.out): Remove rule.
17263 ($(objpfx)tst-array5-cmp.out): New rule.
17264 ($(objpfx)tst-array5-static.out): Remove rule.
17265 ($(objpfx)tst-array5-static-cmp.out): New rule.
17266 [$(run-built-tests) = yes] (tests): Depend on
17267 $(objpfx)order2-cmp.out.
17268 ($(objpfx)order2.out): Remove rule.
17269 ($(objpfx)order2-cmp.out): New rule.
17270 ($(objpfx)tst-initorder.out): Remove rule.
17271 [$(run-built-tests) = yes] (tests): Depend on
17272 $(objpfx)tst-initorder-cmp.out.
17273 ($(objpfx)tst-initorder-cmp.out): New rule.
17274 ($(objpfx)tst-initorder2.out): Remove rule.
17275 [$(run-built-tests) = yes] (tests): Depend on
17276 $(objpfx)tst-initorder2-cmp.out.
17277 ($(objpfx)tst-initorder2-cmp.out): New rule.
17278 [$(run-built-tests) = yes] (tests): Depend on
17279 $(objpfx)tst-unused-dep-cmp.out.
17280 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17281 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17282 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17283 on $(objpfx)tst-setvbuf1-cmp.out.
17284 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17285 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17286 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17287 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17288 ($(objpfx)tst-svc.out): Remove rule.
17289 ($(objpfx)tst-svc-cmp.out): New rule.
17291 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17293 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17294 * ctype/ctype.h [__USE_MISC]: Likewise.
17295 * dirent/dirent.h [__USE_MISC]: Likewise.
17296 * grp/grp.h [__USE_MISC]: Likewise.
17297 * io/fcntl.h [__USE_MISC]: Likewise.
17298 * io/sys/stat.h [__USE_MISC]: Likewise.
17299 * libio/stdio.h [__USE_MISC]: Likewise.
17300 * posix/unistd.h [__USE_MISC]: Likewise.
17301 * pwd/pwd.h [__USE_MISC]: Likewise.
17302 * stdlib.h [__USE_MISC]: Likewise.
17303 * string/bits/string2.h [__USE_MISC]: Likewise.
17304 * string/string.h [__USE_MISC]: Likewise.
17305 * time/time.h [__USE_MISC]: Likewise.
17307 2014-02-13 Andreas Schwab <schwab@suse.de>
17310 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17311 second answer buffer if it was separately allocated.
17313 2014-02-12 Joseph Myers <joseph@codesourcery.com>
17315 * sysdeps/mips/math-tests.h: Include <features.h>.
17316 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17317 (ROUNDING_TESTS_long_double): Do not define.
17318 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17319 (EXCEPTION_TESTS_long_double): Likewise.
17320 * sysdeps/mips/mips64/libm-test-ulps: Update.
17322 * include/features.h (__USE_BSD): Remove macro definitions.
17323 (__USE_SVID): Likewise.
17324 (_BSD_SOURCE): Likewise.
17325 (_SVID_SOURCE): Likewise.
17326 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17327 from definition of _DEFAULT_SOURCE.
17328 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17330 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17331 * bits/mman.h [__USE_BSD]: Likewise.
17332 * bits/termios.h [__USE_BSD]: Likewise.
17333 * bits/waitstatus.h [__USE_BSD]: Likewise.
17334 * ctype/ctype.h [__USE_SVID]: Likewise.
17335 * dirent/dirent.h [__USE_BSD]: Likewise.
17336 * grp/grp.h [__USE_SVID]: Likewise.
17337 [__USE_BSD]: Likewise.
17338 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17339 * io/fcntl.h [__USE_BSD]: Likewise.
17340 * io/ftw.h [__USE_BSD]: Likewise.
17341 * io/sys/stat.h [__USE_BSD]: Likewise.
17342 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17343 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17344 * libio/stdio.h [__USE_SVID]: Likewise.
17345 [__USE_BSD]: Likewise.
17346 * math/math.h [__USE_SVID]: Likewise.
17347 [__USE_BSD]: Likewise.
17348 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17349 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17350 * misc/search.h [__USE_SVID]: Likewise.
17351 * misc/sys/mman.h [__USE_BSD]: Likewise.
17352 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17353 * misc/sys/uio.h [__USE_BSD]: Likewise.
17354 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17355 * posix/glob.h [__USE_BSD]: Likewise.
17356 * posix/regex.h [__USE_BSD]: Likewise.
17357 * posix/sys/types.h [__USE_BSD]: Likewise.
17358 [__USE_SVID]: Likewise.
17359 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17360 * posix/sys/wait.h [__USE_BSD]: Likewise.
17361 [__USE_SVID]: Likewise.
17362 * posix/unistd.h [__USE_BSD]: Likewise.
17363 [__USE_SVID]: Likewise.
17364 * pwd/pwd.h [__USE_SVID]: Likewise.
17365 * resolv/netdb.h [__USE_BSD]: Likewise.
17366 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17367 * signal/signal.h [__USE_BSD]: Likewise.
17368 [__USE_SVID]: Likewise.
17369 * socket/sys/socket.h [__USE_BSD]: Likewise.
17370 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17371 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17372 [__USE_SVID]: Likewise.
17373 * string/bits/string2.h [__USE_BSD]: Likewise.
17374 [__USE_SVID]: Likewise.
17375 * string/bits/string3.h [__USE_BSD]: Likewise.
17376 * string/endian.h [__USE_BSD]: Likewise.
17377 * string/string.h [__USE_SVID]: Likewise.
17378 [__USE_BSD]: Likewise.
17379 * string/strings.h [__USE_BSD]: Likewise.
17380 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17381 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17382 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17383 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17384 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17385 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17387 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17389 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17390 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17392 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17393 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17395 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17397 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17398 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17399 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17401 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17403 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17404 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17405 * termios/termios.h [__USE_BSD]: Likewise.
17406 * time/sys/time.h [__USE_BSD]: Likewise.
17407 * time/time.h [__USE_BSD]: Likewise.
17408 [__USE_SVID]: Likewise.
17410 * Makefile (subdir_targets): Remove subdir_lint.out.
17412 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17413 (do-tst-printf): Likewise.
17414 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17415 $(objpfx)tst-printf.out.
17417 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17419 * Makerules (check-abi-%): Change target to
17420 $(objpfx)check-abi-%.out.
17421 (check-abi target): Update dependencies.
17422 (check-abi-pattern variable): Redirect output of diff to $@.
17423 (check-abi variable): Likewise.
17424 * elf/Makefile (check-abi): Update dependencies.
17426 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17428 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17429 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17431 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17432 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17433 value has largest subnormal exponent.
17434 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17435 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17436 * sysdeps/aarch64/soft-fp/sfp-machine.h
17437 (_FP_TININESS_AFTER_ROUNDING): New macro.
17438 * sysdeps/alpha/soft-fp/sfp-machine.h
17439 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17440 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17442 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17443 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17444 * sysdeps/mips/soft-fp/sfp-machine.h
17445 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17446 * sysdeps/powerpc/soft-fp/sfp-machine.h
17447 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17448 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17450 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17451 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17452 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17453 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17454 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17457 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
17460 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17463 2014-02-12 Richard Henderson <rth@redhat.com>
17465 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17466 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17467 * sysdeps/unix/sysv/linux/alpha: Move directory from
17468 ports/sysdeps/unix/sysv/linux/alpha.
17469 * README: Update listing for alpha-*-linux-gnu.
17471 2014-02-11 Joseph Myers <joseph@codesourcery.com>
17473 * include/features.h: Update comment documenting feature test
17475 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17477 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17478 (_SVID_SOURCE): Likewise.
17479 (_DEFAULT_SOURCE): Update description of default features.
17480 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17482 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17483 (S_ISVTX): Likewise.
17484 * manual/math.texi (Mathematical Constants): Likewise.
17485 * manual/signal.texi (Interrupted Primitives): Likewise.
17486 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17487 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17488 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17489 Don't refer to _SVID_SOURCE in warning text.
17491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17493 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17495 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17496 * sysdeps/mips/dl-lookup.c: Remove.
17497 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17499 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17502 * math/auto-libm-test-in: Add testcase for expl.
17503 * math/auto-libm-test-out: Regenerate.
17504 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17505 calculation of unsafe.
17506 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17508 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17510 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17511 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17512 ports/sysdeps/unix/sysv/linux/aarch64.
17513 * README: Update listing for aarch64*-*-linux-gnu.
17515 2014-02-11 Will Newton <will.newton@linaro.org>
17517 * manual/probes.texi (Mathematical Function Probes): Use
17518 "triggered" instead of "hit".
17520 * manual/probes.texi (Internal Probes): Add documentation
17521 of setjmp, longjmp and longjmp_target probes.
17523 * include/stap-probe.h: Add comment about probe argument
17526 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17527 definition. (tr_where, tr_freehook, tr_mallochook,
17528 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17530 2014-02-11 David S. Miller <davem@davemloft.net>
17532 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17533 processing int_tests.
17535 2014-02-10 Joseph Myers <joseph@codesourcery.com>
17537 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17538 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17539 * sysdeps/unix/sysv/linux/mips: Move directory from
17540 ports/sysdeps/unix/sysv/linux/mips.
17541 * README: Update listing for mips-*-linux-gnu and
17542 mips64-*-linux-gnu.
17544 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17546 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17547 * sysdeps/unix/sysv/linux/m68k: Move directory from
17548 ports/sysdeps/unix/sysv/linux/m68k.
17549 * README: Update listing for m68k-*-linux-gnu.
17551 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17553 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17554 * sysdeps/unix/sysv/linux/generic: Move directory from
17555 ports/sysdeps/unix/sysv/linux/generic.
17556 * sysdeps/unix/sysv/linux/tile: Move directory from
17557 ports/sysdeps/unix/sysv/linux/tile.
17558 * README: Update listing for tile*-*-linux-gnu.
17560 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
17562 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17564 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17565 * catgets/open_catalog.c (__open_catalog): Likewise.
17566 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17567 * debug/confstr_chk.c: Likewise.
17568 * debug/fread_chk.c (__fread_chk): Likewise.
17569 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17570 * debug/getgroups_chk.c: Likewise.
17571 * debug/mbsnrtowcs_chk.c: Likewise.
17572 * debug/mbsrtowcs_chk.c: Likewise.
17573 * debug/mbstowcs_chk.c: Likewise.
17574 * debug/memcpy_chk.c: Likewise.
17575 * debug/memmove_chk.c: Likewise.
17576 * debug/mempcpy_chk.c: Likewise.
17577 * debug/memset_chk.c: Likewise.
17578 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17579 * debug/strcat_chk.c (__strcat_chk): Likewise.
17580 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17581 * debug/strncat_chk.c (__strncat_chk): Likewise.
17582 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17583 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17584 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17585 * debug/wcpncpy_chk.c: Likewise.
17586 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17587 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17588 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17589 * debug/wcsncpy_chk.c: Likewise.
17590 * debug/wcsnrtombs_chk.c: Likewise.
17591 * debug/wcsrtombs_chk.c: Likewise.
17592 * debug/wcstombs_chk.c: Likewise.
17593 * debug/wmemcpy_chk.c: Likewise.
17594 * debug/wmemmove_chk.c: Likewise.
17595 * debug/wmempcpy_chk.c: Likewise.
17596 * debug/wmemset_chk.c: Likewise.
17597 * dirent/scandirat.c (SCANDIRAT): Likewise.
17598 * dlfcn/dladdr1.c (dladdr1): Likewise.
17599 * dlfcn/dladdr.c (dladdr): Likewise.
17600 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17601 * dlfcn/dlerror.c (__dlerror): Likewise.
17602 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17603 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17604 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17605 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17606 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17607 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17608 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17609 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17611 * elf/dl-conflict.c: Likewise.
17612 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17613 * elf/dl-dst.h: Likewise.
17614 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17615 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17616 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17617 * elf/dl-init.c (call_init, _dl_init): Likewise.
17618 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17619 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17620 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17622 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17624 * elf/dl-minimal.c (__libc_memalign): Likewise.
17625 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17626 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17627 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17628 * elf/dl-sym.c (do_sym): Likewise.
17629 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17630 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17631 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17632 * elf/dl-writev.h (_dl_writev): Likewise.
17633 * elf/ldconfig.c (search_dir): Likewise.
17634 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17635 (dl_main): Likewise.
17636 * elf/setup-vdso.h (setup_vdso): Likewise.
17637 * grp/compat-initgroups.c (compat_call): Likewise.
17638 * grp/fgetgrent.c (fgetgrent): Likewise.
17639 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17640 * grp/putgrent.c (putgrent): Likewise.
17641 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17643 * hurd/hurdinit.c: Likewise.
17644 * iconvdata/8bit-gap.c (struct): Likewise.
17645 * iconvdata/ansi_x3.110.c : Likewise.
17646 * iconvdata/big5.c : Likewise.
17647 * iconvdata/big5hkscs.c : Likewise.
17648 * iconvdata/cp1255.c: Likewise.
17649 * iconvdata/cp1258.c : Likewise.
17650 * iconvdata/cp932.c : Likewise.
17651 * iconvdata/euc-cn.c: Likewise.
17652 * iconvdata/euc-jisx0213.c : Likewise.
17653 * iconvdata/euc-jp.c: Likewise.
17654 * iconvdata/euc-jp-ms.c : Likewise.
17655 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17656 * iconvdata/gb18030.c : Likewise.
17657 * iconvdata/gbbig5.c (const): Likewise.
17658 * iconvdata/gbgbk.c: Likewise.
17659 * iconvdata/gbk.c : Likewise.
17660 * iconvdata/ibm1364.c : Likewise.
17661 * iconvdata/ibm930.c : Likewise.
17662 * iconvdata/ibm932.c: Likewise.
17663 * iconvdata/ibm933.c : Likewise.
17664 * iconvdata/ibm935.c : Likewise.
17665 * iconvdata/ibm937.c : Likewise.
17666 * iconvdata/ibm939.c : Likewise.
17667 * iconvdata/ibm943.c: Likewise.
17668 * iconvdata/iso_11548-1.c: Likewise.
17669 * iconvdata/iso-2022-cn.c : Likewise.
17670 * iconvdata/iso-2022-cn-ext.c : Likewise.
17671 * iconvdata/iso-2022-jp-3.c: Likewise.
17672 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17673 * iconvdata/iso-2022-kr.c : Likewise.
17674 * iconvdata/iso646.c (gconv_end): Likewise.
17675 * iconvdata/iso_6937-2.c : Likewise.
17676 * iconvdata/iso_6937.c : Likewise.
17677 * iconvdata/iso8859-1.c: Likewise.
17678 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17679 * iconvdata/shift_jisx0213.c : Likewise.
17680 * iconvdata/sjis.c : Likewise.
17681 * iconvdata/t.61.c : Likewise.
17682 * iconvdata/tcvn5712-1.c : Likewise.
17683 * iconvdata/tscii.c: Likewise.
17684 * iconvdata/uhc.c : Likewise.
17685 * iconvdata/unicode.c (gconv_end): Likewise.
17686 * iconvdata/utf-16.c (gconv_end): Likewise.
17687 * iconvdata/utf-32.c (gconv_end): Likewise.
17688 * iconvdata/utf-7.c (base64): Likewise.
17689 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17690 * iconv/gconv_close.c (__gconv_close): Likewise.
17691 * iconv/gconv_open.c (__gconv_open): Likewise.
17692 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17693 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17694 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17695 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17696 (ucs4le_internal_loop_single): Likewise.
17697 * iconv/iconv.c (iconv): Likewise.
17698 * iconv/iconv_close.c: Likewise.
17699 * iconv/loop.c (SINGLE): Likewise.
17700 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17701 * include/atomic.h: Likewise.
17702 * inet/inet6_option.c (option_alloc): Likewise.
17703 * intl/bindtextdom.c (set_binding_values): Likewise.
17704 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17705 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17706 * intl/localealias.c (read_alias_file): Likewise.
17707 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17708 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17709 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17710 * libio/fmemopen.c (fmemopen): Likewise.
17711 * libio/iofgets.c (_IO_fgets): Likewise.
17712 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17713 * libio/iofgetws.c (fgetws): Likewise.
17714 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17715 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17716 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17717 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17718 * locale/findlocale.c (_nl_find_locale): Likewise.
17719 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17720 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17722 * locale/setlocale.c (setlocale): Likewise.
17723 * login/programs/pt_chown.c (main): Likewise.
17724 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17725 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17726 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17727 (mmap, mmap64, mremap, munmap): Likewise.
17728 * math/e_exp2l.c: Likewise.
17729 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17730 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17731 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17732 * math/s_catan.c (__catan): Likewise.
17733 * math/s_catanf.c (__catanf): Likewise.
17734 * math/s_catanh.c (__catanh): Likewise.
17735 * math/s_catanhf.c (__catanhf): Likewise.
17736 * math/s_catanhl.c (__catanhl): Likewise.
17737 * math/s_catanl.c (__catanl): Likewise.
17738 * math/s_ccosh.c (__ccosh): Likewise.
17739 * math/s_ccoshf.c (__ccoshf): Likewise.
17740 * math/s_ccoshl.c (__ccoshl): Likewise.
17741 * math/s_cexp.c (__cexp): Likewise.
17742 * math/s_cexpf.c (__cexpf): Likewise.
17743 * math/s_cexpl.c (__cexpl): Likewise.
17744 * math/s_clog10.c (__clog10): Likewise.
17745 * math/s_clog10f.c (__clog10f): Likewise.
17746 * math/s_clog10l.c (__clog10l): Likewise.
17747 * math/s_clog.c (__clog): Likewise.
17748 * math/s_clogf.c (__clogf): Likewise.
17749 * math/s_clogl.c (__clogl): Likewise.
17750 * math/s_csin.c (__csin): Likewise.
17751 * math/s_csinf.c (__csinf): Likewise.
17752 * math/s_csinh.c (__csinh): Likewise.
17753 * math/s_csinhf.c (__csinhf): Likewise.
17754 * math/s_csinhl.c (__csinhl): Likewise.
17755 * math/s_csinl.c (__csinl): Likewise.
17756 * math/s_csqrt.c (__csqrt): Likewise.
17757 * math/s_csqrtf.c (__csqrtf): Likewise.
17758 * math/s_csqrtl.c (__csqrtl): Likewise.
17759 * math/s_ctan.c (__ctan): Likewise.
17760 * math/s_ctanf.c (__ctanf): Likewise.
17761 * math/s_ctanh.c (__ctanh): Likewise.
17762 * math/s_ctanhf.c (__ctanhf): Likewise.
17763 * math/s_ctanhl.c (__ctanhl): Likewise.
17764 * math/s_ctanl.c (__ctanl): Likewise.
17765 * math/w_pow.c: Likewise.
17766 * math/w_powf.c: Likewise.
17767 * math/w_powl.c: Likewise.
17768 * math/w_scalb.c (sysv_scalb): Likewise.
17769 * math/w_scalbf.c (sysv_scalbf): Likewise.
17770 * math/w_scalbl.c (sysv_scalbl): Likewise.
17771 * misc/error.c (error_tail): Likewise.
17772 * misc/pselect.c (__pselect): Likewise.
17773 * nis/nis_callback.c (__nis_create_callback): Likewise.
17774 * nis/nis_call.c (__nisfind_server): Likewise.
17775 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17776 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17777 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17778 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17779 * nis/nis_lookup.c (nis_lookup): Likewise.
17780 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17781 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17782 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17783 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17784 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17785 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17786 * nis/nss_compat/compat-initgroups.c (add_group)
17787 (internal_getgrent_r): Likewise.
17788 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17789 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17790 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17791 (internal_getspnam_r): Likewise.
17792 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17793 (_nss_nis_getaliasbyname_r): Likewise.
17794 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17795 (_nss_nis_getntohost_r): Likewise.
17796 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17797 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17798 (_nss_nis_getgrgid_r): Likewise.
17799 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17800 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17801 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17802 (_nss_nis_gethostbyname4_r): Likewise.
17803 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17804 (initgroups_netid): Likewise.
17805 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17806 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17807 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17808 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17809 (_nss_nis_getprotobynumber_r): Likewise.
17810 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17811 (_nss_nis_getsecretkey): Likewise.
17812 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17813 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17814 (_nss_nis_getpwuid_r): Likewise.
17815 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17816 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17817 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17818 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17819 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17820 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17821 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17823 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17824 (_nss_nisplus_getntohost_r): Likewise.
17825 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17826 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17827 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17828 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17830 * nis/nss_nisplus/nisplus-initgroups.c
17831 (_nss_nisplus_initgroups_dyn): Likewise.
17832 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17833 (_nss_nisplus_getnetbyaddr_r): Likewise.
17834 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17835 (_nss_nisplus_getprotobynumber_r): Likewise.
17836 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17837 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17838 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17840 * nis/nss_nisplus/nisplus-service.c
17841 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17842 (_nss_nisplus_getservbyport_r): Likewise.
17843 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17844 (_nss_nisplus_getspnam_r): Likewise.
17845 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17847 * nscd/aicache.c (addhstaiX): Likewise.
17848 * nscd/cache.c (cache_search, prune_cache): Likewise.
17849 * nscd/connections.c (register_traced_file, send_ro_fd)
17850 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17851 (main_loop_epoll): Likewise.
17852 * nscd/grpcache.c (addgrbyX): Likewise.
17853 * nscd/hstcache.c (addhstbyX): Likewise.
17854 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17855 * nscd/mem.c (gc, mempool_alloc): Likewise.
17856 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17857 (addinnetgrX): Likewise.
17858 * nscd/nscd-client.h (__nscd_acquire_maplock)
17859 (__nscd_drop_map_ref): Likewise.
17860 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17861 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17862 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17864 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17865 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17866 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17867 (__nscd_get_map_ref): Likewise.
17868 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17869 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17871 * nscd/pwdcache.c (addpwbyX): Likewise.
17872 * nscd/selinux.c (preserve_capabilities): Likewise.
17873 * nscd/servicescache.c (addservbyX): Likewise.
17874 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17875 * posix/fnmatch.c (fnmatch): Likewise.
17876 * posix/getopt.c (_getopt_internal_r): Likewise.
17877 * posix/glob.c (glob, glob_in_dir): Likewise.
17878 * posix/wordexp.c (exec_comm_child): Likewise.
17879 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17880 (getanswer_r, gaih_getanswer_slice): Likewise.
17881 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17882 * resolv/res_init.c: Likewise.
17883 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17884 * resolv/res_query.c (__libc_res_nquery): Likewise.
17885 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17887 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17888 * stdio-common/perror.c (perror): Likewise.
17889 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17890 * stdio-common/tmpnam.c (tmpnam): Likewise.
17891 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17892 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17893 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17895 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17896 * stdlib/putenv.c (putenv): Likewise.
17897 * stdlib/setenv.c (__add_to_environ): Likewise.
17898 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17899 * stdlib/strtol_l.c (INTERNAL): Likewise.
17900 * string/memmem.c (memmem): Likewise.
17901 * string/strerror.c (strerror): Likewise.
17902 * string/strnlen.c (__strnlen): Likewise.
17903 * string/test-memmem.c (simple_memmem): Likewise.
17904 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17905 * sunrpc/pm_getport.c (__get_socket): Likewise.
17906 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17907 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17908 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17909 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17911 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17912 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17913 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17914 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17915 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17916 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17918 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17920 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17921 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17922 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17923 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17924 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17926 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17927 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17928 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17929 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17930 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17931 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17935 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17937 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17939 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17940 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17941 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17942 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17943 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17944 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17945 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17946 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17947 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17948 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17949 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17950 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17952 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17954 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17956 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17958 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17960 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17961 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17962 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17964 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17965 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17966 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17967 * sysdeps/posix/sleep.c: Likewise.
17968 * sysdeps/posix/tempname.c: Likewise.
17969 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17970 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17972 * sysdeps/powerpc/powerpc32/dl-machine.h
17973 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17974 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17975 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17976 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17977 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17979 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17980 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17981 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17982 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17983 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17984 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17985 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17986 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17987 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17988 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17989 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17990 (elf_machine_lazy_rel): Likewise.
17991 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17992 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17993 (elf_machine_lazy_rel): Likewise.
17994 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17995 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17996 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17997 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17998 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17999 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18000 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18003 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18004 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18005 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18006 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18007 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18008 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18009 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18010 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18011 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18012 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18013 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18015 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18016 (__posix_fallocate64_l64): Likewise.
18017 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18018 (posix_fallocate): Likewise.
18019 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18021 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18022 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18023 (getifaddrs_internal): Likewise.
18024 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18025 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18026 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18027 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18028 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18029 (__posix_fallocate64_l64): Likewise.
18030 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18032 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18033 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18034 (__get_clockfreq): Likewise.
18035 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18036 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18037 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18038 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18040 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18041 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18042 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18044 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18045 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18046 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18047 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18048 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18049 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18050 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18052 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18053 (posix_fallocate): Likewise.
18054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18055 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18056 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18057 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18058 (elf_machine_rela, elf_machine_rela_relative)
18059 (elf_machine_lazy_rel): Likewise.
18060 * time/asctime.c (asctime_internal): Likewise.
18061 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18062 * time/tzset.c (__tzset_parse_tz): Likewise.
18063 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18064 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18065 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18066 * wcsmbs/wcsmbsload.h: Likewise.
18069 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18071 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18072 (arena_get2): Remove THREAD_STATS conditionals.
18073 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18074 (__malloc_stats, int): Likewise.
18076 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18078 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18079 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18081 * manual/setjmp.texi: Fix typos/grammar errors.
18083 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18084 Only return early when n is <= 0. Delete unused return statement.
18086 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18087 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18088 * debug/tst-longjmp_chk3.c: New file.
18090 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18091 (test_main): Replace code with set_fortify_handler call.
18092 * debug/test-strcpy_chk.c: Likewise.
18093 * debug/tst-chk1.c: Likewise.
18094 * debug/tst-longjmp_chk.c: Likewise.
18095 * test-skeleton.c: Include fcntl.h & paths.h
18096 (set_fortify_handler): Define.
18098 * debug/tst-longjmp_chk.c: Add header comment and include
18099 ../test-skeleton.c.
18100 (do_test): Mark static.
18101 (TEST_FUNCTION): Define.
18103 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18104 (IP_PMTUDISC_INTERFACE): Likewise.
18105 (IP_MULTICAST_IF): Likewise.
18106 (IP_MULTICAST_TTL): Likewise.
18107 (IP_MULTICAST_LOOP): Likewise.
18108 (IP_ADD_MEMBERSHIP): Likewise.
18109 (IP_DROP_MEMBERSHIP): Likewise.
18110 (IP_UNBLOCK_SOURCE): Likewise.
18111 (IP_BLOCK_SOURCE): Likewise.
18112 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18113 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18114 (IP_MSFILTER): Likewise.
18115 (MCAST_JOIN_GROUP): Likewise.
18116 (MCAST_BLOCK_SOURCE): Likewise.
18117 (MCAST_UNBLOCK_SOURCE): Likewise.
18118 (MCAST_LEAVE_GROUP): Likewise.
18119 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18120 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18121 (MCAST_MSFILTER): Likewise.
18122 (IP_MULTICAST_ALL): Likewise.
18123 (IP_UNICAST_IF): Likewise.
18125 * timezone/Makefile: Delete $(have-ksh) check.
18126 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18127 * timezone/tzselect.ksh: Add +x mode bits.
18129 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18130 (ANON_INODE_FS_MAGIC): Likewise.
18131 (BDEVFS_MAGIC): Likewise.
18132 (BINFMTFS_MAGIC): Likewise.
18133 (BTRFS_TEST_MAGIC): Likewise.
18134 (CRAMFS_MAGIC_WEND): Likewise.
18135 (DEBUGFS_MAGIC): Likewise.
18136 (ECRYPTFS_SUPER_MAGIC): Likewise.
18137 (EXT3_SUPER_MAGIC): Likewise.
18138 (EXT4_SUPER_MAGIC): Likewise.
18139 (FUTEXFS_SUPER_MAGIC): Likewise.
18140 (HOSTFS_SUPER_MAGIC): Likewise.
18141 (HUGETLBFS_MAGIC): Likewise.
18142 (MINIX3_SUPER_MAGIC): Likewise.
18143 (MTD_INODE_FS_MAGIC): Likewise.
18144 (NILFS_SUPER_MAGIC): Likewise.
18145 (OPENPROM_SUPER_MAGIC): Likewise.
18146 (PIPEFS_MAGIC): Likewise.
18147 (PSTOREFS_MAGIC): Likewise.
18148 (QNX6_SUPER_MAGIC): Likewise.
18149 (RAMFS_MAGIC): Likewise.
18150 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18151 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18152 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18153 (SECURITYFS_MAGIC): Likewise.
18154 (SELINUX_MAGIC): Likewise.
18155 (SMACK_MAGIC): Likewise.
18156 (SOCKFS_MAGIC): Likewise.
18157 (SQUASHFS_MAGIC): Likewise.
18158 (STACK_END_MAGIC): Likewise.
18159 (TMPFS_MAGIC): Likewise.
18160 (USBDEVICE_SUPER_MAGIC): Likewise.
18161 (V9FS_MAGIC): Likewise.
18162 (XENFS_SUPER_MAGIC): Likewise.
18163 (CRAMFS_MAGIC): Fix typo in comment.
18164 (EXT2_SUPER_MAGIC): Update comment.
18165 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18167 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18169 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18170 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18171 * sysdeps/unix/sysv/linux/arm: Move directory from
18172 ports/sysdeps/unix/sysv/linux/arm.
18173 * README: Update listing for arm-*-linux-gnueabi.
18175 * README: Remove mention of am33.
18177 2014-02-07 Roland McGrath <roland@hack.frob.com>
18179 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18180 than the comma operator, to avoid "rhs of comma has no effect"
18182 (__sigfillset, __sigandset, __sigorset): Likewise.
18183 * include/signal.h (__sigemptyset): Likewise.
18184 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18186 2014-02-07 Allan McRae <allan@archlinux.org>
18188 * version.h (RELEASE): Set to "development".
18189 (VERSION): Set to "2.19.90"
18190 * NEWS: Add 2.20 section.
18192 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18195 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18197 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18199 * manual/contrib.texi: Update entry for Carlos O'Donell,
18200 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18202 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18204 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18206 * sysdeps/unix/sysv/linux/kernel-features.h
18207 [__LINUX_KERNEL_VERSION >= 0x020621]
18208 (__ASSUME_PROC_PID_TASK_COMM): Define.
18210 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18213 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18214 conversion when destination buffer does not have enough space.
18215 * libio/tst-ftell-partial-wide.c: New test case.
18216 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18218 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18219 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18220 Leonard and Allan McRae.
18222 2014-02-04 David S. Miller <davem@davemloft.net>
18224 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18227 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18256 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18258 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18259 * shlib-versions: Likewise.
18261 2014-02-04 Roland McGrath <roland@hack.frob.com>
18262 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18264 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18265 (abilist-pattern): New variable, set to %-le.abilist.
18267 * Makerules (abilist-pattern): New variable.
18268 (vpath): Use $(abilist-pattern) in place of %.abilist.
18269 (check-abi-% pattern rule): Likewise.
18270 (check-abi, update-abi): Likewise.
18272 2014-02-04 Eric Wong <normalperson@yhbt.net>
18274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18276 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18278 * manual/startup.texi: Add next, previous, and top entries for
18279 the `Program Arguments' and `Environment Variables' nodes.
18281 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18283 * manual/macros.texi: Add comments before MTASC-safety macros.
18285 * manual/users.texi: Document MTASC-safety properties.
18287 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18288 (pthread_getspecific, pthread_setspecific): Format with
18289 @deftypefun, and add @safety note.
18290 * manual/signal.texi: Move comments that analyze the above
18291 functions to their home place.
18293 2014-02-03 Allan McRae <allan@archlinux.org>
18295 * po/sl.po: Update Slovenian translation from translation project.
18297 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18299 * manual/time.texi (timegm): Add missing blank after @c.
18300 Reported by Joseph Myers <joseph@codesourcery.com>.
18302 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
18304 * manual/check-safety.sh: New.
18305 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18307 * manual/terminal.texi: Document MTASC-safety properties.
18309 * manual/filesys.texi: Document MTASC-safety properties.
18311 * manual/errno.texi: Document MTASC-safety properties.
18313 * manual/intro.texi: Document safety identifiers and
18316 * manual/string.texi (wcstok): Fix prototype.
18317 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18319 * manual/time.texi: Document MTASC-safety properties.
18321 * manual/string.texi: Document MTASC-safety properties.
18323 * manual/threads.texi: Document MTASC-safety properties.
18325 * manual/stdio.texi: Document MTASC-safety properties.
18327 * manual/syslog.texi: Document MTASC-safety properties.
18329 * manual/sysinfo.texi: Document MTASC-safety properties.
18331 * manual/startup.texi: Document MTASC-safety properties.
18333 * manual/socket.texi: Document MTASC-safety properties.
18335 * manual/signal.texi: Document MTASC-safety properties.
18337 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18339 * manual/setjmp.texi: Document MTASC-safety properties.
18341 * manual/search.texi: Document MTASC-safety properties.
18343 * manual/resource.texi: Document MTASC-safety properties.
18345 * manual/process.texi: Document MTASC-safety properties.
18347 * manual/platform.texi: Document MTASC-safety properties.
18349 * manual/pipe.texi: Document MTASC-safety properties.
18351 * manual/pattern.texi: Document MTASC-safety properties.
18353 * manual/message.texi: Document MTASC-safety properties.
18356 * manual/memory.texi: Document MTASC-safety properties.
18358 * manual/math.texi: Document MTASC-safety properties.
18360 * manual/locale.texi: Document MTASC-safety properties.
18362 * manual/llio.texi: Document MTASC-safety properties.
18364 * manual/libdl.texi: New.
18366 * manual/lang.texi: Document MTASC-safety properties.
18368 * manual/job.texi: Document MTASC-safety properties.
18370 * manual/getopt.texi: Document MTASC-safety properties.
18372 * manual/ctype.texi: Document MTASC-safety properties.
18374 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18377 * csu/libc-tls.c (static_map): Remove variable.
18378 (__libc_setup_tls): Use main executable's link map for TLS data.
18379 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18380 casing for LM_ID_BASE and GL(dl_nns).
18381 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18382 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18383 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18384 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18385 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18387 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18390 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
18392 * manual/debug.texi: Document MTASC-safety properties.
18394 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18397 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18398 of __x86_64__ when disabling x87 inline functions.
18400 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
18402 * manual/charset.texi: Document MTASC-safety properties.
18404 * manual/crypt.texi: Document MTASC-safety properties.
18406 * manual/conf.texi: Document MTASC-safety properties.
18408 * manual/arith.texi: Document MTASC-safety properties.
18410 * manual/argp.texi: Document MTASC-safety properties.
18412 * manual/macros.texi: Introduce macros to document multi
18413 thread, asynchronous signal and asynchronous cancellation
18415 * manual/intro.texi: Introduce the properties themselves.
18417 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18419 * sysdeps/sh/sh4/Makefile: New file.
18421 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18423 * math/gen-libm-test.pl ($srcdir): New variable.
18424 ($auto_input): Use it.
18426 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18429 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18430 access beyond array bounds when parsing netgroups file.
18432 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18433 the old buffer before realloc.
18435 2014-01-27 Allan McRae <allan@archlinux.org>
18437 * po/fr.po: Update French translation from translation project.
18439 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18441 * sysdeps/sh/libm-test-ulps: Regenerate.
18443 2014-01-24 David S. Miller <davem@davemloft.net>
18445 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18447 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18449 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18450 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18452 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18455 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18456 string pointers after reallocation.
18458 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18460 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18461 __SH4A__ instead of __SH_FPU_ANY__.
18463 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18465 * sysdeps/sh/fpu_control.h: New file.
18466 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18467 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18468 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18469 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18470 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18471 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18472 * sysdeps/sh/sys/ucontext.h: Remove.
18473 * sysdeps/sh/sys: Remove directory.
18475 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18477 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18478 s390/sys/ucontext.h.
18479 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18480 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18482 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18485 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18487 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18490 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18491 Adjust the vDSO correctly for internal calls.
18492 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18494 2014-01-20 Allan McRae <allan@archlinux.org>
18496 * po/ca.po: Update Catalan translation from translation project.
18498 2014-01-16 Mike Frysinger <vapier@gentoo.org>
18500 * sysdeps/s390/sotruss-lib.c: New file.
18502 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18505 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18506 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18507 local calls issues by not having a PLT stub required for IFUNC calls.
18508 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18510 2014-01-16 Joseph Myers <joseph@codesourcery.com>
18512 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18513 * math/test-fpucw-static.c: Likewise.
18515 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18518 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18520 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18522 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18523 implementation for powerpc.
18525 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
18528 * sysdeps/posix/system.c (__libc_system): Do not enable
18529 asynchronous cancellation.
18531 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18534 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18535 handling only for numbers special also in the IEEE case.
18537 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18539 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18541 2014-01-11 Allan McRae <allan@archlinux.org>
18543 * po/bg.po: Update Bulgarian translation from translation project.
18545 * po/de.po: Update German translation from translation project.
18547 2014-01-10 Roland McGrath <roland@hack.frob.com>
18549 * sysdeps/generic/gcc-compat.h: New file.
18551 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18553 * benchtests/asin-inputs: Correct slow inputs.
18554 * benchtests/acos-inputs: Likewise.
18556 2014-01-10 Allan McRae <allan@archlinux.org>
18558 * po:sv.po: Update Swedish translation from translation project.
18560 * po/vi.po: Update Vietnamese translation from translation project.
18562 * po/eo.po: Update Esperanto translation from translation project.
18564 * po/cs.po: Update Czech translation from translation project.
18566 * po/nl.po: Update Dutch translation from translation project.
18568 * po/pl.po: Update Polish translation from translation project.
18570 * po/ru.po: Update Russian translation from translation project.
18572 * po/uk.po: Update Ukrainian translation from translation project.
18574 2014-01-08 Brooks Moses <bmoses@google.com>
18576 * elf/dl-load.c: Fix comment typo.
18578 2014-01-08 Carlos O'Donell <carlos@redhat.com>
18580 * po/header.pot: Rename to...
18581 * po/pot.header: ... this.
18582 * po/Makefile: Use pot.header.
18584 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18585 Maxim Kuvyrkov <maxim@kugelworks.com>
18588 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18589 SRC and DEST against LEN.
18591 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18594 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18596 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18598 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18602 2014-01-08 Joseph Myers <joseph@codesourcery.com>
18605 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18606 for large positive arguments.
18608 2014-01-07 Joseph Myers <joseph@codesourcery.com>
18610 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18612 * math/auto-libm-test-in: Mark various tests with
18613 xfail-rounding:ldbl-128ibm.
18614 * math/auto-libm-test-out: Regenerated.
18617 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18618 Increase overflow threshold.
18620 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
18623 * stdio-common/vfprintf.c: Check for integer overflow.
18625 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18627 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18628 the first argument and return value of __tls_get_addr_internal.
18630 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18632 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18633 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18635 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18637 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18638 * sysdeps/s390/rtld-global-offsets.sym: New file.
18639 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18641 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18642 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18643 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18645 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18646 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18652 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18653 halfs of GPRs for high_gprs contexts.
18654 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18655 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18657 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18659 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18661 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18662 for high GPRs (uc_high_gprs) and for future extensions
18664 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18665 for future extensions (__reserved).
18666 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18668 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18669 SC_HIGHGPRS offset definition.
18670 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18671 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18673 * Versions.def: Add GLIBC_2.19 for libpthread.
18674 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18675 siglongjmp for libpthread with GLIBC_2.19 symver.
18676 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18677 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18678 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18679 * sysdeps/s390/__longjmp.c: New file.
18680 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18681 * sysdeps/s390/longjmp.c: New file.
18682 * sysdeps/s390/setjmp.S: New file.
18683 * sysdeps/s390/sigjmp.S: New file.
18684 * sysdeps/s390/v1-longjmp.c: New file.
18685 * sysdeps/s390/v1-setjmp.h: New file.
18686 * sysdeps/s390/v1-sigjmp.c: New file.
18687 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18688 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18689 GLIBC_2.19 version.
18690 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18691 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18692 versioned symbols for ____longjmp_chk.
18693 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18703 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18704 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18705 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18706 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18707 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18708 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18709 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18710 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18711 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18712 * sysdeps/s390/rtld-__longjmp.c: New file.
18713 * sysdeps/s390/rtld-setjmp.S: New file.
18715 2014-01-06 Joseph Myers <joseph@codesourcery.com>
18718 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18719 Return -__logl (x) for small positive arguments without evaluating
18722 2014-01-06 Mike Frysinger <vapier@gentoo.org>
18724 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18726 (__ptrace_peeksiginfo_args): ... this.
18727 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18728 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18729 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18731 2014-01-06 Allan McRae <allan@archlinux.org>
18733 * inet/netinet/in.h: Fix typo in comment.
18735 2014-01-05 Andreas Jaeger <aj@suse.de>
18737 * sysdeps/i386/fpu/libm-test-ulps: Update.
18739 2014-01-05 Allan McRae <allan@archlinux.org>
18741 * po/libc.pot: Regenerated.
18743 * malloc/memusagestat.c: Fix gettext call formatting.
18745 2014-01-04 Sami Kerola <kerolasa@iki.fi>
18747 * nscd/nscd.c: Improve usage() output.
18749 2014-01-04 Mike Frysinger <vapier@gentoo.org>
18751 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18752 * sysdeps/unix/sysv/linux/configure: Regenerated.
18753 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18754 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18756 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18759 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18760 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18762 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18764 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18765 extra tokens at end of #undef directive.
18766 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18767 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18768 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18770 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18772 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18774 * math/auto-libm-test-in: Mark various tests with
18775 xfail-rounding:ldbl-128ibm.
18776 * math/auto-libm-test-out: Regenerated.
18778 2014-01-02 Joseph Myers <joseph@codesourcery.com>
18781 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18782 numbers with subnormal high part when calculating exponent.
18785 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18789 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18791 (__ieee754_acoshl): Use __log1pl not __log1p.
18793 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
18795 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18796 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18797 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18798 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18799 (reused_arena, arena_get2): Convert to GNU style.
18800 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18801 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18802 (memalign_check, __malloc_set_state): Likewise.
18803 * malloc/mallocbug.c (main): Likewise.
18804 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18805 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18806 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18807 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18808 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18809 (__posix_memalign, malloc_info): Likewise.
18810 * malloc/malloc.h: Likewise.
18811 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18812 (mallochook, memalignhook, reallochook, mabort): Likewise.
18813 * malloc/mcheck.h: Likewise.
18814 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18815 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18816 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18817 * malloc/morecore.c (__default_morecore): Likewise.
18818 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18819 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18820 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18821 (print_and_abort): Likewise.
18822 * malloc/obstack.h: Likewise.
18823 * malloc/set-freeres.c (__libc_freeres): Likewise.
18824 * malloc/tst-mallocstate.c (main): Likewise.
18825 * malloc/tst-mtrace.c (main): Likewise.
18826 * malloc/tst-realloc.c (do_test): Likewise.
18828 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18831 * nscd/netgroupcache.c (do_notfound): New function.
18832 (addgetnetgrentX): Use it.
18835 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18836 NSS_STATUS_NOTFOUND.
18838 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18840 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18843 2014-01-01 Allan McRae <allan@archlinux.org>
18845 * scripts/update-copyrights: Update configure input file suffix.
18847 * NEWS: Update copyright year.
18848 * catgets/gencat.c: Likewise.
18849 * csu/version.c: Likewise.
18850 * debug/catchsegv.sh: Likewise.
18851 * debug/pcprofiledump.c: Likewise.
18852 * debug/xtrace.sh: Likewise.
18853 * elf/ldconfig.c: Likewise.
18854 * elf/ldd.bash.in: Likewise.
18855 * elf/pldd.c: Likewise.
18856 * elf/sotruss.ksh: Likewise.
18857 * elf/sprof.c: Likewise.
18858 * iconv/iconv_prog.c: Likewise.
18859 * iconv/iconvconfig.c: Likewise.
18860 * locale/programs/locale.c: Likewise.
18861 * locale/programs/localedef.c: Likewise.
18862 * login/programs/pt_chown.c: Likewise.
18863 * malloc/memusage.sh: Likewise.
18864 * malloc/memusagestat.c: Likewise.
18865 * malloc/mtrace.pl: Likewise.
18866 * manual/libc.texinfo: Likewise.
18867 * nscd/nscd.c: Likewise.
18868 * nss/getent.c: Likewise.
18869 * nss/makedb.c: Likewise.
18870 * posix/getconf.c: Likewise.
18871 * scripts/test-installation.pl: Likewise.
18873 * All files with FSF copyright notices: Update copyright dates
18874 using scripts/update-copyrights.
18875 * intl/plural.c: Regenerated.
18876 * locale/programs/charmap-kw.h: Likewise.
18877 * locale/programs/locfile-kw.h: Likewise.
18879 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18881 * sysdeps/unix/sysv/linux/configure: Regenerated.
18882 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18883 the linux/fanotify.h header.
18884 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18885 HAVE_LINUX_FANOTIFY_H is defined.
18887 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18889 * benchtests/cos-inputs: New inputs.
18890 * benchtests/sin-inputs: Likewise.
18892 * benchtests/atan-inputs: New inputs. Fix name of multiple
18893 precision fallback inputs.
18895 * benchtests/atanh-inputs: New inputs.
18896 * benchtests/tanh-inputs: Likewise.
18898 * benchtests/acosh-inputs: New inputs.
18899 * benchtests/asinh-inputs: Likewise.
18901 * benchtests/cosh-inputs: New inputs.
18902 * benchtests/sinh-inputs: Likewise.
18904 * benchtests/acos-inputs: Add more inputs.
18905 * benchtests/asin-inputs: Likewise.
18907 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18910 * manual/arith.texi: Fix spelling.
18911 * manual/charset.texi: Likewise.
18912 * manual/errno.texi: Likewise.
18913 * manual/filesys.texi: Likewise.
18914 * manual/lang.texi: Likewise.
18915 * manual/llio.texi: Likewise.
18916 * manual/locale.texi: Likewise.
18917 * manual/message.texi: Likewise.
18918 * manual/resource.texi: Likewise.
18919 * manual/search.texi: Likewise.
18920 * manual/setjmp.texi: Likewise.
18921 * manual/stdio.texi: Likewise.
18922 * manual/string.texi: Likewise.
18923 * manual/sysinfo.texi: Likewise.
18924 * manual/time.texi: Likewise.
18926 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18928 * po/sl.po: New file.
18930 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18932 * .gitignore: Add core/.gdbinit/.gdb_history.
18934 2013-12-27 Allan McRae <allan@archlinux.org>
18937 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18938 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18940 2013-12-24 Brooks Moses <bmoses@google.com>
18942 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18943 all compilers that claim C++98 compliance, not just GCC.
18944 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18947 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18949 * NEWS: Restore accidentally deleted bug-fix entries.
18951 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18952 Ondřej Bílka <neleai@seznam.cz>
18955 * malloc/malloc.c (_int_free): Perform sanity check only if we
18958 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18961 * manual/stdio.texi (String Input Conversions): Clarify that character
18962 classes are not supported.
18964 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18968 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18971 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18972 Calculate results for small negative arguments directly rather
18973 than using reflection formula with special underflow handling.
18975 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18976 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18977 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18978 (fchflags): Likewise.
18979 (revoke): Likewise.
18980 (setlogin): Likewise.
18981 (sigaltstack): Likewise.
18983 (sigblock): Remove.
18984 (sigsetmask): Likewise.
18986 (waitpid): Likewise.
18987 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18988 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18990 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18991 * sysdeps/unix/bsd/Makefile: ... here.
18992 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18993 * sysdeps/unix/bsd/Versions: ... here.
18994 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18995 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18996 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18997 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18998 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18999 * sysdeps/unix/bsd/sigblock.c: ... here.
19000 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19001 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19002 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19003 * sysdeps/unix/bsd/sigvec.c: ... here.
19004 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19005 * sysdeps/unix/bsd/tcdrain.c: ... here.
19006 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19007 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19008 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19009 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19010 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19011 * sysdeps/unix/bsd/wait.c: ... here.
19012 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19013 * sysdeps/unix/bsd/wait3.c: ... here.
19014 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19015 * sysdeps/unix/bsd/waitpid.c: ... here.
19017 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19020 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19021 round-to-nearest for [!USE_AS_EXPM1L].
19022 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19023 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19024 more tests of exp and exp10. Expect some exp10 tests to miss
19025 exceptions or fail in directed rounding modes.
19026 * math/auto-libm-test-out: Regenerated.
19027 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19028 (exp10_test_tonearest): New function.
19029 (exp10_towardzero_test_data): New array.
19030 (exp10_test_towardzero): New function.
19031 (exp10_downward_test_data): New array.
19032 (exp10_test_downward): New function.
19033 (exp10_upward_test_data): New array.
19034 (exp10_test_upward): New function.
19035 (main): Call the new functions.
19036 * sysdeps/i386/fpu/libm-test-ulps: Update.
19037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19039 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19041 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19042 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19043 * math/auto-libm-test-out: Regenerated.
19044 * math/libm-test.inc (acosh_test_data): Add more tests.
19045 (atanh_test_data): Likewise.
19046 (ceil_test_data): Likewise.
19047 (copysign_test_data): Likewise.
19048 * sysdeps/i386/fpu/libm-test-ulps: Update.
19049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19051 * timezone/checktab.awk: Update from tzcode 2013i.
19052 * timezone/private.h: Likewise.
19053 * timezone/scheck.c: Likewise.
19054 * timezone/tzfile.h: Likewise.
19055 * timezone/tzselect.ksh: Likewise.
19056 * timezone/zdump.c: Likewise.
19057 * timezone/zic.c: Likewise.
19059 * math/auto-libm-test-in: Add tests of cpow.
19060 * math/auto-libm-test-out: Regenerated.
19061 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19062 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19064 (func_calc_desc): Add mpc_cc_c union field.
19065 (test_functions): Add cpow.
19066 (special_fill_2pi): New function.
19067 (special_real_inputs): Add 2pi.
19068 (calc_generic_results): Handle mpc_cc_c.
19069 * sysdeps/i386/fpu/libm-test-ulps: Update.
19070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19072 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19073 csqrt, ctan and ctanh.
19074 * math/auto-libm-test-out: Regenerated.
19075 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19076 (TEST_COND_x86): Likewise.
19077 (ccos_test_data): Use AUTO_TESTS_c_c.
19078 (ccosh_test_data): Likewise.
19079 (cexp_test_data): Likewise.
19080 (clog_test_data): Likewise.
19081 (csqrt_test_data): Likewise.
19082 (ctan_test_data): Likewise.
19083 (ctan_tonearest_test_data): Likewise.
19084 (ctan_towardzero_test_data): Likewise.
19085 (ctan_downward_test_data): Likewise.
19086 (ctan_upward_test_data): Likewise.
19087 (ctanh_test_data): Likewise.
19088 (ctanh_tonearest_test_data): Likewise.
19089 (ctanh_towardzero_test_data): Likewise.
19090 (ctanh_downward_test_data): Likewise.
19091 (ctanh_upward_test_data): Likewise.
19092 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19094 (func_calc_desc): Add mpc_c_c union field.
19095 (FUNC_mpc_c_c): New macro.
19096 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19097 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19099 (special_fill_min_subnorm_p120): New function.
19100 (special_real_inputs): Add min_subnorm_p120.
19101 (calc_generic_results): Handle mpc_c_c.
19102 * sysdeps/i386/fpu/libm-test-ulps: Update.
19103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19105 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19107 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19108 (do_sin_slow): New functions.
19109 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19110 (cslow2, csloww1, csloww2): Use the new functions.
19112 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19113 Use M to change sign of result instead of X. Assume X is
19115 (csloww1): Likewise.
19119 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19120 arguments A and DA.
19124 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19126 (sloww1): Don't adjust sign of DX.
19127 (csloww1): Likewise.
19128 (sloww2): Use X directly and don't adjust sign of DX.
19129 (csloww2): Likewise.
19131 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19133 * math/auto-libm-test-in: Add tests of cabs and carg.
19134 * math/auto-libm-test-out: Regenerated.
19135 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19136 (carg_test_data): Likewise.
19137 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19139 (func_calc_desc): Add mpc_c_f union field.
19140 (test_functions): Add cabs and carg.
19141 (calc_generic_results): Handle mpc_c_f.
19143 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19144 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19145 as a macro and a compat symbol.
19146 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19147 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19148 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19149 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19150 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19151 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19153 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19155 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19157 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19159 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19161 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19163 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19164 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19167 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19171 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19173 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19174 trailing whitespace removed.
19175 * scripts/config.guess: Update to version 2013-11-29.
19176 * scripts/config.sub: Update to version 2013-10-01.
19178 * math/auto-libm-test-in: Add tests of sincos.
19179 * math/auto-libm-test-out: Regenerated.
19180 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19181 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19183 (func_calc_desc): Add mpfr_f_11 union field.
19184 (test_functions): Add sincos.
19185 (calc_generic_results): Handle mpfr_f_11.
19186 * sysdeps/i386/fpu/libm-test-ulps: Update.
19187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19189 2013-12-19 Andreas Schwab <schwab@suse.de>
19191 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19193 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19194 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19195 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19197 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19199 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19200 * sysdeps/i386/fpu/libm-test-ulps: Update.
19201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19204 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19205 round-to-nearest mode when using frndint.
19206 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19207 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19208 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19210 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19212 * math/auto-libm-test-out: Regenerated.
19213 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19214 (TEST_COND_x86): Likewise.
19215 (expm1_tonearest_test_data): New array.
19216 (expm1_test_tonearest): New function.
19217 (expm1_towardzero_test_data): New array.
19218 (expm1_test_towardzero): New function.
19219 (expm1_downward_test_data): New array.
19220 (expm1_test_downward): New function.
19221 (expm1_upward_test_data): New array.
19222 (expm1_test_upward): New function.
19223 (main): Run the new test functions.
19224 * sysdeps/i386/fpu/libm-test-ulps: Update.
19225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19227 * include/features.h: Update comment documenting feature test
19228 macros. Mention _DEFAULT_SOURCE in comment.
19229 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19230 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19231 _BSD_SOURCE and _SVID_SOURCE.
19232 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19233 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19234 !_SVID_SOURCE]: Likewise.
19235 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19236 (__USE_POSIX_IMPLICITLY): Define.
19237 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19238 (_POSIX_SOURCE): Undefine and redefine.
19239 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19240 (_POSIX_C_SOURCE): Likewise.
19241 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19242 (Feature Test Macros): Update documentation of default features.
19244 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19246 * benchtests/Makefile: Add bench-strtok.
19247 * benchtests/bench-strtok.c: New file: strtok benchtest.
19249 2013-12-19 Allan McRae <allan@archlinux.org>
19251 * manual/install.texi: Suppress menu for plain text output.
19252 * INSTALL: Regenerated.
19254 2013-12-18 Brooks Moses <bmoses@google.com>
19257 * misc/getauxval.c: Include errno.h.
19258 (__getauxval): Set errno to ENOENT if the requested type is not
19260 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19261 don't declare with __attribute_const__.
19262 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19263 * manual/startup.texi: Document that getauxval sets errno.
19265 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19267 * math/auto-libm-test-in: Add tests of jn and yn.
19268 * math/auto-libm-test-out: Regenerated.
19269 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19270 (yn_test_data): Likewise.
19271 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19273 (func_calc_desc): Add mpfr_if_f union field.
19274 (FUNC_mpfr_if_f): New macro.
19275 (test_functions): Add jn and yn.
19276 (calc_generic_results): Assert type of second input for
19277 mpfr_ff_f. Handle mpfr_if_f.
19278 (output_for_one_input_case): Disable all checking for arguments
19279 fitting floating-point types in case of an integer argument.
19280 * sysdeps/i386/fpu/libm-test-ulps: Update.
19281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19284 Don't expect fegetround reference in libm.so.
19286 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19288 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19289 $(config-cflags-nofma).
19291 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19293 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19294 * math/auto-libm-test-out: Regenerated.
19297 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19298 to determine exponent and adjust argument to have exponent of -1.
19299 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19301 * math/auto-libm-test-out: Regenerated.
19302 * sysdeps/i386/fpu/libm-test-ulps: Update.
19303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19305 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
19307 * manual/probes.texi: Remove cases when per-thread arenas are
19310 2013-12-18 Andreas Schwab <schwab@suse.de>
19312 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19313 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19314 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19315 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19316 * sysdeps/i386/i686/multiarch/Makefile: Update.
19317 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19319 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19321 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19322 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19324 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19327 Support TZ transition times < 00:00:00.
19328 This is needed for version-3 tz-format files; it supports time
19329 stamps past 2037 for America/Godthab (the only entry in the tz
19330 database for which this change is relevant).
19331 * manual/time.texi (TZ Variable): Document transition times
19332 from -167:59:59 through -00:00:01.
19333 * time/tzset.c (tz_rule): Time of day is now signed.
19334 (__tzset_parse_tz): Parse negative time of day.
19336 Document TZ transition times >= 25:00:00.
19337 * manual/time.texi (TZ Variable): Document transition times from
19338 25:00:00 through 167:59:59. These are already supported, and this
19339 support will help with version-3 tz-format files.
19341 * manual/time.texi (TZ Variable): Modernize North America example
19342 to reflect current (i.e., 2007-and-later) daylight saving rules.
19344 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19346 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19348 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19349 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19350 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19351 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19352 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19353 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19354 * sysdeps/unix/bsd/clock.c: Likewise.
19355 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19356 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19357 * sysdeps/unix/bsd/init-posix.c: Likewise.
19358 * sysdeps/unix/bsd/poll.c: Likewise.
19359 * sysdeps/unix/bsd/ptsname.c: Likewise.
19360 * sysdeps/unix/bsd/seekdir.c: Likewise.
19361 * sysdeps/unix/bsd/setegid.c: Likewise.
19362 * sysdeps/unix/bsd/seteuid.c: Likewise.
19363 * sysdeps/unix/bsd/setgid.c: Likewise.
19364 * sysdeps/unix/bsd/setrgid.c: Likewise.
19365 * sysdeps/unix/bsd/setruid.c: Likewise.
19366 * sysdeps/unix/bsd/setsid.c: Likewise.
19367 * sysdeps/unix/bsd/setuid.c: Likewise.
19368 * sysdeps/unix/bsd/sigaction.c: Likewise.
19369 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19370 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19371 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19372 * sysdeps/unix/bsd/telldir.c: Likewise.
19373 * sysdeps/unix/bsd/times.c: Likewise.
19374 * sysdeps/unix/bsd/usleep.c: Likewise.
19376 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19377 ($(objpfx)libbsd-compat.a): Remove rule.
19379 * include/features.h (__FAVOR_BSD): Do not define.
19380 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19381 features conflicting with POSIX.
19382 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19383 (_BSD_SOURCE): Remove description of not being a subset of other
19384 feature test macros.
19385 * manual/job.texi (getpgrp): Do not document BSD version.
19386 (getpgid): Do not document by reference to BSD getpgrp.
19387 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19388 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19389 * signal/signal.h [__FAVOR_BSD]: Likewise.
19390 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19391 instead of making contents conditional on [__FAVOR_BSD].
19392 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19394 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19398 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19401 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19402 values below 2**-450, not 2**-500.
19403 * math/auto-libm-test-in: Don't allow spurious underflow from
19405 * math/auto-libm-test-out: Regenerated.
19409 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19410 values of ha and hb and sort them after adjusting subnormal
19412 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19414 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19415 values of ea and eb and sort them after adjusting subnormal
19417 * math/auto-libm-test-in: Do not expect some hypot tests of
19418 subnormals to fail. Add more hypot tests.
19419 * math/auto-libm-test-out: Regenerated.
19421 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19424 * sysdeps/sh/s_fma.c: New file.
19425 * sysdeps/sh/s_fmaf.c: New file.
19426 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19428 * sysdeps/sh/Implies: Add sh/soft-fp.
19430 2013-12-16 Roland McGrath <roland@hack.frob.com>
19432 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19433 level of indirection to members `objname', `errstring', `malloced'.
19434 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19435 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19436 it as the __longjmp argument (just pass 1 instead).
19437 (_dl_catch_error): Initialize C with argument pointers and address of
19438 volatile local ERRCODE rather than copying values out of C at return.
19440 2013-12-16 Joseph Myers <joseph@codesourcery.com>
19442 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19443 * math/auto-libm-test-out: Regenerated.
19444 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19445 (hypot_test_data): Likewise.
19446 (pow_test_data): Likewise.
19447 (pow_tonearest_test_data): Likewise.
19448 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19450 (func_calc_desc): Add mpfr_ff_f union field.
19451 (FUNC_mpfr_ff_f): New macro.
19452 (test_functions): Add atan2, hypot and pow.
19453 (special_fill_min): New function.
19454 (special_fill_minus_min): Likewise.
19455 (special_fill_min_subnorm): Likewise.
19456 (special_fill_minus_min_subnorm): Likewise.
19457 (special_real_inputs): Add min, -min, min_subnorm and
19459 (calc_generic_results): Handle mpfr_ff_f.
19460 * sysdeps/i386/fpu/libm-test-ulps: Update.
19461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19463 2013-12-16 Will Newton <will.newton@linaro.org>
19465 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19466 (Aligned Memory Blocks): Add documentation for aligned_alloc
19467 and suggest it as an alternative to posix_memalign.
19468 (Hooks for Malloc): Document __memalign_hook is also called
19469 for aligned_alloc. (Summary of Malloc): Add summary for
19470 aligned alloc. Document __memalign_hook is also called
19473 2013-12-16 Will Newton <will.newton@linaro.org>
19475 * manual/memory.texi (Malloc Examples): Clarify default
19476 alignment documentation. Suggest posix_memalign rather
19477 than memalign or valloc.
19478 (Aligned Memory Blocks): Remove suggestion to use memalign
19479 or valloc. Remove obsolete comment about BSD.
19480 Document memalign errno values and mark the function obsolete.
19481 Document posix_memalign returned error codes. Mark valloc
19482 as obsolete. (Hooks for Malloc): __memalign_hook is also
19483 called for posix_memalign and valloc.
19484 (Summary of Malloc): Add posix_memalign to function summary.
19485 __memalign_hook is also called for posix_memalign and valloc.
19487 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19489 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19493 (sloww): Use mynumber union. Expand ternary operator into
19494 if-else statements.
19495 (cslow): use mynumber union.
19497 2013-12-16 Allan McRae <allan@archlinux.org>
19499 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19500 * configure: Regenerated.
19502 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19505 * configure.ac: Added --enable-maintainer-mode. Check for
19506 autoconf when enabled.
19507 * configure: Regenerated.
19509 * nscd/nscd.service: New file.
19510 * nscd/nscd.tmpfiles: New file.
19512 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
19515 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19516 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19517 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19518 (strstr): Add __strstr_sse2_unaligned ifunc.
19519 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19520 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19521 (strcasestr): Remove __strcasestr_sse42 ifunc.
19522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19523 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19526 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19528 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19529 * sysdeps/sh/bits/fenv.h: ... here.
19530 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19532 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19534 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19537 hypotf multiarch implementations.
19538 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19539 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19541 multiarch hypot for PPC64.
19542 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19543 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19544 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19545 multiarch hypotf for PPC64.
19547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19548 modff multiarch implementations.
19549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19552 multiarch modf for PPC64.
19553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19556 multiarch modff for PPC64.
19558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19559 and logl multiarch implementations.
19560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19563 multiarch logb for PPC64.
19564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19567 multiarch logb for PPC64.
19568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19571 multiarch logb for PPC64.
19573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19574 isinff multiarch implementation.
19575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19579 multiarch isinf for PPC64.
19580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19583 multiarch isinff for PPC64.
19585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19586 finitef multiarch implementation.
19587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19591 multiarch finite for PPC64.
19592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19595 multiarch finitef for PPC64.
19597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19598 lrint multiarch implementation.
19599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19603 multiarch llrint for PPC64.
19604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19605 multiarch lrint for PPC64.
19607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19608 copysignf multiarch implementation.
19609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19614 multiarch copysign for PPC64.
19615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19616 multiarch copysignf for PPC64.
19618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19619 multiarch implementation.
19620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19628 multiarch llround for PPC64.
19629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19630 multiarch trunc for PPC64.
19631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19632 multiarch truncf for PPC64.
19634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19635 multiarch implementation.
19636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19644 multiarch llround for PPC64.
19645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19646 multiarch round for PPC64.
19647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19648 multiarch roundf for PPC64.
19650 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19651 multiarch implementation.
19652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19660 multiarch llround for PPC64.
19661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19662 multiarch floor for PPC64.
19663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19664 multiarch floorf for PPC64.
19666 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19667 multiarch implementation.
19668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19676 multiarch llround for PPC64.
19677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19678 multiarch ceil for PPC64.
19679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19680 multiarch ceilf for PPC64.
19682 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19683 multiarch implementation.
19684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19691 multiarch llround for PPC64.
19692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19693 multiarch lround for PPC64.
19695 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19696 multiarch implementation.
19697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19704 multiarch isnan for PPC64.
19705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19706 multiarch isnanf for PPC64.
19708 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19709 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19710 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19711 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19712 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19715 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19716 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19721 multiarch implementations.
19722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19723 (__libc_ifunc_impl_list): Likewise.
19724 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19725 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19726 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19727 multiarch stpcpy for PPC64.
19729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19730 multiarch implementations.
19731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19732 (__libc_ifunc_impl_list): Likewise.
19733 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19734 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19735 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19736 multiarch strcpy for PPC64.
19738 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19739 redefine function name.
19740 (_wordcopy_fwd_dest_aligned): Likewise.
19741 (_wordcopy_bwd_aligned): Likewise.
19742 (_wordcopy_bwd_dest_aligned): Likewise.
19743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19744 multiarch implementations.
19745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19746 (__libc_ifunc_impl_list): Likewise.
19747 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19748 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19749 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19750 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19751 multiarch wcscpy for PPC64.
19753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19754 multiarch implementations.
19755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19756 (__libc_ifunc_impl_list): Likewise.
19757 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19758 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19759 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19760 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19761 multiarch wcscpy for PPC64.
19763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19764 multiarch implementations.
19765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19766 (__libc_ifunc_impl_list): Likewise.
19767 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19768 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19769 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19770 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19771 multiarch wcsrchr for PPC64.
19773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19774 multiarch implementations.
19775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19776 (__libc_ifunc_impl_list): Likewise.
19777 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19778 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19779 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19780 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19781 multiarch wcschr for PPC64.
19783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19784 multiarch implementations.
19785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19786 (__libc_ifunc_impl_list): Likewise.
19787 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19788 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19789 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19790 multiarch strchrnul for PPC64.
19792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19795 (__libc_ifunc_impl_list): Likewise.
19796 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19797 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19798 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19799 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19805 (__libc_ifunc_impl_list): Likewise.
19806 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19807 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19808 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19809 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19813 multiarch implementations.
19814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19815 (__libc_ifunc_impl_list): Likewise.
19816 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19817 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19818 strncasecmp for PPC64.
19819 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19820 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19821 multiarch strncasecmp_l for PPC64.
19823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19824 multiarch implementations.
19825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19826 (__libc_ifunc_impl_list): Likewise.
19827 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19828 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19829 multiarch strcasecmp for PPC64.
19830 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19832 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19833 multiarch strcasecmp_l for PPC64.
19835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19838 (__libc_ifunc_impl_list): Likewise.
19839 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19840 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19841 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19844 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19847 (__libc_ifunc_impl_list): Likewise.
19848 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19849 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19850 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19856 (__libc_ifunc_impl_list): Likewise.
19857 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19858 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19859 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19860 rawmemrchr for PPC64.
19862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19865 (__libc_ifunc_impl_list): Likewise.
19866 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19867 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19868 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19874 (__libc_ifunc_impl_list): Likewise.
19875 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19876 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19877 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19883 (__libc_ifunc_impl_list): Likewise.
19884 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19885 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19886 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19889 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19890 avoid cretion of __bzero symbol.
19891 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19893 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19895 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19898 multiarch implementations.
19899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19900 (__libc_ifunc_impl_list): Likewise.
19901 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19902 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19903 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19904 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19906 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19907 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19908 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19909 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19910 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19912 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19914 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19918 (__libc_ifunc_impl_list): Likewise.
19919 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19920 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19921 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19922 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19926 multiarch for POWER/PPC64.
19927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19928 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19929 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19932 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19933 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19934 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19935 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19938 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19939 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19940 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19941 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19942 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19943 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19944 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19945 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19946 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19947 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19948 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19949 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19950 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19951 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19952 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19961 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19963 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19965 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19967 * benchtests/Makefile (bench): Add exp2 and log2.
19968 (LDLIBS-bench-exp2): Add -lm.
19969 (LDLIBS-bench-log2): Likewise.
19970 * benchtests/exp2-inputs: New inputs file.
19971 * benchtests/log2-inputs: New inputs file.
19972 * benchtests/log-inputs: Add new inputs.
19973 * benchtests/tan-inputs: Likewise.
19975 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19977 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19979 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19980 (csloww2): ... from here.
19982 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19983 instead of structures.
19984 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19985 (POLYNOMIAL): Likewise.
19986 (TAYLOR_SLOW): Likewise.
19992 (sloww1); Likewise.
19993 (sloww2): Likewise.
19994 (bsloww1): Likewise.
19995 (bsloww2): Likewise.
19996 (cslow2): Likewise.
19997 (csloww): Likewise.
19998 (csloww1): Likewise.
19999 (csloww2): Likewise.
20001 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20003 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20004 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20005 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20006 * malloc/hooks.c (realloc_check): Likewise.
20008 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20009 * malloc/arena.c: Remove PER_THREAD conditional.
20010 [!PER_THREAD]: Remove code.
20011 (ptmalloc_unlock_all2): Likewise.
20012 (ptmalloc_init): Likewise.
20013 (_int_new_arena): Likewise.
20014 (arena_get2): Likewise.
20015 * malloc/hooks.c (__malloc_get_state): Likewise.
20016 (__malloc_set_state): Likewise.
20017 * malloc/malloc.c: Likewise.
20018 (struct malloc_state): Likewise.
20019 (struct malloc_par): Likewise.
20020 (__libc_realloc): Likewise.
20021 (__libc_mallopt): Likewise.
20023 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20025 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20027 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20029 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20030 macro to a function. Check for zero perturb_byte.
20031 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20033 * malloc/malloc.c: (force_reg): Remove.
20034 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20035 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20036 force_reg by atomic_forced_read.
20037 * malloc/arena.c (ptmalloc_init): Likewise.
20038 * malloc/hooks.c (top_check): Likewise.
20040 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20044 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20048 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20050 * math/auto-libm-test-in: Add tests of lgamma.
20051 * math/auto-libm-test-out: Regenerated.
20052 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20053 (M_LOG_2_SQRT_PIl): Likewise.
20054 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20055 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20057 (func_calc_desc): Add mpfr_f_f1 union field.
20058 (ARGS1): New macro.
20066 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20067 (test_functions): Add lgamma.
20068 (calc_generic_results): Handle mpfr_f_f1.
20069 * sysdeps/i386/fpu/libm-test-ulps: Update.
20070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20072 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20074 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20075 __mpn_add_n for PowerPC64/POWER7.
20076 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20077 __mpn_sub_n for PowerPC64/POWER7.
20079 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20080 __mpn_addmul_1 for PowerPC64.
20081 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20082 __mpn_submul_1 for PowerPC64.
20083 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20085 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20088 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20091 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20093 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20095 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20097 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20098 add multiarch folders.
20099 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20100 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20101 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20102 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20103 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20104 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20105 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20106 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20107 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20108 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20109 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20118 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20124 multiarch __ieee754_hypot for PowerPC32.
20125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20130 multiarch __ieee754_hypotf for PowerPC32.
20132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20133 long_double_symbol only if __logbl is defined.
20134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20135 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20136 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20137 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20139 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20140 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20141 path for implementation.
20142 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20143 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20145 logb, and logbl multiarch implementations for PowerPC32.
20146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20151 multiarch logb for PowerPC32.
20152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20157 multiarch logbf for PowerPC32.
20158 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20162 multiarch logbl implementation for PowerPC32.
20164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20165 and modff multiarch implementations.
20166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20171 multiarch modf for PowerPC32.
20172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20177 multiarch modff for PowerPC32.
20179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20180 and lrintf multiarch implementations.
20181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20186 multiarch lrint for PowerPC32.
20187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20188 file: multiarch lrintf for PowerPC32.
20190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20191 and lroundf multiarch implementations.
20192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20199 multiarch lround for PowerPC32.
20200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20201 file: multiarch lroundf for PowerPC32.
20203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20204 copysign and copysignf multiarch implementations.
20205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20210 file: multiarch copysign for PowerPC32.
20211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20212 file: multiarch copysignf for PowerPC32.
20214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20215 and truncf multiarch implementations.
20216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20221 multiarch trunc for PowerPC32.
20222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20227 multiarch truncf for PowerPC32.
20229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20230 and roundf multiarch implementations.
20231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20236 multiarch round for PowerPC32.
20237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20242 multiarch roundf for PowerPC32.
20244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20245 and floorf multiarch implementations.
20246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20251 multiarch floor for PowerPC32.
20252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20257 multiarch floorf for PowerPC32.
20259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20260 and ceilf multiarch implementations.
20261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20266 multiarch ceil for PowerPC32.
20267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20272 multiarch ceilf for PowerPC32.
20274 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20276 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20277 FINITEF is defined.
20278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20279 and finitef multiarch implementations.
20280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20285 multiarch finite for PowerPC32.
20286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20289 file: multiarch finitef for PowerPC32.
20291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20292 and isinff multiarch implementations.
20293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20298 multiarch isinf for PowerPC32.
20299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20302 multiarch isinff for PowerPC32.
20304 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20305 alias when __isnan is defined.
20306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20307 and isnanf multiarch implementations.
20308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20317 multiarch isnan for PowerPC32.
20318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20323 multiarch isnanf for PowerPC32.
20325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20326 and sqrtf multiarch implementations.
20327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20332 multiarch sqrt for PowerPC32.
20333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20338 multiarch sqrtf for PowerPC32.
20340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20341 and llroundf multiarch implementations.
20342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20349 file: multiarch llround for PowerPC32.
20350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20351 file: multiarch llroundf for PowerPC32.
20353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20354 multiarch PowerPC32 fpu implementations.
20355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20360 multiarch llrint for PowerPC32.
20361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20370 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20372 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20374 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20376 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20377 multiarch wordcopy for PPC32.
20378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20381 (__libc_ifunc_impl_list): Likewise.
20382 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20383 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20384 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20385 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20386 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20387 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20389 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20397 multiarch wcscpy for PPC32.
20398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20401 (__libc_ifunc_impl_list): Likewise.
20402 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20403 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20404 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20405 sysdeps/powerpc/power6/wcscpy.c.
20407 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20415 multiarch wcsrchr for PPC32.
20416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20419 (__libc_ifunc_impl_list): Likewise.
20420 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20421 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20422 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20423 sysdeps/powerpc/power6/wcsrchr.c.
20425 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20427 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20429 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20431 multiarch wcschr for PPc32.
20432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20435 (__libc_ifunc_impl_list): Likewise.
20436 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20437 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20438 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20439 sysdeps/powerpc/power6/wcschr.c.
20441 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20442 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20444 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20445 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20446 file: multiarch strchr for PPC32.
20447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20450 (__libc_ifunc_impl_list): Likewise.
20452 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20454 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20456 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20458 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20459 multiarch strchrnul for PPC32.
20460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20463 (__libc_ifunc_impl_list): Likewise.
20465 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20467 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20468 multiarch strncasecmp for PPC32.
20469 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20471 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20472 multiarch strncasecmp_l for PPC32.
20473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20474 strncasecmp multiarch objects.
20475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20476 (__libc_ifunc_impl_list): Likewise.
20478 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20480 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20481 multiarch strncasecmp for PPC32.
20482 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20484 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20485 multiarch strcasecmp_l for PPC32.
20486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20489 (__libc_ifunc_impl_list): Likewise.
20491 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20493 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20495 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20496 multiarch strncmp for PPC32.
20497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20500 (__libc_ifunc_impl_list): Likewise.
20502 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20503 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20505 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20506 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20510 (__libc_ifunc_impl_list): Likewise.
20512 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20514 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20516 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20520 (__libc_ifunc_impl_list): Likewise.
20522 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20524 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20526 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20527 multiarch rawmemchr for PPC32.
20528 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20530 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20531 (__libc_ifunc_impl_list): Likewise.
20533 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20535 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20537 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20538 file: memrchr multiarch for PPC32.
20539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20542 (__libc_ifunc_impl_list): Likewise.
20544 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20545 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20547 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20548 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20549 multiarch memchr for PPC32.
20550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20553 (__libc_ifunc_impl_list): Likewise.
20555 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20556 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20558 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20560 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20561 file: multiarch mempcpy for PPC32.
20562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20565 (__libc_ifunc_impl_list): Likewise.
20567 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20568 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20569 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20570 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20571 multiarch bzero for PPC32.
20572 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20574 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20576 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20577 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20578 file: multiarch memset for PPC32.
20579 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20581 memset multiarch objects.
20582 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20583 (__libc_ifunc_impl_list): Likewise.
20585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20588 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20590 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20594 (__libc_ifunc_impl_list): Likewise.
20596 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20597 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20598 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20600 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20602 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20604 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20605 multiarch memcpy for PPC32.
20606 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20608 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20609 (__libc_ifunc_impl_list): Likewise.
20611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20612 support multiarch for POWER/PPC32.
20613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20615 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20617 Implies file to make multiarch folder appers before the fpu and
20618 default folder for power4 configuration.
20620 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20622 * scripts/bench.pl: Append volatile keyword to type.
20624 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20626 * sysdeps/sh/sotruss-lib.c: New file.
20627 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20629 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20633 2013-12-05 Joseph Myers <joseph@codesourcery.com>
20636 * math/w_tgamma.c: Include <errno.h>.
20637 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20638 * math/w_tgammaf.c: Include <errno.h>.
20639 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20640 * math/w_tgammal.c: Include <errno.h>.
20641 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20642 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20643 underflow. Add more tgamma tests.
20644 * math/auto-libm-test-out: Regenerated.
20645 * sysdeps/i386/fpu/libm-test-ulps: Update.
20646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20648 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20649 sin, sinh, tan, tanh, tgamma, y0 and y1.
20650 * math/auto-libm-test-out: Regenerated.
20651 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20652 (TEST_COND_x86): Likewise.
20653 (M_E2l): Remove macro.
20655 (M_2_SQRT_PIl): Likewise.
20656 (M_SQRT_PIl): Likewise.
20657 (M_1_DIV_El): Likewise.
20658 (log_test_data): Use AUTO_TESTS_f_f.
20659 (log10_test_data): Likewise.
20660 (log1p_test_data): Likewise.
20661 (log2_test_data): Likewise.
20662 (sin_test_data): Likewise.
20663 (sin_tonearest_test_data): Likewise.
20664 (sin_towardzero_test_data): Likewise.
20665 (sin_downward_test_data): Likewise.
20666 (sin_upward_test_data): Likewise.
20667 (sinh_test_data): Likewise.
20668 (sinh_tonearest_test_data): Likewise.
20669 (sinh_towardzero_test_data): Likewise.
20670 (sinh_downward_test_data): Likewise.
20671 (sinh_upward_test_data): Likewise.
20672 (tan_test_data): Likewise.
20673 (tan_tonearest_test_data): Likewise.
20674 (tan_towardzero_test_data): Likewise.
20675 (tan_downward_test_data): Likewise.
20676 (tan_upward_test_data): Likewise.
20677 (tanh_test_data): Likewise.
20678 (tgamma_test_data): Likewise.
20679 (y0_test_data): Likewise.
20680 (y1_test_data): Likewise.
20681 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20682 (special_real_inputs): Add pi/4.
20683 * sysdeps/i386/fpu/libm-test-ulps: Update.
20684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20686 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20688 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20689 "longjmp_target" static probes.
20690 (__longjmp): Rename to __longjmp_symbol.
20691 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20692 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20693 on which longjmp to generate.
20694 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20695 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20697 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20698 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20699 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20700 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20701 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20702 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20704 __longjmp_symbol based on which __longjmp to generate.
20705 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20707 (setjmp): Rename to setjmp_symbol.
20708 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20709 (_setjmp): Rename to _setjmp_symbol.
20710 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20711 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20712 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20713 which setjmp to generate.
20714 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20715 "longjmp_target" static probes.
20717 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20719 * benchtests/README: Add note about output arguments.
20720 * benchtests/bench-sincos.c: Remove file.
20721 * benchtests/sincos-inputs: New file.
20722 * scripts/bench.pl: Identify output arguments and define
20723 static variables for them.
20725 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20728 * Makefile (INSTALL): Add install-plain.texi as the primary
20730 * manual/install-plain.texi: New file.
20731 * manual/install.texi: Include node directive only for
20732 non-plaintext output.
20734 2013-12-04 Joseph Myers <joseph@codesourcery.com>
20736 * stdlib/longlong.h: Update from GCC.
20740 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20741 * math/w_j0f.c (y0f): Likewise.
20742 * math/w_j0l.c (__y0l): Likewise.
20743 * math/w_j1.c (y1): Likewise.
20744 * math/w_j1f.c (y1f): Likewise.
20745 * math/w_j1l.c (__y1l): Likewise
20746 * math/w_jn.c (yn): Likewise.
20747 * math/w_jnf.c (ynf): Likewise.
20748 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20749 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20750 value for Bessel function domain errors outside _SVID_ mode.
20751 Adjust sign of return value for yn (negative integer, 0).
20752 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20753 by zero in return for negative x and set sign appropriately for
20755 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20756 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20757 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20758 expectations in error cases.
20759 (y1_test_data): Likewise.
20760 (yn_test_data): Likewise.
20761 * sysdeps/i386/fpu/libm-test-ulps: Update.
20762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20764 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20766 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20767 "64" to "64-v1". Add "64-v2".
20768 (abi-64-options): Rename to ...
20769 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20770 (abi-64-condition): Rename to ...
20771 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20772 (abi-64-ld-soname): Rename to ...
20773 (abi-64-v1-ld-soname): ... this.
20774 (abi-64-v2-options): Define.
20775 (abi-64-v2-condition): Likewise.
20776 (abi-64-v2-ld-soname): Likewise.
20777 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20778 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20783 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20784 Alan Modra <amodra@gmail.com>
20786 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20787 New versions for use with the ELFv2 ABI.
20788 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20789 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20791 (struct La_ppc64v2_retval): Likewise.
20792 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20793 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20794 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20795 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20796 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20797 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20798 Do not save or restore CR.
20799 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20800 (_dl_profile_resolve): Do no save or restore CR. Support extended
20801 return values for ELFv2 ABI. Fix location of FPR return registers.
20802 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20803 updated values for _CALL_ELF == 2.
20804 (La_regs, La_retval, int_retval): Likewise.
20806 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20808 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20809 (FRAME_MIN_SIZE_PARM): Likewise.
20810 (FRAME_BACKCHAIN): Likewise.
20811 (FRAME_CR_SAVE): Likewise.
20812 (FRAME_LR_SAVE): Likewise.
20813 (FRAME_TOC_SAVE): Likewise.
20814 (FRAME_PARM_SAVE): Likewise.
20815 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20816 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20817 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20818 (call_mcount_parm_offset): New macro.
20819 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20820 (PROF): Use symbolic stack frame offsets.
20821 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20822 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20823 Redefine in terms of FRAME_MIN_SIZE.
20824 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20825 (_dl_profile_resolve): Likewise. Update comment.
20826 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20827 symbols stack frame offsets.
20828 (__sigsetjmp): Likewise.
20829 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20830 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20831 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20832 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20835 (FRAME_BACKCHAIN): Remove.
20836 (FRAME_CR_SAVE): Likewise.
20837 (FRAME_LR_SAVE): Likewise.
20838 (FRAME_COMPILER_DW): Likewise.
20839 (FRAME_LINKER_DW): Likewise.
20840 (FRAME_TOC_SAVE): Likewise.
20841 (FRAME_PARM_SAVE): Likewise.
20842 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20843 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20844 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20846 (CHECK_SP): Use symbolic stack frame offsets.
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20848 zone" instead of caller's parameter save area for temp storage.
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20850 Likewise. Also, use symbolic stack frame offsets.
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20852 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20853 our own stack frame instead of the caller's.
20854 (__socket): Use symbolic stack frame offsets.
20856 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20857 Alan Modra <amodra@gmail.com>
20859 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20861 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20862 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20863 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20865 (elf_machine_fixup_plt): Call it.
20866 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20868 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20869 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20870 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20871 r2 before calling target.
20873 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20874 Alan Modra <amodra@gmail.com>
20876 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20877 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20878 versions of macros to support ELFv2 ABI.
20879 (LOCALENTRY): New macro.
20880 (ENTRY, EALIGN): Use it.
20881 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20882 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20883 fall through into ENTRY entry point.
20884 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20885 Only define if _CALL_ELF != 2.
20887 (elf_machine_matches_host): Verify ABI version matches.
20888 (RTLD_START): Use LOCALENTRY.
20889 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20890 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20891 (PLT_ENTRY_WORDS): New macro.
20892 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20893 (elf_machine_runtime_setup): Support ELFv2 ABI.
20894 (elf_machine_fixup_plt): Likewise.
20895 (elf_machine_plt_conflict): Likewise.
20896 (resolve_ifunc): Likewise.
20897 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20898 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20901 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20903 (makecontext): Support ELFv2 ABI.
20904 * elf/elf.h (EF_PPC64_ABI): Define.
20906 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20908 * sysdeps/powerpc/powerpc64/sysdep.h
20909 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20910 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20911 (ENTRY) [ASSEMBLER]: ... but instead here ...
20912 (EALIGN) [ASSEMBLER]: ... and here.
20913 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20914 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20915 (ENTRY_2) [!ASSEMBLER]: Use it.
20916 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20917 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20918 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20919 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20920 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20922 Use PPC64_LOAD_FUNCPTR.
20924 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20926 2013-12-04 Alan Modra <amodra@gmail.com>
20928 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20929 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20930 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20931 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20933 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20934 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20935 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20936 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20937 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20938 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20940 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20943 (__makecontext): Fix incorrect CFI when backtracing out of
20944 context created via makecontext.
20945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20946 (__setcontext): Fix incorrect CFI during switch to new context.
20947 (__novec_setcontext): Likewise.
20949 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20952 * time/strptime_l.c (__strptime_internal): Allow modifiers
20954 * time/tst-strptime.c (day_tests): Add testcase.
20956 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20958 * scripts/bench.pl: Skip over blank lines.
20960 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20963 * manual/time.texi (Calendar Time): Clarify what timezone functions
20966 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20970 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20972 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20974 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20975 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20976 * debug/memset_chk.c (__memset_chk): Likewise.
20977 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20978 * debug/strncpy_chk.c: Likewise.
20980 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20984 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20985 (__ieee754_exp): For possibly underflowing results, check size of
20986 result and force underflow exception if required.
20987 * math/auto-libm-test-in: Add more tests of exp.
20988 * math/auto-libm-test-out: Regenerated.
20989 * sysdeps/i386/fpu/libm-test-ulps: Update.
20990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20993 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20994 * math/w_exp2f.c (__exp2f): Likewise.
20995 * math/w_exp2l.c (__exp2l): Likewise.
20996 * math/auto-libm-test-in: Do not allow missing errno on exp2
20998 * math/auto-libm-test-out: Regenerated.
21000 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21003 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21004 handle filename validation.
21005 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21008 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21011 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21012 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21013 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21015 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21016 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21017 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21018 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21019 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21020 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21021 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21022 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21023 Add more erfc tests.
21024 * math/auto-libm-test-out: Regenerated.
21025 * sysdeps/i386/fpu/libm-test-ulps: Update.
21026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21028 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21029 exp2, expm1, j0 and j1.
21030 * math/auto-libm-test-out: Regenerated.
21031 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21032 (erfc_test_data): Likewise.
21033 (exp_test_data): Likewise.
21034 (exp_tonearest_test_data): Likewise.
21035 (exp_towardzero_test_data): Likewise.
21036 (exp_downward_test_data): Likewise.
21037 (exp_upward_test_data): Likewise.
21038 (exp10_test_data): Likewise.
21039 (exp2_test_data): Likewise.
21040 (expm1_test_data): Likewise.
21041 (j0_test_data): Likewise.
21042 (j1_test_data): Likewise.
21043 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21044 (input_flag_type): Add flag_xfail_rounding.
21045 (input_flags): Add xfail-rounding.
21046 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21047 (output_for_one_input_case): Handle flag_xfail_rounding.
21048 * sysdeps/i386/fpu/libm-test-ulps: Update.
21049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21051 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21054 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21057 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21060 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21061 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21062 (STAP_PROBE0): New macro.
21063 (STAP_PROBE1): Likewise.
21064 (STAP_PROBE2): Likewise.
21065 (STAP_PROBE3): Likewise.
21066 (STAP_PROBE4): Likewise.
21068 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21070 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21072 2013-12-02 Steve Ellcey <sellcey@mips.com>
21074 * benchtests/Makefile (bench): Add sqrt.
21075 (LDLIBS-bench-sqrt): New.
21076 * benchtests/sqrt-input: New.
21078 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21080 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21081 (GAIH_EAI): Likewise.
21082 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21083 (gaih_inet): Likewise.
21084 (getaddrinfo): Don't use GAIH_EAI.
21086 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21087 (struct gaih): Remove definition.
21089 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21091 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21092 Use HERRNOP directly.
21094 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21098 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21100 * math/gen-auto-libm-tests.c (test_functions): Add more
21101 single-argument functions.
21102 (special_fill_pi_2): New function.
21103 (special_fill_minus_pi_2): Likewise.
21104 (special_fill_pi_6): Likewise.
21105 (special_fill_minus_pi_6): Likewise.
21106 (special_fill_pi_3): Likewise.
21107 (special_fill_2pi_3): Likewise.
21108 (special_fill_e): Likewise.
21109 (special_fill_1_e): Likewise.
21110 (special_fill_e_minus_1): Likewise.
21111 (special_real_inputs): Add more special inputs.
21112 (output_for_one_input_case): Do not require ERANGE on underflow to
21113 zero if round-to-nearest result does not underflow to zero, unless
21114 exact results required.
21115 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21116 atan, atanh, cbrt, cos and cosh.
21117 * math/auto-libm-test-out: Regenerated.
21118 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21119 (acos_tonearest_test_data): Likewise.
21120 (acos_towardzero_test_data): Likewise.
21121 (acos_downward_test_data): Likewise.
21122 (acos_upward_test_data): Likewise.
21123 (acosh_test_data): Likewise.
21124 (asin_test_data): Likewise.
21125 (asin_tonearest_test_data): Likewise.
21126 (asin_towardzero_test_data): Likewise.
21127 (asin_upward_test_data): Likewise.
21128 (asinh_test_data): Likewise.
21129 (atan_test_data): Likewise.
21130 (atanh_test_data): Likewise.
21131 (cbrt_test_data): Likewise.
21132 (cos_test_data): Likewise.
21133 (cos_tonearest_test_data): Likewise.
21134 (cos_towardzero_test_data): Likewise.
21135 (cos_downward_test_data): Likewise.
21136 (cos_upward_test_data): Likewise.
21137 (cosh_test_data): Likewise.
21138 (cosh_tonearest_test_data): Likewise.
21139 (cosh_towardzero_test_data): Likewise.
21140 (cosh_downward_test_data): Likewise.
21141 (cosh_upward_test_data): Likewise.
21142 * sysdeps/i386/fpu/libm-test-ulps: Update.
21143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21145 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21148 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21149 * math/w_exp10f.c (__exp10f): Likewise.
21150 * math/w_exp10l.c (__exp10l): Likewise.
21151 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21152 errno settings in existing tests.
21155 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21156 precision control set to double precision.
21157 * sysdeps/i386/fpu/w_sqrt.c: New file.
21158 * math/auto-libm-test-in: Add more tests.
21159 * math/auto-libm-test-out: Update.
21161 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21162 (sqrt_test_tonearest): New function.
21163 (sqrt_towardzero_test_data): New variable.
21164 (sqrt_test_towardzero): New function.
21165 (sqrt_downward_test_data): New variable.
21166 (sqrt_test_downward): New function.
21167 (sqrt_upward_test_data): New variable.
21168 (sqrt_test_upward): New function.
21169 (main): Call the new functions.
21171 * math/gen-auto-libm-tests.c: New file.
21172 * math/auto-libm-test-in: Likewise.
21173 * math/auto-libm-test-out: New generated file.
21174 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21176 (%beautify): Add generated representations of zero.
21177 (top level): Set $auto_input and call parse_auto_input.
21178 (beautify): Remove trailing "f" from hex float constants.
21179 (parse_args): Handle XFAIL_TEST.
21180 (convert_condition): New function.
21181 (or_value): Likewise.
21182 (or_cond_value): Likewise.
21183 (generate_testfile): Handle AUTO_TESTS_* lines.
21184 (parse_auto_input): New function.
21185 * math/libm-test.inc (XFAIL_TEST): New macro.
21186 (ERRNO_UNCHANGED): Update value.
21187 (ERRNO_EDOM): Likewise.
21188 (ERRNO_ERANGE): Likewise.
21189 (IGNORE_RESULT): Likewise.
21190 (TEST_COND_flt_32): New macro.
21191 (TEST_COND_dbl_64): Likewise.
21192 (TEST_COND_ldbl_96_intel): Likewise.
21193 (TEST_COND_ldbl_96_m68k): Likewise.
21194 (TEST_COND_ldbl_128): Likewise.
21195 (TEST_COND_ldbl_128ibm): Likewise.
21196 (TEST_COND_long32): Likewise.
21197 (TEST_COND_long64): Likewise.
21198 (TEST_COND_before_rounding): Likewise.
21199 (TEST_COND_after_rounding): Likewise.
21200 (enable_test): Handle XFAIL_TEST flag.
21201 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21202 with finite results.
21203 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21204 auto-libm-test-out.
21206 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21207 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21210 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21211 __tls_get_addr_internal instead of __tls_get_offset in order to
21212 avoid GOT pointer dependency. Make rtld export
21213 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21214 __tls_get_addr since we are a __tls_get_offset platform.
21215 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21216 GOT pointer being set up before.
21217 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21219 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21221 * manual/math.texi (Errors in Math Functions): Document accuracy
21225 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21226 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21229 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21231 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21233 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21239 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21242 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21243 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21244 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21245 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21246 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21248 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21250 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21252 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21253 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21254 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21255 atomic-feupdateenv and flt-rounds.
21256 * sysdeps/powerpc/nofpu/Versions (libc): Add
21257 __atomic_feholdexcept, __atomic_feclearexcept,
21258 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21259 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21260 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21261 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21262 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21267 * manual/arith.texi (FP Exceptions): Document that exceptions may
21268 not be raised when matherr is used.
21269 (Math Error Reporting): Document overflow in directed rounding
21270 modes. Document that errno may not be set when finite values are
21271 returned on overflow. Document intent to set errno on underflow
21272 only for underflow to zero.
21275 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21276 round-to-nearest then adjust result for other rounding modes.
21277 * include/fenv.h (fegetround): Use libm_hidden_proto.
21278 * math/fegetround.c (fegetround): Use libm_hidden_def.
21279 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21280 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21281 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21282 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21284 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21285 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21286 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21287 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21289 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21292 * nss/Versions (libnss_files): Add
21293 _nss_files_gethostbyname3_r.
21294 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21296 (HOST_DB_LOOKUP): Remove macro.
21297 (_nss_files_gethostbyname_r): Implement function without the
21298 HOST_DB_LOOKUP macro.
21299 (_nss_files_gethostbyname2_r): Likewise.
21301 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
21303 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21305 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
21307 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21308 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21311 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21313 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21314 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21315 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21316 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21317 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21318 __fe_nomask_env_priv and attribute_hidden.
21319 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21320 (libc_feupdateenv_test_ppc): Likewise.
21321 (libc_feresetround_ppc): Likewise.
21322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21323 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21324 compat_symbol macro.
21325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21326 (__fe_nomask_env): Likewise.
21327 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21329 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21331 * string/Makefile: Remove ifunc tests.
21332 * string/test-string.h: Define TEST_IFUNC.
21333 * string/test-bcopy-ifunc.c: Remove.
21334 * string/test-bzero-ifunc.c: Likewise.
21335 * string/test-memccpy-ifunc.c: Likewise.
21336 * string/test-memchr-ifunc.c: Likewise.
21337 * string/test-memcmp-ifunc.c: Likewise.
21338 * string/test-memcpy-ifunc.c: Likewise.
21339 * string/test-memmem-ifunc.c: Likewise.
21340 * string/test-memmove-ifunc.c: Likewise.
21341 * string/test-mempcpy-ifunc.c: Likewise.
21342 * string/test-memrchr-ifunc.c: Likewise.
21343 * string/test-memset-ifunc.c: Likewise.
21344 * string/test-rawmemchr-ifunc.c: Likewise.
21345 * string/test-stpcpy-ifunc.c: Likewise.
21346 * string/test-stpncpy-ifunc.c: Likewise.
21347 * string/test-strcasecmp-ifunc.c: Likewise.
21348 * string/test-strcasestr-ifunc.c: Likewise.
21349 * string/test-strcat-ifunc.c: Likewise.
21350 * string/test-strchr-ifunc.c: Likewise.
21351 * string/test-strchrnul-ifunc.c: Likewise.
21352 * string/test-strcmp-ifunc.c: Likewise.
21353 * string/test-strcpy-ifunc.c: Likewise.
21354 * string/test-strcspn-ifunc.c: Likewise.
21355 * string/test-strlen-ifunc.c: Likewise.
21356 * string/test-strncasecmp-ifunc.c: Likewise.
21357 * string/test-strncat-ifunc.c: Likewise.
21358 * string/test-strncmp-ifunc.c: Likewise.
21359 * string/test-strncpy-ifunc.c: Likewise.
21360 * string/test-strnlen-ifunc.c: Likewise.
21361 * string/test-strpbrk-ifunc.c: Likewise.
21362 * string/test-strrchr-ifunc.c: Likewise.
21363 * string/test-strspn-ifunc.c: Likewise.
21364 * string/test-strstr-ifunc.c: Likewise.
21366 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21368 * benchtests/Makefile: Remove ifunc tests.
21369 * benchtests/bench-string.h: Define TEST_IFUNC.
21370 * benchtests/bench-bcopy-ifunc.c: Remove.
21371 * benchtests/bench-bzero-ifunc.c: Likewise.
21372 * benchtests/bench-memccpy-ifunc.c: Likewise.
21373 * benchtests/bench-memchr-ifunc.c: Likewise.
21374 * benchtests/bench-memcmp-ifunc.c: Likewise.
21375 * benchtests/bench-memcpy-ifunc.c: Likewise.
21376 * benchtests/bench-memmem-ifunc.c: Likewise.
21377 * benchtests/bench-memmove-ifunc.c: Likewise.
21378 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21379 * benchtests/bench-memrchr-ifunc.c: Likewise.
21380 * benchtests/bench-memset-ifunc.c: Likewise.
21381 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21382 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21383 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21384 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21385 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21386 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21387 * benchtests/bench-strcat-ifunc.c: Likewise.
21388 * benchtests/bench-strchr-ifunc.c: Likewise.
21389 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21390 * benchtests/bench-strcmp-ifunc.c: Likewise.
21391 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21392 * benchtests/bench-strcpy-ifunc.c: Likewise.
21393 * benchtests/bench-strcspn-ifunc.c: Likewise.
21394 * benchtests/bench-strlen-ifunc.c: Likewise.
21395 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21396 * benchtests/bench-strncat-ifunc.c: Likewise.
21397 * benchtests/bench-strncmp-ifunc.c: Likewise.
21398 * benchtests/bench-strncpy-ifunc.c: Likewise.
21399 * benchtests/bench-strnlen-ifunc.c: Likewise.
21400 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21401 * benchtests/bench-strrchr-ifunc.c: Likewise.
21402 * benchtests/bench-strsep-ifunc.c: Likewise.
21403 * benchtests/bench-strspn-ifunc.c: Likewise.
21404 * benchtests/bench-strstr-ifunc.c: Likewise.
21406 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21408 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21410 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21412 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21413 * rt/aio.h: Likewise.
21414 * sysdeps/gnu/bits/utmp.h: Likewise.
21415 * sysdeps/gnu/bits/utmpx.h: Likewise.
21416 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21417 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21418 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21419 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21420 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21421 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21422 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21423 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21424 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21425 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21426 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21427 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21428 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21430 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21431 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21432 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21433 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21434 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21435 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21436 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21437 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21438 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21439 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21440 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21442 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21443 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21444 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21445 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21446 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21447 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21448 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21449 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21450 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21451 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21452 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21453 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21454 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21455 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21456 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21457 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21459 2013-11-25 Carlos O'Donell <carlos@redhat.com>
21462 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21463 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21465 2013-11-25 Joseph Myers <joseph@codesourcery.com>
21467 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21468 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21471 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21473 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21474 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21475 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21476 (__fesetround): Remove define.
21477 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21478 rounding and exceptions handling.
21479 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21480 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21481 (__fe_nomask_env): Likewise.
21482 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21483 __fegetround instead of fegetround.
21484 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21485 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21487 2013-11-21 Roland McGrath <roland@hack.frob.com>
21489 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21492 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21494 2013-11-21 Meador Inge <meadori@codesourcery.com>
21497 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21498 (encrypt_r): Likewise.
21499 * malloc/obstack.h (obstack_free): Likewise.
21500 * posix/unistd.h (encrypt): Likewise.
21502 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21504 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21505 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21506 DL_CALL_DT_FINI() that call the functions directly.
21507 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21508 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21509 * elf/dl-fini.c: Likewise.
21511 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
21513 * malloc/hooks.c (memalign_check): Add alignment rounding.
21514 * malloc/malloc.c (_mid_memalign): New function.
21515 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21516 Implement by calling _mid_memalign.
21517 * manual/probes.texi (Memory Allocation Probes): Remove
21518 memory_valloc_retry and memory_pvalloc_retry.
21520 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21522 * locale/programs/locarchive.c (open_archive): Add const
21523 qualifier to ARCHIVEFNAME and copy default fname to
21527 * libio/tst-widetext.input: Rename Oriya to Odia.
21528 * locale/iso-639.def: Likewise.
21530 * manual/probes.texi (Mathematical Function Probes): Add
21531 documentation for sin, cos, asin and acos probes.
21532 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21533 (__sin32): Add slowasin probe.
21534 (__cos32): Add slowacos probe.
21535 (__mpsin): Add slowsin probe.
21536 (__mpcos): Add slowcos probe.
21538 2013-11-19 Joseph Myers <joseph@codesourcery.com>
21541 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21542 thread-local __sim_exceptions_thread and global
21543 __sim_exceptions_global.
21544 (__sim_disabled_exceptions): Change to thread-local
21545 __sim_disabled_exceptions_thread and global
21546 __sim_disabled_exceptions_global.
21547 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21548 and global __sim_round_mode_global.
21549 (__simulate_exceptions): Use thread-local floating-point state and
21550 set global state from it as needed.
21551 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21552 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21553 __sim_round_mode_thread.
21554 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21555 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21556 and global __sim_exceptions_global.
21557 (__sim_disabled_exceptions): Change to thread-local
21558 __sim_disabled_exceptions_thread and global
21559 __sim_disabled_exceptions_global.
21560 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21561 and global __sim_round_mode_global.
21562 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21563 (SIM_SET_GLOBAL): Likewise.
21564 * sysdeps/powerpc/soft-fp/sfp-machine.h
21565 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21566 __sim_round_mode_thread.
21567 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21568 __sim_disabled_exceptions_thread.
21569 (__sim_exceptions): Change to __sim_exceptions_thread.
21570 (__sim_disabled_exceptions): Change to
21571 __sim_disabled_exceptions_thread.
21572 (__sim_round_mode): Change to __sim_round_mode_thread.
21573 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21574 thread-local floating-point state and set global state from it as
21576 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21577 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21578 (__sim_disabled_exceptions): Remove extern declaration.
21579 (feenableexcept): Use thread-local floating-point state and set
21580 global state from it as needed.
21581 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21582 extern declaration.
21583 (__sim_disabled_exceptions): Likewise.
21584 (__sim_round_mode): Likewise.
21585 (__fegetenv): Use thread-local floating-point state.
21586 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21587 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21588 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21589 floating-point state and set global state from it as needed.
21590 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21591 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21592 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21594 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21595 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21597 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21598 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21599 Use __sim_round_mode_thread.
21600 * math/test-fenv-tls.c: New file.
21601 * math/Makefile (tests): Add test-fenv-tls.
21602 ($(objpfx)test-fenv-tls): Depend on
21603 $(common-objpfx)nptl/libpthread.so.
21605 2013-11-19 Andreas Schwab <schwab@suse.de>
21607 * locale/programs/locale.c (show_info): Decode wordarray elements.
21608 * locale/categories.def (LC_MONETARY): Add element for
21609 _NL_MONETARY_CRNCYSTR.
21610 * locale/C-monetary.c (conversion_rate): New variable.
21611 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21614 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21616 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21617 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21619 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21621 * elf/Makefile (tst-auxv): New test.
21622 * elf/tst-auxv.c: New
21623 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21625 2013-11-18 Joseph Myers <joseph@codesourcery.com>
21627 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21628 (hidden_proto): Caller changed.
21629 (hidden_tls_proto): New macro.
21630 (libc_hidden_tls_proto): Likewise.
21631 (rtld_hidden_tls_proto): Likewise.
21632 (libm_hidden_tls_proto): Likewise.
21633 (libresolv_hidden_tls_proto): Likewise.
21634 (librt_hidden_tls_proto): Likewise.
21635 (libdl_hidden_tls_proto): Likewise.
21636 (libnss_files_hidden_tls_proto): Likewise.
21637 (libnsl_hidden_tls_proto): Likewise.
21638 (libnss_nisplus_hidden_tls_proto): Likewise.
21639 (libutil_hidden_tls_proto): Likewise.
21641 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
21644 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21645 (decompose_rpath): Defer expansion to fillin_rpath.
21646 (_dl_init_paths): Pass linkmap to fillin_rpath.
21648 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21650 * benchtests/Makefile: Add strsep.
21651 * benchtests/bench-strsep.c: New file: strsep benchtest.
21652 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21654 2013-11-18 Andreas Schwab <schwab@suse.de>
21656 * locale/programs/locale.c (show_info) [case byte]: Check for
21657 '\377' instead of '\177'.
21658 * locale/C-monetary.c (not_available): Always use "\377".
21659 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21660 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21661 detect unavailable sign_posn locale elements.
21662 * locale/localeconv.c (__localeconv): For grouping and
21663 mon_grouping handle "\177" and "\377" like no grouping.
21664 (INT_ELEM): New macro. Use it to set all numeric members.
21665 * locale/programs/ld-monetary.c (monetary_read)
21666 <tok_mon_grouping>: Normalize single -1 to the empty string.
21667 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21670 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21673 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21674 when we match (nil).
21675 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21677 2013-11-16 Joseph Myers <joseph@codesourcery.com>
21679 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21680 (NO_TEST_INLINE): Update value.
21681 (ERRNO_UNCHANGED): Likewise.
21682 (ERRNO_EDOM): Likewise.
21683 (ERRNO_ERANGE): Likewise.
21684 (IGNORE_RESULT): Likewise.
21685 (check_float_internal): Check signs of NaN results if
21686 TEST_NAN_SIGN used.
21687 (check_complex): Pass TEST_NAN_SIGN flag through to second
21688 check_float_internal call.
21689 (copysign_test_data): Add tests with quiet NaNs as second
21690 argument. Use TEST_NAN_SIGN.
21691 (fabs_test_data): Add test of negative quiet NaN argument. Use
21693 (signbit_test_data): Add tests of quiet NaN argument.
21694 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21696 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21698 (parse_args): Handle function results specified as IGNORE.
21699 * math/libm-test.inc (IGNORE_RESULT): New macro.
21700 (check_float_internal): Do not check numerical result if flag
21702 (check_complex): Pass through IGNORE_RESULT to second
21703 check_float_internal call.
21704 (check_int): Do not check numerical result if flag IGNORE_RESULT
21706 (check_long): Likewise.
21707 (check_bool): Likewise.
21708 (check_longlong): Likewise.
21709 (lrint_test_data): Add tests of infinite and NaN arguments.
21710 (lrint_tonearest_test_data): Likewise.
21711 (lrint_towardzero_test_data): Likewise.
21712 (lrint_downward_test_data): Likewise.
21713 (lrint_upward_test_data): Likewise.
21714 (llrint_test_data): Likewise.
21715 (llrint_tonearest_test_data): Likewise.
21716 (llrint_towardzero_test_data): Likewise.
21717 (llrint_downward_test_data): Likewise.
21718 (llrint_upward_test_data): Likewise.
21719 (lround_test_data): Likewise.
21720 (llround_test_data): Likewise.
21722 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21723 (ERRNO_UNCHANGED): Update value.
21724 (ERRNO_EDOM): Likewise.
21725 (ERRNO_ERANGE): Likewise.
21726 (NO_TEST_INLINE_FLOAT): New macro.
21727 (NO_TEST_INLINE_DOUBLE): Likewise.
21728 (enable_test): New function.
21729 (RUN_TEST_f_f): Check enable_test before running test.
21730 (RUN_TEST_2_f): Likewise.
21731 (RUN_TEST_fff_f): Likewise.
21732 (RUN_TEST_c_f): Likewise.
21733 (RUN_TEST_f_f1): Likewise.
21734 (RUN_TEST_fF_f1): Likewise.
21735 (RUN_TEST_fI_f1): Likewise.
21736 (RUN_TEST_ffI_f1): Likewise.
21737 (RUN_TEST_c_c): Likewise.
21738 (RUN_TEST_cc_c): Likewise.
21739 (RUN_TEST_f_i): Likewise.
21740 (RUN_TEST_f_i_tg): Likewise.
21741 (RUN_TEST_ff_i_tg): Likewise.
21742 (RUN_TEST_f_b): Likewise.
21743 (RUN_TEST_f_b_tg): Likewise.
21744 (RUN_TEST_f_l): Likewise.
21745 (RUN_TEST_f_L): Likewise.
21746 (RUN_TEST_fFF_11): Likewise.
21747 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21749 (cosh_test_data): Likewise.
21750 (exp_test_data): Likewise.
21751 (expm1_test_data): Likewise.
21752 (hypot_test_data): Likewise.
21753 (pow_test_data): Likewise.
21754 (sinh_test_data): Likewise.
21755 (tanh_test_data): Likewise.
21756 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21759 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21760 tests with quiet NaN input and output.
21761 (acosh_test_data): Likewise.
21762 (asin_test_data): Likewise.
21763 (asinh_test_data): Likewise.
21764 (atan_test_data): Likewise.
21765 (atanh_test_data): Likewise.
21766 (atan2_test_data): Likewise.
21767 (cbrt_test_data): Likewise.
21768 (cos_test_data): Likewise.
21769 (cosh_test_data): Likewise.
21770 (erf_test_data): Likewise.
21771 (erfc_test_data): Likewise.
21772 (exp_test_data): Likewise.
21773 (exp10_test_data): Likewise.
21774 (exp2_test_data): Likewise.
21775 (expm1_test_data): Likewise.
21776 (hypot_test_data): Likewise.
21777 (j0_test_data): Likewise.
21778 (j1_test_data): Likewise.
21779 (jn_test_data): Likewise.
21780 (lgamma_test_data): Likewise.
21781 (log_test_data): Likewise.
21782 (log10_test_data): Likewise.
21783 (log1p_test_data): Likewise.
21784 (log2_test_data): Likewise.
21785 (pow_test_data): Likewise.
21786 (scalb_test_data): Likewise.
21787 (sin_test_data): Likewise.
21788 (sincos_test_data): Likewise.
21789 (sinh_test_data): Likewise.
21790 (tan_test_data): Likewise.
21791 (tanh_test_data): Likewise.
21792 (tgamma_test_data): Likewise.
21793 (y0_test_data): Likewise.
21794 (y1_test_data): Likewise.
21795 (yn_test_data): Likewise.
21798 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21799 argument being NaN and avoid computations with second argument in
21801 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21802 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21803 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21805 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21807 * locale/iso-639.def: Add Chitwani Tharu (the).
21809 2013-11-14 Andreas Schwab <schwab@suse.de>
21811 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21812 word instead of empty string.
21814 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21817 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21819 (__fe_nomask_env): Likewise.
21821 2013-11-13 Steve Ellcey <sellcey@mips.com>
21823 * benchtests/bench-timing.h: Include time.h.
21825 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21828 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21830 * sysdeps/unix/sysv/linux/configure: Regenerated.
21832 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21835 * stdlib/strtod_l.c (round_and_return): Do not consider
21836 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21837 exponent one less than half the least subnormal exponent.
21838 * stdlib/test-strtod-round-data: Add more tests.
21839 * stdlib/tst-strtod-round.c (tests): Regenerated.
21841 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21844 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21845 (__fe_mask_env): Likewise.
21846 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21847 libm_hidden_proto and add function prototype.
21848 (__fe_mask_env): Add function prototype.
21849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21850 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21852 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21854 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21856 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21858 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21859 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21861 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21863 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21864 of htab_find_slot().
21866 2013-11-11 David S. Miller <davem@davemloft.net>
21869 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21870 symbol in the non-vis3 case in static builds.
21871 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21872 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21873 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21874 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21876 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21879 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21882 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21884 * benchtests/Makefile: Add bench-strtod.
21885 * benchtests/bench-strtod.c: New file: strtod benchtest
21887 2013-11-11 Andreas Schwab <schwab@suse.de>
21890 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21891 terminating NUL in key length.
21893 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21895 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21896 Add artificial ODP entry for vDSO symbol for PPC64.
21897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21898 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21900 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21903 * nss/getent.c (services_keys): Recognize services starting with digit.
21905 2013-11-06 David S. Miller <davem@davemloft.net>
21908 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21909 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21911 2013-11-06 Will Newton <will.newton@linaro.org>
21913 * manual/memory.texi (Malloc Examples): Remove register
21914 keyword from examples.
21916 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21918 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21920 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21923 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21924 depending on [__GCC_IEC_559 > 0].
21925 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21926 depending on [__GCC_IEC_559_COMPLEX > 0].
21928 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21930 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21933 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21935 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21937 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21940 * malloc/malloc (malloc_info): Do not handle first bin as
21943 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21945 * locale/iso-639.def: Add Central Nahuatl (nhn).
21947 2013-11-01 Bruno Haible <bruno@clisp.org>
21950 * manual/math.texi (BSD Random): Specify range upper bound as
21953 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21955 * locale/iso-639.def: Add Meadow Mari (mhr).
21957 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21959 [BZ #14752], [BZ #15763]
21960 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21962 * rt/tst_shm.c: Add test for escaping directory.
21964 2013-10-31 Andreas Schwab <schwab@suse.de>
21967 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21968 followed by 'x' as part of digit sequence.
21969 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21971 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21974 * configure.ac: allow GNU Make 4.0 and greater.
21975 * configure: Regenerated.
21977 2013-10-30 Will Newton <will.newton@linaro.org>
21980 * malloc/hooks.c (memalign_check): Limit alignment to the
21981 maximum representable power of two.
21982 * malloc/malloc.c (__libc_memalign): Likewise.
21983 * malloc/tst-memalign.c (do_test): Add test for very
21984 large alignment values.
21985 * malloc/tst-posix_memalign.c (do_test): Likewise.
21987 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21990 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21991 (munmap_chunk): Likewise.
21992 (mremap_chunk): Likewise.
21994 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21997 * stdlib/div.c (div): Remove obsolete code.
21998 * stdlib/ldiv.c (ldiv): Likewise.
21999 * stdlib/lldiv.c (lldiv): Likewise.
22001 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22004 * nss/nss_files/files-XXX.c (get_contents_ret): New
22006 (get_contents): New function.
22007 (internal_getent): Use it. Expand size of LINEBUFLEN.
22009 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22011 * configure.in: Moved to ...
22012 * configure.ac: ... here. Change reference to configure.in
22014 * sysdeps/arm/preconfigure.ac: ... here.
22015 configure.in to configure.ac.
22016 * sysdeps/gnu/configure.in: Moved to ...
22017 * sysdeps/gnu/configure.ac: ... here.
22018 * sysdeps/i386/configure.in: Moved to ...
22019 * sysdeps/i386/configure.ac: ... here.
22020 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22021 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22022 * sysdeps/mach/configure.in: Moved to ...
22023 * sysdeps/mach/configure.ac: ... here.
22024 * sysdeps/mach/hurd/configure.in: Moved to ...
22025 * sysdeps/mach/hurd/configure.ac: ... here.
22026 * sysdeps/powerpc/configure.in: Moved to ...
22027 * sysdeps/powerpc/configure.ac: ... here.
22028 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22029 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22030 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22031 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22032 * sysdeps/s390/s390-32/configure.in: Moved to ...
22033 * sysdeps/s390/s390-32/configure.ac: ... here.
22034 * sysdeps/s390/s390-64/configure.in: Moved to ...
22035 * sysdeps/s390/s390-64/configure.ac: ... here.
22036 * sysdeps/sh/configure.in: Moved to ...
22037 * sysdeps/sh/configure.ac: ... here.
22038 * sysdeps/sparc/configure.in: Moved to ...
22039 * sysdeps/sparc/configure.ac: ... here.
22040 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22041 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22042 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22043 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22044 * sysdeps/x86_64/configure.in: Moved to ...
22045 * sysdeps/x86_64/configure.ac: ... here.
22046 * sysdeps/x86_64/preconfigure.in: Moved to ...
22047 * sysdeps/x86_64/preconfigure.ac: ... here.
22048 * aclocal.m4: Change reference to configure.in to configure.ac.
22049 * config.h.in: Likewise.
22050 * manual/install.texi: Likewise.
22051 * manual/maint.texi: Likewise.
22052 * Makefile: Likewise.
22053 * malloc/Makefile: Likewise.
22054 * nscd/Makefile: Likewise.
22055 * Makeconfig: Change reference to configure.in and
22056 preconfigure.in to configure.ac and preconfigure.ac
22058 * INSTALL: Regenerated.
22059 * configure: Likewise.
22060 * sysdeps/gnu/configure: Likewise.
22061 * sysdeps/i386/configure: Likewise.
22062 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22063 * sysdeps/mach/configure: Likewise.
22064 * sysdeps/mach/hurd/configure: Likewise.
22065 * sysdeps/powerpc/configure: Likewise.
22066 * sysdeps/powerpc/powerpc32/configure: Likewise.
22067 * sysdeps/powerpc/powerpc64/configure: Likewise.
22068 * sysdeps/s390/s390-32/configure: Likewise.
22069 * sysdeps/s390/s390-64/configure: Likewise.
22070 * sysdeps/sh/configure: Likewise.
22071 * sysdeps/sparc/configure: Likewise.
22072 * sysdeps/unix/sysv/linux/configure: Likewise.
22073 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22074 * sysdeps/x86_64/configure: Likewise.
22075 * sysdeps/x86_64/preconfigure: Likewise.
22077 2013-10-29 Andreas Schwab <schwab@suse.de>
22079 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22081 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22083 * benchtests/pow-inputs: Add new inputs.
22085 * benchtests/exp-inputs: Add new inputs.
22087 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22088 conditional check for return value.
22089 (__cos32): Likewise.
22091 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22093 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22094 to provide a boost for large inputs with word alignment.
22095 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22096 implementation based on optimized PPC64 strcpy.
22097 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22098 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22099 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22100 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22102 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22105 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22107 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22110 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22111 * time/tst-strptime.c (day_tests): Add testcase.
22113 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22116 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22118 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22121 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22122 MAP_FAILED on error.
22124 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22127 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22128 heap for large requests.
22130 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22133 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22134 result if the result has no associated interface.
22135 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22136 interface for all 127.X.Y.Z addresses.
22138 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22140 * locale/iso-639.def: Add Ligurian (lij)
22142 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22145 * sunrpc/rpc_main.c: Document rpcgen -5.
22147 2013-10-19 Michael Stahl <mstahl@redhat.com>
22149 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22151 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22154 * posix/glob.c: Match only directories when trailing slash is present.
22155 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22156 (main): Add testcase.
22158 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22161 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22163 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22165 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22166 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22167 AUTH_DES and cindex for FIPS 140-2.
22168 (DES Encryption): Add cindex FIPS 46-3.
22170 * locale/locarchive.h (struct locarhandle): Add fname.
22171 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22172 if an optional argument was specified to --list-archive,
22174 * locale/programs/locarchive.c (show_archive_content): Take new
22175 argument fname and pass it via ah.fname to open_archive.
22176 * locale/programs/localedef.h: Update decl.
22177 (open_archive): If AH->fname is non-null, open that file
22178 rather than the default file name, and don't ignore ENOENT.
22179 (create_archive): Set AH.fname to NULL.
22180 (delete_locales_from_archive): Likewise.
22181 (add_locales_to_archive): Likewise.
22182 * locale/programs/locfile.c (write_all_categories): Likewise.
22184 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22185 Aldy Hernandez <aldyh@redhat.com>
22187 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22188 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22189 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22190 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22191 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22192 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22193 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22194 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22195 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22196 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22197 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22198 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22199 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22200 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22201 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22203 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22205 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22207 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22209 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22210 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22212 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22213 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22214 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22215 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22217 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22218 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22219 * sysdeps/powerpc/preconfigure: Likewise.
22220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22222 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22223 Replace contents of file by #include of <fenv_libc.h>.
22224 * sysdeps/powerpc/soft-fp/sfp-machine.h
22225 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22227 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22230 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22231 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22232 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22234 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22235 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22236 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22237 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22238 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22240 Allow copysignl PLT reference to be missing.
22242 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22243 Joseph Myers <joseph@codesourcery.com
22246 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22248 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22250 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22252 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22253 * elf/tst-tls1.c: Likewise.
22254 * elf/tst-tls10.h: Likewise.
22255 * elf/tst-tls14.c: Likewise.
22256 * elf/tst-tls2.c: Likewise.
22257 * elf/tst-tls3.c: Likewise.
22258 * elf/tst-tls4.c: Likewise.
22259 * elf/tst-tls5.c: Likewise.
22260 * elf/tst-tls6.c: Likewise.
22261 * elf/tst-tls7.c: Likewise.
22262 * elf/tst-tls8.c: Likewise.
22263 * elf/tst-tls9.c: Likewise.
22264 * elf/tst-tlsmod1.c: Likewise.
22265 * elf/tst-tlsmod13.c: Likewise.
22266 * elf/tst-tlsmod13a.c: Likewise.
22267 * elf/tst-tlsmod14a.c: Likewise.
22268 * elf/tst-tlsmod16a.c: Likewise.
22269 * elf/tst-tlsmod16b.c: Likewise.
22270 * elf/tst-tlsmod2.c: Likewise.
22271 * elf/tst-tlsmod3.c: Likewise.
22272 * elf/tst-tlsmod4.c: Likewise.
22273 * elf/tst-tlsmod5.c: Likewise.
22274 * elf/tst-tlsmod6.c: Likewise.
22276 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22279 * malloc/malloc.c: remove checks for statistics.
22281 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22284 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22285 * inet/tst-network.c: Add testcase.
22287 2013-10-17 Andreas Schwab <schwab@suse.de>
22290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22291 to determine canonical name.
22293 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22295 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22296 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22298 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22300 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22301 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22302 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22303 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22304 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22305 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22306 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22307 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22308 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22309 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22310 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22312 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22313 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22314 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22317 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22318 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22319 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22320 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22321 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22322 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22323 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22324 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22325 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22326 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22327 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22328 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22329 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22330 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22331 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22332 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22333 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22335 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22336 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22337 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22338 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22339 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22340 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22341 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22342 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22343 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22345 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22346 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22347 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22352 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22354 2013-10-17 Joseph Myers <joseph@codesourcery.com>
22357 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22358 make result into a quiet NaN.
22360 2013-10-16 Joseph Myers <joseph@codesourcery.com>
22362 * soft-fp/adddf3.c: Fix horizontal whitespace.
22363 * soft-fp/addsf3.c: Likewise.
22364 * soft-fp/addtf3.c: Likewise.
22365 * soft-fp/divdf3.c: Likewise.
22366 * soft-fp/divsf3.c: Likewise.
22367 * soft-fp/divtf3.c: Likewise.
22368 * soft-fp/double.h: Likewise.
22369 * soft-fp/eqdf2.c: Likewise.
22370 * soft-fp/eqsf2.c: Likewise.
22371 * soft-fp/eqtf2.c: Likewise.
22372 * soft-fp/extenddftf2.c: Likewise.
22373 * soft-fp/extended.h: Likewise.
22374 * soft-fp/extendsfdf2.c: Likewise.
22375 * soft-fp/extendsftf2.c: Likewise.
22376 * soft-fp/extendxftf2.c: Likewise.
22377 * soft-fp/fixdfdi.c: Likewise.
22378 * soft-fp/fixdfsi.c: Likewise.
22379 * soft-fp/fixdfti.c: Likewise.
22380 * soft-fp/fixsfdi.c: Likewise.
22381 * soft-fp/fixsfsi.c: Likewise.
22382 * soft-fp/fixsfti.c: Likewise.
22383 * soft-fp/fixtfdi.c: Likewise.
22384 * soft-fp/fixtfsi.c: Likewise.
22385 * soft-fp/fixtfti.c: Likewise.
22386 * soft-fp/fixunsdfdi.c: Likewise.
22387 * soft-fp/fixunsdfsi.c: Likewise.
22388 * soft-fp/fixunsdfti.c: Likewise.
22389 * soft-fp/fixunssfdi.c: Likewise.
22390 * soft-fp/fixunssfsi.c: Likewise.
22391 * soft-fp/fixunssfti.c: Likewise.
22392 * soft-fp/fixunstfdi.c: Likewise.
22393 * soft-fp/fixunstfsi.c: Likewise.
22394 * soft-fp/fixunstfti.c: Likewise.
22395 * soft-fp/floatdidf.c: Likewise.
22396 * soft-fp/floatdisf.c: Likewise.
22397 * soft-fp/floatditf.c: Likewise.
22398 * soft-fp/floatsidf.c: Likewise.
22399 * soft-fp/floatsisf.c: Likewise.
22400 * soft-fp/floatsitf.c: Likewise.
22401 * soft-fp/floattidf.c: Likewise.
22402 * soft-fp/floattisf.c: Likewise.
22403 * soft-fp/floattitf.c: Likewise.
22404 * soft-fp/floatundidf.c: Likewise.
22405 * soft-fp/floatundisf.c: Likewise.
22406 * soft-fp/floatunditf.c: Likewise.
22407 * soft-fp/floatunsidf.c: Likewise.
22408 * soft-fp/floatunsisf.c: Likewise.
22409 * soft-fp/floatunsitf.c: Likewise.
22410 * soft-fp/floatuntidf.c: Likewise.
22411 * soft-fp/floatuntisf.c: Likewise.
22412 * soft-fp/floatuntitf.c: Likewise.
22413 * soft-fp/fmadf4.c: Likewise.
22414 * soft-fp/fmasf4.c: Likewise.
22415 * soft-fp/fmatf4.c: Likewise.
22416 * soft-fp/gedf2.c: Likewise.
22417 * soft-fp/gesf2.c: Likewise.
22418 * soft-fp/getf2.c: Likewise.
22419 * soft-fp/ledf2.c: Likewise.
22420 * soft-fp/lesf2.c: Likewise.
22421 * soft-fp/letf2.c: Likewise.
22422 * soft-fp/muldf3.c: Likewise.
22423 * soft-fp/mulsf3.c: Likewise.
22424 * soft-fp/multf3.c: Likewise.
22425 * soft-fp/negdf2.c: Likewise.
22426 * soft-fp/negsf2.c: Likewise.
22427 * soft-fp/negtf2.c: Likewise.
22428 * soft-fp/op-1.h: Likewise.
22429 * soft-fp/op-2.h: Likewise.
22430 * soft-fp/op-4.h: Likewise.
22431 * soft-fp/op-8.h: Likewise.
22432 * soft-fp/op-common.h: Likewise.
22433 * soft-fp/quad.h: Likewise.
22434 * soft-fp/single.h: Likewise.
22435 * soft-fp/soft-fp.h: Likewise.
22436 * soft-fp/sqrtdf2.c: Likewise.
22437 * soft-fp/sqrtsf2.c: Likewise.
22438 * soft-fp/sqrttf2.c: Likewise.
22439 * soft-fp/subdf3.c: Likewise.
22440 * soft-fp/subsf3.c: Likewise.
22441 * soft-fp/subtf3.c: Likewise.
22442 * soft-fp/truncdfsf2.c: Likewise.
22443 * soft-fp/trunctfdf2.c: Likewise.
22444 * soft-fp/trunctfsf2.c: Likewise.
22445 * soft-fp/trunctfxf2.c: Likewise.
22446 * soft-fp/unorddf2.c: Likewise.
22447 * soft-fp/unordsf2.c: Likewise.
22448 * soft-fp/unordtf2.c: Likewise.
22450 2013-10-15 Joseph Myers <joseph@codesourcery.com>
22452 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22453 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22455 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
22457 * elf/dl-libc.c: Clear initfini list after freeing.
22459 2013-10-14 Joseph Myers <joseph@codesourcery.com>
22461 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22462 * soft-fp/addsf3.c: Likewise.
22463 * soft-fp/addtf3.c: Likewise.
22464 * soft-fp/divdf3.c: Likewise.
22465 * soft-fp/divsf3.c: Likewise.
22466 * soft-fp/divtf3.c: Likewise.
22467 * soft-fp/double.h: Likewise.
22468 * soft-fp/eqdf2.c: Likewise.
22469 * soft-fp/eqsf2.c: Likewise.
22470 * soft-fp/eqtf2.c: Likewise.
22471 * soft-fp/extenddftf2.c: Likewise.
22472 * soft-fp/extended.h: Likewise.
22473 * soft-fp/extendsfdf2.c: Likewise.
22474 * soft-fp/extendsftf2.c: Likewise.
22475 * soft-fp/extendxftf2.c: Likewise.
22476 * soft-fp/fixdfdi.c: Likewise.
22477 * soft-fp/fixdfsi.c: Likewise.
22478 * soft-fp/fixdfti.c: Likewise.
22479 * soft-fp/fixsfdi.c: Likewise.
22480 * soft-fp/fixsfsi.c: Likewise.
22481 * soft-fp/fixsfti.c: Likewise.
22482 * soft-fp/fixtfdi.c: Likewise.
22483 * soft-fp/fixtfsi.c: Likewise.
22484 * soft-fp/fixtfti.c: Likewise.
22485 * soft-fp/fixunsdfdi.c: Likewise.
22486 * soft-fp/fixunsdfsi.c: Likewise.
22487 * soft-fp/fixunsdfti.c: Likewise.
22488 * soft-fp/fixunssfdi.c: Likewise.
22489 * soft-fp/fixunssfsi.c: Likewise.
22490 * soft-fp/fixunssfti.c: Likewise.
22491 * soft-fp/fixunstfdi.c: Likewise.
22492 * soft-fp/fixunstfsi.c: Likewise.
22493 * soft-fp/fixunstfti.c: Likewise.
22494 * soft-fp/floatdidf.c: Likewise.
22495 * soft-fp/floatdisf.c: Likewise.
22496 * soft-fp/floatditf.c: Likewise.
22497 * soft-fp/floatsidf.c: Likewise.
22498 * soft-fp/floatsisf.c: Likewise.
22499 * soft-fp/floatsitf.c: Likewise.
22500 * soft-fp/floattidf.c: Likewise.
22501 * soft-fp/floattisf.c: Likewise.
22502 * soft-fp/floattitf.c: Likewise.
22503 * soft-fp/floatundidf.c: Likewise.
22504 * soft-fp/floatundisf.c: Likewise.
22505 * soft-fp/floatunsidf.c: Likewise.
22506 * soft-fp/floatunsisf.c: Likewise.
22507 * soft-fp/floatuntidf.c: Likewise.
22508 * soft-fp/floatuntisf.c: Likewise.
22509 * soft-fp/floatuntitf.c: Likewise.
22510 * soft-fp/fmadf4.c: Likewise.
22511 * soft-fp/fmasf4.c: Likewise.
22512 * soft-fp/fmatf4.c: Likewise.
22513 * soft-fp/gedf2.c: Likewise.
22514 * soft-fp/gesf2.c: Likewise.
22515 * soft-fp/getf2.c: Likewise.
22516 * soft-fp/ledf2.c: Likewise.
22517 * soft-fp/lesf2.c: Likewise.
22518 * soft-fp/letf2.c: Likewise.
22519 * soft-fp/muldf3.c: Likewise.
22520 * soft-fp/mulsf3.c: Likewise.
22521 * soft-fp/multf3.c: Likewise.
22522 * soft-fp/negdf2.c: Likewise.
22523 * soft-fp/negsf2.c: Likewise.
22524 * soft-fp/negtf2.c: Likewise.
22525 * soft-fp/op-1.h: Likewise.
22526 * soft-fp/op-2.h: Likewise.
22527 * soft-fp/op-4.h: Likewise.
22528 * soft-fp/op-8.h: Likewise.
22529 * soft-fp/op-common.h: Likewise.
22530 * soft-fp/quad.h: Likewise.
22531 * soft-fp/single.h: Likewise.
22532 * soft-fp/soft-fp.h: Likewise.
22533 * soft-fp/sqrtdf2.c: Likewise.
22534 * soft-fp/sqrtsf2.c: Likewise.
22535 * soft-fp/sqrttf2.c: Likewise.
22536 * soft-fp/subdf3.c: Likewise.
22537 * soft-fp/subsf3.c: Likewise.
22538 * soft-fp/subtf3.c: Likewise.
22539 * soft-fp/truncdfsf2.c: Likewise.
22540 * soft-fp/trunctfdf2.c: Likewise.
22541 * soft-fp/trunctfsf2.c: Likewise.
22542 * soft-fp/trunctfxf2.c: Likewise.
22543 * soft-fp/unorddf2.c: Likewise.
22544 * soft-fp/unordsf2.c: Likewise.
22545 * soft-fp/unordtf2.c: Likewise.
22547 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
22550 * misc/error.c (error_tail): Fix possible buffer overflow.
22552 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22555 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22558 2013-10-14 P. J. McDermott <pj@pehjota.net>
22561 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22562 testing pipefail option.
22564 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22566 * soft-fp/double.h: Indent preprocessor directives inside #if.
22567 * soft-fp/extended.h: Likewise.
22568 * soft-fp/op-2.h: Likewise.
22569 * soft-fp/op-4.h: Likewise.
22570 * soft-fp/op-common.h: Likewise.
22571 * soft-fp/quad.h: Likewise.
22572 * soft-fp/single.h: Likewise.
22573 * soft-fp/soft-fp.h: Likewise.
22575 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22577 * iconv/iconv_prog.c: Fix typos.
22578 * stdio-common/psiginfo-data.h: Likewise.
22580 2013-10-12 Reuben Thomas <rrt@sc3d.org>
22583 * locale/setlocale.c: Fix typo.
22585 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22588 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22589 signaling NaN arguments.
22590 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22591 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22594 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22595 unordered operands.
22596 * soft-fp/gesf2.c (__gesf2): Likewise.
22597 * soft-fp/getf2.c (__getf2): Likewise.
22598 * soft-fp/ledf2.c (__ledf2): Likewise.
22599 * soft-fp/lesf2.c (__lesf2): Likewise.
22600 * soft-fp/letf2.c (__letf2): Likewise.
22602 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22603 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22604 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22605 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22606 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22607 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22608 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22609 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22610 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22611 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22612 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22613 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22614 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22615 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22616 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22617 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22618 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22619 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22620 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22621 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22622 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22623 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22624 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22625 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22626 * soft-fp/floattidf.c (__floattidf): Likewise.
22627 * soft-fp/floattisf.c (__floattisf): Likewise.
22628 * soft-fp/floattitf.c (__floattitf): Likewise.
22629 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22630 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22631 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22632 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22633 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22634 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22635 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22636 * soft-fp/gesf2.c (__gesf2): Likewise.
22637 * soft-fp/getf2.c (__getf2): Likewise.
22638 * soft-fp/ledf2.c (__ledf2): Likewise.
22639 * soft-fp/lesf2.c (__lesf2): Likewise.
22640 * soft-fp/letf2.c (__letf2): Likewise.
22642 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22643 Undefine and redefine.
22644 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22645 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22646 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22647 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22648 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22649 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22650 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22651 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22652 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22653 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22654 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22655 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22656 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22657 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22658 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22661 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22662 without decrementing exponent if mantissa >= that for the
22663 denominator, not >.
22664 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22665 denominator, not >. Decrement exponent in < case instead of
22666 incrementing in >= case.
22667 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22668 without decrementing exponent if mantissa >= that for the
22669 denominator, not >.
22671 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22672 computing saturated result for unsigned overflow.
22674 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22675 Jeff Law <law@redhat.com>
22677 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22678 (atan2Mp): Add systemtap probe marker.
22679 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22680 (__ieee754_log): Add systemtap probe marker.
22681 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22682 (atanMp): Add systemtap probe marker.
22683 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22684 (tanMp): Add systemtap probe marker.
22685 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22686 (__slowexp): Add systemtap probe marker.
22687 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22688 (__slowpow): Add systemtap probe marker.
22689 * manual/probes.texi: Document probes.
22691 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
22694 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22696 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22698 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22699 written to buffer but not flushed.
22700 * libio/iofwrite_u.c: Likewise.
22701 * libio/iopadn.c: Return bytes returned even if EOF was
22703 * libio/iowpadn.c: Likewise.
22704 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22705 if _IO_padn does not write the whole buffer.
22706 [!COMPILE_WPRINTF] (PAD): Likewise.
22708 2013-10-10 David S. Miller <davem@davemloft.net>
22710 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22713 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22715 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22716 instead of FSF address.
22717 * soft-fp/fixdfti.c: Likewise.
22718 * soft-fp/fixsfti.c: Likewise.
22719 * soft-fp/fixtfti.c: Likewise.
22720 * soft-fp/fixunsdfti.c: Likewise.
22721 * soft-fp/fixunssfti.c: Likewise.
22722 * soft-fp/fixunstfti.c: Likewise.
22723 * soft-fp/floattidf.c: Likewise.
22724 * soft-fp/floattisf.c: Likewise.
22725 * soft-fp/floattitf.c: Likewise.
22726 * soft-fp/floatuntidf.c: Likewise.
22727 * soft-fp/floatuntisf.c: Likewise.
22728 * soft-fp/floatuntitf.c: Likewise.
22729 * soft-fp/trunctfxf2.c: Likewise.
22731 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22732 * soft-fp/fixdfti.c: Likewise.
22733 * soft-fp/fixsfti.c: Likewise.
22734 * soft-fp/fixtfti.c: Likewise.
22735 * soft-fp/fixunsdfti.c: Likewise.
22736 * soft-fp/fixunssfti.c: Likewise.
22737 * soft-fp/fixunstfti.c: Likewise.
22738 * soft-fp/floattidf.c: Likewise.
22739 * soft-fp/floattisf.c: Likewise.
22740 * soft-fp/floattitf.c: Likewise.
22741 * soft-fp/floatuntidf.c: Likewise.
22742 * soft-fp/floatuntisf.c: Likewise.
22743 * soft-fp/floatuntitf.c: Likewise.
22744 * soft-fp/trunctfxf2.c: Likewise.
22746 2013-10-10 David S. Miller <davem@davemloft.net>
22748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22750 2013-10-10 Joseph Myers <joseph@codsourcery.com>
22752 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22753 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22754 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22755 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22756 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22757 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22758 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22761 for NaNs before doing comparisons on argument.
22762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22765 2013-10-10 Will Newton <will.newton@linaro.org>
22767 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22768 passed to _int_memalign does not overflow.
22770 2013-10-10 Torvald Riegel <triegel@redhat.com>
22772 * scripts/bench.pl: Add include-sources directive.
22773 * benchtests/README: Update documentation.
22775 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22777 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22778 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22779 instead of FP_INIT_ROUNDMODE.
22780 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22781 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22784 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22785 copy class of input value.
22786 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22787 not handle exceptions.
22788 * soft-fp/negsf2.c (__negsf2): Likewise.
22789 * soft-fp/negtf2.c (__negtf2): Likewise.
22790 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22792 2013-10-09 Joseph Myers <joseph@codesourcery.com>
22794 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22795 semicolon. From Linux kernel.
22797 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22799 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22801 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22804 * manual/socket.texi: Added statement about buffer
22805 for gethostbyname2_r.
22807 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22809 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22810 Use .p2align directive instead, throughout.
22811 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22812 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22813 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22814 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22815 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22816 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22817 * sysdeps/x86_64/strchr.S: Likewise.
22818 * sysdeps/x86_64/strrchr.S: Likewise.
22820 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22822 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22824 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22826 * sysdeps/generic/math_private.h (__mpsin1): Remove
22828 (__mpcos1): Likewise.
22829 (__mpsin): New argument __range_reduce.
22830 (__mpcos): Likewise.
22831 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22832 (slow): Use __mpsin and __mpcos.
22836 (sloww1): Likewise.
22837 (sloww2): Likewise.
22838 (bsloww): Likewise.
22839 (bsloww1): Likewise.
22840 (bsloww2): Likewise.
22841 (cslow2): Likewise.
22842 (csloww): Likewise.
22843 (csloww1): Likewise.
22844 (csloww2): Likewise.
22845 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22846 range_reduce. Merge in __mpsin1.
22847 (__mpcos): Likewise.
22848 (__mpsin1): Remove.
22849 (__mpcos1): Likewise.
22851 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22853 * locale/loadlocale.c (_nl_intern_locale_data): Use
22855 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22856 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22857 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22858 obstack data is appropriately aligned.
22859 (obstack_int32_grow_fast): Likewise.
22860 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22861 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22862 (add_locale_uint32_array): Likewise.
22864 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22866 * benchtests/Makefile: Remove ARGLIST and RET variables.
22867 ($(objpfx)bench-%.c): Pass only function name to the script.
22868 * benchtests/README: Update documentation.
22869 * benchtests/acos-inputs: Add new directives.
22870 * benchtests/acosh-inputs: Likewise.
22871 * benchtests/asin-inputs: Likewise.
22872 * benchtests/asinh-inputs: Likewise.
22873 * benchtests/atan-inputs: Likewise.
22874 * benchtests/atanh-inputs: Likewise.
22875 * benchtests/cos-inputs: Likewise.
22876 * benchtests/cosh-inputs: Likewise.
22877 * benchtests/exp-inputs: Likewise.
22878 * benchtests/log-inputs: Likewise.
22879 * benchtests/pow-inputs: Likewise.
22880 * benchtests/rint-inputs: Likewise.
22881 * benchtests/sin-inputs: Likewise.
22882 * benchtests/sinh-inputs: Likewise.
22883 * benchtests/tan-inputs: Likewise.
22884 * benchtests/tanh-inputs: Likewise.
22885 * scripts/bench.pl: Add support for new directives.
22887 2013-10-07 Alan Modra <amodra@gmail.com>
22889 * README: Fix careless merge.
22891 2013-10-05 Alan Modra <amodra@gmail.com>
22893 * NEWS: Mention powerpc64le support and bugs fixed.
22894 * README: Both big-endian and little-endian powerpc64 supported.
22896 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22898 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22899 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22900 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22901 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22903 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22905 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22908 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22910 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22911 Move -mhard-float appending from
22912 ports/sysdeps/powerpc/powerpc32/Makefile.
22913 [$(with-fp) = yes] (ASFLAGS): Likewise.
22914 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22915 * sysdeps/powerpc/nofpu: Move directory from
22916 ports/sysdeps/powerpc/nofpu.
22917 * sysdeps/powerpc/soft-fp: Move directory from
22918 ports/sysdeps/powerpc/soft-fp.
22919 * sysdeps/powerpc/powerpc32/405: Move directory from
22920 ports/sysdeps/powerpc/powerpc32/405.
22921 * sysdeps/powerpc/powerpc32/440: Move directory from
22922 ports/sysdeps/powerpc/powerpc32/440.
22923 * sysdeps/powerpc/powerpc32/464: Move directory from
22924 ports/sysdeps/powerpc/powerpc32/464.
22925 * sysdeps/powerpc/powerpc32/476: Move directory from
22926 ports/sysdeps/powerpc/powerpc32/476.
22927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22928 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22930 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22932 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22934 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22936 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22937 * README: Update for powerpc-*-linux-gnu software floating point
22940 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22941 case to powerpc/powerpc32*.
22942 * sysdeps/unix/sysv/linux/configure: Regenerated.
22944 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22945 (_FPU_MASK_OM): Define as 0x04.
22946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22954 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22957 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22960 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22961 and setcontext_e500.
22963 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22965 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22967 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22969 * manual/threads.texi (Default Thread Attributes): Fix typo.
22971 2013-10-04 Will Newton <will.newton@linaro.org>
22973 * malloc/Makefile: Add tst-memalign.
22974 * malloc/tst-memalign.c: New file.
22976 * malloc/tst-posix_memalign.c: Add comments.
22977 (do_test): Add comments and call free on all potentially
22978 allocated pointers. Add space after cast.
22980 * malloc/tst-pvalloc.c: Add comments.
22981 (do_test): Add comments and call free on all potentially
22982 allocated pointers. Remove duplicate check for NULL pointer.
22983 Add space after cast.
22985 * malloc/tst-valloc.c: Add comments.
22986 (do_test): Add comments and call free on all potentially
22987 allocated pointers. Remove duplicate check for NULL pointer.
22988 Add space after cast.
22990 2013-10-04 Alan Modra <amodra@gmail.com>
22992 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22993 Use stdint types in rather than __attribute__((mode())).
22994 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22996 2013-10-04 Alan Modra <amodra@gmail.com>
22998 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22999 Correct handling of unaligned relocs for little-endian.
23000 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23002 2013-10-04 Alan Modra <amodra@gmail.com>
23004 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23005 * configure: Regenerate.
23006 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23007 * shlib-versions: Likewise.
23009 2013-10-04 Alan Modra <amodra@gmail.com>
23011 * string/tester.c (test_memrchr): Increment reported test cycle.
23013 2013-10-04 Alan Modra <amodra@gmail.com>
23015 * string/test-memcpy.c (do_one_test): When reporting errors, print
23016 string address and don't overrun end of string.
23018 2013-10-04 Alan Modra <amodra@gmail.com>
23020 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23021 insrdi. Make better use of reg selection to speed exit slightly.
23022 Schedule entry path a little better. Remove useless "are we done"
23023 checks on entry to main loop. Handle wrapping around zero address.
23024 Correct main loop count. Handle single left-over word from main
23025 loop inline rather than by using loop_small. Remove extra word
23026 case in loop_small caused by wrong loop count. Add little-endian
23028 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23029 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23031 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23032 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23033 support. Avoid rlwimi.
23034 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23036 2013-10-04 Alan Modra <amodra@gmail.com>
23038 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23039 insrdi. Formatting.
23040 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23041 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23042 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23043 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23044 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23045 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23047 2013-10-04 Alan Modra <amodra@gmail.com>
23049 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23050 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23051 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23052 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23053 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23054 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23055 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23056 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23057 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23058 use of regs. Use power7 mtocrf. Tidy function tails.
23060 2013-10-04 Alan Modra <amodra@gmail.com>
23062 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23063 Formatting. Consistently use rXXX register defines or rN defines.
23064 Use early exit labels that avoid restoring unused non-volatile regs.
23065 Make cr field use more consistent with rWORDn compares. Rename
23066 regs used as shift registers for unaligned loop, using rN defines
23067 for short lifetime/multiple use regs.
23068 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23069 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23070 addi 1,1,64 to pop stack frame. Simplify return value code.
23071 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23073 2013-10-04 Alan Modra <amodra@gmail.com>
23075 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23076 support. Correct typos, formatting. Optimize tail. Use insrdi
23077 rather than rlwimi.
23078 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23079 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23080 little-endian support. Correct typos.
23081 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23082 rather than rlwimi.
23083 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23084 in loop and entry code to keep "and." results.
23085 (strchr): Add little-endian support. Comment. Move cntlzd
23087 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23089 2013-10-04 Alan Modra <amodra@gmail.com>
23091 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23092 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23093 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23094 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23096 2013-10-04 Alan Modra <amodra@gmail.com>
23098 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23099 (rTMP): Define as r11.
23100 (strcmp): Add little-endian support. Optimise tail.
23101 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23102 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23103 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23104 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23105 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23106 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23109 2013-10-04 Alan Modra <amodra@gmail.com>
23111 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23112 little-endian support. Remove unnecessary "are we done" tests.
23113 Handle "s" wrapping around zero and extremely large "size".
23114 Correct main loop count. Handle single left-over word from main
23115 loop inline rather than by using small_loop. Correct comments.
23116 Delete "zero" tail, use "end_max" instead.
23117 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23119 2013-10-04 Alan Modra <amodra@gmail.com>
23121 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23122 support. Don't branch over align.
23123 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23124 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23125 support. Rearrange tmp reg use to suit. Comment.
23126 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23128 2013-10-04 Alan Modra <amodra@gmail.com>
23130 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23132 2013-10-04 Alan Modra <amodra@gmail.com>
23134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23135 conditional form of branch and link when obtaining pc.
23136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23138 2013-10-04 Alan Modra <amodra@gmail.com>
23140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23145 2013-10-04 Alan Modra <amodra@gmail.com>
23147 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23148 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23149 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23150 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23151 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23152 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23153 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23154 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23155 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23156 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23158 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23159 Alistair Popple <alistair@ozlabs.au.ibm.com>
23160 Alan Modra <amodra@gmail.com>
23163 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23164 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23165 _dl_hwcap access for little-endian.
23166 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23167 destroy vmx regs when saving unaligned.
23168 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23169 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23170 destroy vmx regs when saving unaligned.
23172 2013-10-04 Alan Modra <amodra@gmail.com>
23174 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23175 Don't use a union to pack hi/low value.
23177 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23179 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23181 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23182 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23183 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23184 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23185 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23187 2013-10-04 Alan Modra <amodra@gmail.com>
23189 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23190 constants to usual value for .cst8 section, and remove redundant
23192 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23193 constant for 0x1p52. Load little-endian words of double from
23194 correct stack offsets.
23196 2013-10-04 Alan Modra <amodra@gmail.com>
23198 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23199 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23200 words of double from correct stack offsets.
23201 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23202 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23203 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23204 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23205 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23206 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23207 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23208 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23209 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23210 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23211 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23212 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23213 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23214 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23215 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23216 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23217 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23219 2013-10-04 Alan Modra <amodra@gmail.com>
23221 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23222 64-bit int/double union.
23223 (_FPU_SETCW): Likewise.
23224 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23225 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23227 2013-10-04 Alan Modra <amodra@gmail.com>
23229 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23230 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23232 2013-10-04 Alan Modra <amodra@gmail.com>
23234 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23235 use vector int constants.
23236 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23238 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23240 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23241 array with long long.
23242 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23243 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23244 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23245 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23246 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23247 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23248 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23249 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23250 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23251 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23252 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23253 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23254 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23256 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23258 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23259 (__signbit): Likewise. Correct for little-endian.
23260 (__signbitl): Call __signbit.
23261 (lrint): Correct for little-endian.
23262 (lrintf): Call lrint.
23264 2013-10-04 Alan Modra <amodra@gmail.com>
23266 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23267 union 32-bit int array member with 64-bit int array.
23268 (t515, tm256): Double rather than long double.
23269 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23271 2013-10-04 Alan Modra <amodra@gmail.com>
23273 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23275 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23276 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23277 version of math_ldbl.h.
23279 2013-10-04 Alan Modra <amodra@gmail.com>
23281 [BZ #15734], [BZ #15735]
23282 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23283 all uses of ieee875 long double macros and unions. Simplify test
23284 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23285 ldbl_extract_mantissa value for ix,iy exponents. Properly
23286 normalize after ldbl_extract_mantissa, and don't add hidden bit
23287 already handled. Don't treat low word of ieee854 mantissa like
23288 low word of IBM long double and mask off bit when testing for
23290 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23291 all uses of ieee875 long double macros and unions. Simplify tests
23292 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23293 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23294 two1022, instead use their values. Recognise that tests for large
23295 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23296 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23297 Rewrite all uses of ieee875 long double macros and unions. Simplify
23298 test for 0.0L and nan. Correct negation.
23299 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23300 ieee875 long double macros and unions. Correct output for large
23301 magnitude x. Correct absolute value calculation.
23302 (__erfcl): Likewise.
23303 * math/libm-test.inc: Add tests for errors discovered in IBM long
23304 double versions of fmodl, remainderl, erfl and erfcl.
23306 2013-10-04 Alan Modra <amodra@gmail.com>
23308 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23309 all uses of ieee854 long double macros and unions. Simplify tests
23310 for long doubles that are fully specified by the high double.
23311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23313 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23314 Remove dead code too.
23315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23316 (__ieee754_ynl): Likewise.
23317 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23320 Remove dead code too.
23321 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23322 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23323 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23324 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23326 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23328 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23329 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23331 Comment on variable precision.
23332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23333 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23335 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23336 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23337 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23338 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23339 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23341 2013-10-04 Alan Modra <amodra@gmail.com>
23343 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23344 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23345 all uses of ieee854 long double macros and unions.
23346 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23347 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23349 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23350 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23351 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23353 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23354 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23355 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23356 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23357 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23358 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23359 Simplify sign and nan test too.
23360 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23361 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23362 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23363 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23365 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23366 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23370 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23371 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23372 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23375 2013-10-04 Alan Modra <amodra@gmail.com>
23377 * stdio-common/printf_size.c (__printf_size): Don't use
23378 union ieee854_long_double in fpnum union.
23379 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23380 signbit macro to retrieve sign from long double.
23381 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23382 retrieve sign from long double.
23383 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23384 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23385 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23386 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23387 * math/test-misc.c (main): Don't use union ieee854_long_double.
23389 2013-10-04 Alan Modra <amodra@gmail.com>
23392 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23393 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23394 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23395 calculation. Remove unnecessary test for denormal exponent.
23396 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23397 Correct handling of denormals. Avoid undefined shift behaviour.
23398 Correct normalisation of low mantissa when low double is denormal.
23399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23400 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23401 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23402 Correct normalisation of low mantissa. Test for overflow of high
23403 mantissa and normalise.
23404 (ldbl_nearbyint): Use more readable constant for two52.
23405 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23406 (__mpn_construct_long_double): Fix test for overflow of high
23407 mantissa and correct normalisation. Avoid undefined shift.
23409 2013-10-04 Alan Modra <amodra@gmail.com>
23411 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23412 (union ibm_extended_long_double): Define as an array of ieee754_double.
23413 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23414 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23415 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23416 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23418 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23420 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23425 2013-10-03 Joseph Myers <joseph@codesourcery.com>
23427 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23428 page size instead of calling getpagesize.
23430 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23431 (LOCFILE_ALIGN_MASK): Likewise.
23432 (LOCFILE_ALIGN_UP): Likewise.
23433 (LOCFILE_ALIGNED_P): Likewise.
23434 * locale/programs/ld-collate.c (collate_output): Use the new
23435 macros instead of __alignof__ (int32_t).
23436 * locale/weight.h (findidx): Likewise.
23438 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
23441 * manual/string.texi: Fix strncat and wcsncat.
23443 2013-10-03 Brooks Moses <bmoses@google.com>
23446 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23447 * Makerules: ...here, and adjust associated comments.
23449 2013-10-02 Will Newton <will.newton@linaro.org>
23451 * malloc/Makefile: Add tst-pvalloc.
23452 * malloc/tst-pvalloc.c: New file.
23454 2013-10-02 Will Newton <will.newton@linaro.org>
23456 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23457 improve test coverage.
23459 2013-10-02 Will Newton <will.newton@linaro.org>
23461 * malloc/Makefile: Add tst-posix_memalign.
23462 * malloc/tst-posix_memalign.c: New file.
23464 2013-10-01 Eric Blake <eblake@redhat.com>
23466 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23467 Use __THROWNL rather than __THROW on static functions.
23469 2013-09-30 Petr Machata <pmachata@redhat.com>
23471 * elf/elf.h (R_AARCH64_ABS16): New macro.
23472 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23473 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23474 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23475 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23476 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23477 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23478 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23479 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23480 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23481 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23482 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23483 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23484 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23485 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23486 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23487 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23488 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23489 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23490 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23491 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23492 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23493 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23494 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23495 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23496 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23497 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23498 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23499 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23500 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23501 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23502 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23503 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23504 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23505 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23506 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23507 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23508 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23509 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23510 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23511 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23512 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23513 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23514 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23515 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23516 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23517 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23518 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23519 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23520 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23521 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23522 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23523 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23524 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23525 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23526 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23527 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23528 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23529 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23530 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23531 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23532 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23533 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23534 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23535 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23536 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23537 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23538 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23539 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23540 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23541 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23542 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23543 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23544 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23545 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23546 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23547 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23548 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23549 (R_AARCH64_TLSDESC_LDR): Likewise.
23550 (R_AARCH64_TLSDESC_ADD): Likewise.
23551 (R_AARCH64_TLSDESC_CALL): Likewise.
23553 2013-09-30 Andreas Schwab <schwab@suse.de>
23556 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23557 the nss database lookup.
23558 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23561 2013-09-28 Mike Frysinger <vapier@gentoo.org>
23563 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23565 2013-09-28 P. J. McDermott <pj@pehjota.net>
23567 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23568 ${Bash-specific parameter/pattern/string} parameter expansion.
23569 * sysdeps/unix/make-syscalls.sh: Likewise.
23571 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23573 * sysdeps/sh/stackguard-macros.h: New file.
23575 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
23577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23579 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23580 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23581 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23582 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23584 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23586 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23587 Fix thread ID register.
23589 2013-09-25 Joseph Myers <joseph@codesourcery.com>
23591 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23592 [POSIX || UNIX98]: Require rather than permitting all symbols from
23594 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23595 element of struct sched_param.
23596 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23597 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23598 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23599 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23602 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23604 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23605 argument calculation.
23607 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23609 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23611 [POSIX] (pthread_attr_t): Do not require type.
23612 [POSIX] (pthread_cond_t): Likewise.
23613 [POSIX] (pthread_condattr_t): Likewise.
23614 [POSIX] (pthread_key_t): Likewise.
23615 [POSIX] (pthread_mutex_t): Likewise.
23616 [POSIX] (pthread_mutexattr_t): Likewise.
23617 [POSIX] (pthread_once_t): Likewise.
23618 [POSIX] (pthread_t): Likewise.
23619 [POSIX-based standards] (pthread_atfork): Expect function.
23621 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23622 Richard Sandiford <richard@codesourcery.com>
23624 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23625 (swap_endianness_p): New extern variable.
23626 (set_big_endian): New inline function.
23627 (maybe_swap_uint32): Likewise.
23628 (maybe_swap_uint32_array): Likewise.
23629 (maybe_swap_uint32_obstack): Likewise.
23630 * locale/programs/locfile.c: Include <stdbool.h>.
23631 (swap_endianness_p): New variable.
23632 (add_locale_uint32): Call maybe_swap_uint32.
23633 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23634 (write_locale_data): Call maybe_swap_uint32_array.
23635 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23637 (obstack_int32_grow_fast): Likewise.
23638 (output_weightwc): Call maybe_swap_uint32_obstack.
23639 (collate_output): Likewise.
23640 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23641 (OPT_LITTLE_ENDIAN): Likewise.
23642 (options): Add --little-endian and --big-endian options.
23643 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23644 * locale/programs/locarchive.c: Include "locfile.h".
23648 (create_archive): Use the new macros to access fields of
23649 structures directly mapped from or written to locale archives.
23650 (oldlocrecentcmp): Likewise.
23651 (enlarge_archive): Likewise.
23652 (insert_name): Likewise.
23653 (add_alias): Likewise.
23654 (add_locale): Likewise.
23655 (delete_locales_from_archive): Likewise.
23656 (show_archive_content): Likewise.
23657 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23660 2013-09-24 Roland McGrath <roland@hack.frob.com>
23662 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23663 http://www.gnu.org/doc/freemanuals.texi.
23664 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23666 2013-09-24 Will Newton <will.newton@linaro.org>
23668 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23671 2013-09-23 Joseph Myers <joseph@codesourcery.com>
23673 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23676 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23678 * manual/threads.texi (POSIX Threads): Fix a typo.
23680 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23683 * string/tst-strcoll-overflow.c: New test case.
23684 * string/Makefile (xtests): Add tst-strcoll-overflow.
23685 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23686 cache if string sizes may cause integer overflow.
23689 * string/strcoll_l.c (coll_seq): New members rule, idx,
23690 save_idx and back_us.
23691 (get_next_seq_nocache): New function.
23692 (do_compare_nocache): New function.
23693 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23696 2013-09-23 Carlos O'Donell <carlos@redhat.com>
23699 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23700 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23701 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23704 * elf/Makefile (tests): Add tst-ptrguard1.
23705 (tests-static): Add tst-ptrguard1-static.
23706 (tst-ptrguard1-ARGS): Define.
23707 (tst-ptrguard1-static-ARGS): Define.
23708 * elf/tst-ptrguard1.c: New file.
23709 * elf/tst-ptrguard1-static.c: New file.
23710 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23711 * sysdeps/i386/stackguard-macros.h: Likewise.
23712 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23713 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23714 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23715 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23716 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23717 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23719 2013-09-23 Hector Marco <hecmargi@upv.es>
23720 Ismael Ripoll <iripoll@disca.upv.es>
23721 Carlos O'Donell <carlos@redhat.com>
23724 * sysdeps/generic/stackguard-macros.h: Define
23725 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23726 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23727 Define __pointer_chk_guard_local.
23728 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23729 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23731 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23734 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23736 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23738 * include/string.h (__ffs): Declare as hidden.
23739 * string/ffs.c (__ffs): Define as hidden.
23740 * sysdeps/i386/ffs.c (__ffs): Likewise.
23741 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23742 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23743 * sysdeps/s390/ffs.c (__ffs): Likewise.
23744 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23746 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
23748 * NEWS: Mention malloc probes.
23750 * malloc/arena.c (new_heap): New memory_heap_new probe.
23751 (grow_heap): New memory_heap_more probe.
23752 (shrink_heap): New memory_heap_less probe.
23753 (heap_trim): New memory_heap_free probe.
23754 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23755 (systrim): New memory_sbrk_less probe.
23756 * manual/probes.texi: Document them.
23758 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23759 * manual/probes.texi: Document it.
23761 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23762 (__libc_realloc): Add memory_realloc_retry probe.
23763 (__libc_memalign): Add memory_memalign_retry probe.
23764 (__libc_valloc): Add memory_valloc_retry probe.
23765 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23766 (__libc_calloc): Add memory_calloc_retry probe.
23767 * manual/probes.texi: Document them.
23769 * malloc/arena.c (get_free_list): Add probe
23770 memory_arena_reuse_free_list.
23771 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23772 and memory_arena_reuse.
23773 (arena_get2) [!PER_THREAD]: Likewise.
23774 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23775 memory_arena_reuse_realloc.
23776 * manual/probes.texi: Document them.
23778 * malloc/malloc.c (__libc_free): Add
23779 memory_mallopt_free_dyn_thresholds probe.
23780 (__libc_mallopt): Add multiple memory_mallopt probes.
23781 * manual/probes.texi: Document them.
23783 * malloc/malloc.c: Include stap-probe.h.
23784 (__libc_mallopt): Add memory_mallopt probe.
23785 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23786 * manual/probes.texi: New.
23787 * manual/Makefile (chapters): Add probes.
23788 * manual/threads.texi: Set next node.
23790 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23792 [BZ #15963, #13985]
23793 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23794 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23795 Add `Chinese' to `nan' entry name.
23797 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23799 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23800 (POLYNOMIAL): Likewise.
23801 (TAYLOR_SINCOS): Likewise.
23802 (TAYLOR_SLOW): Likewise.
23803 (__sin): Use TAYLOR_SINCOS.
23805 (slow): Use TAYLOR_SLOW.
23807 (bsloww): Likewise.
23808 (csloww): Likewise.
23810 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23812 * stdlib/strtod_l.c: Fix buffer overrun.
23814 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23816 * benchtests/Makefile (bench): Add sincos.
23817 * benchtests/bench-sincos.c: New file.
23819 * math/libm-test.inc (cos_test_data): New test inputs.
23820 (sin_test_data): Likewise.
23822 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23828 (sloww1): Likewise.
23829 (sloww2): Likewise.
23830 (bsloww1): Likewise.
23831 (bsloww2): Likewise.
23832 (cslow2): Likewise.
23833 (csloww1): Likewise.
23834 (csloww2): Likewise.
23836 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23845 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23847 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23848 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23849 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23850 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23851 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23852 * elf/cache.c (print_entry): Handle the new cache flags.
23854 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23855 Aldy Hernandez <aldyh@redhat.com>
23857 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23858 Change condition to [_SOFT_FLOAT].
23859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23871 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23874 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23877 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23879 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23880 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23881 (__longjmp): Use LOAD_GP to load saved GPRs.
23882 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23883 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23884 (__sigsetjmp): Use SAVE_GP to save GPRs.
23886 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23887 Do not append -msoft-float.
23888 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23890 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23892 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23894 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23897 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23898 (_FPU_GETCW): Use initial "__" on variable and field names but not
23899 on macro parameter name.
23900 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23901 parentheses around reference to macro parameter.
23903 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23905 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23907 (ctype_startup): Use uint32_t in cast and sizeof for
23910 2013-09-11 Jia Liu <proljc@gmail.com>
23912 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23914 [__FreeBSD__]: Likewise.
23916 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23919 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23920 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23921 (strchr): Remove __strchr_sse42 ifunc selection.
23922 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23923 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23925 2013-09-11 Will Newton <will.newton@linaro.org>
23927 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23928 parameter to RES. Remove hardcoded 1000 value.
23929 * benchtests/bench-skeleton.c (main): Pass RES parameter
23930 to TIMING_INIT and multiply result by 1000.
23932 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23936 2013-09-11 Andreas Schwab <schwab@suse.de>
23938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23940 (O_TMPFILE) [__USE_GNU]: Define.
23941 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23944 2013-09-11 Will Newton <will.newton@linaro.org>
23947 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23950 2013-09-11 Will Newton <will.newton@linaro.org>
23953 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23956 2013-09-11 Will Newton <will.newton@linaro.org>
23959 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23962 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23964 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23965 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23970 2013-09-10 Allan McRae <allan@archlinux.org>
23973 * manual/arith.texi (Parsing of Floats): Clarify
23977 * manual/install.texi (Running make install): Mention
23979 * INSTALL: Regenerated.
23981 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23983 * csu/init-first.c (_init): Remove the !SHARED condition around
23984 FPU control word initialization.
23985 * elf/dl-support.c (_dl_fpu_control): New variable.
23986 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23987 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23988 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23989 * math/test-fpucw-static.c: New file.
23990 * math/test-fpucw-ieee.c: New file.
23991 * math/test-fpucw-ieee-static.c: New file.
23992 * math/Makefile (tests): Add `test-fpucw-ieee' and
23994 (tests-static): New variable.
23995 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23997 [($(build-shared),yes)]
23998 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24000 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24003 2013-09-09 Allan McRae <allan@archlinux.org>
24006 * manual/string.texi (Collation Functions): Fix typo in
24008 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24011 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24014 * libio/memstream.c (open_memstream): Fix memory leak.
24015 * libio/wmemstream.c (open_wmemstream): Likewise.
24018 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24020 2013-09-09 Will Newton <will.newton@linaro.org>
24022 * malloc/Makefile: Add tst-realloc to tests.
24023 * malloc/tst-realloc.c: New file.
24025 2013-09-09 Allan McRae <allan@archlinux.org>
24028 * COPYING: Update from GNU website to fix FSF address.
24029 * COPYING.LIB: Likewise.
24031 2013-09-06 David S. Miller <davem@davemloft.net>
24033 * po/zh_TW.po: Update Chinese (traditional) translation from
24034 translation project.
24036 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24037 Joseph Myers <joseph@codesourcery.com>
24039 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24041 (obstack_chunk_alloc): New macro.
24042 (obstack_chunk_free): Likewise.
24043 (record_offset): New function.
24044 (init_locale_data): Likewise.
24045 (align_locale_data): Likewise.
24046 (add_locale_empty): Likewise.
24047 (add_locale_raw_data): Likewise.
24048 (add_locale_raw_obstack): Likewise.
24049 (add_locale_string): Likewise.
24050 (add_locale_wstring): Likewise.
24051 (add_locale_uint32): Likewise.
24052 (add_locale_uint32_array): Likewise.
24053 (add_locale_char): Likewise.
24054 (start_locale_structure): Likewise.
24055 (end_locale_structure): Likewise.
24056 (start_locale_prelude): Likewise.
24057 (end_locale_prelude): Likewise.
24058 (write_locale_data): Take locale_file structure rather than an
24060 * locale/programs/locfile.h: Include "obstack.h".
24061 (struct locale_file): Change to store locale file contents instead
24063 (init_locale_data): New prototype.
24064 (align_locale_data): Likewise.
24065 (add_locale_empty): Likewise.
24066 (add_locale_raw_data): Likewise.
24067 (add_locale_raw_obstack): Likewise.
24068 (add_locale_string): Likewise.
24069 (add_locale_wstring): Likewise.
24070 (add_locale_uint32): Likewise.
24071 (add_locale_uint32_array): Likewise.
24072 (add_locale_char): Likewise.
24073 (start_locale_structure): Likewise.
24074 (end_locale_structure): Likewise.
24075 (start_locale_prelude): Likewise.
24076 (end_locale_prelude): Likewise.
24077 (write_locale_data): Update prototype.
24078 * locale/programs/3level.h (struct TABLE): Remove result field.
24079 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24080 Use new locale_file interface.
24081 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24082 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24083 * locale/programs/ld-address.c (address_output): Use new
24084 locale_file interface.
24085 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24087 (collate_finish): Don't call collseq_table_finalize.
24088 (collate_output): Use new locale_file interface.
24089 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24091 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24092 (TABLE): Move defines earlier in file.
24093 (ELEMENT): Likewise.
24094 (DEFAULT): Likewise.
24095 (wctrans_table_add): Move macro and inline function earlier in
24097 (struct wctype_table): Move type earlier in file.
24098 (add_locale_wctype_table): New static prototype.
24099 (struct locale_ctype_t): Use logical types instead of struct iovec
24100 pointers for members.
24101 (ctype_output): Use new locale_file interface.
24102 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24103 new locale_file interface.
24104 (allocate_arrays): Update for use of new locale_file interface.
24105 * locale/programs/ld-identification.c (identification_output): Use
24106 new locale_file interface.
24107 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24108 * locale/programs/ld-messages.c (messages_output): Likewise.
24109 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24110 * locale/programs/ld-name.c (name_output): Likewise.
24111 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24112 * locale/programs/ld-paper.c (paper_output): Likewise.
24113 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24114 * locale/programs/ld-time.c (time_output): Likewise.
24116 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24118 * benchtests/Makefile: Add memrchr benchmark.
24119 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24120 benchmark as memrchr.
24121 * benchtests/bench-memrchr-ifunc.c: New file.
24122 * benchtests/bench-memrchr.c: New file.
24124 2013-09-06 Will Newton <will.newton@linaro.org>
24126 * benchtests/Makefile (string-bench): Add memcpy.
24128 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24129 Cong Wang <amwang@redhat.com>
24132 * sysdeps/unix/sysv/linux/bits/in.h
24133 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24134 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24135 before __USE_KERNEL_IPV6_DEFS uses.
24136 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24138 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24139 sockaddr_in6, or ipv6_mreq.
24141 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24143 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24144 memory access for final bytes in some large inputs.
24145 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24147 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24149 * string/test-memrchr.c: New file.
24150 * string/test-memrchr-ifunc.c: New file.
24151 * string/Makefile: Add new memrchr testcase.
24153 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24155 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24156 fanotify_init returns EPERM.
24158 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24160 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24162 (top level): Treat second token from macro or constant entries for
24163 allowed headers as allowed.
24164 * include/complex.h: Condition internal declarations on
24166 * include/fenv.h: Condition include of <stdbool.h> and internal
24167 declarations on [!_ISOMAC].
24169 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24172 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24174 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24176 * configure.in (--enable-versioning): Remove configure option.
24177 (libc_cv_asm_symver_directive): Remove configure test.
24178 (libc_cv_ld_version_script_option): Likewise.
24179 (VERSIONING): Remove variable and AC_SUBST.
24180 (DO_VERSIONING): Remove AC_DEFINE.
24181 * configure: Regenerated.
24182 * config.h.in (DO_VERSIONING): Remove macro.
24183 * Makerules [$(versioning) = yes]: Change conditionals to
24184 [$(build-shared) = yes].
24185 * config.make.in (versioning): Remove variable.
24186 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24187 [$(build-shared) = yes].
24188 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24189 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24190 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24191 [$(build-shared) = yes].
24192 * extra-lib.mk [$(versioning) = yes]: Likewise.
24193 * hurd/Makefile [$(versioning) = yes]: Likewise.
24194 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24196 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24198 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24199 [SHARED && !NO_HIDDEN].
24200 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24202 [SHARED && DO_VERSIONING]: Likewise..
24203 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24204 [$(build-shared) = yes].
24205 * manual/install.texi (--disable-versioning): Remove
24207 * INSTALL: Regenerated.
24208 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24210 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24211 [$(build-shared) = yes].
24212 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24213 * sysdeps/i386/i686/multiarch/strstr-c.c
24214 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24215 [SHARED && !NO_HIDDEN].
24216 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24217 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24218 * sysdeps/powerpc/powerpc32/dl-machine.c
24219 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24220 * sysdeps/powerpc/powerpc32/sysdep.h
24221 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24222 to [SHARED && PIC && !NO_HIDDEN].
24223 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24224 conditional to [SHARED].
24226 2013-09-04 Will Newton <will.newton@linaro.org>
24228 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24229 * benchtests/bench-string.h: Include bench-timing.h instead
24230 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24231 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24232 call to HP_TIMING_DIFF_INIT.
24233 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24234 instead of hp-timing.h macros.
24235 * benchtests/bench-memchr.c: Likewise.
24236 * benchtests/bench-memcmp.c: Likewise.
24237 * benchtests/bench-memcpy.c: Likewise.
24238 * benchtests/bench-memmem.c: Likewise.
24239 * benchtests/bench-memmove.c: Likewise.
24240 * benchtests/bench-memset.c: Likewise.
24241 * benchtests/bench-rawmemchr.c: Likewise.
24242 * benchtests/bench-strcasecmp.c: Likewise.
24243 * benchtests/bench-strcasestr.c: Likewise.
24244 * benchtests/bench-strcat.c: Likewise.
24245 * benchtests/bench-strchr.c: Likewise.
24246 * benchtests/bench-strcmp.c: Likewise.
24247 * benchtests/bench-strcpy.c: Likewise.
24248 * benchtests/bench-strcpy_chk.c: Likewise.
24249 * benchtests/bench-strlen.c: Likewise.
24250 * benchtests/bench-strncasecmp.c: Likewise.
24251 * benchtests/bench-strncat.c: Likewise.
24252 * benchtests/bench-strncmp.c: Likewise.
24253 * benchtests/bench-strncpy.c: Likewise.
24254 * benchtests/bench-strnlen.c: Likewise.
24255 * benchtests/bench-strpbrk.c: Likewise.
24256 * benchtests/bench-strrchr.c: Likewise.
24257 * benchtests/bench-strspn.c: Likewise.
24258 * benchtests/bench-strstr.c: Likewise.
24260 2013-09-04 Will Newton <will.newton@linaro.org>
24262 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24264 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24267 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24268 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24269 * math/libm-test.inc (lgamma_test_data): Add more tests.
24270 * sysdeps/i386/fpu/libm-test-ulps: Update.
24271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24273 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24275 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24279 Add strcmp-sse2-unaligned
24280 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24282 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24284 * Versions.def (libc): Add GLIBC_2.19.
24286 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24288 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24289 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24291 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24294 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24295 intermediate calculations in recurrence.
24296 (__ieee754_ynf): Likewise.
24297 * math/libm-test.inc (jn_test_data): Do not allow spurious
24298 underflow exception. Add more tests.
24299 (yn_test_data): Add more tests.
24300 * sysdeps/i386/fpu/libm-test-ulps: Update.
24301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24303 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24305 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24307 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24309 * csu/init-first.c: Fix then/than typos.
24310 * locale/programs/ld-collate.c: Likewise.
24311 * locale/programs/linereader.h: Likewise.
24312 * manual/charset.texi: Likewise.
24313 * manual/filesys.texi: Likewise.
24314 * manual/stdio.texi: Likewise.
24315 * manual/string.texi: Likewise.
24316 * stdlib/fmtmsg.c: Likewise.
24317 * sysdeps/i386/stpncpy.S: Likewise.
24318 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24319 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24320 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24321 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24323 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24325 * elf/dl-open.c: Fix typos.
24326 * iconvdata/gbbig5.c: Likewise.
24327 * iconvdata/iso-2022-jp.c: Likewise.
24328 * iconv/gconv_int.h: Likewise.
24329 * iconv/loop.c: Likewise.
24330 * nis/rpcsvc/nis.h: Likewise.
24331 * resolv/ns_name.c: Likewise.
24332 * stdio-common/vfscanf.c: Likewise.
24333 * streams/stropts.h: Likewise.
24334 * sunrpc/rpc_thread.c: Likewise.
24335 * sysdeps/i386/strpbrk.S: Likewise.
24336 * sysdeps/ieee754/k_standard.c: Likewise.
24337 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24338 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24339 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24340 * sysdeps/mach/hurd/profil.c: Likewise.
24341 * sysdeps/s390/dl-procinfo.h: Likewise.
24342 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24343 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24344 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24345 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24348 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24350 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24351 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24353 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24355 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24356 aix specific files.
24357 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24358 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24359 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24360 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24361 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24362 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24363 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24364 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24366 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24367 Roland McGrath <roland@hack.frob.com>
24369 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24370 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24372 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24374 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24375 __executable_start symbol instead of _start.
24377 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24379 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24380 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24382 * sysdeps/gnu/ldsodefs.h: ... this new file.
24384 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24385 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24386 instead of ELFOSABI_LINUX.
24388 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24389 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24390 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24391 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24393 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24394 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24395 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24397 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24398 (ibm_extended_long_double): Add ieee_nan member.
24399 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24400 (do_test): New function.
24402 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24404 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24405 functions, renamed from truncdfsf_test, trunctfsf_test,
24407 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24409 (do_test): Run all these.
24411 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24413 * argp/argp-help.c: Fix typos.
24414 * argp/argp-parse.c: Likewise.
24415 * debug/backtracesyms.c: Likewise.
24416 * elf/elf.h: Likewise.
24417 * malloc/malloc.c: Likewise.
24418 * nis/nis_print.c: Likewise.
24419 * resolv/res_comp.c: Likewise.
24420 * stdlib/stdlib.h: Likewise.
24421 * sunrpc/clnt_tcp.c: Likewise.
24422 * sunrpc/clnt_udp.c: Likewise.
24423 * sunrpc/clnt_unix.c: Likewise.
24424 * sysdeps/unix/bsd/ptsname.c: Likewise.
24425 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24426 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24433 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24435 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24437 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24440 2013-08-27 Mike Frysinger <vapier@gentoo.org>
24443 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24444 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24445 ($(objpfx)bug-dl-leaf): New rule.
24446 ($(objpfx)bug-dl-leaf.so): Likewise.
24447 ($(objpfx)bug-dl-leaf.out): Likewise.
24448 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24449 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24450 * dlfcn/bug-dl-leaf.c: New test.
24451 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24452 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24453 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24454 (dlclose): Likewise.
24455 (dlmopen): Likewise.
24457 2013-08-27 Roland McGrath <roland@hack.frob.com>
24459 * include/netdb.h [!_ISOMAC]:
24460 Don't include <tls.h>.
24461 (h_errno, __libc_h_errno): Move declaration and macros out of
24464 * include/resolv.h [_RESOLV_H_]:
24465 Don't include <tls.h>.
24466 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24467 * resolv/res_libc.c: Don't include <tls.h>.
24468 (_res): Use __attribute__ ((nocommon)) in place of
24469 __attribute__ ((section (".bss"))).
24471 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24472 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24474 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24476 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24477 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24479 * resolv/res_mkquery.c: Include <sys/time.h>.
24481 * inet/ifreq.c: Moved to ...
24482 * sysdeps/unix/ifreq.c: ... here.
24483 * inet/ifreq.c: New file, true stub version.
24485 * socket/sa_len.c: New file.
24486 * socket/Makefile (aux): Add it.
24487 * sysdeps/unix/sysv/linux/Makefile
24488 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24489 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24490 and #include <socket/sa_len.c>.
24491 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24492 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24494 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24495 * bits/socket.h: ... here.
24497 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24498 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24499 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24501 2013-08-27 Andreas Schwab <schwab@suse.de>
24504 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24505 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24506 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24507 * string/test-strcasecmp.c (test_main): Run tests in several
24509 * string/test-strncasecmp.c (test_main): Likewise.
24511 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24512 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24513 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24515 (__strncasecmp_ssse3) [PIC]: Likewise.
24517 2013-08-26 Roland McGrath <roland@hack.frob.com>
24519 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24521 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24522 instead of explicitly declaring xdecrypt.
24523 * nis/nss_nis/nis-publickey.c: Likewise.
24525 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24528 * nscd/aicache.c: Include res_hconf.h.
24529 (addhstaiX): Initialize res_hconf.
24531 2013-08-26 Andreas Schwab <schwab@suse.de>
24533 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24534 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24536 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24538 * nscd/aicache.c (addhstaiX): Fix indentation.
24540 2013-08-25 Mike Frysinger <vapier@gentoo.org>
24542 * configure.ac: Quote $build_pt_chown test.
24543 * configure: Regenerated.
24545 2013-08-23 Joseph Myers <joseph@codesourcery.com>
24548 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24549 * math/s_cexpf.c (__cexpf): Likewise.
24550 * math/s_cexpl.c (__cexpl): Likewise.
24551 * math/libm-test.inc (cexp_test_data): Correct expected return
24552 value for NaN + i0. Add another test.
24554 2013-08-22 David S. Miller <davem@davemloft.net>
24556 * po/ca.po: Update Catalan translation from translation project.
24557 * po/uk.po: Add Ukrainian translations from translation project.
24559 2013-08-21 Joseph Myers <joseph@codesourcery.com>
24562 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24563 is infinite, not alongside NaN test.
24564 * math/s_fdimf.c (__fdimf): Likewise.
24565 * math/s_fdiml.c (__fdiml): Likewise.
24566 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24567 errno is unchanged.
24569 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
24571 * argp/argp-help.c: Fix typos.
24572 * crypt/speeds.c: Likewise.
24573 * csu/check_fds.c: Likewise.
24574 * elf/dl-load.c: Likewise.
24575 * elf/dl-open.c: Likewise.
24576 * elf/reldep3.c: Likewise.
24577 * elf/reldep.c: Likewise.
24578 * elf/sprof.c: Likewise.
24579 * iconv/iconv_charmap.c: Likewise.
24580 * iconv/skeleton.c: Likewise.
24581 * iconv/strtab.c: Likewise.
24582 * io/lockf64.c: Likewise.
24583 * libio/libioP.h: Likewise.
24584 * resolv/gai_notify.c: Likewise.
24585 * resolv/ns_name.c: Likewise.
24586 * resolv/ns_samedomain.c: Likewise.
24587 * resolv/res_send.c: Likewise.
24588 * stdlib/random.c: Likewise.
24589 * sunrpc/rpc/xdr.h: Likewise.
24590 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24591 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24592 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24593 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24594 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24595 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24597 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24598 * sysdeps/mach/hurd/check_fds.c: Likewise.
24599 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24600 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24601 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24602 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24603 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24604 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24605 * sysdeps/pthread/aio_notify.c: Likewise.
24606 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24607 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24608 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24609 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24610 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24612 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24614 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24615 version if bit_Slow_SSE4_2 is set.
24616 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24617 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24619 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24622 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24623 trampoline stack frame information.
24624 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24625 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24626 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24627 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24628 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24629 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24630 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24631 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24633 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24634 interrupting a syscall and set with option SA_SIGINFO.
24636 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24639 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24640 argument is infinite.
24641 * math/s_cprojf.c (__cprojf): Likewise.
24642 * math/s_cprojl.c (__cprojl): Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24644 * math/libm-test.inc (cproj_test_data): Add more tests.
24646 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24648 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24649 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24650 size. Use __ffs to determine corresponding shift.
24652 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24653 Roland McGrath <roland@hack.frob.com>
24655 * Makefile (INSTALL): Remove trailing blank lines from output of
24658 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24660 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24661 Align 32 bit compat elf_greg to 8 bytes.
24663 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24665 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24667 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24669 * string/strcoll_l.c (coll_seq): New structure.
24670 (get_next_seq_cached): New function.
24671 (get_next_seq): New function.
24672 (do_compare): New function.
24673 (STRCOLL): Use GNU style definition. Simplify implementation
24674 by using get_next_seq, get_next_seq_cached and do_compare.
24676 2013-08-16 Florian Weimer <fweimer@redhat.com>
24680 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24682 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24684 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24685 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24686 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24688 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24689 GETDENTS_64BIT_ALIGNED.
24690 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24691 * manual/filesys.texi (Reading/Closing Directory): Document
24692 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24694 * manual/conf.texi (Limits for Files): Add portability note to
24695 NAME_MAX, PATH_MAX.
24696 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24698 2013-08-13 Andreas Schwab <schwab@suse.de>
24701 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24703 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24704 LDBL_MAX_EXP >= 16384]: Add tests for it.
24706 2013-08-12 David S. Miller <davem@davemloft.net>
24708 * version.h (RELEASE): Set to "development".
24709 (VERSION): Set to "2.18.90".
24710 * NEWS: Add 2.19 section.
24712 2013-08-03 David S. Miller <davem@davemloft.net>
24714 * po/ko.po: Update Korean translation from translation project.
24716 2013-08-01 David S. Miller <davem@davemloft.net>
24718 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24719 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24722 2013-07-30 David S. Miller <davem@davemloft.net>
24724 * po/fr.po: Update French translation from translation project.
24726 2013-07-28 David S. Miller <davem@davemloft.net>
24728 * po/cs.po: Update Czech translation from translation project.
24730 * po/sv.po: Update Swedish translation from translation project.
24732 2013-07-27 David S. Miller <davem@davemloft.net>
24734 * po/eo.po: Update Esperanto translation from translation project.
24736 * po/vi.po: Update Vietnamese translation from translation project.
24738 * po/de.po: Update German translation from translation project.
24740 2013-07-26 David S. Miller <davem@davemloft.net>
24742 * po/bg.po: Update Bulgarian translation from translation project.
24744 * po/nl.po: Update Dutch translation from translation project.
24745 * po/pl.po: Update Polish translation from translation project.
24746 * po/ru.po: Update Russian translation from translation project.
24748 2013-07-24 David S. Miller <davem@davemloft.net>
24750 * po/libc.pot: Update.
24752 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24754 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24755 variable page size.
24756 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24757 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24758 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24760 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24762 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24764 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24765 Andreas Schwab <schwab@suse.de>
24766 Roland McGrath <roland@hack.frob.com>
24767 Joseph Myers <joseph@codesourcery.com>
24768 Carlos O'Donell <carlos@redhat.com>
24771 * config.h.in: Define HAVE_PT_CHOWN.
24772 * config.make.in (build-pt-chown): New variable.
24773 * configure.in (--enable-pt_chown): New configure option.
24774 * configure: Regenerate.
24775 * login/Makefile: Include Makeconfig. Build pt_chown only if
24776 build-pt-chown is enabled.
24777 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24778 pt_chown to fix pty ownership.
24779 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24781 * manual/install.texi (Configuring and compiling): Mention
24782 --enable-pt_chown. Add @findex for grantpt.
24783 * INSTALL: Regenerate.
24785 2013-07-20 David S. Miller <davem@davemloft.net>
24787 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24788 difference between 32-bit and 64-bit.
24790 2013-07-15 Carlos O'Donell <carlos@redhat.com>
24793 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24794 Avoid system header dependency with -ffreestanding.
24795 ($(objpfx)bits/syscall%d): Likewise.
24797 2013-07-13 David S. Miller <davem@davemloft.net>
24799 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24800 underflows from atanl/atan2l due to bug 15319.
24801 (casinh_test_data): Likewise.
24803 2013-07-07 David S. Miller <davem@davemloft.net>
24805 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24807 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24809 * sysdeps/i386/fpu/libm-test-ulps: Update.
24810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24812 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24814 * configure.in (--enable-lock-elision): Fix message text.
24815 * INSTALL: Regenerate.
24816 * configure: Regenerate.
24818 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24822 2013-07-03 Andreas Jaeger <aj@suse.de>
24824 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24826 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24827 (ptrace_peeksiginfo_args): Add.
24828 (__ptrace_peeksiginfo_flags): Add.
24829 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24830 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24831 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24833 2013-07-03 Allan McRae <allan@archlinux.org>
24835 * sysdeps/i386/fpu/libm-test-ulps: Update.
24837 2013-07-02 David S. Miller <davem@davemloft.net>
24839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24841 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24845 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24847 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24850 2013-07-02 Andi Kleen <ak@linux.intel.com>
24852 * config.h.in (ENABLE_LOCK_ELISION): Add.
24853 * configure.in (--enable-lock-elision): Add option.
24854 * manual/install.texi: Document --enable lock elision.
24855 * configure: Regenerate
24856 * INSTALL: Regenerate.
24858 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24860 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24861 SSE4.2 strcasecmp for libc.a.
24862 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24864 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24867 * soft-fp/op-common.h (_FP_FMA): New macro.
24868 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24869 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24870 (_FP_MUL_MEAT_1_imm): ... here.
24871 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24872 (_FP_MUL_MEAT_1_wide): ... here.
24873 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24874 (_FP_MUL_MEAT_1_hard): ... here.
24875 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24876 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24877 (_FP_MUL_MEAT_2_wide): ... here.
24878 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24879 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24880 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24881 (_FP_MUL_MEAT_2_gmp): ... here.
24882 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24883 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24884 (_FP_MUL_MEAT_4_wide): ... here.
24885 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24886 (_FP_MUL_MEAT_4_gmp): ... here.
24887 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24888 (_FP_WFRACBITS_DW_S): Likewise.
24889 (_FP_WFRACXBITS_DW_S): Likewise.
24890 (_FP_HIGHBIT_DW_S): Likewise.
24891 (FP_FMA_S): Likewise.
24892 (_FP_FRAC_HIGH_DW_S): Likewise.
24893 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24894 (_FP_WFRACBITS_DW_D): Likewise.
24895 (_FP_WFRACXBITS_DW_D): Likewise.
24896 (_FP_HIGHBIT_DW_D): Likewise.
24897 (FP_FMA_D): Likewise.
24898 (_FP_FRAC_HIGH_DW_D): Likewise.
24899 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24900 (_FP_WFRACBITS_DW_E): Likewise.
24901 (_FP_WFRACXBITS_DW_E): Likewise.
24902 (_FP_HIGHBIT_DW_E): Likewise.
24903 (FP_FMA_E): Likewise.
24904 (_FP_FRAC_HIGH_DW_E): Likewise.
24905 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24906 (_FP_WFRACBITS_DW_Q): Likewise.
24907 (_FP_WFRACXBITS_DW_Q): Likewise.
24908 (_FP_HIGHBIT_DW_Q): Likewise.
24909 (FP_FMA_Q): Likewise.
24910 (_FP_FRAC_HIGH_DW_Q): Likewise.
24911 * soft-fp/fmasf4.c: New file.
24912 * soft-fp/fmadf4.c: Likewise.
24913 * soft-fp/fmatf4.c: Likewise.
24915 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24918 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24920 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24922 (index_Slow_SSE4_2): Likewise.
24923 (index_Prefer_PMINUB_for_stringop): Likewise.
24924 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24925 bit_Slow_SSE4_2 is set.
24926 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24927 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24929 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24931 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24932 rtld_global._dl_hwcap2.
24933 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24935 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24936 POWER8 feature descriptions defined in _dl_hwcap2.
24937 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24938 string handling for POWER8 feature bits.
24939 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24940 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24941 _dl_powerpc_cap_flags.
24942 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24943 * sysdeps/powerpc/rtld-global-offsets.sym
24944 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24945 _dl_hwcap2 in the rtld_global_ro structure.
24947 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24949 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24950 hardware capabilities in support of AT_HWCAP2.
24951 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24952 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24954 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24955 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24956 explicitly the unknown a_type display mechanism is used.
24957 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24958 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24960 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24961 to macro prototype for AT_HWCAP2 support.
24962 * sysdeps/i386/dl-procinfo.h: Likewise.
24963 * sysdeps/s390/dl-procinfo.h: Likewise.
24964 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24965 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24966 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24967 return -1 for unknown a_type display fallback.
24968 * sysdeps/sparc/dl-procinfo.h: Likewise.
24969 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24970 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24972 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24974 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24975 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24977 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24980 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24981 mprotect making __stack_prot writable.
24983 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24984 Joseph Myers <joseph@codesourcery.com>
24986 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24987 as being properly aligned.
24989 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24991 * dlfcn/modstatic5.c: New file.
24992 * dlfcn/tststatic5.c: New file.
24993 * dlfcn/Makefile (tests): Add tststatic5.
24994 (tests-static): Likewise.
24995 (modules-names): Add modstatic5.
24996 (tststatic5-ENV): New variable.
24997 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25000 * elf/dl-support.c (_dl_main_map): New variable.
25001 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25002 (_dl_nns, _dl_load_adds): Set to 1.
25003 (_dl_initial_searchlist): Refer to _dl_main_map.
25004 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25005 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25006 call to _dl_get_origin.
25007 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25009 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25010 * dlfcn/modstatic3.c: New file.
25011 * dlfcn/tststatic3.c: New file.
25012 * dlfcn/tststatic4.c: New file.
25013 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25014 (tests-static): Likewise.
25015 (modules-names): Add modstatic3.
25016 (tststatic3-ENV, tststatic4-ENV): New variables.
25017 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25018 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25020 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25022 * configure.in (CC): Require GCC version 4.4 or later.
25023 * configure: Regenerated.
25024 * manual/install.texi (Tools for Compilation): Update GCC version
25026 * INSTALL: Regenerated.
25028 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25031 * string/test-memcmp.c (check2): New.
25032 (main): Call check2.
25034 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25036 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25039 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25041 (dl_open_worker) [!SHARED]: ... here.
25043 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25045 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25047 2013-06-25 Richard Henderson <rth@redhat.com>
25049 * locale/programs/locarchive.c: Include <libc-internal.h>
25051 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25053 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25054 trailing whitespace removed.
25056 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25059 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25060 * locale/programs/locarchive.c: Include libc-mmap.h.
25061 (prepare_address_space): Take two new outputs (the mmap base and len).
25062 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25064 (create_archive): Declare new mmap base and len values for
25065 prepare_address_space, and store the result in ah.
25066 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25067 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25068 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25069 Declare new mmap base and len values for
25070 prepare_address_space, and store the result in new_ah.
25071 (open_archive): Declare new mmap base and len values for
25072 prepare_address_space, and store the result in ah.
25073 (close_archive): If ah->mmap_base is not NULL, use that and
25074 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25075 * sysdeps/generic/libc-mmap.h: New file.
25077 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25079 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25080 (ALIGN_UP): Likewise.
25081 (PTR_ALIGN_DOWN): Likewise.
25082 (PTR_ALIGN_UP): Likewise.
25084 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25086 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25087 entry mapped to PPC_PLATFORM_POWER8.
25088 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25090 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25091 (_dl_string_platform): Add case for exporting platform position for
25093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25094 search path to sysdeps/powerpc/powerpc32/power8 directory.
25095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25096 search path to sysdeps/powerpc/powerpc64/power8 directory.
25097 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25098 power7 directories.
25099 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25100 power7 directories.
25102 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25104 * INSTALL: Regenerate.
25106 * nscd/connections.c (nscd_init): Fix comment.
25108 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25110 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25113 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25114 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25116 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25118 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25120 (DL_DST_REQ_STATIC): Remove macro.
25122 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25125 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25126 with a shift of 0 bits.
25128 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25130 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25133 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25136 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25138 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25140 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25141 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25142 accepts -fno-tree-loop-distribute-patterns.
25143 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25144 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25146 * string/memset.c (memset): Likewise.
25147 * string/test-memmove.c (simple_memmove): Disable loop transformation
25149 * string/test-memset.c (simple_memset): Likewise.
25150 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25151 * benchtests/bench-memset.c (simple_memset): Likewise.
25152 * configure: Regenerated.
25154 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25156 * math/test-misc.c (main): Ignore fesetround failure when failures
25157 of subsequent rounding tests would be ignored.
25160 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25161 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25162 * math/fegetenv.c (__fegetenv): Return 0.
25163 * math/fegetexcept.c (fegetexcept): Return 0.
25164 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25166 * math/feholdexcpt.c (feholdexcept): Return 0.
25167 * math/fesetenv.c (__fesetenv): Return 0.
25168 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25169 argument FE_TONEAREST.
25170 * math/feupdateenv.c (__feupdateenv): Return 0.
25171 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25173 2013-06-18 Roland McGrath <roland@hack.frob.com>
25175 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25176 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25177 ($(objpfx)rtld-%.os rules): Use them.
25179 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25181 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25184 2013-06-17 Roland McGrath <roland@hack.frob.com>
25186 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25187 length of target pattern, then descending length of dependency pattern.
25188 * configure.in (AWK): Require gawk 3.1.2 or newer.
25189 * manual/install.texi (Tools for Compilation): Say that we do.
25190 * configure: Regenerated.
25192 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25193 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25194 * scripts/sysd-rules.awk: ... this new script.
25195 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25196 than a glob-style pattern.
25198 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25200 * math/test-misc.c (main): Do not treat incorrectly rounded
25201 conversions as failure unless ROUNDING_TESTS passes.
25203 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25206 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25207 restore exception state around main square root computation, then
25208 check for inexactness explicitly.
25210 * math/libm-test.inc (fma_test_data): Add another test.
25212 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25214 * manual/threads.texi (Non-POSIX Extensions): New document
25215 node. Document pthread_getattr_default_np and
25216 pthread_setattr_default_np.
25218 * Versions.def (libpthread): Add GLIBC_2.18.
25219 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25228 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25239 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25242 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25244 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25245 H.J. Lu <hjl.tools@gmail.com>
25248 * sysdeps/x86_64/rtld-memset.c: Remove file.
25249 * sysdeps/x86_64/rtld-memset.S: New file.
25251 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25253 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25254 (test_in_one_mode): Take arguments for whether the rounding mode
25255 is supported for each floating-point type.
25256 (do_test): Pass new arguments to test_in_one_mode using
25259 2013-06-13 Roland McGrath <roland@hack.frob.com>
25261 * posix/tst-waitid.c (do_test): Distinguish different instances of
25262 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25263 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25264 before entering the kernel for waitpid.
25266 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25268 * NEWS: Fix note on clock function precision. Text by Roland
25271 2013-06-13 Roland McGrath <roland@hack.frob.com>
25273 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25274 it into place only when and if the sanity check passes.
25276 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25278 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25279 output for whether conversion result is exact. Take argument
25280 indicating whether type is IBM long double.
25281 (round_for_all): Change need_exact field to ibm_ld.
25282 * stdlib/tst-strtod-round.c (struct exactness): New type.
25283 (struct test): Change bool ld_ok field to struct exactness exact.
25284 (TEST): Update all definitions for change to field.
25285 (tests): Regenerate array contents.
25286 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25287 field value. Check for IBM long double here.
25288 (do_test): Update calls to test_in_one_mode.
25290 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25293 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25294 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25296 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25299 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25300 generated by the compiler on loop optimizations.
25301 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25302 general definitions.
25304 2013-06-12 Joseph Myers <joseph@codesourcery.com>
25306 * math/bug-nextafter.c: Include <math-tests.h>.
25307 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25309 * math/bug-nexttoward.c: Include <math-tests.h>.
25310 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25312 * math/test-misc.c: Include <math-tests.h>.
25313 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25316 2013-06-12 Andreas Jaeger <aj@suse.de>
25318 * po/ia.po: Update Interlingua translation from translation
25321 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25323 * include/fenv.h: Include stdbool.h.
25324 (struct rm_ctx): New structure.
25325 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25327 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25328 (SET_RESTORE_ROUNDF): Likewise.
25329 (SET_RESTORE_ROUNDL): Likewise.
25330 (SET_RESTORE_ROUND_NOEX): Likewise.
25331 (SET_RESTORE_ROUND_NOEXF): Likewise.
25332 (SET_RESTORE_ROUND_NOEXL): Likewise.
25333 (SET_RESTORE_ROUND_53BIT): Likewise.
25334 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25335 (libc_feresetround_noexf_ctx): Likewise.
25336 (libc_feresetround_noexl_ctx): Likewise.
25337 (libc_feholdsetround_53bit_ctx): Likewise.
25338 (libc_feresetround_53bit_ctx): Likewise.
25339 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25340 (libc_feholdexcept_setround_sse_ctx): New function.
25341 (libc_fesetenv_sse_ctx): Likewise.
25342 (libc_feupdateenv_sse_ctx): Likewise.
25343 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25344 (libc_feholdexcept_setround_387_ctx): Likewise.
25345 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25346 (libc_feholdsetround_387_prec_ctx): Likewise.
25347 (libc_feholdsetround_387_ctx): Likewise.
25348 (libc_feholdsetround_387_53bit_ctx): Likewise.
25349 (libc_feholdsetround_sse_ctx): Likewise.
25350 (libc_feresetround_sse_ctx): Likewise.
25351 (libc_feresetround_387_ctx): Likewise.
25352 (libc_feupdateenv_387_ctx): Likewise.
25353 (libc_feholdexcept_setroundf_ctx): Define macro.
25354 (libc_fesetenvf_ctx): Likewise.
25355 (libc_feupdateenvf_ctx): Likewise.
25356 (libc_feholdsetroundf_ctx): Likewise.
25357 (libc_feresetroundf_ctx): Likewise.
25358 (libc_feholdexcept_setround_ctx): Likewise.
25359 (libc_fesetenv_ctx): Likewise.
25360 (libc_feupdateenv_ctx): Likewise.
25361 (libc_feholdsetround_ctx): Likewise.
25362 (libc_feresetround_ctx): Likewise.
25363 (libc_feholdexcept_setroundl_ctx): Likewise.
25364 (libc_feupdateenvl_ctx): Likewise.
25365 (libc_feholdsetroundl_ctx): Likewise.
25366 (libc_feresetroundl_ctx): Likewise.
25367 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25368 (libc_feresetround_53bit_ctx): Likewise.
25370 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25372 * locale/iso-639.def: Convert to UTF-8.
25374 2013-06-11 Joseph Myers <joseph@codesourcery.com>
25376 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25377 (EXCEPTION_TESTS_double): Likewise.
25378 (EXCEPTION_TESTS_long_double): Likewise.
25379 (EXCEPTION_TESTS): Likewise.
25380 * math/libm-test.inc (test_exceptions): Only test exceptions if
25381 EXCEPTION_TESTS (FLOAT).
25383 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25385 * benchtests/Makefile (string-bench): Add strcpy_chk and
25387 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25388 * benchtests/bench-stpcpy_chk.c: New file.
25389 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25390 * benchtests/bench-strcpy_chk.c: New file.
25391 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25393 (do_test): Likewise.
25395 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25397 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25398 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25399 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25400 with tabs where appropriate.
25401 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25403 [PPC_PLATFORM_PPC440]: Likewise.
25404 [PPC_PLATFORM_PPC464]: Likewise.
25405 [PPC_PLATFORM_PPC476]: Likewise.
25406 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25407 ppc464, and ppc476 platform strings merging from ports/
25410 2013-06-11 Andreas Schwab <schwab@suse.de>
25413 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25414 (from_ucs4_idx): Regenerate.
25415 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25416 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25417 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25418 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25419 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25420 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25421 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25422 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25423 from FROM_LOOP and TO_LOOP specific macros.
25424 (BODY): Handle combining characters.
25425 * iconvdata/BIG5HKSCS.irreversible: Update.
25426 * iconvdata/BIG5HKSCS.precomposed: New file.
25427 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25429 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25431 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25433 * include/sys/time.h: Fix indentation and add copyright header.
25435 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25436 (do_test): Likewise.
25437 * string/test-memchr.c (do_one_test): Likewise.
25438 (do_test): Likewise.
25439 * string/test-memcmp.c (do_one_test): Likewise.
25440 (do_test): Likewise.
25441 * string/test-memcpy.c (do_one_test): Likewise.
25442 (do_test): Likewise.
25443 * string/test-memmem.c (do_one_test): Likewise.
25444 (do_test): Likewise.
25445 (do_random_tests): Likewise.
25446 * string/test-memmove.c (do_one_test): Likewise.
25447 (do_test): Likewise.
25448 * string/test-memset.c (do_one_test): Likewise.
25449 (do_test): Likewise.
25450 * string/test-rawmemchr.c (do_one_test): Likewise.
25451 (do_test): Likewise.
25452 * string/test-strcasecmp.c (do_one_test): Likewise.
25453 (do_test): Likewise.
25454 * string/test-strcasestr.c (do_one_test): Likewise.
25455 (do_test): Likewise.
25456 * string/test-strcat.c (do_one_test): Likewise.
25457 (do_test): Likewise.
25458 * string/test-strchr.c (do_one_test): Likewise.
25459 (do_test): Likewise.
25460 * string/test-strcmp.c (do_one_test): Likewise.
25461 (do_test): Likewise.
25462 * string/test-strcpy.c (do_one_test): Likewise.
25463 (do_test): Likewise.
25464 * string/test-string.h: Likewise.
25465 (test_init): Likewise.
25466 * string/test-strlen.c (do_one_test): Likewise.
25467 (do_test): Likewise.
25468 * string/test-strncasecmp.c (do_one_test): Likewise.
25469 (do_test): Likewise.
25470 * string/test-strncat.c (do_one_test): Likewise.
25471 (do_test): Likewise.
25472 * string/test-strncmp.c (do_one_test): Likewise.
25473 (do_test_limit): Likewise.
25474 (do_test): Likewise.
25475 * string/test-strncpy.c (do_one_test): Likewise.
25476 (do_test): Likewise.
25477 * string/test-strnlen.c (do_one_test): Likewise.
25478 (do_test): Likewise.
25479 * string/test-strpbrk.c (do_one_test): Likewise.
25480 (do_test): Likewise.
25481 * string/test-strrchr.c (do_one_test): Likewise.
25482 (do_test): Likewise.
25483 * string/test-strspn.c (do_one_test): Likewise.
25484 (do_test): Likewise.
25485 * string/test-strstr.c (do_one_test): Likewise.
25486 (do_test): Likewise.
25488 * benchtests/Makefile (string-bench): Add string benchmarks.
25489 * benchtests/bench-bcopy-ifunc.c: New file.
25490 * benchtests/bench-bcopy.c: New file.
25491 * benchtests/bench-bzero-ifunc.c: New file.
25492 * benchtests/bench-bzero.c: New file.
25493 * benchtests/bench-memccpy-ifunc.c: New file.
25494 * benchtests/bench-memccpy.c: New file.
25495 * benchtests/bench-memchr-ifunc.c: New file.
25496 * benchtests/bench-memchr.c: New file.
25497 * benchtests/bench-memcmp-ifunc.c: New file.
25498 * benchtests/bench-memcmp.c: New file.
25499 * benchtests/bench-memmem-ifunc.c: New file.
25500 * benchtests/bench-memmem.c: New file.
25501 * benchtests/bench-memmove-ifunc.c: New file.
25502 * benchtests/bench-memmove.c: New file.
25503 * benchtests/bench-mempcpy-ifunc.c: New file.
25504 * benchtests/bench-mempcpy.c: New file.
25505 * benchtests/bench-memset-ifunc.c: New file.
25506 * benchtests/bench-memset.c: New file.
25507 * benchtests/bench-rawmemchr-ifunc.c: New file.
25508 * benchtests/bench-rawmemchr.c: New file.
25509 * benchtests/bench-stpcpy-ifunc.c: New file.
25510 * benchtests/bench-stpcpy.c: New file.
25511 * benchtests/bench-stpncpy-ifunc.c: New file.
25512 * benchtests/bench-stpncpy.c: New file.
25513 * benchtests/bench-strcasecmp-ifunc.c: New file.
25514 * benchtests/bench-strcasecmp.c: New file.
25515 * benchtests/bench-strcasestr-ifunc.c: New file.
25516 * benchtests/bench-strcasestr.c: New file.
25517 * benchtests/bench-strcat-ifunc.c: New file.
25518 * benchtests/bench-strcat.c: New file.
25519 * benchtests/bench-strchr-ifunc.c: New file.
25520 * benchtests/bench-strchr.c: New file.
25521 * benchtests/bench-strchrnul-ifunc.c: New file.
25522 * benchtests/bench-strchrnul.c: New file.
25523 * benchtests/bench-strcmp-ifunc.c: New file.
25524 * benchtests/bench-strcmp.c: New file.
25525 * benchtests/bench-strcpy-ifunc.c: New file.
25526 * benchtests/bench-strcpy.c: New file.
25527 * benchtests/bench-strcspn-ifunc.c: New file.
25528 * benchtests/bench-strcspn.c: New file.
25529 * benchtests/bench-strlen-ifunc.c: New file.
25530 * benchtests/bench-strlen.c: New file.
25531 * benchtests/bench-strncasecmp-ifunc.c: New file.
25532 * benchtests/bench-strncasecmp.c: New file.
25533 * benchtests/bench-strncat-ifunc.c: New file.
25534 * benchtests/bench-strncat.c: New file.
25535 * benchtests/bench-strncmp-ifunc.c: New file.
25536 * benchtests/bench-strncmp.c: New file.
25537 * benchtests/bench-strncpy-ifunc.c: New file.
25538 * benchtests/bench-strncpy.c: New file.
25539 * benchtests/bench-strnlen-ifunc.c: New file.
25540 * benchtests/bench-strnlen.c: New file.
25541 * benchtests/bench-strpbrk-ifunc.c: New file.
25542 * benchtests/bench-strpbrk.c: New file.
25543 * benchtests/bench-strrchr-ifunc.c: New file.
25544 * benchtests/bench-strrchr.c: New file.
25545 * benchtests/bench-strspn-ifunc.c: New file.
25546 * benchtests/bench-strspn.c: New file.
25547 * benchtests/bench-strstr-ifunc.c: New file.
25548 * benchtests/bench-strstr.c: New file.
25550 * benchtests/Makefile: Disable parallel execution of targets.
25551 (string-bench): Add memcpy.
25552 (benchset): New variable to store a list of benchmark sets.
25553 (bench-func): Renamed from bench.
25554 (bench-set): New target.
25555 (bench): Depend on bench-func and bench-set.
25556 * benchtests/README: Add section on benchmark sets.
25557 * benchtests/bench-memcpy-ifunc.c: New file.
25558 * benchtests/bench-memcpy.c: New file.
25559 * benchtests/bench-string.h: New file.
25561 2013-06-11 Andreas Schwab <schwab@suse.de>
25564 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25565 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25566 values in the triple.
25567 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25568 terminator in the group key.
25570 2013-06-11 Andreas Jaeger <aj@suse.de>
25572 * po/zh_TW.po: Update Chinese (traditional) translation from
25573 translation project.
25575 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25577 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25578 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25579 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25580 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25581 (clock_getcpuclockid): Likewise.
25582 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25583 Add weak_alias and libc_hidden_def.
25584 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25585 * rt/clock_gettime.c (clock_gettime): Rename to
25586 __clock_gettime. Add weak_alias and libc_hidden_def.
25587 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25588 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25589 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25590 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25591 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25593 * rt/clock_settime.c (clock_settime): Rename to
25594 __clock_settime. Add weak_alias and libc_hidden_def.
25595 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25597 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25599 * mach/err_boot.sub: Remove trailing whitespace.
25600 * mach/err_ipc.sub: Likewise.
25601 * mach/err_mach.sub: Likewise.
25603 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25604 (ROUNDING_TESTS_double): Likewise.
25605 (ROUNDING_TESTS_long_double): Likewise.
25606 (ROUNDING_TESTS): Likewise.
25607 * math/libm-test.inc: Include <math-tests.h>.
25608 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25609 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25610 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25611 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25613 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25615 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25618 2013-06-08 Joseph Myers <joseph@codesourcery.com>
25620 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25621 otherwise empty TRANS lines.
25622 * sysdeps/gnu/errlist.c: Regenerated.
25624 * catgets/gencat.c (error_print): Use (void) in function
25626 * crypt/crypt_util.c (__init_des): Likewise.
25627 * crypt/speeds.c (Stop): Likewise.
25629 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25630 * inet/ruserpass.c (token): Likewise.
25631 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25632 * intl/localealias.c (extend_alias_table): Likewise.
25633 * intl/plural-exp.c (init_germanic_plural): Likewise.
25634 * libio/fcloseall.c (__fcloseall): Likewise.
25635 * libio/genops.c (_IO_flush_all): Likewise.
25636 (_IO_flush_all_linebuffered): Likewise.
25637 (_IO_cleanup): Likewise.
25638 (_IO_iter_begin): Likewise.
25639 (_IO_iter_end): Likewise.
25640 (_IO_list_lock): Likewise.
25641 (_IO_list_unlock): Likewise.
25642 (_IO_list_resetlock): Likewise.
25643 * libio/getchar.c (getchar): Likewise.
25644 * libio/getchar_u.c (getchar_unlocked): Likewise.
25645 * libio/getwchar.c (getwchar): Likewise.
25646 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25647 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25648 * login/getpt.c (__getpt): Likewise.
25649 * login/tst-utmp.c (main): Likewise.
25650 * malloc/hooks.c (__malloc_check_init): Likewise.
25651 * malloc/malloc.c (__malloc_stats): Likewise.
25652 * malloc/mtrace.c (tr_break): Likewise.
25653 (mtrace): Likewise.
25654 (muntrace): Likewise.
25655 * misc/fstab.c (endfsent): Likewise.
25656 * misc/getclktck.c (__getclktck): Likewise.
25657 * misc/getdtsz.c (__getdtablesize): Likewise.
25658 * misc/gethostid.c (gethostid): Likewise.
25659 * misc/getpagesize.c (__getpagesize): Likewise.
25660 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25661 (__get_nprocs): Likewise.
25662 (__get_phys_pages): Likewise.
25663 (__get_avphys_pages): Likewise.
25664 * misc/getttyent.c (getttyent): Likewise.
25665 (setttyent): Likewise.
25666 (endttyent): Likewise.
25667 * misc/getusershell.c (getusershell): Likewise.
25668 (endusershell): Likewise.
25669 (setusershell): Likewise.
25670 (initshells): Likewise.
25671 * misc/hsearch.c (__hdestroy): Likewise.
25672 * misc/sync.c (sync): Likewise.
25673 * misc/syslog.c (closelog_internal): Likewise.
25674 (closelog): Likewise.
25675 * misc/ttyslot.c (ttyslot): Likewise.
25676 * misc/vhangup.c (vhangup): Likewise.
25677 * posix/fork.c (__fork): Likewise.
25678 * posix/getegid.c (__getegid): Likewise.
25679 * posix/geteuid.c (__geteuid): Likewise.
25680 * posix/getgid.c (__getgid): Likewise.
25681 * posix/getpid.c (__getpid): Likewise.
25682 * posix/getppid.c (__getppid): Likewise.
25683 * posix/getuid.c (__getuid): Likewise.
25684 * posix/pause.c (pause): Likewise.
25685 * posix/setpgrp.c (setpgrp): Likewise.
25686 * posix/setsid.c (__setsid): Likewise.
25687 * posix/test-vfork.c (noop): Likewise.
25688 * resolv/gethnamaddr.c (_endhtent): Likewise.
25689 (_gethtent): Likewise.
25690 (ht_endhostent): Likewise.
25691 (gethostent): Likewise.
25692 (dns_service): Likewise.
25693 * stdlib/drand48.c (drand48): Likewise.
25694 * stdlib/lrand48.c (lrand48): Likewise.
25695 * stdlib/mrand48.c (mrand48): Likewise.
25696 * stdlib/rand.c (rand): Likewise.
25697 * stdlib/random.c (__random): Likewise.
25698 * stdlib/setenv.c (clearenv): Likewise.
25699 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25700 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25701 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25702 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25703 (__get_nprocs): Likewise.
25704 (__get_phys_pages): Likewise.
25705 (__get_avphys_pages): Likewise.
25706 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25707 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25708 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25709 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25710 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25711 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25712 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25713 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25714 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25715 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25716 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25717 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25718 * sysdeps/posix/clock.c (clock): Likewise.
25719 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25720 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25721 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25722 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25723 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25724 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25725 (__get_nprocs_conf): Likewise.
25726 (__get_phys_pages): Likewise.
25727 (__get_avphys_pages): Likewise.
25728 * time/clock.c (clock): Likewise.
25729 * time/tzset.c (__tzname_max): Likewise.
25731 2013-06-07 Joseph Myers <joseph@codesourcery.com>
25733 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25734 (__bswap_32): Do not use "register".
25735 * crypt/crypt.c (_ufc_doit_r): Likewise.
25736 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25737 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25738 * gmon/gmon.c (__monstartup): Likewise.
25739 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25740 * hurd/hurdmalloc.c (more_memory): Likewise.
25741 (malloc): Likewise.
25743 (realloc): Likewise.
25744 (malloc_fork_prepare): Likewise.
25745 (malloc_fork_parent): Likewise.
25746 (malloc_fork_child): Likewise.
25747 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25748 (_svcauth_des): Likewise.
25749 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25750 * inet/inet_net.c (inet_network): Likewise.
25751 * inet/inet_netof.c (inet_netof): Likewise.
25752 * inet/rcmd.c (__validuser2_sa): Likewise.
25753 * io/fts.c (fts_open): Likewise.
25754 (fts_load): Likewise.
25755 (fts_close): Likewise.
25756 (fts_read): Likewise.
25757 (fts_children): Likewise.
25758 (fts_build): Likewise.
25759 (fts_stat): Likewise.
25760 (fts_sort): Likewise.
25761 (fts_alloc): Likewise.
25762 (fts_lfree): Likewise.
25763 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25764 (_IO_file_xsgetn): Likewise.
25765 (_IO_file_xsgetn_mmap): Likewise.
25766 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25767 (_IO_cookie_write): Likewise.
25768 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25769 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25770 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25771 * malloc/obstack.c (_obstack_begin): Likewise.
25772 (_obstack_begin_1): Likewise.
25773 (_obstack_newchunk): Likewise.
25774 (_obstack_allocated_p): Likewise.
25775 (obstack_free): Likewise.
25776 (_obstack_memory_used): Likewise.
25777 * misc/getttyent.c (getttynam): Likewise.
25778 (getttyent): Likewise.
25781 * misc/getusershell.c (initshells): Likewise.
25782 * misc/syslog.c (__vsyslog_chk): Likewise.
25783 * misc/ttyslot.c (ttyslot): Likewise.
25784 * nis/nis_hash.c (__nis_hash): Likewise.
25785 * posix/fnmatch_loop.c (FCT): Likewise.
25786 * posix/getconf.c (print_all): Likewise.
25788 * posix/getopt.c (exchange): Likewise.
25789 * posix/glob.c (globfree): Likewise.
25790 (prefix_array): Likewise.
25791 (__glob_pattern_type): Likewise.
25792 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25793 (NS_GET32): Likewise.
25794 (NS_PUT16): Likewise.
25795 (NS_PUT32): Likewise.
25796 * resolv/gethnamaddr.c (getanswer): Likewise.
25797 (gethostbyname2): Likewise.
25798 (gethostbyaddr): Likewise.
25799 (_gethtent): Likewise.
25800 (_gethtbyname2): Likewise.
25801 (_gethtbyaddr): Likewise.
25802 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25803 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25804 * resolv/res_init.c (__res_vinit): Likewise.
25805 (net_mask): Likewise.
25806 * resolv/res_mkquery.c (outchar): Likewise.
25808 * stdio-common/printf_fp.c (outchar): Likewise.
25810 * stdio-common/printf_fphex.c (outchar): Likewise.
25812 * stdio-common/printf_size.c (outchar): Likewise.
25814 * stdio-common/test_rdwr.c (main): Likewise.
25815 * stdio-common/tfformat.c (matches): Likewise.
25816 * stdio-common/vfprintf.c (outchar): Likewise.
25817 (printf_unknown): Likewise.
25818 (buffered_vfprintf): Likewise.
25819 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25820 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25821 (ReadFile): Likewise.
25822 * stdlib/qsort.c (SWAP): Likewise.
25823 (_quicksort): Likewise.
25824 * stdlib/setenv.c (__add_to_environ): Likewise.
25825 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25826 * stdlib/strtol_l.c (__strtol_l): Likewise.
25827 * stdlib/tst-strtod.c (main): Likewise.
25828 * stdlib/tst-strtol.c (main): Likewise.
25829 * stdlib/tst-strtoll.c (main): Likewise.
25830 * string/bits/string2.h (__strcmp_cc): Likewise.
25831 (__strcmp_cg): Likewise.
25832 (__strcspn_c1): Likewise.
25833 (__strcspn_c2): Likewise.
25834 (__strcspn_c3): Likewise.
25835 (__strspn_c1): Likewise.
25836 (__strspn_c2): Likewise.
25837 (__strspn_c3): Likewise.
25838 (__strsep_1c): Likewise.
25839 (__strsep_2c): Likewise.
25840 (__strsep_3c): Likewise.
25841 * string/memccpy.c (__memccpy): Likewise.
25842 * string/stpcpy.c (__stpcpy): Likewise.
25843 * string/strcmp.c (strcmp): Likewise.
25844 * string/strrchr.c (strrchr): Likewise.
25845 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25847 * sysdeps/mach/hurd/getcwd.c
25848 (_hurd_canonicalize_directory_name_internal): Likewise.
25849 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25850 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25851 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25852 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25853 Likewise, in both definitions.
25854 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25856 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25857 64] (__bswap_64): Likewise.
25858 * time/test_time.c (main): Likewise.
25859 * time/tzfile.c (__tzfile_read): Likewise.
25860 (__tzfile_compute): Likewise.
25861 * time/tzset.c (__tzset_parse_tz): Likewise.
25862 (tzset_internal): Likewise.
25863 (compute_change): Likewise.
25864 * wcsmbs/wcscat.c (__wcscat): Likewise.
25865 * wcsmbs/wcschr.c (wcschr): Likewise.
25866 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25867 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25868 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25869 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25870 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25871 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25872 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25873 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25874 * wcsmbs/wmemset.c (wmemset): Likewise.
25876 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25878 * scripts/config.guess: Update to version 2013-05-16.
25879 * scripts/config.sub: Update to version 2013-04-24.
25880 * scripts/install-sh: Update to version 2011-11-20.07.
25881 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25882 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25884 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25886 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25887 * elf/sln.c: Likewise.
25888 * hurd/hurd/ioctl.h: Likewise.
25889 * hurd/hurdmalloc.c: Likewise.
25890 * hurd/xattr.c: Likewise.
25891 * include/shlib-compat.h: Likewise.
25892 * inet/ruserpass.c: Likewise.
25893 * libio/iofgets_u.c: Likewise.
25894 * libio/iofgetws_u.c: Likewise.
25895 * locale/programs/ld-identification.c: Likewise.
25896 * locale/programs/ld-time.c: Likewise.
25897 * mach/msg-destroy.c: Likewise.
25898 * nss/nss_files/files-netgrp.c: Likewise.
25899 * resolv/res_data.c: Likewise.
25900 * soft-fp/op-1.h: Likewise.
25901 * soft-fp/op-2.h: Likewise.
25902 * soft-fp/op-4.h: Likewise.
25903 * soft-fp/op-common.h: Likewise.
25904 * stdio-common/printf_fphex.c: Likewise.
25905 * stdlib/strtod_l.c: Likewise.
25906 * sunrpc/rpc/clnt.h: Likewise.
25907 * sysdeps/generic/framestate.c: Likewise.
25908 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25909 * sysdeps/i386/bsd-setjmp.S: Likewise.
25910 * sysdeps/i386/__longjmp.S: Likewise.
25911 * sysdeps/i386/setjmp.S: Likewise.
25912 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25913 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25914 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25919 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25922 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25928 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25930 * sysdeps/ieee754/support.c: Likewise.
25931 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25932 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25933 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25934 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25935 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25936 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25937 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25938 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25939 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25940 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25941 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25942 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25943 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25944 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25945 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25946 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25947 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25950 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25952 * posix/transbug.c: Remove executable mode.
25954 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25956 * crypt/speeds.c: Remove trailing whitespace.
25957 * dlfcn/default.c: Likewise.
25958 * elf/ifuncdep2.c: Likewise.
25959 * elf/ifuncmain1.c: Likewise.
25960 * elf/ifuncmain1vis.c: Likewise.
25961 * elf/testobj.h: Likewise.
25962 * elf/tst-stackguard1.c: Likewise.
25963 * gmon/sys/gmon.h: Likewise.
25964 * hurd/hurdmsg.c: Likewise.
25965 * hurd/new-fd.c: Likewise.
25966 * hurd/ports-get.c: Likewise.
25967 * iconvdata/ibm1008_420.c: Likewise.
25968 * inet/tst-getni1.c: Likewise.
25969 * inet/tst-getni2.c: Likewise.
25970 * libio/ioungetc.c: Likewise.
25971 * libio/wfiledoalloc.c: Likewise.
25972 * manual/libm-err-tab.pl: Likewise.
25973 * math/w_dremf.c: Likewise.
25974 * misc/ftruncate.c: Likewise.
25975 * posix/bug-glob2.c: Likewise.
25976 * posix/tst-pcre.c: Likewise.
25977 * posix/wait4.c: Likewise.
25978 * resolv/README: Likewise.
25979 * resolv/res_debug.h: Likewise.
25980 * resolv/tst-inet_ntop.c: Likewise.
25981 * setjmp/bug269-setjmp.c: Likewise.
25982 * soft-fp/extended.h: Likewise.
25983 * soft-fp/op-1.h: Likewise.
25984 * soft-fp/op-2.h: Likewise.
25985 * soft-fp/op-4.h: Likewise.
25986 * soft-fp/op-8.h: Likewise.
25987 * soft-fp/testit.c: Likewise.
25988 * stdio-common/bug16.c: Likewise.
25989 * stdlib/random.c: Likewise.
25990 * sunrpc/rpcsvc/rquota.x: Likewise.
25991 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25992 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25993 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25994 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25995 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25996 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25997 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25998 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25999 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26000 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26001 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26002 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26003 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26004 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26005 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26006 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26007 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26008 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26009 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26010 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26011 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26012 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26013 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26014 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26015 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26016 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26017 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26018 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26019 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26020 * sysdeps/ieee754/s_lib_version.c: Likewise.
26021 * sysdeps/mach/hurd/check_fds.c: Likewise.
26022 * sysdeps/mach/hurd/getsockname.c: Likewise.
26023 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26024 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26025 * sysdeps/powerpc/bits/link.h: Likewise.
26026 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26027 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26028 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26029 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26030 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26031 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26032 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26033 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26034 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26035 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26036 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26037 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26038 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26039 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26040 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26041 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26042 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26043 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26044 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26045 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26046 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26047 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26048 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26049 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26050 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26051 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26052 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26053 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26054 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26055 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26056 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26058 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26059 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26060 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26061 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26062 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26063 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26064 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26065 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26066 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26067 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26068 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26069 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26070 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26071 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26072 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26073 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26074 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26075 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26076 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26078 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26079 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26080 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26081 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26082 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26083 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26084 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26085 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26086 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26087 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26088 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26089 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26090 * sysdeps/powerpc/sysdep.h: Likewise.
26091 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26092 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26093 * sysdeps/sh/dl-trampoline.S: Likewise.
26094 * sysdeps/sh/memset.S: Likewise.
26095 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26096 * sysdeps/sh/strlen.S: Likewise.
26097 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26098 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26099 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26100 * sysdeps/sparc/sparc32/rem.S: Likewise.
26101 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26102 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26103 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26104 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26105 * sysdeps/sparc/sparc32/urem.S: Likewise.
26106 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26107 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26108 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26109 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26110 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26111 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26112 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26113 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26114 * sysdeps/unix/bsd/times.c: Likewise.
26115 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26116 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26120 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26121 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26122 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26123 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26124 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26125 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26126 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26127 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26128 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26129 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26130 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26131 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26132 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26133 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26134 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26135 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26136 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26137 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26138 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26139 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26140 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26141 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26142 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26143 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26144 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26145 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26146 * sysdeps/x86_64/strcspn.S: Likewise.
26148 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26150 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26151 generated file. Regenerate properly from gen-translit.pl.
26152 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26153 locale/C-translit.h.
26155 2013-06-05 Andreas Schwab <schwab@suse.de>
26158 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26159 week as 6 instead of -1.
26160 * time/tst-strptime.c (day_tests): Add test case.
26162 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26164 * sysdeps/generic/math_private.h
26165 (libc_feholdexcept_setround_53bit): Replace with
26166 libc_feholdsetround_53bit.
26167 (libc_feupdateenv_53bit): Replace with
26168 libc_feresetround_53bit.
26169 (SET_RESTORE_ROUND_53BIT): Adjust.
26171 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26173 * string/test-strchrnul.c: Add copyright header.
26175 * posix/tst-getaddrinfo4.c: Increase test timeout.
26177 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26180 * math/libm-test.inc (MAX_EXP): Remove
26182 (ulp): Use MIN_EXP - MANT_DIG.
26183 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26185 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26187 * po/be.po: Revert last change.
26188 * po/zh_CN.po: Likewise.
26189 * po/header.pot: Likewise.
26191 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26193 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26194 link-libc-deps to empty as target-specific variable.
26195 * Makerules (link-libc-args): New variable.
26196 (libc-for-link): Likewise.
26197 (link-libc-deps): Likewise.
26198 (lib%.so): Depend on $(link-libc-deps). Link with
26200 (build-module): Link with $(link-libc-args).
26201 (build-module-asneeded): Likewise.
26202 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26204 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26205 target-specific variable.
26206 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26207 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26208 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26210 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26212 ($(objpfx)libpcprofile.so): Likewise.
26213 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26215 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26216 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26217 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26219 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26220 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26221 * login/Makefile ($(objpfx)libutil.so): Likewise.
26222 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26223 * math/Makefile ($(objpfx)libm.so): Likewise.
26224 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26225 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26226 variable instead of depending directly on libc.
26227 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26228 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26230 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26232 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26233 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26234 ($(objpfx)libanl.so): Likewise.
26235 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26237 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26239 * sysdeps/i386/fpu/Makefile: Remove file.
26240 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26241 ($(objpfx)libm.so): Remove dependency on ld.so.
26243 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26246 * nis/yp_xdr.c (XDRMAXNAME): Define.
26247 (XDRMAXRECORD): Define.
26248 (xdr_domainname): Use XDRMAXNAME.
26249 (xdr_mapname): Likewise.
26250 (xdr_peername): Likewise.
26251 (xdr_keydat): Use XDRMAXRECORD.
26252 (xdr_valdat): Likewise.
26254 2013-05-30 Jeff Law <law@redhat.com>
26257 * manual/errno.texi (ESTALE): Update to account for more than
26258 just NFS file systems.
26259 * sysdeps/gnu/errlist.c: Regenerated.
26261 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26264 * elf/Makefile (tests): Add tst-null-argv.
26265 (modules-names): Add tst-null-argv-lib.
26266 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26267 (tst-null-argv-ENV): Set environment for tst-null-argv.
26268 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26269 (RTLD_PROGNAME): New macro.
26270 * elf/tst-null-argv.c: New test case.
26271 * elf/tst-null-argv-lib.c: Library for test case.
26272 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26273 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26274 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26275 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26276 * elf/dl-init.c (call_init): Likewise.
26277 (_dl_init): Likewise.
26278 * elf/dl-load.c (print_search_path): Likewise.
26279 (_dl_map_object): Likewise.
26280 * elf/dl-lookup.c (do_lookup_x): Likewise.
26281 (add_dependency): Likewise.
26282 (_dl_lookup_symbol_x): Likewise.
26283 (_dl_debug_bindings): Likewise.
26284 * elf/dl-open.c (_dl_show_scope): Likewise.
26285 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26286 * elf/dl-version.c (match_symbol): Likewise.
26287 (_dl_check_map_versions): Likewise.
26288 * elf/rtld.c (dl_main): Likewise.
26289 (print_unresolved): Use RTLD_PROGNAME.
26290 (print_missing_version): Likewise.
26291 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26292 (elf_machine_rela): Likewise.
26293 * sysdeps/powerpc/powerpc32/dl-machine.c
26294 (__process_machine_rela): Likewise.
26295 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26297 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26299 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26301 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26308 2013-05-28 Carlos O'Donell <carlos@redhat.com>
26310 * po/be.po: Add descriptive title.
26311 * po/zh_CN.po: Likewise.
26312 * po/header.pot: Likewise.
26314 2013-05-28 Mike Frysinger <vapier@gentoo.org>
26316 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26318 (enlarge_archive): Likewise.
26320 2013-05-28 Ben North <ben@redfrontdoor.org>
26322 * manual/arith.texi (frexp): It is the magnitude of the return
26323 value which lies in [0.5, 1), not the return value itself.
26325 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26329 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26331 * stdio-common/bug26.c (main): Correct fscanf template.
26333 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26334 declare _dl_skip_args.
26336 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26339 * manual/platform.texi: Add missing @end deftypefun.
26341 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26344 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26345 bit of mantissa of 2^16382.
26346 * math/libm-test.inc (hypot_test_data): Add more tests.
26348 * math/libm-test.inc: Add drem and pow10 to list of tested
26350 (pow10_test): New function.
26351 (drem_test): Likewise.
26352 (drem_test_tonearest): Likewise.
26353 (drem_test_towardzero): Likewise.
26354 (drem_test_downward): Likewise.
26355 (drem_test_upward): Likewise.
26356 (main): Call the new functions.
26358 * math/libm-test.inc (finite_test_data): Remove.
26359 (finite_test): Run tests from isfinite_test_data.
26360 (gamma_test_data): Remove.
26361 (gamma_test): Run tests from lgamma_test_data.
26362 * sysdeps/i386/fpu/libm-test-ulps: Update.
26363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26365 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26367 * manual/platform.texi: Add PowerPC PPR function set documentation.
26368 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26371 2013-05-24 Carlos O'Donell <carlos@redhat.com>
26373 * math/libm-test.inc (MAX_EXP): Define.
26375 (ulp): New function.
26376 (check_float_internal): Use ULPDIFF.
26377 (cpow_test): Disable failing test.
26378 (check_ulp): Test ulp() implemetnation.
26379 (main): Call check_ulp before starting tests.
26381 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26383 * math/gen-libm-test.pl (generate_testfile): Do not handle
26384 START_DATA and END_DATA.
26385 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26387 (acos_tonearest_test_data): Likewise.
26388 (acos_towardzero_test_data): Likewise.
26389 (acos_downward_test_data): Likewise.
26390 (acos_upward_test_data): Likewise.
26391 (acosh_test_data): Likewise.
26392 (asin_test_data): Likewise.
26393 (asin_tonearest_test_data): Likewise.
26394 (asin_towardzero_test_data): Likewise.
26395 (asin_downward_test_data): Likewise.
26396 (asin_upward_test_data): Likewise.
26397 (asinh_test_data): Likewise.
26398 (atan_test_data): Likewise.
26399 (atanh_test_data): Likewise.
26400 (atan2_test_data): Likewise.
26401 (cabs_test_data): Likewise.
26402 (cacos_test_data): Likewise.
26403 (cacosh_test_data): Likewise.
26404 (carg_test_data): Likewise.
26405 (casin_test_data): Likewise.
26406 (casinh_test_data): Likewise.
26407 (catan_test_data): Likewise.
26408 (catanh_test_data): Likewise.
26409 (cbrt_test_data): Likewise.
26410 (ccos_test_data): Likewise.
26411 (ccosh_test_data): Likewise.
26412 (ceil_test_data): Likewise.
26413 (cexp_test_data): Likewise.
26414 (cimag_test_data): Likewise.
26415 (clog_test_data): Likewise.
26416 (clog10_test_data): Likewise.
26417 (conj_test_data): Likewise.
26418 (copysign_test_data): Likewise.
26419 (cos_test_data): Likewise.
26420 (cos_tonearest_test_data): Likewise.
26421 (cos_towardzero_test_data): Likewise.
26422 (cos_downward_test_data): Likewise.
26423 (cos_upward_test_data): Likewise.
26424 (cosh_test_data): Likewise.
26425 (cosh_tonearest_test_data): Likewise.
26426 (cosh_towardzero_test_data): Likewise.
26427 (cosh_downward_test_data): Likewise.
26428 (cosh_upward_test_data): Likewise.
26429 (cpow_test_data): Likewise.
26430 (cproj_test_data): Likewise.
26431 (creal_test_data): Likewise.
26432 (csin_test_data): Likewise.
26433 (csinh_test_data): Likewise.
26434 (csqrt_test_data): Likewise.
26435 (ctan_test_data): Likewise.
26436 (ctan_tonearest_test_data): Likewise.
26437 (ctan_towardzero_test_data): Likewise.
26438 (ctan_downward_test_data): Likewise.
26439 (ctan_upward_test_data): Likewise.
26440 (ctanh_test_data): Likewise.
26441 (ctanh_tonearest_test_data): Likewise.
26442 (ctanh_towardzero_test_data): Likewise.
26443 (ctanh_downward_test_data): Likewise.
26444 (ctanh_upward_test_data): Likewise.
26445 (erf_test_data): Likewise.
26446 (erfc_test_data): Likewise.
26447 (exp_test_data): Likewise.
26448 (exp_tonearest_test_data): Likewise.
26449 (exp_towardzero_test_data): Likewise.
26450 (exp_downward_test_data): Likewise.
26451 (exp_upward_test_data): Likewise.
26452 (exp10_test_data): Likewise.
26453 (exp2_test_data): Likewise.
26454 (expm1_test_data): Likewise.
26455 (fabs_test_data): Likewise.
26456 (fdim_test_data): Likewise.
26457 (finite_test_data): Likewise.
26458 (floor_test_data): Likewise.
26459 (fma_test_data): Likewise.
26460 (fma_towardzero_test_data): Likewise.
26461 (fma_downward_test_data): Likewise.
26462 (fma_upward_test_data): Likewise.
26463 (fmax_test_data): Likewise.
26464 (fmin_test_data): Likewise.
26465 (fmod_test_data): Likewise.
26466 (fpclassify_test_data): Likewise.
26467 (frexp_test_data): Likewise.
26468 (gamma_test_data): Likewise.
26469 (hypot_test_data): Likewise.
26470 (ilogb_test_data): Likewise.
26471 (isfinite_test_data): Likewise.
26472 (isgreater_test_data): Likewise.
26473 (isgreaterequal_test_data): Likewise.
26474 (isinf_test_data): Likewise.
26475 (isless_test_data): Likewise.
26476 (islessequal_test_data): Likewise.
26477 (islessgreater_test_data): Likewise.
26478 (isnan_test_data): Likewise.
26479 (isnormal_test_data): Likewise.
26480 (issignaling_test_data): Likewise.
26481 (isunordered_test_data): Likewise.
26482 (j0_test_data): Likewise.
26483 (j1_test_data): Likewise.
26484 (jn_test_data): Likewise.
26485 (ldexp_test_data): Likewise.
26486 (lgamma_test_data): Likewise.
26487 (lrint_test_data): Likewise.
26488 (lrint_tonearest_test_data): Likewise.
26489 (lrint_towardzero_test_data): Likewise.
26490 (lrint_downward_test_data): Likewise.
26491 (lrint_upward_test_data): Likewise.
26492 (llrint_test_data): Likewise.
26493 (llrint_tonearest_test_data): Likewise.
26494 (llrint_towardzero_test_data): Likewise.
26495 (llrint_downward_test_data): Likewise.
26496 (llrint_upward_test_data): Likewise.
26497 (log_test_data): Likewise.
26498 (log10_test_data): Likewise.
26499 (log1p_test_data): Likewise.
26500 (log2_test_data): Likewise.
26501 (logb_test_data): Likewise.
26502 (logb_downward_test_data): Likewise.
26503 (lround_test_data): Likewise.
26504 (llround_test_data): Likewise.
26505 (modf_test_data): Likewise.
26506 (nearbyint_test_data): Likewise.
26507 (nextafter_test_data): Likewise.
26508 (nexttoward_test_data): Likewise.
26509 (pow_test_data): Likewise.
26510 (pow_tonearest_test_data): Likewise.
26511 (pow_towardzero_test_data): Likewise.
26512 (pow_downward_test_data): Likewise.
26513 (pow_upward_test_data): Likewise.
26514 (remainder_test_data): Likewise.
26515 (remainder_tonearest_test_data): Likewise.
26516 (remainder_towardzero_test_data): Likewise.
26517 (remainder_downward_test_data): Likewise.
26518 (remainder_upward_test_data): Likewise.
26519 (remquo_test_data): Likewise.
26520 (rint_test_data): Likewise.
26521 (rint_tonearest_test_data): Likewise.
26522 (rint_towardzero_test_data): Likewise.
26523 (rint_downward_test_data): Likewise.
26524 (rint_upward_test_data): Likewise.
26525 (round_test_data): Likewise.
26526 (scalb_test_data): Likewise.
26527 (scalbn_test_data): Likewise.
26528 (scalbln_test_data): Likewise.
26529 (signbit_test_data): Likewise.
26530 (sin_test_data): Likewise.
26531 (sin_tonearest_test_data): Likewise.
26532 (sin_towardzero_test_data): Likewise.
26533 (sin_downward_test_data): Likewise.
26534 (sin_upward_test_data): Likewise.
26535 (sincos_test_data): Likewise.
26536 (sinh_test_data): Likewise.
26537 (sinh_tonearest_test_data): Likewise.
26538 (sinh_towardzero_test_data): Likewise.
26539 (sinh_downward_test_data): Likewise.
26540 (sinh_upward_test_data): Likewise.
26541 (sqrt_test_data): Likewise.
26542 (tan_test_data): Likewise.
26543 (tan_tonearest_test_data): Likewise.
26544 (tan_towardzero_test_data): Likewise.
26545 (tan_downward_test_data): Likewise.
26546 (tan_upward_test_data): Likewise.
26547 (tanh_test_data): Likewise.
26548 (tgamma_test_data): Likewise.
26549 (trunc_test_data): Likewise.
26550 (y0_test_data): Likewise.
26551 (y1_test_data): Likewise.
26552 (yn_test_data): Likewise.
26553 (significand_test_data): Likewise.
26555 * math/gen-libm-test.pl (@functions): Remove variable.
26556 (generate_testfile): Don't handle START and END lines.
26557 * math/libm-test.inc (START): New macro.
26559 (END_COMPLEX): Likewise.
26560 (acos_test): Use END macro without arguments.
26561 (acos_test_tonearest): Likewise.
26562 (acos_test_towardzero): Likewise.
26563 (acos_test_downward): Likewise.
26564 (acos_test_upward): Likewise.
26565 (acosh_test): Likewise.
26566 (asin_test): Likewise.
26567 (asin_test_tonearest): Likewise.
26568 (asin_test_towardzero): Likewise.
26569 (asin_test_downward): Likewise.
26570 (asin_test_upward): Likewise.
26571 (asinh_test): Likewise.
26572 (atan_test): Likewise.
26573 (atanh_test): Likewise.
26574 (atan2_test): Likewise.
26575 (cabs_test): Likewise.
26576 (cacos_test): Use END_COMPLEX macro without arguments.
26577 (cacosh_test): Likewise.
26578 (carg_test): Use END macro without arguments.
26579 (casin_test): Use END_COMPLEX macro without arguments.
26580 (casinh_test): Likewise.
26581 (catan_test): Likewise.
26582 (catanh_test): Likewise.
26583 (cbrt_test): Use END macro without arguments.
26584 (ccos_test): Use END_COMPLEX macro without arguments.
26585 (ccosh_test): Likewise.
26586 (ceil_test): Use END macro without arguments.
26587 (cexp_test): Use END_COMPLEX macro without arguments.
26588 (cimag_test): Use END macro without arguments.
26589 (clog_test): Use END_COMPLEX macro without arguments.
26590 (clog10_test): Likewise.
26591 (conj_test): Likewise.
26592 (copysign_test): Use END macro without arguments.
26593 (cos_test): Likewise.
26594 (cos_test_tonearest): Likewise.
26595 (cos_test_towardzero): Likewise.
26596 (cos_test_downward): Likewise.
26597 (cos_test_upward): Likewise.
26598 (cosh_test): Likewise.
26599 (cosh_test_tonearest): Likewise.
26600 (cosh_test_towardzero): Likewise.
26601 (cosh_test_downward): Likewise.
26602 (cosh_test_upward): Likewise.
26603 (cpow_test): Use END_COMPLEX macro without arguments.
26604 (cproj_test): Likewise.
26605 (creal_test): Use END macro without arguments.
26606 (csin_test): Use END_COMPLEX macro without arguments.
26607 (csinh_test): Likewise.
26608 (csqrt_test): Likewise.
26609 (ctan_test): Likewise.
26610 (ctan_test_tonearest): Likewise.
26611 (ctan_test_towardzero): Likewise.
26612 (ctan_test_downward): Likewise.
26613 (ctan_test_upward): Likewise.
26614 (ctanh_test): Likewise.
26615 (ctanh_test_tonearest): Likewise.
26616 (ctanh_test_towardzero): Likewise.
26617 (ctanh_test_downward): Likewise.
26618 (ctanh_test_upward): Likewise.
26619 (erf_test): Use END macro without arguments.
26620 (erfc_test): Likewise.
26621 (exp_test): Likewise.
26622 (exp_test_tonearest): Likewise.
26623 (exp_test_towardzero): Likewise.
26624 (exp_test_downward): Likewise.
26625 (exp_test_upward): Likewise.
26626 (exp10_test): Likewise.
26627 (exp2_test): Likewise.
26628 (expm1_test): Likewise.
26629 (fabs_test): Likewise.
26630 (fdim_test): Likewise.
26631 (finite_test): Likewise.
26632 (floor_test): Likewise.
26633 (fma_test): Likewise.
26634 (fma_test_towardzero): Likewise.
26635 (fma_test_downward): Likewise.
26636 (fma_test_upward): Likewise.
26637 (fmax_test): Likewise.
26638 (fmin_test): Likewise.
26639 (fmod_test): Likewise.
26640 (fpclassify_test): Likewise.
26641 (frexp_test): Likewise.
26642 (gamma_test): Likewise.
26643 (hypot_test): Likewise.
26644 (ilogb_test): Likewise.
26645 (isfinite_test): Likewise.
26646 (isgreater_test): Likewise.
26647 (isgreaterequal_test): Likewise.
26648 (isinf_test): Likewise.
26649 (isless_test): Likewise.
26650 (islessequal_test): Likewise.
26651 (islessgreater_test): Likewise.
26652 (isnan_test): Likewise.
26653 (isnormal_test): Likewise.
26654 (issignaling_test): Likewise.
26655 (isunordered_test): Likewise.
26656 (j0_test): Likewise.
26657 (j1_test): Likewise.
26658 (jn_test): Likewise.
26659 (ldexp_test): Likewise.
26660 (lgamma_test): Likewise.
26661 (lrint_test): Likewise.
26662 (lrint_test_tonearest): Likewise.
26663 (lrint_test_towardzero): Likewise.
26664 (lrint_test_downward): Likewise.
26665 (lrint_test_upward): Likewise.
26666 (llrint_test): Likewise.
26667 (llrint_test_tonearest): Likewise.
26668 (llrint_test_towardzero): Likewise.
26669 (llrint_test_downward): Likewise.
26670 (llrint_test_upward): Likewise.
26671 (log_test): Likewise.
26672 (log10_test): Likewise.
26673 (log1p_test): Likewise.
26674 (log2_test): Likewise.
26675 (logb_test): Likewise.
26676 (logb_test_downward): Likewise.
26677 (lround_test): Likewise.
26678 (llround_test): Likewise.
26679 (modf_test): Likewise.
26680 (nearbyint_test): Likewise.
26681 (nextafter_test): Likewise.
26682 (nexttoward_test): Likewise.
26683 (pow_test): Likewise.
26684 (pow_test_tonearest): Likewise.
26685 (pow_test_towardzero): Likewise.
26686 (pow_test_downward): Likewise.
26687 (pow_test_upward): Likewise.
26688 (remainder_test): Likewise.
26689 (remainder_test_tonearest): Likewise.
26690 (remainder_test_towardzero): Likewise.
26691 (remainder_test_downward): Likewise.
26692 (remainder_test_upward): Likewise.
26693 (remquo_test): Likewise.
26694 (rint_test): Likewise.
26695 (rint_test_tonearest): Likewise.
26696 (rint_test_towardzero): Likewise.
26697 (rint_test_downward): Likewise.
26698 (rint_test_upward): Likewise.
26699 (round_test): Likewise.
26700 (scalb_test): Likewise.
26701 (scalbn_test): Likewise.
26702 (scalbln_test): Likewise.
26703 (signbit_test): Likewise.
26704 (sin_test): Likewise.
26705 (sin_test_tonearest): Likewise.
26706 (sin_test_towardzero): Likewise.
26707 (sin_test_downward): Likewise.
26708 (sin_test_upward): Likewise.
26709 (sincos_test): Likewise.
26710 (sinh_test): Likewise.
26711 (sinh_test_tonearest): Likewise.
26712 (sinh_test_towardzero): Likewise.
26713 (sinh_test_downward): Likewise.
26714 (sinh_test_upward): Likewise.
26715 (sqrt_test): Likewise.
26716 (tan_test): Likewise.
26717 (tan_test_tonearest): Likewise.
26718 (tan_test_towardzero): Likewise.
26719 (tan_test_downward): Likewise.
26720 (tan_test_upward): Likewise.
26721 (tanh_test): Likewise.
26722 (tgamma_test): Likewise.
26723 (trunc_test): Likewise.
26724 (y0_test): Likewise.
26725 (y1_test): Likewise.
26726 (yn_test): Likewise.
26727 (significand_test): Likewise.
26729 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
26732 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26734 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26737 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26738 __ppc_mdoio and __ppc_mdoom.
26739 * manual/platform.texi: Document new functions __ppc_yield,
26740 __ppc_mdoio and __ppc_mdoom.
26742 2013-05-22 Carlos O'Donell <carlos@redhat.com>
26744 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26745 (main): Mention "tls" pseudo-hwcap is legacy.
26746 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26748 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26750 * math/gen-libm-test.pl (parse_args): Output only string of
26751 arguments as text for test name, not full call or descriptions of
26752 tests for extra outputs.
26753 (generate_testfile): Do not pass function name to parse_args.
26754 Generate this_func variable from START.
26755 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26757 (struct test_ff_f_data): Likewise.
26758 (test_ff_f_data_nexttoward): Likewise.
26759 (struct test_fi_f_data): Likewise.
26760 (struct test_fl_f_data): Likewise.
26761 (struct test_if_f_data): Likewise.
26762 (struct test_fff_f_data): Likewise.
26763 (struct test_c_f_data): Likewise.
26764 (struct test_f_f1_data): Likewise. Remove field extra_name.
26765 (struct test_fF_f1_data): Likewise.
26766 (struct test_ffI_f1_data): Likewise.
26767 (struct test_c_c_data): Rename test_name field to arg_str.
26768 (struct test_cc_c_data): Likewise.
26769 (struct test_f_i_data): Likewise.
26770 (struct test_ff_i_data): Likewise.
26771 (struct test_f_l_data): Likewise.
26772 (struct test_f_L_data): Likewise.
26773 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26775 (COMMON_TEST_SETUP): New macro.
26776 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26777 (COMMON_TEST_CLEANUP): Likewise.
26778 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26779 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26781 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26782 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26784 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26785 (RUN_TEST_fff_f): Take argument string. Call new setup and
26787 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26788 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26790 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26791 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26793 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26794 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26796 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26797 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26799 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26800 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26802 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26803 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26805 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26806 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26808 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26809 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26811 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26812 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26814 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26815 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26817 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26818 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26820 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26821 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26823 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26824 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26826 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26827 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26829 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26830 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26832 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26834 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26836 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26837 to _sifields.sigfault.
26838 (si_addr_lsb): Define new macro.
26839 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26841 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26843 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26846 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26848 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26850 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26851 loading the domain.
26853 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26855 * math/gen-libm-test.pl (parse_args): Do not include expected
26856 result in test name.
26857 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26858 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26859 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26860 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26861 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26864 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26866 * benchtests/Makefile: Sort function entries.
26868 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26869 tanh, asinh, acosh, atanh.
26870 * benchtests/acos-inputs: New file.
26871 * benchtests/acosh-inputs: New file.
26872 * benchtests/asin-inputs: New file.
26873 * benchtests/asinh-inputs: New file.
26874 * benchtests/atanh-inputs: New file.
26875 * benchtests/cosh-inputs: New file.
26876 * benchtests/log-inputs: New file.
26877 * benchtests/sinh-inputs: New file.
26878 * benchtests/tanh-inputs: New file.
26880 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26883 * posix/tst-getaddrinfo4.c: New test.
26884 * posix/Makefile (tests): Add it.
26886 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26889 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26890 when no services were used.
26891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26892 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26894 2013-05-21 Andreas Schwab <schwab@suse.de>
26897 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26898 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26900 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26901 redundant variable declarations and reallocation of buffer when
26902 parsing as IPv6 address. Always set NSS status when called from
26903 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26904 buffer too small. Correct computation of needed size.
26905 * nss/Makefile (tests): Add test-digits-dots.
26906 * nss/test-digits-dots.c: New test.
26908 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26910 * benchtests/Makefile: Remove instructions for adding
26912 * benchtests/README: New file to explain how to execute and
26913 enhance the benchmark tests.
26915 2013-05-21 Andreas Schwab <schwab@suse.de>
26918 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26919 * setjmp/tst-sigsetjmp.c: New test.
26921 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26923 * sysdeps/x86_64/memset.S (memset): New implementation.
26924 (__bzero): Likewise.
26925 (__memset_tail): New function.
26927 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26929 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26930 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26931 __memcpy_sse2_unaligned ifunc selection.
26932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26933 Add memcpy-sse2-unaligned.S.
26934 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26935 Add: __memcpy_sse2_unaligned.
26937 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26940 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26941 math_force_eval before restoring floating-point envrionment.
26942 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26943 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26945 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26947 (__nearbyintl): Use math_force_eval before restoring
26948 floating-point environment.
26949 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26951 * math/gen-libm-test.pl (special_functions): Remove.
26952 (parse_args): Don't handle TEST_extra. Handle functions with no
26954 * math/libm-test.inc (struct test_sincos_data): Replace with
26955 struct test_fFF_11_data.
26956 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26957 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26958 (sincos_test_data): Change element type to struct
26959 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26960 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26961 RUN_TEST_LOOP_sincos.
26962 * math/README.libm-test: Don't mention special handling of
26963 individual functions.
26964 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26965 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26966 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26967 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26968 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26971 * math/gen-libm-test.pl (get_variable): Remove function.
26972 (parse_args): Don't show pointer parameters to call in test
26973 names. Use "extra output N" in test names for extra outputs
26974 rather than naming variables.
26976 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26979 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26980 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26981 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26983 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26985 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26988 * math/gen-libm-test.pl (@tests): Remove variable.
26989 ($count): Likewise.
26990 (new_test): Remove function.
26991 (show_exceptions): New function.
26992 (special_functions): Use show_exceptions instead of new_test.
26993 (parse_args): Likewise.
26994 (generate_testfile): Pass only function name in generated call to
26995 print_max_error or print_complex_max_error.
26996 (get_ulps): Do not handle complex tests specially.
26997 (output_test): Rename to ...
26998 (get_all_ulps_for_test): ... this. Return a string rather than
26999 printing to a file. Require ulps to be present.
27000 (output_ulps): Generate arrays rather than #defines.
27001 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27002 (struct ulp_data): New type.
27003 (BUILD_COMPLEX_ULP): Remove macro.
27004 (compare_ulp_data): New function.
27005 (find_ulps): Likewise.
27006 (find_test_ulps): Likewise.
27007 (find_function_ulps): Likewise.
27008 (find_complex_function_ulps): Likewise.
27009 (print_max_error): Determine allowed ulps using
27010 find_function_ulps.
27011 (print_complex_max_error): Determine allowed ulps using
27012 find_complex_function_ulps.
27013 (check_float_internal): Determine max ulps using find_test_ulps.
27014 (check_float): Do not take max_ulp parameter. Update call to
27015 check_float_internal.
27016 (check_complex): Likewise.
27017 (check_int): Do not take max_ulp parameter.
27018 (check_long): Likewise.
27019 (check_bool): Likewise.
27020 (check_longlong): Likewise.
27021 (struct test_f_f_data): Remove max_ulp field.
27022 (struct test_ff_f_data): Likewise.
27023 (struct test_ff_f_data_nexttoward): Likewise.
27024 (struct test_fi_f_data): Likewise.
27025 (struct test_fl_f_data): Likewise.
27026 (struct test_if_f_data): Likewise.
27027 (struct test_fff_f_data): Likewise.
27028 (struct test_c_f_data): Likewise.
27029 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27030 (struct test_fF_f1_data): Likewise.
27031 (struct test_ffI_f1_data): Likewise.
27032 (struct test_c_c_data): Remove max_ulp field.
27033 (struct test_cc_c_data): Likewise.
27034 (struct test_f_i_data): Likewise.
27035 (struct test_ff_i_data): Likewise.
27036 (struct test_f_l_data): Likewise.
27037 (struct test_f_L_data): Likewise.
27038 (struct test_sincos_data): Likewise.
27039 (RUN_TEST_f_f): Do not handle ulps.
27040 (RUN_TEST_LOOP_f_f): Likewise.
27041 (RUN_TEST_2_f): Likewise.
27042 (RUN_TEST_LOOP_2_f): Likewise.
27043 (RUN_TEST_fff_f): Likewise.
27044 (RUN_TEST_LOOP_fff_f): Likewise.
27045 (RUN_TEST_c_f): Likewise.
27046 (RUN_TEST_LOOP_c_f): Likewise.
27047 (RUN_TEST_f_f1): Likewise.
27048 (RUN_TEST_LOOP_f_f1): Likewise.
27049 (RUN_TEST_fF_f1): Likewise.
27050 (RUN_TEST_LOOP_fF_f1): Likewise.
27051 (RUN_TEST_fI_f1): Likewise.
27052 (RUN_TEST_LOOP_fI_f1): Likewise.
27053 (RUN_TEST_ffI_f1): Likewise.
27054 (RUN_TEST_LOOP_ffI_f1): Likewise.
27055 (RUN_TEST_c_c): Likewise.
27056 (RUN_TEST_LOOP_c_c): Likewise.
27057 (RUN_TEST_cc_c): Likewise.
27058 (RUN_TEST_LOOP_cc_c): Likewise.
27059 (RUN_TEST_f_i): Likewise.
27060 (RUN_TEST_LOOP_f_i): Likewise.
27061 (RUN_TEST_f_i_tg): Likewise.
27062 (RUN_TEST_LOOP_f_i_tg): Likewise.
27063 (RUN_TEST_ff_i_tg): Likewise.
27064 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27065 (RUN_TEST_f_b): Likewise.
27066 (RUN_TEST_LOOP_f_b): Likewise.
27067 (RUN_TEST_f_b_tg): Likewise.
27068 (RUN_TEST_LOOP_f_b_tg): Likewise.
27069 (RUN_TEST_f_l): Likewise.
27070 (RUN_TEST_LOOP_f_l): Likewise.
27071 (RUN_TEST_f_L): Likewise.
27072 (RUN_TEST_LOOP_f_L): Likewise.
27073 (RUN_TEST_sincos): Likewise.
27074 (RUN_TEST_LOOP_sincos): Likewise.
27076 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27080 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27081 main case of finite arguments, set rounding mode to FE_TONEAREST
27082 and discard exceptions.
27083 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27085 (remainder_tonearest_test_data): New variable.
27086 (remainder_test_tonearest): New function.
27087 (remainder_towardzero_test_data): New variable.
27088 (remainder_test_towardzero): New function.
27089 (remainder_downward_test_data): New variable.
27090 (remainder_test_downward): New function.
27091 (remainder_upward_test_data): New variable.
27092 (remainder_test_upward): New function.
27093 (main): Call the new test functions.
27095 * math/libm-test.inc (struct test_f_f1_data): Remove field
27097 (struct test_fF_f1_data): Likewise.
27098 (struct test_ffI_f1_data): Likewise.
27099 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27100 based on value of EXTRA_EXPECTED.
27101 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27102 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27103 EXTRA_VAR based on value of EXTRA_EXPECTED.
27104 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27105 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27106 EXTRA_VAR based on value of EXTRA_EXPECTED.
27107 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27108 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27109 EXTRA_VAR based on value of EXTRA_EXPECTED.
27110 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27111 * math/gen-libm-test.pl (parse_args): Don't output initializers
27112 for extra output values.
27114 * math/libm-test.inc (check_int): Expect result to be exactly
27115 equal to expected value and do not handle ulps.
27116 (check_long): Likewise.
27117 (check_longlong): Likewise.
27119 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27121 (cimag_test_data): Likewise.
27122 (conj_test_data): Likewise.
27123 (copysign_test_data): Likewise.
27124 (cproj_test_data): Likewise.
27125 (creal_test_data): Likewise.
27126 (fabs_test_data): Likewise.
27127 (fdim_test_data): Likewise.
27128 (finite_test_data): Likewise.
27129 (floor_test_data): Likewise.
27130 (fmax_test_data): Likewise.
27131 (fmin_test_data): Likewise.
27132 (fmod_test_data): Likewise.
27133 (fpclassify_test_data): Likewise.
27134 (frexp_test_data): Likewise.
27135 (ilogb_test_data): Likewise.
27136 (isfinite_test_data): Likewise.
27137 (isgreater_test_data): Likewise.
27138 (isgreaterequal_test_data): Likewise.
27139 (isinf_test_data): Likewise.
27140 (isless_test_data): Likewise.
27141 (islessequal_test_data): Likewise.
27142 (islessgreater_test_data): Likewise.
27143 (isnan_test_data): Likewise.
27144 (isnormal_test_data): Likewise.
27145 (issignaling_test_data): Likewise.
27146 (isunordered_test_data): Likewise.
27147 (ldexp_test_data): Likewise.
27148 (lrint_test_data): Likewise.
27149 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27150 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27151 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27152 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27153 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27154 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27156 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27157 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27158 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27159 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27161 (lrint_downward_test_data): Test for "inexact" exceptions.
27162 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27163 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27164 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27166 (lrint_upward_test_data): Test for "inexact" exceptions.
27167 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27169 (llrint_test_data): Test for "inexact" exceptions.
27170 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27171 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27172 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27173 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27174 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27175 (llrint_downward_test_data): Test for "inexact" exceptions.
27176 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27177 (llrint_upward_test_data): Test for "inexact" exceptions.
27178 (logb_test_data): Likewise.
27179 (logb_downward_test_data): Likewise.
27180 (nextafter_test_data): Likewise.
27181 (nexttoward_test_data): Likewise.
27182 (remainder_test_data): Likewise.
27183 (remquo_test_data): Likewise.
27184 (scalbn_test_data): Likewise.
27185 (scalbln_test_data): Likewise.
27186 (signbit_test_data): Likewise.
27187 (sqrt_test_data): Likewise.
27188 (significand_test_data): Likewise.
27190 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27193 * benchtests/bench-modf.c (struct args): Mark arg0 as
27195 * scripts/bench.pl: Mark members of struct args as volatile.
27197 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27200 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27201 negative infinity on POWER6 or lower.
27202 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27204 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27207 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27208 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27209 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27210 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27211 (_FP_SETQNAN): New macro.
27212 (_FP_SETQNAN_SEMIRAW): Likewise.
27213 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27214 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27215 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27216 (FP_EXTEND): Use _FP_FRAC_SNANP.
27217 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27218 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27220 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27222 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27225 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27227 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27228 with DIVIDE_BY_ZERO_EXCEPTION.
27229 (gamma_test_data): Likewise.
27230 (lgamma_test_data): Likewise.
27231 (log_test_data): Likewise.
27232 (log10_test_data): Likewise.
27233 (log2_test_data): Likewise.
27234 (tgamma_test_data): Likewise.
27236 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27237 (acos_test_tonearest): Likewise.
27238 (acos_test_towardzero): Likewise.
27239 (acos_test_downward): Likewise.
27240 (acos_test_upward): Likewise.
27241 (acosh_test): Likewise.
27242 (asin_test): Likewise.
27243 (asin_test_tonearest): Likewise.
27244 (asin_test_towardzero): Likewise.
27245 (asin_test_downward): Likewise.
27246 (asin_test_upward): Likewise.
27247 (asinh_test): Likewise.
27248 (atan_test): Likewise.
27249 (atanh_test): Likewise.
27250 (atan2_test): Likewise.
27251 (cabs_test): Likewise.
27252 (cacos_test): Likewise.
27253 (cacosh_test): Likewise.
27254 (casin_test): Likewise.
27255 (casinh_test): Likewise.
27256 (catan_test): Likewise.
27257 (catanh_test): Likewise.
27258 (cbrt_test): Likewise.
27259 (ccos_test): Likewise.
27260 (ccosh_test): Likewise.
27261 (cexp_test): Likewise.
27262 (clog_test): Likewise.
27263 (clog10_test): Likewise.
27264 (cos_test): Likewise.
27265 (cos_test_tonearest): Likewise.
27266 (cos_test_towardzero): Likewise.
27267 (cos_test_downward): Likewise.
27268 (cos_test_upward): Likewise.
27269 (cosh_test): Likewise.
27270 (cosh_test_tonearest): Likewise.
27271 (cosh_test_towardzero): Likewise.
27272 (cosh_test_downward): Likewise.
27273 (cosh_test_upward): Likewise.
27274 (cpow_test): Likewise.
27275 (csin_test): Likewise.
27276 (csinh_test): Likewise.
27277 (csqrt_test): Likewise.
27278 (ctan_test): Likewise.
27279 (ctan_test_tonearest): Likewise.
27280 (ctan_test_towardzero): Likewise.
27281 (ctan_test_downward): Likewise.
27282 (ctan_test_upward): Likewise.
27283 (ctanh_test): Likewise.
27284 (ctanh_test_tonearest): Likewise.
27285 (ctanh_test_towardzero): Likewise.
27286 (ctanh_test_downward): Likewise.
27287 (ctanh_test_upward): Likewise.
27288 (erf_test): Likewise.
27289 (erfc_test): Likewise.
27290 (exp_test): Likewise.
27291 (exp_test_tonearest): Likewise.
27292 (exp_test_towardzero): Likewise.
27293 (exp_test_downward): Likewise.
27294 (exp_test_upward): Likewise.
27295 (exp10_test): Likewise.
27296 (exp2_test): Likewise.
27297 (expm1_test): Likewise.
27298 (fmod_test): Likewise.
27299 (gamma_test): Likewise.
27300 (hypot_test): Likewise.
27301 (j0_test): Likewise.
27302 (j1_test): Likewise.
27303 (jn_test): Likewise.
27304 (lgamma_test): Likewise.
27305 (log_test): Likewise.
27306 (log10_test): Likewise.
27307 (log1p_test): Likewise.
27308 (log2_test): Likewise.
27309 (logb_test_downward): Likewise.
27310 (pow_test): Likewise.
27311 (pow_test_tonearest): Likewise.
27312 (pow_test_towardzero): Likewise.
27313 (pow_test_downward): Likewise.
27314 (pow_test_upward): Likewise.
27315 (remainder_test): Likewise.
27316 (remquo_test): Likewise.
27317 (sin_test): Likewise.
27318 (sin_test_tonearest): Likewise.
27319 (sin_test_towardzero): Likewise.
27320 (sin_test_downward): Likewise.
27321 (sin_test_upward): Likewise.
27322 (sincos_test): Likewise.
27323 (sinh_test): Likewise.
27324 (sinh_test_tonearest): Likewise.
27325 (sinh_test_towardzero): Likewise.
27326 (sinh_test_downward): Likewise.
27327 (sinh_test_upward): Likewise.
27328 (sqrt_test): Likewise.
27329 (tan_test): Likewise.
27330 (tan_test_tonearest): Likewise.
27331 (tan_test_towardzero): Likewise.
27332 (tan_test_downward): Likewise.
27333 (tan_test_upward): Likewise.
27334 (tanh_test): Likewise.
27335 (tgamma_test): Likewise.
27336 (y0_test): Likewise.
27337 (y1_test): Likewise.
27338 (yn_test): Likewise.
27340 * math/gen-libm-test.pl (adjust_arg): Remove function.
27341 (special_function): Remove argument $in_func. Only handle
27342 generating output for tables of tests, not inside functions.
27343 (parse_args): Likewise.
27344 (generate_testfile): Remove variable $in_func. Update call to
27346 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27347 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27348 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27349 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27350 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27351 (MAX_VALUE_INIT): Rename macro to max_value.
27352 (MIN_VALUE_INIT): Rename macro to min_value.
27353 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27354 (plus_zero): Remove variable.
27355 (minus_zero): Likewise.
27356 (plus_infty): Likewise.
27357 (minus_infty): Likewise.
27358 (qnan_value): Likewise.
27359 (max_value): Likewise.
27360 (min_value): Likewise.
27361 (min_subnorm_value): Likewise.
27363 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27365 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27366 uint64_t or uint32_t usage.
27367 * crypt/sha256-block.c: Likewise.
27368 * crypt/sha256-crypt.c: Likewise.
27369 * crypt/sha256.c: Likewise.
27370 * crypt/sha512-block.c: Likewise.
27371 * crypt/sha512-crypt.c: Likewise.
27372 * crypt/sha512.c: Likewise.
27373 * debug/backtrace-tst.c: Likewise.
27374 * debug/pcprofiledump.c: Likewise.
27375 * elf/cache.c: Likewise.
27376 * elf/dl-cache.c: Likewise.
27377 * elf/dl-misc.c: Likewise.
27378 * elf/dl-profile.c: Likewise.
27379 * elf/dl-support.c: Likewise.
27380 * elf/ldconfig.c: Likewise.
27381 * elf/sprof.c: Likewise.
27382 * iconv/dummy-repertoire.c: Likewise.
27383 * iconv/iconv_charmap.c: Likewise.
27384 * iconv/skeleton.c: Likewise.
27385 * iconvdata/8bit-generic.c: Likewise.
27386 * iconvdata/cp737.h: Likewise.
27387 * iconvdata/cp775.h: Likewise.
27388 * iconvdata/ibm1008.h: Likewise.
27389 * iconvdata/ibm1025.h: Likewise.
27390 * iconvdata/ibm1046.h: Likewise.
27391 * iconvdata/ibm1097.h: Likewise.
27392 * iconvdata/ibm1112.h: Likewise.
27393 * iconvdata/ibm1122.h: Likewise.
27394 * iconvdata/ibm1123.h: Likewise.
27395 * iconvdata/ibm1124.h: Likewise.
27396 * iconvdata/ibm1129.h: Likewise.
27397 * iconvdata/ibm1130.h: Likewise.
27398 * iconvdata/ibm1132.h: Likewise.
27399 * iconvdata/ibm1133.h: Likewise.
27400 * iconvdata/ibm1137.h: Likewise.
27401 * iconvdata/ibm1140.h: Likewise.
27402 * iconvdata/ibm1141.h: Likewise.
27403 * iconvdata/ibm1142.h: Likewise.
27404 * iconvdata/ibm1143.h: Likewise.
27405 * iconvdata/ibm1144.h: Likewise.
27406 * iconvdata/ibm1145.h: Likewise.
27407 * iconvdata/ibm1146.h: Likewise.
27408 * iconvdata/ibm1147.h: Likewise.
27409 * iconvdata/ibm1148.h: Likewise.
27410 * iconvdata/ibm1149.h: Likewise.
27411 * iconvdata/ibm1153.h: Likewise.
27412 * iconvdata/ibm1154.h: Likewise.
27413 * iconvdata/ibm1155.h: Likewise.
27414 * iconvdata/ibm1156.h: Likewise.
27415 * iconvdata/ibm1157.h: Likewise.
27416 * iconvdata/ibm1158.h: Likewise.
27417 * iconvdata/ibm1160.h: Likewise.
27418 * iconvdata/ibm1161.h: Likewise.
27419 * iconvdata/ibm1162.h: Likewise.
27420 * iconvdata/ibm1163.h: Likewise.
27421 * iconvdata/ibm1164.h: Likewise.
27422 * iconvdata/ibm1166.h: Likewise.
27423 * iconvdata/ibm1167.h: Likewise.
27424 * iconvdata/ibm12712.h: Likewise.
27425 * iconvdata/ibm1390.h: Likewise.
27426 * iconvdata/ibm1399.h: Likewise.
27427 * iconvdata/ibm16804.h: Likewise.
27428 * iconvdata/ibm4517.h: Likewise.
27429 * iconvdata/ibm4899.h: Likewise.
27430 * iconvdata/ibm4909.h: Likewise.
27431 * iconvdata/ibm4971.h: Likewise.
27432 * iconvdata/ibm5347.h: Likewise.
27433 * iconvdata/ibm803.h: Likewise.
27434 * iconvdata/ibm856.h: Likewise.
27435 * iconvdata/ibm901.h: Likewise.
27436 * iconvdata/ibm902.h: Likewise.
27437 * iconvdata/ibm9030.h: Likewise.
27438 * iconvdata/ibm9066.h: Likewise.
27439 * iconvdata/ibm921.h: Likewise.
27440 * iconvdata/ibm922.h: Likewise.
27441 * iconvdata/ibm9448.h: Likewise.
27442 * iconvdata/isiri-3342.h: Likewise.
27443 * iconvdata/jis0201.h: Likewise.
27444 * include/link.h: Likewise.
27445 * include/netdb.h: Likewise.
27446 * inet/check_native.c: Likewise.
27447 * inet/check_pf.c: Likewise.
27448 * inet/getipv4sourcefilter.c: Likewise.
27449 * inet/getnameinfo.c: Likewise.
27450 * inet/getsourcefilter.c: Likewise.
27451 * inet/htonl.c: Likewise.
27452 * inet/setipv4sourcefilter.c: Likewise.
27453 * inet/setsourcefilter.c: Likewise.
27454 * inet/test-inet6_opt.c: Likewise.
27455 * inet/tst-network.c: Likewise.
27456 * locale/C-collate.c: Likewise.
27457 * locale/C-ctype.c: Likewise.
27458 * locale/C-time.c: Likewise.
27459 * locale/C-translit.h: Likewise.
27460 * locale/loadarchive.c: Likewise.
27461 * locale/programs/3level.h: Likewise.
27462 * locale/programs/charmap.c: Likewise.
27463 * locale/programs/charmap.h: Likewise.
27464 * locale/programs/ld-address.c: Likewise.
27465 * locale/programs/ld-collate.c: Likewise.
27466 * locale/programs/ld-ctype.c: Likewise.
27467 * locale/programs/ld-identification.c: Likewise.
27468 * locale/programs/ld-measurement.c: Likewise.
27469 * locale/programs/ld-messages.c: Likewise.
27470 * locale/programs/ld-monetary.c: Likewise.
27471 * locale/programs/ld-name.c: Likewise.
27472 * locale/programs/ld-numeric.c: Likewise.
27473 * locale/programs/ld-paper.c: Likewise.
27474 * locale/programs/ld-telephone.c: Likewise.
27475 * locale/programs/ld-time.c: Likewise.
27476 * locale/programs/linereader.c: Likewise.
27477 * locale/programs/locale.c: Likewise.
27478 * locale/programs/locarchive.c: Likewise.
27479 * locale/programs/locfile.h: Likewise.
27480 * locale/programs/repertoire.c: Likewise.
27481 * locale/programs/simple-hash.c: Likewise.
27482 * locale/programs/simple-hash.h: Likewise.
27483 * malloc/memusage.c: Likewise.
27484 * malloc/memusagestat.c: Likewise.
27485 * nis/nis_defaults.c: Likewise.
27486 * nis/nis_hash.c: Likewise.
27487 * nis/nis_print.c: Likewise.
27488 * nis/nis_xdr.c: Likewise.
27489 * nscd/connections.c: Likewise.
27490 * nscd/hstcache.c: Likewise.
27491 * nscd/nscd_gethst_r.c: Likewise.
27492 * nscd/nscd_getserv_r.c: Likewise.
27493 * nscd/nscd_helper.c: Likewise.
27494 * nscd/servicescache.c: Likewise.
27495 * nss/makedb.c: Likewise.
27496 * nss/nss_db/db-XXX.c: Likewise.
27497 * nss/nss_db/db-initgroups.c: Likewise.
27498 * nss/nss_db/db-netgrp.c: Likewise.
27499 * nss/nss_files/files-network.c: Likewise.
27500 * nss/nss_files/files-parse.c: Likewise.
27501 * posix/bug-regex5.c: Likewise.
27502 * posix/fnmatch_loop.c: Likewise.
27503 * posix/regcomp.c: Likewise.
27504 * posix/regexec.c: Likewise.
27505 * posix/tst-rfc3484-2.c: Likewise.
27506 * posix/tst-rfc3484-3.c: Likewise.
27507 * posix/tst-rfc3484.c: Likewise.
27508 * resolv/nss_dns/dns-canon.c: Likewise.
27509 * resolv/nss_dns/dns-network.c: Likewise.
27510 * resolv/res_init.c: Likewise.
27511 * resolv/res_mkquery.c: Likewise.
27512 * resolv/tst-aton.c: Likewise.
27513 * stdlib/cxa_atexit.c: Likewise.
27514 * stdlib/cxa_finalize.c: Likewise.
27515 * stdlib/gen-fpioconst.c: Likewise.
27516 * stdlib/strtol_l.c: Likewise.
27517 * string/tst-endian.c: Likewise.
27518 * sunrpc/auth_des.c: Likewise.
27519 * sunrpc/clnt_udp.c: Likewise.
27520 * sunrpc/rtime.c: Likewise.
27521 * sunrpc/svcauth_des.c: Likewise.
27522 * sunrpc/xdr.c: Likewise.
27523 * sunrpc/xdr_intXX_t.c: Likewise.
27524 * sunrpc/xdr_rec.c: Likewise.
27525 * sysdeps/generic/ldconfig.h: Likewise.
27526 * sysdeps/generic/ldsodefs.h: Likewise.
27527 * sysdeps/generic/memusage.h: Likewise.
27528 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27529 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27530 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27531 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27532 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27534 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27535 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27536 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27537 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27538 * sysdeps/posix/getaddrinfo.c: Likewise.
27539 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27540 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27541 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27542 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27543 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27544 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27545 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27546 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27547 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27548 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27549 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27550 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27551 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27552 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27553 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27554 * sysdeps/x86_64/dl-tls.h: Likewise.
27555 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27556 * time/alt_digit.c: Likewise.
27557 * time/era.c: Likewise.
27558 * wcsmbs/tst-c16c32-1.c: Likewise.
27560 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27562 * math/libm-test.inc (struct test_sincos_data): New type.
27563 (RUN_TEST_LOOP_sincos): New macro.
27564 (sincos_test_data): New variable.
27565 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27567 2013-05-16 Richard Henderson <rth@redhat.com>
27569 * math/atest-exp2.c (LIMB64): New macro.
27570 (CONSTSZ): New macro.
27571 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27573 (print_mpn_fp): ... to function scope.
27574 (read_mpn_hex): Remove.
27575 (get_log2): Remove.
27576 (exp2_mpn): Use mp_log2.
27577 (main): Use mp_exp1.
27579 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27581 * math/libm-test.inc: Remove comment about not testing "inexact"
27583 (INEXACT_EXCEPTION): New macro.
27584 (NO_INEXACT_EXCEPTION): Likewise.
27585 (INVALID_EXCEPTION_OK): Update value.
27586 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27587 (OVERFLOW_EXCEPTION_OK): Likewise.
27588 (UNDERFLOW_EXCEPTION_OK): Likewise.
27589 (IGNORE_ZERO_INF_SIGN): Likewise.
27590 (ERRNO_UNCHANGED): Likewise.
27591 (ERRNO_EDOM): Likewise.
27592 (ERRNO_ERANGE): Likewise.
27593 (test_exceptions): Handle testing "inexact" exceptions.
27594 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27595 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27596 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27597 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27599 (rint_towardzero_test_data): Likewise.
27600 (rint_downward_test_data): Likewise.
27601 (rint_upward_test_data): Likewise.
27603 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27604 with OVERFLOW_EXCEPTION.
27605 (exp10_test_data): Likewise.
27606 (exp2_test_data): Likewise.
27607 (expm1_test_data): Likewise.
27608 (lgamma_test_data): Likewise.
27609 (pow_test_data): Likewise.
27610 (tgamma_test_data): Likewise.
27611 (yn_test_data): Remove duplicate test of overflow.
27613 * math/libm-test.inc (struct test_cc_c_data): New type.
27614 (RUN_TEST_LOOP_cc_c): New macro.
27615 (cpow_test_data): New variable.
27616 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27618 * math/libm-test.inc (struct test_f_L_data): New type.
27619 (RUN_TEST_LOOP_f_L): New macro.
27620 (llrint_test_data): New variable.
27621 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27622 (llrint_tonearest_test_data): New variable.
27623 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27624 (llrint_towardzero_test_data): New variable.
27625 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27626 (llrint_downward_test_data): New variable.
27627 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27628 (llrint_upward_test_data): New variable.
27629 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27630 (llround_test_data): New variable.
27631 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27633 2013-05-13 Peter Collingbourne <pcc@google.com>
27635 * math/atest-exp2.c (get_log2): Remove const attribute.
27637 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27639 * math/libm-test.inc (struct test_f_l_data): New type.
27640 (RUN_TEST_LOOP_f_l): New macro.
27641 (lrint_test_data): New variable.
27642 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27643 (lrint_tonearest_test_data): New variable.
27644 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27645 (lrint_towardzero_test_data): New variable.
27646 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27647 (lrint_downward_test_data): New variable.
27648 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27649 (lrint_upward_test_data): New variable.
27650 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27651 (lround_test_data): New variable.
27652 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27654 2013-05-15 Peter Collingbourne <pcc@google.com>
27656 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27657 (EXTRACT_WORDS64) Use where appropriate.
27658 (INSERT_WORDS64) Likewise.
27660 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27661 constraints with x constraints.
27662 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27664 * malloc/obstack.c (_obstack_compat): Add initializer.
27666 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27668 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27669 si_trapno and add si_addr_lsb to _sifields.sigfault.
27670 (si_trapno): Remove macro.
27671 (si_addr_lsb): Define new macro.
27672 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27674 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27676 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27677 instead of TEST_f_l.
27678 (llrint_test_tonearest): Likewise.
27679 (llrint_test_towardzero): Likewise.
27680 (llrint_test_downward): Likewise.
27681 (llrint_test_upward): Likewise.
27682 (llround_test): Likewise.
27684 * math/libm-test.inc (struct test_f_i_data): Add comment.
27685 (RUN_TEST_LOOP_f_b): New macro.
27686 (RUN_TEST_LOOP_f_b_tg): Likewise.
27687 (finite_test_data): New variable.
27688 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27689 (isfinite_test_data): New variable.
27690 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27691 (isinf_test_data): New variable.
27692 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27693 (isnan_test_data): New variable.
27694 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27695 (isnormal_test_data): New variable.
27696 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27697 (issignaling_test_data): New variable.
27698 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27699 (signbit_test_data): New variable.
27700 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27702 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27703 with INVALID_EXCEPTION.
27704 (acosh_test_data): Likewise.
27705 (asin_test_data): Likewise.
27706 (atanh_test_data): Likewise.
27707 (fmod_test_data): Likewise.
27708 (log_test_data): Likewise.
27709 (log10_test_data): Likewise.
27710 (log2_test_data): Likewise.
27711 (pow_test_data): Likewise.
27712 (sqrt_test_data): Likewise.
27713 (y0_test_data): Likewise.
27714 (y1_test_data): Likewise.
27715 (yn_test_data): Likewise.
27717 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27720 * math/libm-test.inc (struct test_ff_i_data): New type.
27721 (RUN_TEST_LOOP_ff_i_tg): New macro.
27722 (isgreater_test_data): New variable.
27723 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27724 (isgreaterequal_test_data): New variable.
27725 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27726 (isless_test_data): New variable.
27727 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27728 (islessequal_test_data): New variable.
27729 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27730 (islessgreater_test_data): New variable.
27731 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27732 (isunordered_test_data): New variable.
27733 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27735 2013-05-14 David S. Miller <davem@davemloft.net>
27737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27739 2013-05-14 Joseph Myers <joseph@codesourcery.com>
27741 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27743 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27745 (struct test_f_i_data): Change type of max_ulp to int.
27747 * math/libm-test.inc (test_ffI_f1_data): New type.
27748 (RUN_TEST_LOOP_ffI_f1): New macro.
27749 (remquo_test_data): New variable.
27750 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27752 * setjmp/tst-setjmp-fp.c: New file.
27753 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27754 (link-libm): New variable.
27755 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27757 * math/libm-test.inc (struct test_f_i_data): New type.
27758 (RUN_TEST_LOOP_f_i): New macro.
27759 (RUN_TEST_LOOP_f_i_tg): Likewise.
27760 (fpclassify_test_data): New variable.
27761 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27762 (ilogb_test_data): New variable.
27763 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27765 * math/libm-test.inc (scalbln_test): Correct function name in END
27768 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27769 (RUN_TEST_LOOP_fI_f1): New macro.
27770 (frexp_test_data): New variable.
27771 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27773 * math/libm-test.inc (struct test_fF_f1_data): New type.
27774 (RUN_TEST_LOOP_fF_f1): New macro.
27775 (modf_test_data): New variable.
27776 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27778 * math/libm-test.inc (struct test_f_f1_data): New type.
27779 (RUN_TEST_LOOP_f_f1): New macro.
27780 (gamma_test_data): New variable.
27781 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27782 (lgamma_test_data): New variable.
27783 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27785 2013-05-13 Carlos O'Donell <carlos@redhat.com>
27787 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27788 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27789 (main): Comment "tls" pseudo-hwcap.
27791 2013-05-13 Joseph Myers <joseph@codesourcery.com>
27793 * math/libm-test.inc (struct test_fl_f_data): New type.
27794 (RUN_TEST_LOOP_fl_f): New variable.
27795 (scalbln_test_data): New variable.
27796 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27798 * math/libm-test.inc (struct test_fi_f_data): New type.
27799 (RUN_TEST_LOOP_fi_f): New macro.
27800 (ldexp_test_data): New variable.
27801 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27802 (scalbn_test_data): New variable.
27803 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27805 * math/libm-test.inc (struct test_c_f_data): New type.
27806 (RUN_TEST_LOOP_c_f): New macro.
27807 (cabs_test_data): New variable.
27808 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27809 (carg_test_data): New variable.
27810 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27811 (cimag_test_data): New variable.
27812 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27813 (creal_test_data): New variable.
27814 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27816 * math/libm-test.inc (struct test_if_f_data): New type.
27817 (RUN_TEST_LOOP_if_f): New macro.
27818 (jn_test_data): New variable.
27819 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27820 (yn_test_data): New variable.
27821 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27823 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27825 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27827 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27828 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27830 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27832 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27833 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27834 (bench-deps): Add bench-timing.h.
27835 * benchtests-bench-skeleton.c: Include bench-timing.h.
27836 (main): Use TIMING_* macros instead of clock_gettime.
27837 * benchtests/bench-timing.h: New file.
27840 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27841 Renamed from _LIB_VERSION.
27842 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27844 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27846 * math/libm-test.inc (struct test_fff_f_data): New type.
27847 (RUN_TEST_LOOP_fff_f): New macro.
27848 (fma_test_data): New variable.
27849 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27850 (fma_towardzero_test_data): New variable.
27851 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27852 (fma_downward_test_data): New variable.
27853 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27854 (fma_upward_test_data): New variable.
27855 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27857 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27858 (struct test_c_c_data): New type.
27859 (RUN_TEST_LOOP_c_c): New macro.
27860 (cacos_test_data): New variable.
27861 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27862 (cacosh_test_data): New variable.
27863 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27864 (casin_test_data): New variable.
27865 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27866 (casinh_test_data): New variable.
27867 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27868 (catan_test_data): New variable.
27869 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27870 (catanh_test_data): New variable.
27871 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27872 (ccos_test_data): New variable.
27873 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27874 (ccosh_test_data): New variable.
27875 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27876 (cexp_test_data): New variable.
27877 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27878 (clog_test_data): New variable.
27879 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27880 (clog10_test_data): New variable.
27881 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27882 (conj_test_data): New variable.
27883 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27884 (cproj_test_data): New variable.
27885 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27886 (csin_test_data): New variable.
27887 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27888 (csinh_test_data): New variable.
27889 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27890 (csqrt_test_data): New variable.
27891 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27892 (ctan_test_data): New variable.
27893 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27894 (ctan_tonearest_test_data): New variable.
27895 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27896 (ctan_towardzero_test_data): New variable.
27897 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27898 (ctan_downward_test_data): New variable.
27899 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27900 (ctan_upward_test_data): New variable.
27901 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27902 (ctanh_test_data): New variable.
27903 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27904 (ctanh_tonearest_test_data): New variable.
27905 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27906 (ctanh_towardzero_test_data): New variable.
27907 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27908 (ctanh_downward_test_data): New variable.
27909 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27910 (ctanh_upward_test_data): New variable.
27911 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27912 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27915 * math/libm-test.inc (struct test_ff_f_data): New type.
27916 (struct test_ff_f_data_nexttoward): Likewise.
27917 (RUN_TEST_LOOP_2_f): New macro.
27918 (RUN_TEST_LOOP_ff_f): Likewise.
27919 (atan2_test_data): New variable.
27920 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27921 (copysign_test_data): New variable.
27922 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27923 (fdim_test_data): New variable.
27924 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27925 (fmax_test_data): New variable.
27926 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27927 (fmin_test_data): New variable.
27928 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27929 (fmod_test_data): New variable.
27930 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27931 (hypot_test_data): New variable.
27932 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27933 (nextafter_test_data): New variable.
27934 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27935 (nexttoward_test_data): New variable.
27936 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27937 (pow_test_data): New variable.
27938 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27939 (pow_tonearest_test_data): New variable.
27940 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27941 (pow_towardzero_test_data): New variable.
27942 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27943 (pow_downward_test_data): New variable.
27944 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27945 (pow_upward_test_data): New variable.
27946 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27947 (remainder_test_data): New variable.
27948 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27949 (scalb_test_data): New variable.
27950 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27951 * sysdeps/i386/fpu/libm-test-ulps: Update.
27953 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27955 * math/libm-test.inc (fma_test): Use max_value instead of local
27957 (nextafter_test): Likewise.
27959 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27960 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27961 (acos_downward_test_data): New variable.
27962 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27963 (acos_upward_test_data): New variable.
27964 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27965 (acosh_test_data): New variable.
27966 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27967 (asin_test_data): New variable.
27968 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27969 (asin_tonearest_test_data): New variable.
27970 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27971 (asin_towardzero_test_data): New variable.
27972 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27973 (asin_downward_test_data): New variable.
27974 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27975 (asin_upward_test_data): New variable.
27976 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27977 (asinh_test_data): New variable.
27978 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27979 (atan_test_data): New variable.
27980 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27981 (atanh_test_data): New variable.
27982 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27983 (cbrt_test_data): New variable.
27984 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27985 (ceil_test_data): New variable.
27986 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27987 (cos_test_data): New variable.
27988 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27989 (cos_tonearest_test_data): New variable.
27990 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27991 (cos_towardzero_test_data): New variable.
27992 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27993 (cos_downward_test_data): New variable.
27994 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27995 (cos_upward_test_data): New variable.
27996 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27997 (cosh_test_data): New variable.
27998 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27999 (cosh_tonearest_test_data): New variable.
28000 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28001 (cosh_towardzero_test_data): New variable.
28002 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28003 (cosh_downward_test_data): New variable.
28004 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28005 (cosh_upward_test_data): New variable.
28006 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28007 (erf_test_data): New variable.
28008 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28009 (erfc_test_data): New variable.
28010 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28011 (exp_test_data): New variable.
28012 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28013 (exp_tonearest_test_data): New variable.
28014 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28015 (exp_towardzero_test_data): New variable.
28016 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28017 (exp_downward_test_data): New variable.
28018 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28019 (exp_upward_test_data): New variable.
28020 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28021 (exp10_test_data): New variable.
28022 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28023 (exp2_test_data): New variable.
28024 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28025 (expm1_test_data): New variable.
28026 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28027 (fabs_test_data): New variable.
28028 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28029 (floor_test_data): New variable.
28030 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28031 (j0_test_data): New variable.
28032 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28033 (j1_test_data): New variable.
28034 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28035 (log_test_data): New variable.
28036 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28037 (log10_test_data): New variable.
28038 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28039 (log1p_test_data): New variable.
28040 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28041 (log2_test_data): New variable.
28042 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28043 (logb_test_data): New variable.
28044 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28045 (logb_downward_test_data): New variable.
28046 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28047 (nearbyint_test_data): New variable.
28048 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28049 (rint_test_data): New variable.
28050 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28051 (rint_tonearest_test_data): New variable.
28052 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28053 (rint_towardzero_test_data): New variable.
28054 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28055 (rint_downward_test_data): New variable.
28056 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28057 (rint_upward_test_data): New variable.
28058 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28059 (round_test_data): New variable.
28060 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28061 (sin_test_data): New variable.
28062 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28063 (sin_tonearest_test_data): New variable.
28064 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28065 (sin_towardzero_test_data): New variable.
28066 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28067 (sin_downward_test_data): New variable.
28068 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28069 (sin_upward_test_data): New variable.
28070 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28071 (sinh_test_data): New variable.
28072 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28073 (sinh_tonearest_test_data): New variable.
28074 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28075 (sinh_towardzero_test_data): New variable.
28076 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28077 (sinh_downward_test_data): New variable.
28078 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28079 (sinh_upward_test_data): New variable.
28080 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28081 (sqrt_test_data): New variable.
28082 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28083 (tan_test_data): New variable.
28084 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28085 (tan_tonearest_test_data): New variable.
28086 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28087 (tan_towardzero_test_data): New variable.
28088 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28089 (tan_downward_test_data): New variable.
28090 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28091 (tan_upward_test_data): New variable.
28092 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28093 (tanh_test_data): New variable.
28094 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28095 (tgamma_test_data): New variable.
28096 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28097 (trunc_test_data): New variable.
28098 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28099 (y0_test_data): New variable.
28100 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28101 (y1_test_data): New variable.
28102 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28103 (significand_test_data): New variable.
28104 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28106 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28109 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28111 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28113 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28115 2013-05-10 Andreas Jaeger <aj@suse.de>
28118 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28119 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28121 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28123 * math/gen-libm-test.pl (adjust_arg): New function.
28124 (special_functions): Handle generating output in both functions
28126 (parse_args): Likewise.
28127 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28128 $in_func argument to parse_args.
28129 * math/libm-test.inc (struct test_f_f_data): New type.
28130 (IF_ROUND_INIT_): New macro.
28131 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28132 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28133 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28134 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28135 (ROUND_RESTORE_): Likewise.
28136 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28137 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28138 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28139 (ROUND_RESTORE_FE_UPWARD): Likewise.
28140 (RUN_TEST_LOOP_f_f): New macro.
28141 (acos_test_data): New variable.
28142 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28143 (acos_tonearest_test_data): New variable.
28144 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28146 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28148 * benchtests/bench-skeleton.c (startup): Fix coding style.
28150 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28153 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28154 negative infinity argument.
28155 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28156 negative infinity argument.
28157 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28158 negative infinity argument.
28159 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28162 2013-05-10 Florian Weimer <fweimer@redhat.com>
28164 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28165 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28166 * iconv/iconv_prog.c (main): Likewise.
28167 * locale/programs/charmap-dir.c (charmap_readdir)
28168 (fopen_uncompressed): Likewise.
28169 * locale/programs/locfile.c (siblings_uncached)
28170 (write_locale_data): Use lstat64 instead of lstat.
28171 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28174 2013-05-10 Andreas Jaeger <aj@suse.de>
28177 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28179 Include <locale.h>.
28181 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28183 * elf/dl-close.c (_dl_close_worker): Add comments.
28185 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28188 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28190 (__ieee754_rem_pio2l): Update comments.
28193 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28195 (__ieee754_rem_pio2l): Update comments.
28197 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28198 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28200 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28203 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28204 (M_PI_34_LOG10El): Likewise.
28205 (M_PI2_LOG10El): Likewise.
28206 (M_PI4_LOG10El): Likewise.
28207 (M_PI_LOG10El): Likewise.
28209 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28213 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28215 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28216 (MINUS_ZERO_INIT): Likewise.
28217 (PLUS_INFTY_INIT): Likewise.
28218 (MINUS_INFTY_INIT): Likewise.
28219 (QNAN_VALUE_INIT): Likewise.
28220 (MAX_VALUE_INIT): Likewise.
28221 (MIN_VALUE_INIT): Likewise.
28222 (MIN_SUBNORM_VALUE_INIT): Likewise.
28223 (plus_zero): Initialize with PLUS_ZERO_INIT.
28224 (minus_zero): Initialize with MINUS_ZERO_INIT.
28225 (plus_infty): Initialize with PLUS_INFTY_INIT.
28226 (minus_infty): Initialize with MINUS_INFTY_INIT.
28227 (qnan_value): Initialize with QNAN_VALUE_INIT.
28228 (max_value): Initialize with MAX_VALUE_INIT.
28229 (min_value): Initialize with MIN_VALUE_INIT.
28230 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28232 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28233 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28234 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28235 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28237 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28238 (RUN_TEST_2_f): Likewise.
28239 (RUN_TEST_ff_f): Likewise.
28240 (RUN_TEST_fi_f): Likewise.
28241 (RUN_TEST_fl_f): Likewise.
28242 (RUN_TEST_fff_f): Likewise.
28243 (RUN_TEST_c_f): Likewise.
28244 (RUN_TEST_f_f1): Likewise.
28245 (RUN_TEST_fF_f1): Likewise.
28246 (RUN_TEST_fI_f1): Likewise.
28247 (RUN_TEST_ffI_f1): Likewise.
28248 (RUN_TEST_c_c): Likewise.
28249 (RUN_TEST_cc_c): Likewise.
28250 (RUN_TEST_f_i): Likewise.
28251 (RUN_TEST_f_i_tg): Likewise.
28252 (RUN_TEST_ff_i_tg): Likewise.
28253 (RUN_TEST_f_b): Likewise.
28254 (RUN_TEST_f_b_tg): Likewise.
28255 (RUN_TEST_f_l): Likewise.
28256 (RUN_TEST_f_L): Likewise.
28257 (RUN_TEST_sincos): Likewise.
28258 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28259 whether to show exceptions. Do not include ");\n" in return
28261 (special_functions): Output call to RUN_TEST_sincos instead of
28262 check_float calls. Update calls to new_test.
28263 (parse_args): Output call to single RUN_TEST_* macro instead of
28264 check_* calls and other assignments. Update calls to new_test.
28270 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28271 input to result for tgamma overflow.
28272 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28273 (gamma_coeff): New variable.
28274 (NCOEFF): New macro.
28275 (gamma_positive): New function.
28276 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28277 underflow here. Use gamma_positive instead of exp (lgamma) for
28279 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28280 (gamma_coeff): New variable.
28281 (NCOEFF): New macro.
28282 (gammaf_positive): New function.
28283 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28284 underflow here. Use gamma_positive instead of exp (lgamma) for
28286 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28287 (gamma_coeff): New variable.
28288 (NCOEFF): New macro.
28289 (gammal_positive): New function.
28290 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28291 underflow here. Use gamma_positive instead of exp (lgamma) for
28293 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28294 (gamma_coeff): New variable.
28295 (NCOEFF): New macro.
28296 (gammal_positive): New function.
28297 (__ieee754_gammal_r): Handle positive infinity, overflow and
28298 underflow here. Handle NaN the same as positive infinity. Remove
28299 check x < 0xffffffff for negative integers. Use gamma_positive
28300 instead of exp (lgamma) for other arguments.
28301 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28302 (gamma_coeff): New variable.
28303 (NCOEFF): New macro.
28304 (gammal_positive): New function.
28305 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28306 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28310 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28311 * sysdeps/generic/math_private.h (__gamma_productf): New
28313 (__gamma_product): Likewise.
28314 (__gamma_productl): Likewise.
28315 * math/Makefile (libm-calls): Add gamma_product.
28316 * math/libm-test.inc (tgamma_test): Add more tests.
28317 * sysdeps/i386/fpu/libm-test-ulps: Update.
28318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28320 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
28322 * benchtests/bench-skeleton.c (main): Preheat CPU.
28324 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28326 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28328 2013-05-07 Roland McGrath <roland@hack.frob.com>
28330 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28331 and _dl_skip_args_internal.
28333 2013-05-07 Carlos O'Donell <carlos@redhat.com>
28335 * manual/message.texi (Message Translation): Talk about users.
28336 Message to key mapping impacts design.
28338 2013-05-06 Roland McGrath <roland@hack.frob.com>
28340 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28342 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28344 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28345 * sysdeps/wordsize-64/glob64.c: ... here.
28347 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28348 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28351 * debug/getlogin_r_chk.c: Moved to ...
28352 * login/getlogin_r_chk.c: ... here.
28353 * debug/Makefile (routines): Move getlogin_r_chk to ...
28354 * login/Makefile (routines): ... here.
28355 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28356 * login/Versions (libc: GLIBC_2.4): ... here.
28358 * io/poll.c (__poll): Renamed from poll.
28359 Add libc_hidden_def.
28360 (poll): Define as weak alias.
28362 * debug/ptsname_r_chk.c: Moved to ...
28363 * login/ptsname_r_chk.c: ... here.
28364 * debug/Makefile (routines): Move ptsname_r_chk to ...
28365 * login/Makefile (routines): ... here.
28366 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28367 * login/Versions (libc: GLIBC_2.4): ... here.
28369 * posix/getlogin.c: Moved to ...
28370 * login/getlogin.c: ... here.
28371 * posix/getlogin_r.c: Moved to ...
28372 * login/getlogin_r.c: ... here.
28373 * posix/getlogin_r.c: Moved to ...
28374 * login/getlogin_r.c: ... here.
28375 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28376 * login/Makefile (routines): ... here.
28377 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28378 * login/Versions (libc: GLIBC_2.0): ... here.
28380 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28381 (setrlimit): Define as weak alias.
28383 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28384 Call __ names for open, ftruncate, and close.
28385 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28386 (truncate): Define as weak alias.
28388 2013-05-06 Joseph Myers <joseph@codesourcery.com>
28390 * math/gen-libm-test.pl (parse_args): Initialize x before each
28391 test of frexp, modf and remquo.
28393 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28394 test signgam value.
28396 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28400 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28402 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28404 2013-05-06 Roland McGrath <roland@hack.frob.com>
28406 * elf/dl-writev.h: New file.
28407 * elf/dl-misc.c: Include it.
28408 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28409 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28411 2013-05-04 Joseph Myers <joseph@codesourcery.com>
28413 * math/libm-test.inc (noXFails): Remove variable.
28414 (noXPasses): Likewise.
28415 (BUILD_COMPLEX_INT): Remove macro.
28416 (print_screen): Remove xfail argument.
28417 (print_screen_max_error): Likewise.
28418 (update_stats): Likewise.
28419 (print_max_error): Likewise. Update calls to other affected
28421 (print_complex_max_error): Likewise.
28422 (test_single_exception): Update calls to print_screen.
28423 (test_single_errno): Likewise.
28424 (check_float_internal): Remove xfail argument. Update calls to
28425 other affected functions.
28426 (check_float): Likewise.
28427 (check_complex): Likewise.
28428 (check_int): Likewise.
28429 (check_long): Likewise.
28430 (check_bool): Likewise.
28431 (check_longlong): Likewise.
28432 (main): Don't print noXFails and noXPasses.
28433 * math/gen-libm-test.pl (top level): Don't mention expected
28434 failure handling in comment.
28435 (new_test): Don't handle expected failures.
28436 (parse_args): Don't mention expected failure handling in comment.
28437 (generate_testfile): Don't handle expected failures.
28438 (parse_ulps): Likewise.
28439 (print_ulps_file): Likewise.
28440 (get_failure): Remove function.
28441 (output_test): Don't handle expected failures.
28442 * make/README.libm-test: Don't mention expected failure handling.
28444 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28445 (minus_zero): Likewise.
28446 (plus_infty): Likewise.
28447 (minus_infty): Likewise.
28448 (qnan_value): Likewise.
28449 (max_value): Likewise.
28450 (min_value): Likewise.
28451 (min_subnorm_value): Likewise.
28452 (initialize): Do not initialize those variables dynamically.
28454 2013-05-03 Roland McGrath <roland@hack.frob.com>
28456 * io/open.c (__open_2): Moved to ...
28457 * io/open_2.c: ... this new file.
28458 * io/open64.c (__open64_2): Moved to ...
28459 * io/open64_2.c: ... this new file.
28460 * io/openat.c (__openat_2): Moved to ...
28461 * io/openat_2.c: ... this new file.
28462 * io/openat64.c (__openat64_2): Moved to ...
28463 * io/openat64_2.c: ... this new file.
28464 * io/Makefile (routines): Add them.
28465 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28466 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28467 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28468 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28469 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28470 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28471 (__openat64): Add hidden_ver.
28472 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28473 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28475 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28476 Separately conditionalize setting of GLRO(dl_sysinfo) so
28477 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28478 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28480 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28482 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28483 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28485 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28486 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28487 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28488 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28489 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28491 2013-05-03 Joseph Myers <joseph@codesourcery.com>
28493 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28494 test signgam value.
28496 * math/libm-test.inc (hypot_test): Do not use
28497 IGNORE_ZERO_INF_SIGN.
28499 2013-05-03 Andreas Jaeger <aj@suse.de>
28501 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28503 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28504 (PF_MAX): Adjust for VSOCK change.
28506 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28510 2013-05-02 Carlos O'Donell <carlos@redhat.com>
28513 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28514 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28515 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28517 2013-05-02 David S. Miller <davem@davemloft.net>
28519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28521 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
28523 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28525 2013-05-01 Roland McGrath <roland@hack.frob.com>
28527 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28529 2013-05-01 Richard Smith <richard@metafoo.co.uk>
28532 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28533 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28534 Use __attribute__ ((__gnu_inline__)).
28535 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28536 Don't use __attribute__ ((__gnu_inline__)).
28538 2013-05-01 Joseph Myers <joseph@codesourcery.com>
28541 * math/s_catan.c (__catan): Handle small real or imaginary part of
28542 input specially to avoid spurious underflow.
28543 * math/s_catanf.c (__catanf): Likewise.
28544 * math/s_catanh.c (__catanh): Likewise.
28545 * math/s_catanhf.c (__catanhf): Likewise.
28546 * math/s_catanhl.c (__catanhl): Likewise.
28547 * math/s_catanl.c (__catanl): Likewise.
28548 * math/libm-test.inc (catan_test): Add more tests.
28549 (catanh_test): Likewise.
28550 * sysdeps/i386/fpu/libm-test-ulps: Update.
28551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28553 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28557 2013-04-30 Joseph Myers <joseph@codesourcery.com>
28560 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28561 accurately for denominator in atan2.
28562 * math/s_catanf.c (__catanf): Likewise.
28563 * math/s_catanh.c (__catanh): Likewise.
28564 * math/s_catanhf.c (__catanhf): Likewise.
28565 * math/s_catanhl.c (__catanhl): Likewise.
28566 * math/s_catanl.c (__catanl): Likewise.
28567 * math/libm-test.inc (catan_test): Add more tests.
28568 (catanh_test): Likewise.
28569 * sysdeps/i386/fpu/libm-test-ulps: Update.
28570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28572 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28574 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28576 * benchtests/Makefile (bench): Remove slow benchmarks.
28577 * benchtests/atan-inputs: Add slow benchmark inputs.
28578 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28579 (BENCH_FUNC): Accept variant offset.
28581 * benchtests/bench-skeleton.c (main): Run benchmark for each
28583 * benchtests/cos-inputs: Add slow benchmark inputs.
28584 * benchtests/exp-inputs: Likewise.
28585 * benchtests/pow-inputs: Likewise.
28586 * benchtests/sin-inputs: Likewise.
28587 * benchtests/slowatan-inputs: Remove.
28588 * benchtests/slowatan.c: Remove.
28589 * benchtests/slowcos-inputs: Remove.
28590 * benchtests/slowcos.c: Remove.
28591 * benchtests/slowexp-inputs: Remove.
28592 * benchtests/slowexp.c: Remove.
28593 * benchtests/slowpow-inputs: Remove.
28594 * benchtests/slowpow.c: Remove.
28595 * benchtests/slowsin-inputs: Remove.
28596 * benchtests/slowsin.c: Remove.
28597 * benchtests/slowtan-inputs: Remove.
28598 * benchtests/slowtan.c: Remove.
28599 * benchtests/tan-inputs: Add slow benchmark inputs.
28600 * scripts/bench.pl: Parse comments and directives.
28602 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28604 ($(objpfx)bench-%.c): Remove *-ITER.
28605 * benchtests/bench-modf.c: Remove definition of ITER.
28606 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28607 (main): Loop for DURATION seconds instead of fixed number of
28609 * scripts/bench.pl: Don't expect iterations in parameters.
28611 2013-04-29 Roland McGrath <roland@hack.frob.com>
28613 * io/fchdir.c (__fchdir): Renamed from fchdir.
28614 (fchdir): Define as weak alias.
28616 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28618 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28619 (ERRNO_EDOM): Likewise.
28620 (ERRNO_ERANGE): Likewise.
28621 (noErrnoTests): New variable.
28622 (init_max_error): Set errno to 0.
28623 (test_single_errno): New function.
28624 (test_errno): Likewise.
28625 (check_float_internal): Call test_errno. Set errno to 0.
28626 (check_complex): Refer to errno tests in comment.
28627 (check_int): Call test_errno. Set errno to 0.
28628 (check_long): Likewise.
28629 (check_bool): Likewise.
28630 (check_longlong): Likewise.
28631 (cos_test): Use ERRNO_* flags for errno tests instead of
28633 (expm1_test): Likewise.
28634 (fmod_test): Likewise.
28635 (ilogb_test): Likewise.
28636 (lgamma_test): Likewise.
28637 (pow_test): Likewise.
28638 (remainder_test): Likewise.
28639 (sin_test): Likewise.
28640 (tan_test): Likewise.
28641 (yn_test): Likewise.
28642 (initialize): Set errno to 0.
28643 (main): Print number of errno tests.
28644 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28646 2013-04-29 Andreas Jaeger <aj@suse.de>
28649 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28653 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28654 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28658 * stdlib/random.c (__initstate): Return NULL if
28662 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28663 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28666 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28670 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28672 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28673 of individual tests.
28674 (casin_test): Likewise.
28675 (casinh_test): Likewise.
28677 2013-04-27 Joseph Myers <joseph@codesourcery.com>
28680 * math/s_catan.c (__catan): Handle arguments with large real or
28681 imaginary part separately without squaring.
28682 * math/s_catanf.c (__catanf): Likewise.
28683 * math/s_catanh.c (__catanh): Likewise.
28684 * math/s_catanhf.c (__catanhf): Likewise.
28685 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28687 (__catanhl): Handle arguments with large real or imaginary part
28688 separately without squaring.
28689 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28691 (__catanl): Handle arguments with large real or imaginary part
28692 separately without squaring.
28693 * math/libm-test.inc (catan_test): Add more tests.
28694 (catanh_test): Likewise.
28695 * sysdeps/i386/fpu/libm-test-ulps: Update.
28696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28698 2013-04-27 Andreas Jaeger <aj@suse.de>
28701 * stdlib/stdlib.h: Update guards for qecvt.
28702 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28705 2013-04-27 Allan McRae <allan@archlinux.org>
28707 * sysdeps/i386/fpu/libm-test-ulps: Update.
28709 2013-04-26 Joseph Myers <joseph@codesourcery.com>
28712 * math/s_catan.c: Include <float.h>.
28713 (__catan): Ensure underflow exception occurs for underflowed
28715 * math/s_catanf.c: Include <float.h>.
28716 (__catanf): Ensure underflow exception occurs for underflowed
28718 * math/s_catanh.c: Include <float.h>.
28719 (__catanh): Ensure underflow exception occurs for underflowed
28721 * math/s_catanhf.c: Include <float.h>.
28722 (__catanhf): Ensure underflow exception occurs for underflowed
28724 * math/s_catanhl.c: Include <float.h>.
28725 (__catanhl): Ensure underflow exception occurs for underflowed
28727 * math/s_catanl.c: Include <float.h>.
28728 (__catanl): Ensure underflow exception occurs for underflowed
28730 * math/libm-test.inc (catan_test): Add more tests.
28731 (catanh_test): Likewise.
28734 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28735 underflowed result.
28736 * math/s_ccoshf.c (__ccoshf): Likewise.
28737 * math/s_ccoshl.c (__ccoshl): Likewise.
28738 * math/s_csin.c (__csin): Likewise.
28739 * math/s_csinf.c (__csinf): Likewise.
28740 * math/s_csinh.c (__csinh): Likewise.
28741 * math/s_csinhf.c (__csinhf): Likewise.
28742 * math/s_csinhl.c (__csinhl): Likewise.
28743 * math/s_csinl.c (__csinl): Likewise.
28744 * math/libm-test.inc (ccos_test): Add more tests.
28745 (ccosh_test): Likewise.
28746 (csin_test): Likewise.
28747 (csinh_test): Likewise.
28749 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28751 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28752 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28753 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28754 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28755 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28756 powerpc/power5+/fpu folders.
28757 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28760 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28764 2013-04-25 Joseph Myers <joseph@codesourcery.com>
28766 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28767 additions to variable.
28768 [$(config-machine) = x86_64] (modules-names): Likewise.
28769 ($(objpfx)tst-audit3): Remove dependency.
28770 ($(objpfx)tst-audit3.out): Likewise.
28771 ($(objpfx)tst-audit4): Likewise.
28772 ($(objpfx)tst-audit4.out): Likewise.
28773 ($(objpfx)tst-audit5): Likewise.
28774 ($(objpfx)tst-audit5.out): Likewise.
28775 ($(objpfx)tst-audit6): Likewise.
28776 ($(objpfx)tst-audit6.out): Likewise.
28777 ($(objpfx)tst-audit7): Likewise.
28778 ($(objpfx)tst-audit7.out): Likewise.
28779 (tst-audit3-ENV): Remove variable.
28780 (tst-audit4-ENV): Likewise.
28781 (tst-audit5-ENV): Likewise.
28782 (tst-audit6-ENV): Likewise.
28783 (tst-audit7-ENV): Likewise.
28784 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28785 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28786 addition to variable.
28787 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28788 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28789 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28790 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28791 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28792 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28793 tst-audit3, tst-audit4 and tst-audit5.
28794 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28795 tst-audit6 and tst-audit7.
28796 [$(subdir) = elf] (modules-names): Add audit modules for those
28798 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28799 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28800 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28801 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28802 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28803 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28804 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28805 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28806 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28807 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28808 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28809 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28810 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28811 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28812 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28813 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28815 [$(subdir) = elf && $(config-cflags-avx) = yes]
28816 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28817 [$(subdir) = elf && $(config-cflags-avx) = yes]
28818 (CFLAGS-tst-auditmod4a.c): Likewise.
28819 [$(subdir) = elf && $(config-cflags-avx) = yes]
28820 (CFLAGS-tst-auditmod4b.c): Likewise.
28821 [$(subdir) = elf && $(config-cflags-avx) = yes]
28822 (CFLAGS-tst-auditmod6b.c): Likewise.
28823 [$(subdir) = elf && $(config-cflags-avx) = yes]
28824 (CFLAGS-tst-auditmod6c.c): Likewise.
28825 [$(subdir) = elf && $(config-cflags-avx) = yes]
28826 (CFLAGS-tst-auditmod7b.c): Likewise.
28827 * elf/tst-audit3.c: Move to ...
28828 * sysdeps/x86_64/tst-audit3.c: ... here.
28829 * elf/tst-audit4.c: Move to ...
28830 * sysdeps/x86_64/tst-audit4.c: ... here.
28831 * elf/tst-audit5.c: Move to ...
28832 * sysdeps/x86_64/tst-audit5.c: ... here.
28833 * elf/tst-audit6.c: Move to ...
28834 * sysdeps/x86_64/tst-audit6.c: ... here.
28835 * elf/tst-audit7.c: Move to ...
28836 * sysdeps/x86_64/tst-audit7.c: ... here.
28837 * elf/tst-auditmod3a.c: Move to ...
28838 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28839 * elf/tst-auditmod3b.c: Move to ...
28840 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28841 * elf/tst-auditmod4a.c: Move to ...
28842 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28843 * elf/tst-auditmod4b.c: Move to ...
28844 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28845 * elf/tst-auditmod5a.c: Move to ...
28846 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28847 * elf/tst-auditmod5b.c: Move to ...
28848 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28849 * elf/tst-auditmod6a.c: Move to ...
28850 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28851 * elf/tst-auditmod6b.c: Move to ...
28852 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28853 * elf/tst-auditmod6c.c: Move to ...
28854 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28855 * elf/tst-auditmod7a.c: Move to ...
28856 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28857 * elf/tst-auditmod7b.c: Move to ...
28858 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28860 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28863 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28864 define unconditionally.
28865 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28866 define unconditionally.
28867 (INT8_C, INT16_C, etc.): Likewise.
28869 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28871 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28872 __ehdr_start with hidden visibility.
28874 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28876 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28878 * math/libm-test.inc (cos_test): Use accurate hex constants.
28879 (sincost_test): Likewise.
28881 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28883 * math/libm-test.inc (catan_test): Add more tests.
28884 (catanh_test): Likewise.
28886 * math/s_catanf.c (__catanf): Use suffixed floating-point
28888 * math/s_catanhf.c (__catanhf): Likewise.
28889 * math/s_catanhl.c (__catanhl): Likewise.
28890 * math/s_catanl.c (__catanl): Likewise.
28893 * math/s_catan.c (__catan): Calculate imaginary part of result
28894 with log1p not log unless computing log of number close to 0.
28895 * math/s_catanf.c (__catanf): Likewise.
28896 * math/s_catanl.c (__catanl): Likewise.
28897 * math/s_catanh.c (__catanh): Calculate real part of result with
28898 log1p not log unless computing log of number close to 0.
28899 * math/s_catanhf.c (__catanhf): Likewise.
28900 * math/s_catanhl.c (__catanhl): Likewise.
28901 * math/libm-test.inc (catan_test): Add more tests.
28902 (catanh_test): Likewise.
28903 * sysdeps/i386/fpu/libm-test-ulps: Update.
28904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28906 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28908 * benchtests/Makefile: Mention files in which fast and slow
28909 paths of math functions are implemented.
28911 2013-04-23 Roland McGrath <roland@hack.frob.com>
28913 * sysdeps/posix/timespec_get.c: New file.
28915 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28917 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28919 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28921 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28922 powerpc/power5/fpu folders.
28923 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28924 * benchtests/Makefile: Add modf testcase.
28925 * benchtests/bench-modf.c: New file: Benchmark test for mo
28927 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28930 * time/Makefile (tests): Add tst-strptime-whitespace.
28931 * time/strptime_l.c (get_number): Use ISSPACE.
28932 (__strptime_internal): Likewise.
28933 * time/tst-strptime-whitespace.c: New test case.
28935 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28937 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28939 (_nss_files_init): Set it here.
28941 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28943 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28944 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28947 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28949 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28951 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28956 2013-04-21 David S. Miller <davem@davemloft.net>
28958 * po/ru.po: Update Russion translation from translation project.
28960 2013-04-17 Adam Conrad <adconrad@0c3.net>
28962 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28965 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28967 * configure.in: Remove i386 configure warning. Remove i386 case.
28968 * configure: Regenerate.
28969 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28970 Add example to error message.
28971 * sysdeps/i386/configure: Regenerate.
28973 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28975 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28977 * benchtests/cos-inputs: New file.
28978 * benchtests/slowcos-inputs: New file.
28979 * benchtests/slowcos.c: New file.
28980 * benchtests/slowtan-inputs: New file.
28981 * benchtests/slowtan.c: New file.
28982 * benchtests/tan-inputs: New file.
28984 2013-04-16 Roland McGrath <roland@hack.frob.com>
28986 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28989 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28991 * benchtests/Makefile: Include cppflags-iterator.mk to add
28992 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28994 * Makefile.in (bench-clean): New target.
28995 * benchtests/Makefile (bench-clean): Likewise.
28997 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28999 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29001 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29003 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29005 2013-04-15 Andreas Schwab <schwab@suse.de>
29007 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29009 * nscd/pwdcache.c (cache_addpw): Likewise.
29010 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29013 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29015 * benchtests/Makefile (bench): Write all output to
29016 bench-out.tmp together.
29018 2013-04-15 Andreas Schwab <schwab@suse.de>
29020 * nscd/nscd.c (main): Don't fork again after closing files.
29022 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29024 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29026 * benchtests/Rules (bench-deps): Collect dependencies into a
29027 single variable. Add Makefile to dependencies.
29028 ($(objpfx)bench-%.c): Depend on bench-deps.
29030 2013-04-12 Roland McGrath <roland@hack.frob.com>
29031 Xavier Roche <roche+kml2@exalead.com>
29034 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29035 just that it's a file descriptor.
29036 * manual/llio.texi (Synchronizing AIO Operations): Update description
29037 for EBADF error from aio_fsync.
29039 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29041 * Rules (bench): Move target definition...
29042 * benchtests/Makefile: ... here.
29044 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29046 * math/libm-test.inc (cos_test): Fix PI/2 test.
29047 (sincos_test): Likewise.
29048 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29049 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29051 2013-04-11 Andreas Schwab <schwab@suse.de>
29054 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29055 accept exponent character only when digits were seen.
29056 * stdio-common/Makefile (tests): Add bug26.
29057 * stdio-common/bug26.c: New file.
29060 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29063 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29065 * Makeconfig (rtld-prefix): Define built linker prefix.
29066 * Rules (run-bench): Use it.
29067 * math/Makefile (run-regen-ulps): Likewise.
29069 * Rules (bench): Remove eval.
29071 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29072 Roland McGrath <roland@hack.frob.com>
29073 Ondrej Bilka <neleai@seznam.cz>
29076 * time/getdate.c: Include ctype.h and alloca.h.
29077 (__getdate_r): Trim leading and trailing spaces of input.
29078 * time/tst-getdate.c (tests): Add tests with leading and
29081 2013-04-08 Roland McGrath <roland@hack.frob.com>
29084 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29085 when computing value.
29087 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29089 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29090 Use testrun.sh to run libm tests.
29093 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29095 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29098 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29100 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29102 * Makefile.in (regen-ulps): New target.
29103 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29104 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29105 [ifneq (no,$(PERL)] (regen-ulps): New target.
29106 [ifeq (no,$(PERL)] (regen-ulps): New target.
29107 * math/libm-test.inc (ulps_file_name): Define.
29108 (output_dir): New variable.
29109 (options): Add "output-dir" option.
29110 (parse_opt): Handle 'o' case.
29111 (main): If output_dir is non-NULL use it as a prefix
29113 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29115 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29117 [BZ #10060, #10062]
29118 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29119 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29120 fail configure if __sync_val_compare_and_swap is not inlined.
29121 * sysdeps/i386/configure: Regenerate.
29122 * configure.in: Build for i686 when configured for i386.
29123 * configure: Regenerate.
29124 * README: Remove i386 reference.
29126 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29128 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29129 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29131 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29133 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29134 (lmsnanval): New variables.
29135 (F): Add conversion tests.
29136 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29137 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29139 * stdio-common/tstdiomisc.c (F): Properly collect individual
29142 [BZ #14686, #15336]
29143 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29144 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29145 Instead, use input NaN values or generate a qNaN by arithmetic
29146 operation. Also fix bugs to comply with the standard.
29147 * math/libm-test.inc (remainder_test): Add more tests.
29149 [BZ #15335, #15342]
29150 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29152 input NaN values or generate a qNaN by arithmetic operation.
29154 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29157 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29160 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29163 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29164 underflowed result.
29165 * math/s_cexpf.c (__cexpf): Likewise.
29166 * math/s_cexpl.c (__cexpl): Likewise.
29167 * math/libm-test.inc (cexp_test): Add more tests.
29169 2013-04-03 Andreas Schwab <schwab@suse.de>
29172 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29173 order arrays from heap if bigger than alloca cutoff.
29175 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29177 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29178 (SNAN_TESTS_double): Refer to GCC PR56831.
29179 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29182 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29184 * Rules (bench): Move bench.out after the run is complete.
29186 * Rules (bench): Echo currently running benchmark.
29188 * benchtests/Makefile (bench): Add atan and slowatan.
29189 * benchtests/atan-inputs: New file.
29190 * benchtests/slowatan-inputs: New file.
29191 * benchtests/slowatan.c: New file.
29193 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29194 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29198 * sysdeps/unix/sysv/linux/kernel-features.h
29199 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29200 __ASSUME_XFS_RESTRICTED_CHOWN.
29201 * sysdeps/unix/sysv/linux/pathconf.c
29202 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29203 Save and restore errno.
29205 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29208 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29209 arguments using __kernel_casinh.
29210 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29211 arguments using __kernel_casinhf.
29212 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29213 arguments using __kernel_casinhl.
29214 * math/libm-test.inc (cacosh_test): Add more tests.
29215 * sysdeps/i386/fpu/libm-test-ulps: Update.
29216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29218 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29220 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29221 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29223 * bench/Makefile (bench): Add sin and slowsin.
29224 * benchtests/sin-inputs: New file.
29225 * benchtests/slowsin-inputs: New file.
29226 * benchtests/slowsin.c: New file.
29228 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29229 (bench): Add slowexp and slowpow.
29230 (exp-ITER): Increase iterations.
29231 (pow-ITER): Likewise.
29232 * benchtests/exp-inputs: Change input.
29233 * benchtests/pow-inputs: Likewise.
29234 * benchtests/slowexp-inputs: New file.
29235 * benchtests/slowexp.c: New file.
29236 * benchtests/slowpow-inputs: New file.
29237 * benchtests/slowpow.c: New file.
29239 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29241 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29243 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29244 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29245 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29246 * benchtests/Makefile: Add rint benchtest.
29247 * benchtests/rint-inputs: Input for rint benchtest.
29249 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29251 * Versions.def (libm): Add GLIBC_2.18.
29252 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29253 hidden libm prototypes.
29254 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29255 * math/Makefile (libm-calls): Add s_issignaling.
29256 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29257 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29258 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29260 * math/math.h [__USE_GNU] (issignaling): New macro.
29261 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29262 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29264 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29267 * manual/arith.texi (issignaling): New section.
29268 * manual/libm-err-tab.pl (@all_functions): Update comment.
29269 * math/gen-libm-test.pl (parse_args): Apply special handling for
29271 * math/libm-test.inc (print_float, issignaling_test): New
29273 (check_float_internal): Add issignaling checks.
29274 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29275 default definition.
29276 * sysdeps/powerpc/math-tests.h: New file.
29277 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29279 * math/test-snan.c (TEST_FUNC): Likewise.
29281 2013-03-30 David S. Miller <davem@davemloft.net>
29283 * po/de.po: Update from translation team.
29285 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29288 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29289 imaginary part less than 1.0 and real part less than 0.5
29291 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29292 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29293 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29294 (cacos_test): Add more tests.
29295 (casin_test): Likewise.
29296 (casinh_test): Likewise.
29297 * sysdeps/i386/fpu/libm-test-ulps: Update.
29298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29300 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29302 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29303 ONE with its value.
29305 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29306 (__pow_mp): Replace ONE and MONE with their values.
29307 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29308 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29309 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29310 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29311 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29312 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29314 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29316 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29317 (__pow_mp): Replace ZERO and MZERO with their values.
29318 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29319 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29320 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29322 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29323 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29326 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29328 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29330 2013-03-28 Roland McGrath <roland@hack.frob.com>
29332 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29333 Declare with __attribute__ ((weak)).
29334 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29335 Call __call_tls_dtors only if it's not NULL.
29337 2013-03-28 Roland McGrath <roland@hack.frob.com>
29339 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29340 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29341 magic __ehdr_start linker symbol if it's defined.
29342 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29343 them up here if it was already done.
29345 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29346 (_dl_aux_init): Use const in cast when setting it.
29347 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29348 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29349 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29351 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29353 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29354 * csu/libc-tls.c: Nor here.
29355 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29357 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29358 (__libc_message): Never call vsyslog.
29360 2013-03-28 Alan Modra <amodra@gmail.com>
29362 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29364 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29367 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29370 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29374 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29377 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29378 Don't add gid passed as argument.
29380 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29382 2013-03-27 Joseph Myers <joseph@codesourcery.com>
29385 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29386 imaginary part between 1.0 and 1.5 and real part less than 0.5
29388 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29389 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29390 * math/libm-test.inc (cacos_test): Add more tests.
29391 (casin_test): Likewise.
29392 (casinh_test): Likewise.
29393 * sysdeps/i386/fpu/libm-test-ulps: Update.
29394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29396 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29398 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29401 (denorm): Likewise.
29402 (__dbl_mp): Likewise.
29403 (add_magnitudes): Likewise.
29404 (sub_magnitudes): Likewise.
29412 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29414 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29415 (__dubcos): Likewise.
29416 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29417 (__ieee754_acos): Likewise.
29418 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29419 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29420 (__exp1): Likewise.
29421 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29424 (my_log2): Likewise.
29425 (checkint): Likewise.
29426 * sysdeps/ieee754/dbl-64/e_remainder.c
29427 (__ieee754_remainder): Likewise.
29428 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29430 (bsloww): Likewise.
29431 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29433 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29434 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29435 MANTISSA_STORE_T to store computations on mantissa. Use
29436 macros for rounding and division.
29437 (denorm): Likewise.
29438 (__dbl_mp): Likewise.
29439 (add_magnitudes): Likewise.
29440 (sub_magnitudes): Likewise.
29443 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29444 powers of two in terms of TWOPOW macro.
29445 (mp_no): Make type of mantissa as MANTISSA_T.
29446 [!RADIXI]: Define RADIXI.
29447 [!TWO52]: Define TWO52.
29448 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29450 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29452 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29453 llroundl symbol when building for PPC32.
29455 2013-03-24 Mark H Weaver <mhw@netris.org>
29457 * manual/arith.texi (Normalization Functions): Fix prototypes for
29458 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29460 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29463 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29464 high value to check if expl overflow.
29465 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29466 to check for underflow and overflow.
29467 * math/libm-test.inc: Add exp test.
29469 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29472 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29475 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29477 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29480 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29482 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29483 wrap blocks consisting of several statements.
29485 * sysdeps/generic/math-tests.h: New file.
29486 * sysdeps/i386/fpu/math-tests.h: Likewise.
29487 * math/test-snan.c: Include it.
29488 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29490 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29493 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29494 (__ieee754_j0l): Do not improve calculations using cos of twice
29495 input for inputs above LDBL_MAX / 2.0L.
29496 (__ieee754_y0l): Likewise.
29497 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29498 (__ieee754_j1l): Do not improve calculations using cos of twice
29499 input for inputs above LDBL_MAX / 2.0L.
29500 (__ieee754_y1l): Likewise.
29501 * math/libm-test.inc (j0_test): Add another test.
29502 (j1_test): Likewise.
29503 (y0_test): Likewise.
29504 (y1_test): Likewise.
29505 * sysdeps/i386/fpu/libm-test-ulps: Update.
29507 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29509 * Rules ($(objpfx)bench-%.c): Include code from a C source
29512 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29515 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29516 imaginary part 1.0 and real part less than 0.5 specially.
29517 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29518 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29519 * math/libm-test.inc (cacos_test): Add more tests.
29520 (casin_test): Likewise.
29521 (casinh_test): Likewise.
29522 * sysdeps/i386/fpu/libm-test-ulps: Update.
29523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29525 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29527 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29528 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29530 2013-03-20 Joseph Myers <joseph@codesourcery.com>
29532 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29533 * config.make.in (config-cflags-sse4): Remove variable.
29534 (config-cflags-avx): Likewise.
29535 (config-cflags-sse2avx): Likewise.
29536 (config-cflags-novzeroupper): Likewise.
29537 (config-asflags-i686): Likewise.
29538 (have-mfma4): Likewise.
29539 (have-as-vis3): Likewise.
29541 * configure.in (MIG): Do not AC_SUBST.
29542 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29543 (libc_cv_cc_sse4): Do not AC_SUBST.
29544 (libc_cv_cc_avx): Likewise.
29545 (libc_cv_cc_sse2avx): Likewise.
29546 (libc_cv_cc_novzeroupper): Likewise.
29547 (libc_cv_cc_fma4): Likewise.
29548 (libc_cv_as_i686): Likewise.
29549 (libc_cv_sparc_as_vis3): Likewise.
29550 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29552 (config-asflags-i686): Likewise.
29553 (config-cflags-avx): Likewise.
29554 (config-cflags-sse2avx): Likewise.
29555 (have-mfma4): Likewise.
29556 (config-cflags-novzeroupper): Likewise.
29557 * sysdeps/mach/configure.in (MIG): Likewise.
29558 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29559 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29561 (config-cflags-avx): Likewise.
29562 (config-cflags-sse2avx): Likewise.
29563 (have-mfma4): Likewise.
29564 (config-cflags-novzeroupper): Likewise.
29565 * configure: Regenerated.
29566 * sysdeps/i386/configure: Likewise.
29567 * sysdeps/mach/configure: Likewise.
29568 * sysdeps/sparc/configure: Likewise.
29569 * sysdeps/x86_64/configure: Likewise.
29571 2013-03-20 Roland McGrath <roland@hack.frob.com>
29574 * locale/programs/localedef.c (options): Put N_ translation marker
29575 on argument names, not just descriptions.
29577 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29579 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29581 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
29584 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29586 2013-03-19 Roland McGrath <roland@hack.frob.com>
29588 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29589 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29590 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29591 [!BEFORE_ABORT] (before_abort): New function.
29592 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29593 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29594 (writev_for_fatal): New function.
29595 (WRITEV_FOR_FATAL): New macro; call that.
29596 (backtrace_and_maps): New function.
29597 (BEFORE_ABORT): New macro; call that.
29598 (struct str_list): Type removed.
29599 (__libc_message, __libc_fatal): Functions removed.
29600 Include <sysdeps/posix/libc_fatal.c> instead.
29602 2013-03-19 Joseph Myers <joseph@codesourcery.com>
29604 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29606 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29609 2013-03-19 Andreas Schwab <schwab@suse.de>
29611 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29612 * sysdeps/gnu/configure: Regenerate.
29614 * configure.in: Substitute libc_cv_rtlddir.
29615 * configure: Regenerate.
29616 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29617 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29618 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29619 * elf/Makefile (install-others, CFLAGS-interp.c)
29620 (ldso_install, common-ldd-rewrite): Likewise.
29621 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29622 $(inst_slibdir)/$(rtld-installed-name).
29623 * scripts/rellns-sh: Add -p option.
29624 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29627 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29629 * manual/nptl.texi: Renamed to ...
29630 * manual/threads.texi: ... this.
29631 * manual/Makefile (chapters): Update.
29633 2013-03-18 Roland McGrath <roland@hack.frob.com>
29636 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29637 on argument names, not just descriptions.
29638 * malloc/memusagestat.c (options): Likewise.
29639 * nss/getent.c (options): Likewise.
29641 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
29644 * iconv/iconv_prog.c (options): Put N_ translation marker
29645 on argument names, not just descriptions.
29646 * iconv/iconvconfig.c (options): Likewise.
29648 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
29650 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29651 implementation which is faster on all x86_64 architectures.
29652 Tested on AMD, Intel Nehalem, SNB, IVB.
29653 * sysdeps/x86_64/strnlen.S: Likewise.
29655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29656 Remove all multiarch strlen and strnlen versions.
29657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29658 Remove strlen and strnlen related parts.
29660 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29661 Inline strlen part.
29662 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29664 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29665 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29666 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29667 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29668 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29669 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29671 2013-03-17 Carlos O'Donell <carlos@redhat.com>
29673 * manual/memory.texi (Malloc Tunable Parameters):
29674 Sort parameters alphabetically. Add comments for missing entries.
29676 2013-03-17 David S. Miller <davem@davemloft.net>
29678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29680 2013-03-16 Joseph Myers <joseph@codesourcery.com>
29683 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29684 for arguments at most half maximum finite value.
29685 * math/libm-test.inc (j0_test): Add more tests.
29686 (j1_test): Likewise.
29687 (y0_test): Likewise.
29688 (y1_test): Likewise.
29689 * sysdeps/i386/fpu/libm-test-ulps: Update.
29690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29693 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29694 1 / x and functions P and Q for arguments above 0x1p256L.
29695 (__ieee754_y0l): Likewise.
29696 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29697 (__ieee754_y1l): Likewise.
29698 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29699 (j1_test): Likewise.
29700 (y0_test): Likewise.
29701 (y1_test): Likewise.
29703 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29705 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29708 2013-03-15 Roland McGrath <roland@hack.frob.com>
29710 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29711 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29712 zero since it's initialized to EXEC_PAGESIZE.
29714 * sysdeps/unix/sysv/linux/ldsodefs.h
29715 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29716 * sysdeps/generic/ldsodefs.h: ... here.
29718 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29720 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29722 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29724 * math/test-snan.c: Renamed from
29725 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29726 * math/Makefile (tests): Add test-snan.
29727 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29730 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29731 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29733 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29734 __builtin_nan family of functions.
29735 * math/libm-test.inc (initialize): Initialize qnan_value with
29736 __builtin_nan family of functions.
29737 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29739 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29741 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29742 storage class. Initialize qNaN_var and sNaN_var with
29743 __builtin_nan and __builtin_nans families of functions,
29746 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29747 (sqrt_test): Remove duplicate test with qNaN input.
29748 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29749 (round_test, signbit_test, significand_test): Note missing +/-Inf
29750 as well as qNaN tests.
29752 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29753 qNaN_var. Fix a few strings, too.
29754 * math/libm-test.inc (nan_value): Rename to qnan_value.
29755 * math/gen-libm-test.pl (%beautify): Adjust to that.
29756 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29757 * math/test-misc.c (main): Likewise.
29758 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29759 to __qnan_bytes, and __qnan_union, respectively.
29760 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29762 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29763 and lqnanval, respectively.
29764 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29765 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29766 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29767 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29769 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29770 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29773 * math/test-misc.c (main): Fix copy'n'pastos.
29774 * misc/tst-efgcvt.c (special): Likewise.
29776 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29777 Remove declarations.
29779 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29781 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29782 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29783 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29784 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29786 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29788 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29789 macro to return vdso values correctly in IFUNC implementations.
29790 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29791 Optimization by using IFUNC.
29793 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29794 Richard Henderson <rth@redhat.com>
29795 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29797 * Makefile.in (bench): New target.
29798 * NEWS: Mention the benchmark framework.
29799 * Rules (bench): Likewise.
29800 (binaries-bench): Generate binaries for functions to
29802 * benchtests/Makefile: New makefile for benchmark tests.
29803 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29805 * benchtests/exp-inputs: New input file for EXP function.
29806 * benchtests/pow-inputs: New input file for POW function.
29807 * scripts/bench.pl: New script to generate source files for
29808 benchmark programs.
29810 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29812 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29813 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29814 computations on mantissa. Use macros for rounding and
29816 (denorm): Likewise.
29817 (__dbl_mp): Likewise.
29818 (add_magnitudes): Likewise.
29819 (sub_magnitudes): Likewise.
29822 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29823 powers of two in terms of TWOPOW macro.
29824 (mp_no): Make type of mantissa as MANTISSA_T.
29825 [!RADIXI]: Define RADIXI.
29826 [!TWO52]: Define TWO52.
29827 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29829 * manual/nptl.texi (cindex): Modify threads to pthreads.
29831 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29833 * sysdeps/x86_64/preconfigure: Regenerated.
29835 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29838 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29840 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29841 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29843 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29844 * math/libm-test.inc (j0_test): Do not allow one spurious
29845 underflow exception.
29846 (y1_test): Likewise.
29848 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29850 * manual/Makefile (chapters): Add nptl.
29851 * manual/debug.texi (Debugging Support): Add link to Threads
29853 * manual/nptl.texi: New file.
29855 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29857 2013-03-14 Petr Baudis <pasky@ucw.cz>
29859 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29860 for non-NULL pointer before the memory validity test. Pointed
29861 out by Holger Brunck <holger.brunck@keymile.com>.
29863 2013-03-13 Andreas Schwab <schwab@suse.de>
29865 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29868 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29870 * timezone/zic.c: Update from tzcode 2013b.
29872 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29874 * manual/install.texi (Configuring and compiling):
29875 Mention i686 and i586.
29876 * INSTALL: Regenerate.
29878 2013-03-12 Roland McGrath <roland@hack.frob.com>
29880 * sysdeps/init_array/elf-init.c: New file.
29882 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29883 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29885 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29886 __gmon_start__ as global, but as static with a .preinit_array pointer.
29887 * sysdeps/init_array/gmon-start.c: New file. Use that.
29888 * sysdeps/init_array/crti.S: New file, empty except for comments.
29889 * sysdeps/init_array/crtn.S: Likewise.
29891 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29893 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29896 Remove Prefer_SSE_for_memop.
29897 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29898 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29899 HAS_PREFER_SSE_FOR_MEMOP.
29900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29902 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29903 Remove bzero, memset ifunc support.
29904 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29905 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29906 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29907 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29909 2013-03-11 Andreas Schwab <schwab@suse.de>
29912 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29915 (GLIBC_2.16): Remove pthread_atfork.
29917 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29919 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29920 (ptestcases.h): Likewise.
29922 2013-03-08 Roland McGrath <roland@hack.frob.com>
29924 * Makeconfig ($(common-objpfx)config.status): Depend on
29925 sysdeps/*/preconfigure{,.in} too.
29927 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29929 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29930 (__free_hook): Use void * instead of __malloc_ptr_t.
29931 (__malloc_hook): Likewise.
29932 (__realloc_hook): Likewise.
29933 (__memalign_hook): Likewise.
29934 (__after_morecore_hook): Likewise.
29935 * malloc/arena.c (save_malloc_hook): Likewise.
29936 (save_free_hook): Likewise.
29937 * malloc/hooks.c (malloc_hook_ini): Likewise.
29938 (realloc_hook_ini): Likewise.
29939 (memalign_hook_ini): Likewise.
29940 * malloc/malloc.c (malloc_hook_ini): Likewise.
29941 (realloc_hook_ini): Likewise.
29942 (memalign_hook_ini): Likewise.
29943 (__free_hook): Likewise.
29944 (__malloc_hook): Likewise.
29945 (__realloc_hook): Likewise.
29946 (__memalign_hook): Likewise.
29947 (__libc_malloc): Likewise.
29948 (__libc_free): Likewise.
29949 (__libc_realloc): Likewise.
29950 (__libc_memalign): Likewise.
29951 (__libc_valloc): Likewise.
29952 (__libc_pvalloc): Likewise.
29953 (__libc_calloc): Likewise.
29954 (__posix_memalign): Likewise.
29955 * malloc/morecore.c (__sbrk): Likewise.
29956 (__default_morecore): Likewise.
29958 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29960 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29961 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29962 __malloc_ptrdiff_t.
29964 * malloc/malloc.h (__malloc_size_t): Remove macro.
29965 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29967 (old_memalign_hook): Likewise.
29968 (old_realloc_hook): Likewise.
29969 (struct hdr): Likewise.
29971 (mallochook): Likewise.
29972 (memalignhook): Likewise.
29973 (reallochook): Likewise.
29974 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29975 (tr_old_realloc_hook): Likewise.
29976 (tr_old_memalign_hook): Likewise.
29977 (tr_mallochook): Likewise.
29978 (tr_reallochook): Likewise.
29979 (tr_memalignhook): Likewise.
29981 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29983 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29984 default_ldbl_pack and using as default implementation.
29985 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29987 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29988 redundant definition.
29989 (ldbl_insert_mantissa): Likewise.
29990 (ldbl_canonicalize): Likewise.
29991 (ldbl_nearbyint): Likewise.
29992 (ldbl_pack): Rename to ldbl_pack_ppc.
29993 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29994 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29995 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29997 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30000 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30001 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30002 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30004 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30005 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30006 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30008 2013-03-07 Andreas Jaeger <aj@suse.de>
30010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30013 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30015 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30016 Include mpa.h and declare __MPEXP.
30017 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30018 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30019 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30020 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30021 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30022 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30023 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30025 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30026 (__slowpow): Use long double EXPL and LOGL functions to
30028 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30029 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30030 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30031 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30032 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30033 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30036 intermediate variable to calculate exponent.
30038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30042 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30043 [!NO__SQR]: Define __sqr.
30044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30045 and NO__SQR. Remove all code except __mul and __sqr. Include
30046 sysdeps/ieee754/dbl-64/mpa.c.
30047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30050 * posix/Makefile (tests): Add tst-pathconf.
30051 * posix/tst-pathconf.c: New test case.
30052 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30054 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30056 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30058 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30060 2013-03-06 Andreas Jaeger <aj@suse.de>
30062 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30063 definition via __MAP_ANONYMOUS.
30065 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30066 it's not part of Linux headers.
30068 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30069 (MAP_HUGE_MASK): Define.
30071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30073 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30074 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30076 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30077 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30079 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30080 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30082 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30084 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30085 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30086 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30087 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30088 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30089 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30091 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30094 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30095 Handle f2fs and efivarfs.
30097 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30100 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30101 (EFIVARFS_MAGIC): Add.
30102 (F2FS_LINK_MAX): Add.
30104 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30106 * stdio-common/vfprintf.c: Replace __builtin_expect with
30109 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30112 * sysdeps/generic/bp-sym.h: Remove file.
30113 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30114 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30115 <bp-sym.h> and <bp-asm.h>.
30116 (__longjmp): Don't use BP_SYM.
30117 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30119 (memcpy): Don't use BP_SYM.
30120 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30121 <bp-sym.h> and <bp-asm.h>.
30122 (memcpy): Don't use BP_SYM.
30123 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30125 (memcpy): Don't use BP_SYM.
30126 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30128 (memset): Don't use BP_SYM.
30129 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30130 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30131 (__bzero): Don't use BP_SYM.
30132 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30133 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30134 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30135 <bp-sym.h> and <bp-asm.h>.
30136 (memcmp): Don't use BP_SYM. Remove comment about bounded
30138 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30139 <bp-sym.h> and <bp-asm.h>.
30140 (memcpy): Don't use BP_SYM.
30141 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30142 <bp-sym.h> and <bp-asm.h>.
30143 (memset): Don't use BP_SYM.
30144 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30145 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30146 (__bzero): Don't use BP_SYM.
30147 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30148 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30149 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30150 <bp-sym.h> and <bp-asm.h>.
30151 (strncmp): Don't use BP_SYM. Remove comment about bounded
30153 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30154 <bp-sym.h> and <bp-asm.h>.
30155 (memcpy): Don't use BP_SYM.
30156 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30157 <bp-sym.h> and <bp-asm.h>.
30158 (memset): Don't use BP_SYM.
30159 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30160 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30161 (__bzero): Don't use BP_SYM.
30162 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30163 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30164 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30165 <bp-sym.h> and <bp-asm.h>.
30166 (__memchr): Don't use BP_SYM.
30167 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30168 <bp-sym.h> and <bp-asm.h>.
30169 (memcmp): Don't use BP_SYM. Remove comment about bounded
30171 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30172 <bp-sym.h> and <bp-asm.h>.
30173 (memcpy): Don't use BP_SYM.
30174 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30175 <bp-sym.h> and <bp-asm.h>.
30176 (__mempcpy): Don't use BP_SYM.
30177 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30178 <bp-sym.h> and <bp-asm.h>.
30179 (__memrchr): Don't use BP_SYM.
30180 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30181 <bp-sym.h> and <bp-asm.h>.
30182 (memset): Don't use BP_SYM.
30183 (__bzero): Likewise.
30184 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30185 <bp-sym.h> and <bp-asm.h>.
30186 (__rawmemchr): Don't use BP_SYM.
30187 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30188 <bp-sym.h> and <bp-asm.h>.
30189 (__STRCMP): Don't use BP_SYM.
30190 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30191 <bp-sym.h> and <bp-asm.h>.
30192 (strchr): Don't use BP_SYM.
30193 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30194 <bp-sym.h> and <bp-asm.h>.
30195 (__strchrnul): Don't use BP_SYM.
30196 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30197 <bp-sym.h> and <bp-asm.h>.
30198 (strlen): Don't use BP_SYM.
30199 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30200 <bp-sym.h> and <bp-asm.h>.
30201 (strncmp): Don't use BP_SYM. Remove comment about bounded
30203 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30204 <bp-sym.h> and <bp-asm.h>.
30205 (__strnlen): Don't use BP_SYM.
30206 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30207 <bp-sym.h> and <bp-asm.h>.
30208 (__GI__setjmp): Don't use BP_SYM.
30209 (_setjmp): Likewise.
30210 (__sigsetjmp): Likewise.
30211 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30212 (L(start_addresses)): Don't use BP_SYM.
30213 (_start): Likewise.
30214 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30216 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30217 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30218 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30219 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30220 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30222 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30223 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30224 about bounded pointers.
30225 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30226 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30227 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30229 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30230 about bounded pointers. Remove GKM FIXME comments.
30231 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30232 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30234 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30235 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30236 Remove GKM FIXME comments.
30237 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30238 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30239 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30241 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30242 about bounded pointers. Remove GKM FIXME comment.
30243 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30245 (strncmp): Don't use BP_SYM. Remove comment about bounded
30247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30248 <bp-sym.h> and <bp-asm.h>.
30249 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30251 <bp-sym.h> and <bp-asm.h>.
30252 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30255 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30257 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30260 2013-03-05 David S. Miller <davem@davemloft.net>
30262 * po/es.po: Update from translation team.
30264 2013-03-05 Andreas Jaeger <aj@suse.de>
30266 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30267 <bits/mman-linux.h>.
30268 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30270 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30271 <bits/mman-linux.h> to end of file.
30272 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30274 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30275 <bits/mman-linux.h> to end of file.
30276 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30278 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30279 <bits/mman-linux.h> to end of file.
30281 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30282 (MCL_CURRENT, MCL_FUTURE): Define here.
30284 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30287 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30289 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30291 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30293 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30294 fourth parameter needed for rt_sigprocmask syscall.
30295 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30296 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30297 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30298 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30299 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30300 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30302 2013-03-04 Joseph Myers <joseph@codesourcery.com>
30305 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30306 comment about bounded pointers.
30307 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30308 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30310 2013-03-04 Andreas Jaeger <aj@suse.de>
30312 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30313 common definitions.
30315 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30316 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30317 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30318 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30319 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30320 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30322 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30325 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30326 __ieee754_sqrl instead of __sqrl.
30328 2013-03-01 Joseph Myers <joseph@codesourcery.com>
30330 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30331 * sysdeps/powerpc/fpu_control.h: ... here.
30332 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30333 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30334 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30335 * sysdeps/powerpc/bits/mathinline.h: ... here.
30337 2013-03-01 Roland McGrath <roland@hack.frob.com>
30339 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30340 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30341 to just [NEED_DL_SYSINFO_DSO].
30342 * elf/dl-support.c: Likewise.
30343 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30344 * elf/rtld.c (dl_main): Likewise.
30345 * elf/setup-vdso.h (setup_vdso): Likewise.
30346 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30347 * sysdeps/unix/sysv/linux/dl-sysdep.c
30348 (_dl_discover_osversion): Likewise.
30350 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30352 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30353 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30355 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30357 * NEWS: Mention libm performance improvements and non-x86 PI
30360 * csu/libc-start.c (__pthread_initialize_minimal): Change
30361 function arguments.
30362 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30364 2013-02-28 Joseph Myers <joseph@codesourcery.com>
30367 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30368 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30369 <bp-sym.h> and <bp-asm.h>.
30370 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30371 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30373 (memcpy): Don't use BP_SYM.
30374 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30376 (__mpn_add_n): Don't use BP_SYM.
30377 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30378 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30380 (__mpn_addmul_1): Don't use BP_SYM.
30381 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30382 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30384 (_setjmp): Don't use BP_SYM.
30385 (__novmx_setjmp): Likewise.
30386 (__GI__setjmp): Likewise.
30387 (__vmx_setjmp): Likewise.
30388 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30390 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30391 (__bzero): Don't use BP_SYM.
30392 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30393 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30394 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30395 <bp-sym.h> and <bp-asm.h>.
30396 (memcpy): Don't use BP_SYM.
30397 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30398 <bp-sym.h> and <bp-asm.h>.
30399 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30400 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30401 <bp-sym.h> and <bp-asm.h>.
30402 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30403 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30405 (__mpn_lshift): Don't use BP_SYM.
30406 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30407 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30409 (memset): Don't use BP_SYM.
30410 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30411 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30412 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30414 (__mpn_mul_1): Don't use BP_SYM.
30415 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30416 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30417 <bp-sym.h> and <bp-asm.h>.
30418 (memcmp): Don't use BP_SYM.
30419 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30420 <bp-sym.h> and <bp-asm.h>.
30421 (memcpy): Don't use BP_SYM.
30422 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30423 <bp-sym.h> and <bp-asm.h>.
30424 (memset): Don't use BP_SYM.
30425 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30426 <bp-sym.h> and <bp-asm.h>.
30427 (strncmp): Don't use BP_SYM.
30428 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30429 <bp-sym.h> and <bp-asm.h>.
30430 (memcpy): Don't use BP_SYM.
30431 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30432 <bp-sym.h> and <bp-asm.h>.
30433 (memset): Don't use BP_SYM.
30434 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30435 <bp-sym.h> and <bp-asm.h>.
30436 (__memchr): Don't use BP_SYM.
30437 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30438 <bp-sym.h> and <bp-asm.h>.
30439 (memcmp): Don't use BP_SYM.
30440 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30441 <bp-sym.h> and <bp-asm.h>.
30442 (memcpy): Don't use BP_SYM.
30443 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30444 <bp-sym.h> and <bp-asm.h>.
30445 (__mempcpy): Don't use BP_SYM.
30446 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30447 <bp-sym.h> and <bp-asm.h>.
30448 (__memrchr): Don't use BP_SYM.
30449 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30450 <bp-sym.h> and <bp-asm.h>.
30451 (memset): Don't use BP_SYM.
30452 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30453 <bp-sym.h> and <bp-asm.h>.
30454 (__rawmemchr): Don't use BP_SYM.
30455 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30456 <bp-sym.h> and <bp-asm.h>.
30457 (__STRCMP): Don't use BP_SYM.
30458 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30459 <bp-sym.h> and <bp-asm.h>.
30460 (strchr): Don't use BP_SYM.
30461 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30462 <bp-sym.h> and <bp-asm.h>.
30463 (__strchrnul): Don't use BP_SYM.
30464 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30465 <bp-sym.h> and <bp-asm.h>.
30466 (strlen): Don't use BP_SYM.
30467 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30468 <bp-sym.h> and <bp-asm.h>.
30469 (strncmp): Don't use BP_SYM.
30470 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30471 <bp-sym.h> and <bp-asm.h>.
30472 (__strnlen): Don't use BP_SYM.
30473 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30475 (__mpn_rshift): Don't use BP_SYM.
30476 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30477 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30478 <bp-sym.h> and <bp-asm.h>.
30479 (__sigsetjmp): Don't use BP_SYM.
30480 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30481 (L(start_addresses)): Don't use BP_SYM.
30482 (_start): Likewise.
30483 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30485 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30486 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30487 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30488 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30490 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30491 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30492 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30493 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30495 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30497 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30498 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30500 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30502 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30503 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30504 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30506 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30508 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30510 (strncmp): Don't use BP_SYM,
30511 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30513 (__mpn_sub_n): Don't use BP_SYM.
30514 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30515 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30517 (__mpn_submul_1): Don't use BP_SYM.
30518 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30520 <bp-sym.h> and <bp-asm.h>.
30521 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30523 <bp-sym.h> and <bp-asm.h>.
30524 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30527 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30530 Use ZK to minimize writes to Z.
30531 (sub_magnitudes): Simplify code a bit.
30532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30533 Use ZK to minimize writes to Z.
30534 (sub_magnitudes): Simplify code a bit.
30536 2013-02-27 Roland McGrath <roland@hack.frob.com>
30538 * csu/gmon-start.c: Add special exception to license text.
30540 2013-02-27 Richard Henderson <rth@redhat.com>
30542 * scripts/config.guess: Update from config.git.
30543 * scripts/config.sub: Likewise.
30545 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30547 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30549 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30551 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30553 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30555 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30557 2013-02-26 Roland McGrath <roland@hack.frob.com>
30559 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30560 [$(build-shared = yes].
30562 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30564 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30565 (__mul): Reduce iterations for calculating mantissa.
30567 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30569 (__mpranred): Likewise.
30572 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30573 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30575 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30577 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30578 Define __attribute__.
30580 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30582 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30584 * posix/regex_internal.h (__attribute): Remove.
30585 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30586 (re_string_context_at): Likewise.
30587 (bitset_not): Use __attribute__ and mark function as possibly
30589 (bitset_merge): Likewise.
30590 (bitset_mask): Likewise.
30591 (re_string_char_size_at): Likewise.
30592 (re_string_wchar_at): Likewise.
30593 (re_string_elem_size_at): Likewise.
30595 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30597 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30601 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30605 (denorm): Likewise.
30606 (__dbl_mp): Likewise.
30607 (add_magnitudes): Likewise.
30608 (sub_magnitudes): Likewise.
30612 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30615 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30618 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30622 up changes with default code.
30623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30626 2013-02-24 Allan McRae <allan@archlinux.org>
30628 * manual/socket.texi (The Internet Namespace): Order menu items
30629 to match that in the file.
30631 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30632 node listing of the info page menu.
30634 2013-02-21 Joseph Myers <joseph@codesourcery.com>
30637 * sysdeps/i386/bp-asm.h: Remove file.
30638 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30639 (PARMS): Do not use macros from bp-asm.h.
30643 (__mpn_add_n): Do not use BP_SYM
30644 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30646 (PARMS): Do not use macros from bp-asm.h.
30649 (__mpn_addmul_1): Do not use BP_SYM
30650 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30652 (PARMS): Do not use macros from bp-asm.h.
30653 (SIGMSK): Likewise.
30654 (_setjmp): Likewise. Do not use BP_SYM.
30655 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30657 (PARMS): Do not use macros from bp-asm.h.
30658 (SIGMSK): Likewise.
30659 (setjmp): Likewise. Do not use BP_SYM.
30660 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30662 (PARMS): Do not use macros from bp-asm.h.
30663 (__frexp): Do not use BP_SYM.
30665 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30667 (PARMS): Do not use macros from bp-asm.h.
30668 (__frexpf): Do not use BP_SYM.
30669 (frexpf): Likewise.
30670 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30672 (PARMS): Do not use macros from bp-asm.h.
30673 (__frexpl): Do not use BP_SYM.
30674 (frexpl): Likewise.
30675 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30677 (PARMS): Do not use macros from bp-asm.h.
30678 (__remquo): Do not use BP_SYM.
30679 (remquo): Likewise.
30680 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30682 (PARMS): Do not use macros from bp-asm.h.
30683 (__remquof): Do not use BP_SYM.
30684 (remquof): Likewise.
30685 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30687 (PARMS): Do not use macros from bp-asm.h.
30688 (__remquol): Do not use BP_SYM.
30689 (remquol): Likewise.
30690 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30692 (PARMS): Do not use macros from bp-asm.h.
30695 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30696 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30698 (PARMS): Do not use macros from bp-asm.h.
30699 (strlen): Do not use BP_SYM.
30700 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30702 (PARMS): Do not use macros from bp-asm.h.
30706 (__mpn_add_n): Do not use BP_SYM.
30707 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30709 (PARMS): Do not use macros from bp-asm.h.
30712 (__mpn_addmul_1): Do not use BP_SYM.
30713 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30716 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30718 (PARMS): Do not use macros from bp-asm.h.
30721 (__mpn_lshift): Do not use BP_SYM.
30722 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30724 (PARMS): Do not use macros from bp-asm.h.
30728 (memcpy): Likewise. Do not use BP_SYM.
30729 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30730 libc_hidden_def and weak_alias.
30731 (mempcpy): Do not use BP_SYM in weak_alias.
30732 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30734 (PARMS): Do not use macros from bp-asm.h.
30737 [!BZERO_P] (CHR): Likewise.
30738 (memset): Likewise. Do not use BP_SYM.
30739 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30741 (PARMS): Do not use macros from bp-asm.h.
30744 (__mpn_mul_1): Do not use BP_SYM.
30745 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30747 (PARMS): Do not use macros from bp-asm.h.
30750 (__mpn_rshift): Do not use BP_SYM.
30751 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30753 (PARMS): Do not use macros from bp-asm.h.
30756 (strchr): Likewise. Do not use BP_SYM.
30757 (index): Do not use BP_SYM in weak_alias.
30758 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30760 (PARMS): Do not use macros from bp-asm.h.
30763 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30764 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30766 (PARMS): Do not use macros from bp-asm.h.
30767 (strlen): Do not use BP_SYM.
30768 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30770 (PARMS): Do not use macros from bp-asm.h.
30774 (__mpn_sub_n): Do not use BP_SYM.
30775 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30777 (PARMS): Do not use macros from bp-asm.h.
30780 (__mpn_submul_1): Do not use BP_SYM.
30781 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30783 (PARMS): Do not use macros from bp-asm.h.
30787 (__mpn_add_n): Do not use BP_SYM.
30788 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30791 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30793 (PARMS): Do not use macros from bp-asm.h.
30796 (memcmp): Do not use BP_SYM.
30797 (bcmp): Do not use BP_SYM in weak_alias.
30798 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30800 (PARMS): Do not use macros from bp-asm.h.
30804 (memcpy): Likewise. Do not use BP_SYM.
30805 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30807 (PARMS): Do not use macros from bp-asm.h.
30811 (memmove): Likewise. Do not use BP_SYM.
30812 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30814 (PARMS): Do not use macros from bp-asm.h.
30818 (__mempcpy): Likewise. Do not use BP_SYM.
30819 (mempcpy): Do not use BP_SYM in weak_alias.
30820 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30822 (PARMS): Do not use macros from bp-asm.h.
30825 [!BZERO_P] (CHR): Likewise.
30826 (memset): Likewise. Do not use BP_SYM.
30827 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30829 (PARMS): Do not use macros from bp-asm.h.
30831 (strcmp): Do not use BP_SYM.
30832 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30834 (PARMS): Do not use macros from bp-asm.h.
30837 [USE_AS_STRTOK_R] (SAVE): Likewise.
30838 (FUNCTION): Likewise. Do not use BP_SYM.
30839 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30841 (strtok_r): Likewise.
30842 (__GI___strtok_r): Likewise.
30843 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30844 (PARMS): Do not use macros from bp-asm.h.
30847 (__mpn_lshift): Do not use BP_SYM.
30848 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30849 (PARMS): Do not use macros from bp-asm.h.
30852 (__memchr): Do not use BP_SYM.
30853 (memchr): Do not use BP_SYM in weak_alias.
30854 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30855 (PARMS): Do not use macros from bp-asm.h.
30858 (memcmp): Do not use BP_SYM.
30859 (bcmp): Do not use BP_SYM in weak_alias.
30860 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30861 (PARMS): Do not use macros from bp-asm.h.
30864 (__mpn_mul_1): Do not use BP_SYM.
30865 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30867 (PARMS): Do not use macros from bp-asm.h.
30870 (__rawmemchr): Do not use BP_SYM.
30871 (rawmemchr): Do not use BP_SYM in weak_alias.
30872 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30873 (PARMS): Do not use macros from bp-asm.h.
30876 (__mpn_rshift): Do not use BP_SYM.
30877 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30878 (PARMS): Do not use macros from bp-asm.h.
30879 (SIGMSK): Likewise.
30880 (__sigsetjmp): Likewise. Do not use BP_SYM.
30881 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30882 (_start): Do not use BP_SYM.
30883 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30884 (PARMS): Do not use macros from bp-asm.h.
30887 (__stpcpy): Likewise. Do not use BP_SYM.
30888 (stpcpy): Do not use BP_SYM in weak_alias.
30889 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30891 (PARMS): Do not use macros from bp-asm.h.
30895 (__stpncpy): Likewise. Do not use BP_SYM.
30896 (stpncpy): Do not use BP_SYM in weak_alias.
30897 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30898 (PARMS): Do not use macros from bp-asm.h.
30901 (strchr): Likewise. Do not use BP_SYM.
30902 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30904 (PARMS): Do not use macros from bp-asm.h.
30907 (__strchrnul): Likewise. Do not use BP_SYM.
30908 (strchrnul): Do not use BP_SYM in weak_alias.
30909 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30911 (PARMS): Do not use macros from bp-asm.h.
30913 (strcspn): Do not use BP_SYM.
30914 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30916 (PARMS): Do not use macros from bp-asm.h.
30919 (strpbrk): Likewise. Do not use BP_SYM.
30920 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30922 (PARMS): Do not use macros from bp-asm.h.
30925 (strrchr): Likewise. Do not use BP_SYM.
30926 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30927 (PARMS): Do not use macros from bp-asm.h.
30929 (strspn): Do not use BP_SYM.
30930 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30931 (PARMS): Do not use macros from bp-asm.h.
30935 (FUNCTION): Likewise. Do not use BP_SYM.
30936 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30938 (strtok_r): Likewise.
30939 (__GI___strtok_r): Likewise.
30940 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30941 (PARMS): Do not use macros from bp-asm.h.
30945 (__mpn_sub_n): Do not use BP_SYM.
30946 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30948 (PARMS): Do not use macros from bp-asm.h.
30951 (__mpn_submul_1): Do not use BP_SYM.
30952 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30954 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30956 (PARMS): Do not use macros from bp-asm.h.
30961 (__clone): Do not use BP_SYM.
30962 (clone): Do not use BP_SYM in weak_alias.
30963 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30965 (PARMS): Do not use macros from bp-asm.h.
30967 (__mmap64): Do not use BP_SYM.
30968 (mmap64): Do not use BP_SYM in weak_alias.
30969 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30970 <bp-sym.h> and <bp-asm.h>.
30971 (PARMS): Do not use macros from bp-asm.h.
30972 (__posix_fadvise64_l64): Do not use BP_SYM.
30973 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30974 (PARMS): Do not use macros from bp-asm.h.
30976 (semtimedop): Do not use BP_SYM.
30977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30980 2013-02-21 Allan McRae <allan@archlinux.org>
30982 * manual/message.texi (Charset conversion in gettext):
30983 Move @end statement to beginning of line.
30985 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30992 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30993 (denorm): Likewise.
30994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30997 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30999 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31000 tail-call to the resolved function if pltexit isn't needed.
31002 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31005 or Y being zero as being unlikely.
31006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31009 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31011 * manual/nss.texi (System Databases and Name Service Switch):
31012 Remove frobnicate @pxref.
31014 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31016 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31017 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31019 2013-02-20 Petr Machata <pmachata@redhat.com>
31021 * elf/elf.h (R_ARM_TARGET1): New macro.
31022 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31023 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31024 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31025 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31026 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31027 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31028 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31029 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31030 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31031 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31032 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31033 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31034 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31035 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31036 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31037 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31038 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31039 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31040 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31041 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31042 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31043 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31044 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31045 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31046 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31047 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31048 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31049 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31050 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31051 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31052 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31053 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31054 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31055 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31056 (R_ARM_THM_GOT_BREL12): Likewise.
31057 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31058 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31059 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31060 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31061 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31062 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31063 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31064 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31065 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31067 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31069 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31070 __attribute_used__ to __attribute__ ((unused)).
31072 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31074 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31077 comment formatting.
31078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31080 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31083 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31085 (ENTER): Remove both macro definitions.
31087 (CHECK_BOUNDS_LOW): Likewise.
31088 (CHECK_BOUNDS_HIGH): Likewise.
31089 (CHECK_BOUNDS_BOTH): Likewise.
31090 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31091 (RETURN_BOUNDED_POINTER): Likewise.
31092 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31093 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31094 (POP_ERRNO_LOCATION_RETURN): Likewise.
31095 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31096 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31097 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31099 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31100 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31101 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31102 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31103 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31104 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31105 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31106 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31107 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31108 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31109 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31110 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31111 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31112 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31114 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31115 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31117 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31118 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31119 * sysdeps/i386/i586/memset.S (memset): Likewise.
31120 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31121 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31122 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31124 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31125 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31126 Change uses of L(2) to L(out).
31127 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31128 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31129 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31130 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31131 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31133 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31134 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31136 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31137 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31138 (RETURN): Do not use macro LEAVE.
31139 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31140 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31141 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31142 * sysdeps/i386/i686/memset.S (memset): Likewise.
31143 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31144 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31145 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31146 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31148 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31149 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31150 L(1_2) and L(1_3) into L(1).
31151 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31152 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31153 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31154 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31155 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31156 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31157 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31158 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31159 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31161 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31162 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31163 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31164 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31165 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31166 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31167 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31168 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31169 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31170 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31171 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31172 * sysdeps/i386/strspn.S (strspn): Likewise.
31173 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31175 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31176 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31177 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31178 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31179 L(1_3) into L(1_1).
31180 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31181 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31182 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31184 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31186 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31188 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31191 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31193 * math/atest-exp.c (exp_mpn): Remove ROUND.
31194 * math/atest-exp2.c (exp_mpn): Likewise.
31195 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31197 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31198 * stdlib/tst-tls-atexit-lib.c: Likewise.
31199 * stdlib/tst-tls-atexit.c: Likewise.
31201 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31203 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31204 and __attribute_alloc_size__.
31206 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31208 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31209 __attribute_alloc_size__.
31210 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31211 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31213 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31215 * include/programs/xmalloc.h: New file.
31216 * catgets/gencat.c: Include it.
31217 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31218 * elf/pldd.c: Likewise.
31219 * iconv/iconv_charmap.c: Likewise.
31220 * iconv/iconvconfig.c: Likewise.
31221 * iconv/strtab.c: Likewise.
31222 * locale/programs/locale.c: Likewise.
31223 * locale/programs/localedef.h: Likewise.
31224 * locale/programs/simple-hash.c: Likewise.
31225 * nscd/nscd.h: Likewise.
31226 * nss/makedb.c: Likewise.
31227 * sysdeps/generic/ldconfig.h: Likewise.
31229 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31231 * Versions.def: Add GLIBC_2.18.
31232 * include/link.h (struct link_map): New member l_tls_dtor_count.
31233 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31234 (__call_tls_dtors): Likewise.
31235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31236 __cxa_thread_atexit_impl.
31237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31245 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31253 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31254 (tests): Add test case tst-tls-atexit.
31255 (modules-names): Add shared library for tst-tls-atexit.
31256 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31257 (GLIBC_PRIVATE): Add __call_tls_dtors.
31258 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31260 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31261 * stdlib/tst-tls-atexit.c: New test case.
31262 * stdlib/tst-tls-atexit-lib.c: New test case.
31264 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31266 * elf/Versions (ld): Add _dl_find_dso_for_object.
31267 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31268 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31269 (dl_open_worker): Use _dl_find_dso_for_object.
31270 * elf/dl-sym.c (do_sym): Likewise.
31271 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31273 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31275 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31276 Syntactic changes only.
31277 (_dl_runtime_profile): Do a tail-call to the resolved function.
31279 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31282 * sysdeps/x86_64/bp-asm.h: Remove file.
31283 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31284 <bp-sym.h> and <bp-asm.h>.
31285 (__clone): Do not use BP_SYM.
31286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31287 <bp-sym.h> and <bp-asm.h>.
31288 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31289 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31291 (_setjmp): Do not use BP_SYM.
31292 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31294 (setjmp): Do not use BP_SYM.
31295 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31297 (mempcpy): Do not use BP_SYM in weak_alias.
31298 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31300 (strchr): Do not use BP_SYM.
31301 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31303 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31304 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31305 (_start): Do not use BP_SYM.
31306 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31308 (strcat): Do not use BP_SYM.
31309 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31311 (STRCMP): Do not use BP_SYM.
31312 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31314 (STRCPY): Do not use BP_SYM.
31315 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31317 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31319 (FUNCTION): Do not use BP_SYM.
31320 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31322 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31324 2013-02-17 Andreas Jaeger <aj@suse.de>
31326 * time/Versions: Sort entries.
31327 * string/Versions: Likewise.
31328 * resolv/Versions: Likewise.
31329 * posix/Versions: Likewise.
31330 * iconv/Versions: Likewise.
31331 * elf/Versions: Likewise.
31332 * wcsmbs/Versions: Likewise.
31334 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31336 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31337 loop termination condition.
31339 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31340 variable to calculate EZ.
31343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31344 the lower precision input.
31346 2013-02-15 Joseph Myers <joseph@codesourcery.com>
31349 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31350 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31351 (run-via-rtld-prefix): Do not handle %-bp tests.
31352 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31353 (all-object-suffixes): Remove .ob.
31354 (bppfx): Remove variable.
31355 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31356 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31357 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31358 [$(build-bounded) = yes] (libtype.ob): Likewise.
31359 * Makerules (elide-routines.ob): Remove variable.
31360 (do-tests-clean): Do not handle *-bp.out.
31361 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31362 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31363 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31364 (tests): Do not include $(tests-bp.out).
31365 (xtests): Do not include $(xtests-bp.out).
31366 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31367 [$(build-bounded) = yes] ($(addprefix
31368 $(objpfx),$(binaries-bounded))): Remove rule.
31369 ($(objpfx)%-bp.out): Remove rule.
31370 * config.make.in (build-bounded): Remove variable.
31371 * crypt/Makefile [$(build-bounded) = yes]
31372 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31373 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31374 append to variable.
31375 [$(build-bounded) = yes] (install-lib): Likewise.
31376 [$(build-bounded) = yes] (generated): Likewise.
31377 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31379 * intl/Makefile [$(build-bounded) = yes]
31380 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31381 * math/Makefile [$(build-bounded) = yes]
31382 ($(tests:%=$(objpfx)%-bp): Likewise.
31383 * misc/Makefile [$(build-bounded) = yes]
31384 ($(objpfx)tst-tsearch-bp): Likewise.
31385 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31386 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31388 * string/Makefile (o-objects.ob): Remove variable.
31389 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31390 (CFLAGS-.ob): Remove variable.
31391 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31392 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31393 both definitions of variable.
31394 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31395 (ASFLAGS-.ob): Remove variable.
31397 2013-02-14 Joseph Myers <joseph@codesourcery.com>
31400 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31401 Remove __BOUNDED_POINTERS__ from condition.
31402 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31403 * string/bits/string2.h [!__NO_STRING_INLINES &&
31404 !__BOUNDED_POINTERS__]: Likewise.
31405 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31407 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31408 Remove conditional code.
31409 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31410 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31411 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31415 * csu/libc-start.c: Do not include <bp-sym.h>.
31416 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31417 * elf/dl-open.c: Do not include <bp-sym.h>.
31418 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31419 * math/fegetenv.c: Do not include <bp-sym.h>.
31420 (fegetenv): Do not use BP_SYM in versioned symbols.
31421 * nptl/sysdeps/pthread/bits/libc-lockP.h
31422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31425 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31427 (__pthread_mutex_destroy): Likewise.
31428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31429 (__pthread_mutex_lock): Likewise.
31430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31431 (__pthread_mutex_trylock): Likewise.
31432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31433 (__pthread_mutex_unlock): Likewise.
31434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31435 (__pthread_mutexattr_init): Likewise.
31436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31437 (__pthread_mutexattr_destroy): Likewise.
31438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31439 (__pthread_mutexattr_settype): Likewise.
31440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31441 (__pthread_rwlock_init): Likewise.
31442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31443 (__pthread_rwlock_destroy): Likewise.
31444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31445 (__pthread_rwlock_rdlock): Likewise.
31446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31447 (__pthread_rwlock_tryrdlock): Likewise.
31448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31449 (__pthread_rwlock_wrlock): Likewise.
31450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31451 (__pthread_rwlock_trywrlock): Likewise.
31452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31453 (__pthread_rwlock_unlock): Likewise.
31454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31455 (__pthread_key_create): Likewise.
31456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31457 (__pthread_setspecific): Likewise.
31458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31459 (__pthread_getspecific): Likewise.
31460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31463 (_pthread_cleanup_push_defer): Likewise.
31464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31465 (_pthread_cleanup_pop_restore): Likewise.
31466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31467 (pthread_setcancelstate): Likewise.
31468 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31470 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31471 (memchr): Do not use BP_SYM in weak_alias.
31472 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31473 (fegetenv): Do not use BP_SYM in versioned symbols.
31474 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31475 (fesetenv): Do not use BP_SYM in versioned symbols.
31476 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31477 (feupdateenv): Do not use BP_SYM in versioned symbols.
31478 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31479 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31480 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31481 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31482 (open64): Do not use BP_SYM in weak_alias.
31483 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31484 (fegetenv): Do not use BP_SYM in versioned symbols.
31485 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31486 (fesetenv): Do not use BP_SYM in versioned symbols.
31487 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31488 (feupdateenv): Do not use BP_SYM in versioned symbols.
31489 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31490 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31491 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31492 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31493 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31494 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31495 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31497 (__libc_start_main): Do not use BP_SYM.
31499 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31502 redundant return line.
31504 (denorm): Likewise.
31505 (dbl_mp): Likewise.
31506 (sub_magnitudes): Likewise.
31512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31514 (denorm): Likewise.
31515 (dbl_mp): Likewise.
31516 (sub_magnitudes): Likewise.
31523 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31525 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31526 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31529 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31530 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31531 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31532 of __mul for squares.
31533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31537 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31538 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31540 2013-02-13 Joseph Myers <joseph@codesourcery.com>
31543 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31545 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31546 prototype or function definition. Rename ubp_* variables and
31547 parameters. Remove argv definitions conditional on
31548 [__BOUNDED_POINTERS__].
31549 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31550 * elf/dl-runtime.c (_dl_fixup): Likewise.
31551 * include/set-hooks.h (RUN_HOOK): Likewise.
31552 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31554 * string/strcpy.c (strcpy): Do not use __unbounded.
31555 * sysdeps/generic/frame.h (struct layout): Likewise.
31556 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31557 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31558 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31559 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31560 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31561 (__backtrace): Likewise.
31562 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31564 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31565 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31566 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31568 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31569 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31570 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31571 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31572 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31573 Do not use __unbounded.
31574 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31575 Rename __unboundedrlimits parameter to rlimits in prototype.
31576 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31577 Do not use __unbounded.
31578 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31579 not use __ptrvalue.
31580 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31581 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31582 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31583 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31584 __ptrvalue or __unbounded.
31585 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31586 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31588 (__new_msgctl): Do not use __ptrvalue.
31589 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31591 (__libc_msgrcv): Do not use __ptrvalue.
31592 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31593 startup_info): Do not use __unbounded.
31594 (__libc_start_main): Likewise. Rename ubp_* variables and
31595 parameters. Remove argv definitions conditional on
31596 [__BOUNDED_POINTERS__].
31597 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31599 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31601 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31603 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31605 (__new_shmctl): Do not use __ptrvalue.
31606 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31607 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31609 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31610 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31611 (__libc_sigaction): Likewise.
31612 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31613 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31615 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31617 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
31619 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31621 * string/mempcpy.c: Implement by calling memcpy.
31623 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31627 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31630 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31631 values in the mantissa.
31633 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31634 minimize writes to Z.
31635 (sub_magnitudes): Simplify code a bit.
31637 2013-02-12 Roland McGrath <roland@hack.frob.com>
31639 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31640 from the message. The linker prefixes all warnings with that already.
31642 2013-02-12 Andreas Schwab <schwab@suse.de>
31645 * posix/regexec.c (extend_buffers): Add parameter min_len.
31646 (check_matching): Pass minimum needed length.
31647 (clean_state_log_if_needed): Likewise.
31648 (get_subexp): Likewise.
31649 * posix/Makefile (tests): Add bug-regex34.
31650 (bug-regex34-ENV): Define.
31651 * posix/bug-regex34.c: New file.
31654 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31655 elements compare against the byte sequence of it, not its name.
31656 * posix/Makefile (tests): Add bug-regex35.
31657 (bug-regex35-ENV): Define.
31658 * posix/bug-regex35.c: New file.
31660 2013-02-11 Tom de Vries <tom@codesourcery.com>
31662 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31664 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31665 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31666 (CHECK_EOL): Add undef.
31668 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
31670 * bits/stdlib-bsearch.h: New file.
31671 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31672 * stdlib/stdlib.h: Likewise.
31674 2013-02-11 Roland McGrath <roland@hack.frob.com>
31676 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31677 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31679 * manual/search.texi (Array Search Function): Add missing const in
31681 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31682 declaration to use rlim_t.
31683 (Basic Scheduling Functions): Remove erroneous const from
31684 sched_getparam prototype. Remove erroneous * from
31685 sched_get_priority_max and sched_get_priority_min prototypes.
31686 (Resource Usage): Fix summary @comment on vtimes to refer to
31687 sys/vtimes.h rather than vtimes.h.
31688 Add missing *s in vtimes prototype.
31689 (Limits on Resources): Fix ulimit prototype to return long int.
31690 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31691 prototypes to use long int rather than double.
31692 (BSD Random): Fix initstate and setstate to use char *, not void *.
31693 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31694 prototype to make second argument 'struct aiocb64 *const[]'.
31695 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31696 (Status of AIO Operations): Remove erroneous const in aio_return and
31697 aio_return64 prototypes.
31698 (Synchronizing I/O): Fix sync prototype to return void.
31699 * manual/startup.texi (Suboptions): Remove an erroneous const in
31700 getsubopt prototype.
31701 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31702 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31703 use size_t rather than int.
31704 (Scanning All Users): Likewise for getpwent_r.
31705 (Setting Groups): Add missing const to setgroups prototype.
31706 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31707 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31708 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31709 'const void *' rather than 'const char *'.
31710 (Host Address Functions): Likewise for inet_ntop.
31711 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31712 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31713 ssize_t for return value.
31714 (Sending Data): Likewise for send, sendto, sendmsg.
31715 (Socket Option Functions): Add a missing const in setsockopt prototype.
31716 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31717 use wchar_t for the argument.
31718 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31719 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31721 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31722 double/float/long double for second argument.
31723 Fix return types of significand, significandf, significandl.
31724 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31725 argument in fchmod prototype.
31726 (File Owner): Use uid_t and gid_t in fchown prototype.
31727 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31728 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31729 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31730 use 'const struct dirent **' as argument types to CMP function pointer
31732 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31733 (File Times): Fix summary magic @comment for struct utimbuf and utime
31734 to refer to utime.h, not time.h.
31735 * manual/string.texi (Argz Functions): Add missing const in
31736 argz_extract and argz_next prototypes.
31737 (Finding Tokens in a String): Likewise for basename.
31738 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31739 (Copying and Concatenation): Fix typo in wmemmove prototype.
31740 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31741 (Signal Stack): Remove erroneous const in sigstack prototype.
31742 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31744 (Simple Calendar Time): Likewise for stime.
31745 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31747 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31748 say sys/sysctl.h instead.
31749 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31750 and vsyslog prototypes.
31752 2013-02-11 Tom de Vries <tom@codesourcery.com>
31754 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31757 2013-02-11 Roland McGrath <roland@hack.frob.com>
31759 * misc/sys/mman.h: Fix typo in mremap comment.
31761 2013-02-08 Roland McGrath <roland@hack.frob.com>
31763 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31764 the '\0' terminator.
31766 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31769 * debug/segfault.c: Don't include <bp-checks.h>.
31770 * sysdeps/generic/bp-checks.h: Remove file.
31771 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31772 (__GETDENTS): Don't use CHECK_N.
31773 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31774 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31775 (__getgroups): Don't use CHECK_N.
31776 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31777 (setgroups): Don't use CHECK_N.
31778 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31779 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31780 (__libc_msgrcv): Don't use CHECK_N.
31781 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31782 (__libc_msgsnd): Don't use CHECK_N.
31783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31785 (__libc_pread): Don't use CHECK_N.
31786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31787 include <bp-checks.h>.
31788 (__libc_pread64): Don't use CHECK_N.
31789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31790 include <bp-checks.h>.
31791 (__libc_pwrite): Don't use CHECK_N.
31792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31793 include <bp-checks.h>.
31794 (__libc_pwrite64): Don't use CHECK_N.
31795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31797 (__libc_pread): Don't use CHECK_N.
31798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31799 include <bp-checks.h>.
31800 (__libc_pread64): Don't use CHECK_N.
31801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31802 include <bp-checks.h>.
31803 (__libc_pwrite): Don't use CHECK_N.
31804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31805 include <bp-checks.h>.
31806 (__libc_pwrite64): Don't use CHECK_N.
31807 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31808 (do_pread): Don't use CHECK_N.
31809 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31810 (do_pread64): Don't use CHECK_N.
31811 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31812 (do_pwrite): Don't use CHECK_N.
31813 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31814 (do_pwrite64): Don't use CHECK_N.
31815 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31816 (__libc_readv): Don't use CHECK_N.
31817 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31818 (semop): Don't use CHECK_N.
31819 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31821 (semtimedop): Don't use CHECK_N.
31822 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31823 (__libc_pread): Don't use CHECK_N.
31824 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31826 (__libc_pread64): Don't use CHECK_N.
31827 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31829 (__libc_pwrite): Don't use CHECK_N.
31830 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31832 (__libc_pwrite64): Don't use CHECK_N.
31833 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31835 (__libc_msgrcv): Don't use CHECK_N.
31836 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31837 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31838 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31839 (__libc_writev): Don't use CHECK_N.
31841 2013-02-08 Roland McGrath <roland@hack.frob.com>
31843 * string/strcpy.c: Removed unused variable.
31845 * Makeconfig (+sysdep-includes): Define with := rather than =.
31846 Use an existing include/ subdir of each sysdeps dir before it.
31848 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31850 * nscd/connection.c (register_traced_file): Comment function.
31851 [HAVE_INOTIFY] (union __inev): Define.
31852 [HAVE_INOTIFY] (inotify_check_files): New function.
31853 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31854 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31856 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31858 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31860 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31861 loaded if not already and that a failure is permanent.
31863 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31866 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31867 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31869 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31872 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31873 (CHECK_1_NULL_OK): Likewise.
31874 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31875 (__fxstat): Do not use CHECK_1.
31876 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31878 (___fxstat64): Do not use CHECK_1.
31879 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31881 (__fxstatat): Do not use CHECK_1.
31882 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31884 (__fxstatat64): Do not use CHECK_1.
31885 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31887 (__fxstat): Do not use CHECK_1.
31888 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31890 (__fxstatat): Do not use CHECK_1.
31891 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31893 (__getresgid): Do not use CHECK_1.
31894 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31896 (__getresuid): Do not use CHECK_1.
31897 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31899 (__lxstat): Do not use CHECK_1.
31900 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31902 (__old_msgctl): Do not use CHECK_1.
31903 (__new_msgctl): Likewise.
31904 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31906 (__new_setrlimit): Do not use CHECK_1.
31907 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31909 (__old_shmctl): Do not use CHECK_1.
31910 (__new_shmctl): Likewise.
31911 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31913 (__xstat): Do not use CHECK_1.
31914 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31915 (__lxstat): Do not use CHECK_1.
31916 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31918 (___lxstat64): Do not use CHECK_1.
31919 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31920 (__old_msgctl): Do not use CHECK_1.
31921 (__new_msgctl): Likewise.
31922 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31924 (__gettimeofday): Do not use CHECK_1.
31925 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31926 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31927 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31929 (__gettimeofday): Do not use CHECK_1.
31930 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31931 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31932 (__new_shmctl): Do not use CHECK_1.
31933 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31935 (do_sigtimedwait): Do not use CHECK_1.
31936 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31938 (do_sigwaitinfo): Do not use CHECK_1.
31939 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31941 (msgctl): Do not use CHECK_1.
31942 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31944 (shmctl): Do not use CHECK_1.
31945 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31946 (ustat): Do not use CHECK_1.
31947 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31949 (__fxstat): Do not use CHECK_1.
31950 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31952 (__fxstatat): Do not use CHECK_1.
31953 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31955 (__lxstat): Do not use CHECK_1.
31956 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31958 (__xstat): Do not use CHECK_1.
31959 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31960 (__xstat): Do not use CHECK_1.
31961 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31962 (___xstat64): Do not use CHECK_1.
31965 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31967 (CHECK_BOUNDS_HIGH): Likewise.
31968 * string/strcpy.c: Do not include <bp-checks.h>.
31969 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31971 2013-02-07 Roland McGrath <roland@hack.frob.com>
31973 * nscd/nscd-client.h (__nscd_drop_map_ref):
31974 Add __attribute__ ((unused)).
31975 * nis/nss-nisplus.h (niserr2nss): Likewise.
31977 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31978 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31980 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31981 Remove inline keyword.
31982 * include/rounding-mode.h (round_away): Likewise.
31983 * libio/wfileops.c (adjust_wide_data): Likewise.
31984 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31985 (__m128i_strloadu_tolower): Likewise.
31986 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31987 (__m128i_strloadu_tolower): Likewise.
31988 * time/mktime.c (ydhms_diff): Likewise.
31989 * locale/elem-hash.h (elem_hash): Likewise.
31990 * locale/setlocale.c (setdata): Likewise.
31991 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31992 (re_string_wchar_at): Likewise.
31993 (bitset_not, bitset_merge, bitset_mask): Likewise.
31994 [!(__GNUC__ > 3)] (inline): Remove macro.
31995 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31996 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31997 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31998 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31999 * string/memcmp.c (memcmp_bytes): Likewise.
32000 * locale/programs/locarchive.c (compute_hashval): Likewise.
32001 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32002 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32003 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32004 * nss/getent.c (print_rpc, print_protocols): Likewise.
32005 (print_passwd, print_group, print_aliases): Likewise.
32006 * nis/nss-nisplus.h (niserr2nss): Likewise.
32007 * nscd/connections.c (restart_p): Likewise.
32008 Change return type to bool.
32010 2013-02-05 Roland McGrath <roland@hack.frob.com>
32012 * Makeconfig (all-Depend-files): Add existing
32013 $(sorted-subdirs:=/Depend) files.
32014 (all-subdirs): Remove nss.
32015 * sysdeps/unix/inet/Subdirs: Add it here instead.
32016 * hesiod/Depend: New file.
32018 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32019 instead of calling alloca.
32021 * io/lseek.c (__lseek): Rename to __libc_lseek.
32022 Define __lseek as an alias.
32024 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32026 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32028 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32029 else clause and remove check for non-standard endianness.
32031 2013-02-04 David S. Miller <davem@davemloft.net>
32033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32035 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32038 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32039 (__ubp_memchr): Remove prototype.
32040 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32041 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32042 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32043 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32044 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32046 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32047 (__ubp_memchr): Likewise.
32048 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32049 (__ubp_memchr): Likewise.
32050 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32051 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32052 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32053 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32055 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32056 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32057 (__getcwd): Do not use CHECK_STRING.
32058 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32060 (__real_chown): Do not use CHECK_STRING.
32061 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32063 (fchownat): Do not use CHECK_STRING.
32064 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32066 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32068 (__lchown): Do not use CHECK_STRING.
32069 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32070 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32071 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32072 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32074 include <bp-checks.h>.
32075 (truncate64): Do not use CHECK_STRING.
32076 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32078 (__real_chown): Do not use CHECK_STRING.
32079 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32081 (__lchown): Do not use CHECK_STRING.
32082 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32084 (__chown): Do not use CHECK_STRING.
32085 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32087 (truncate64): Do not use CHECK_STRING.
32088 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32090 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32091 (__xmknod): Do not use CHECK_STRING.
32092 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32094 (__xmknodat): Do not use CHECK_STRING.
32095 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32096 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32098 2013-02-04 Andreas Schwab <schwab@suse.de>
32101 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32102 * include/netdb.h: Likewise for h_errno.
32103 * elf/tst-stackguard1.c: Include <tls.h>.
32105 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32107 * elf/link.h (struct link_map): Extend the l_addr comment.
32108 * include/link.h (struct link_map): Likewise.
32110 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32113 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32114 (BOUNDED_1): Remove macro.
32115 * debug/backtrace.c: Don't include <bp-checks.h>.
32116 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32117 (__backtrace): Likewise.
32118 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32120 (__backtrace): Don't use BOUNDED_1.
32121 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32123 (__backtrace): Don't use BOUNDED_1.
32124 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32125 (__backtrace): Don't use BOUNDED_1.
32126 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32127 (shmat): Don't use BOUNDED_N.
32129 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32132 * sysdeps/generic/bp-start.h: Remove file.
32133 * csu/libc-start.c: Don't include <bp-start.h>.
32134 (LIBC_START_MAIN): Set up __environ directly instead of using
32135 INIT_ARGV_and_ENVIRON.
32136 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32140 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32142 (CHECK_FCNTL): Likewise.
32143 (CHECK_N_PAGES): Likewise.
32146 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32148 (CHECK_SIGSET_NULL_OK): Likewise.
32149 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32151 (sigpending): Don't use CHECK_SIGSET.
32152 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32154 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32155 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32157 (do_sigsuspend): Don't use CHECK_SIGSET.
32158 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32160 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32161 (do_sigwait): Don't use CHECK_SIGSET.
32162 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32164 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32165 include <bp-checks.h>.
32166 (sigpending): Don't use CHECK_SIGSET.
32167 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32168 include <bp-checks.h>.
32169 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32170 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32172 (sigpending): Don't use CHECK_SIGSET.
32173 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32175 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32178 * sysdeps/generic/bp-semctl.h: Remove file.
32179 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32180 <bp-checks.h> and <bp-semctl.h>.
32181 (__old_semctl): Don't use CHECK_SEMCTL.
32182 (__new_semctl): Likewise.
32183 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32185 (__old_semctl): Don't use CHECK_SEMCTL.
32186 (__new_semctl): Likewise.
32187 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32188 <bp-checks.h> and <bp-semctl.h>.
32189 (__old_semctl): Don't use CHECK_SEMCTL.
32190 (__new_semctl): Likewise.
32191 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32192 <bp-checks.h> and <bp-semctl.h>.
32193 (semctl): Don't use CHECK_SEMCTL.
32196 * Makerules (elide-bp-thunks): Remove variable.
32197 (elide-routines.oS): Don't use $(elide-bp-thunks).
32198 (elide-routines.os): Likewise.
32199 (elide-routines.o): Likewise.
32200 (elide-routines.op): Likewise.
32201 (elide-routines.og): Likewise.
32202 (objects): Don't use $(bp-thunks).
32203 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32205 (common-generated): Do not add s-proto-bp.d.
32206 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32209 Do not generate makefile rules for bounded-pointer thunks.
32210 * sysdeps/generic/bp-thunks.h: Remove file.
32211 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32212 * sysdeps/unix/s-proto-bp.S: Likewise.
32215 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32216 parts of result separately when argument is not close to line from
32217 -i to i and one part of argument is small.
32218 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32219 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32220 * math/libm-test.inc (cacos_test): Add more tests.
32221 (casin_test): Likewise.
32222 (casinh_test): Likewise.
32223 * sysdeps/i386/fpu/libm-test-ulps: Update.
32224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32226 2013-01-31 David S. Miller <davem@davemloft.net>
32228 * po/de.po: Update from translation team.
32230 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32232 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32234 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32236 * configure.in (_AC_PROG_CC_C89): New definition.
32237 * configure: Regenerate.
32239 * configure.in (AC_PROG_CPP): New definition.
32240 * configure: Regenerate.
32242 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32244 * debug/tst-backtrace.h: New file.
32245 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32246 (ret): Remove variable.
32248 (FAIL): Remove macro.
32249 (NO_INLINE): Likewise.
32250 (fn1): Use match function instead of strstr.
32251 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32252 (ret): Remove variable.
32254 (FAIL): Remove macro.
32255 (NO_INLINE): Likewise.
32256 (fn): Use match function instead of strstr.
32257 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32258 (ret): Remove variable.
32260 (FAIL): Remove macro.
32261 (NO_INLINE): Likewise.
32262 (handle_signal): Use match function instead of strstr.
32263 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32264 (ret): Remove variable.
32266 (FAIL): Remove macro.
32267 (NO_INLINE): Likewise.
32268 (handle_signal): Use match function instead of strstr.
32270 2013-01-23 Roland McGrath <roland@hack.frob.com>
32272 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32274 2013-01-23 David S. Miller <davem@davemloft.net>
32276 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32277 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32278 argument of CAS if possible.
32279 * sysdeps/sparc/sparc64/bits/atomic.h
32280 (__arch_compare_and_exchange_val_32_acq): Likewise.
32281 (__arch_compare_and_exchange_val_64_acq): Likewise.
32283 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32285 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32286 * sysdeps/posix/ulimit.c: ... this.
32287 Include <limits.h>.
32288 * sysdeps/unix/bsd/ulimit.c: Remove file.
32290 2013-01-23 Adam Conrad <adconrad@0c3.net>
32292 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32293 (LDFLAGS-tst-array5): Likewise.
32295 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32298 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32299 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32300 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32301 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32303 2013-01-21 David S. Miller <davem@davemloft.net>
32305 * sysdeps/sparc/backtrace.c: New file.
32306 * sysdeps/sparc/sparc32/backtrace.h: New file.
32307 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32308 * sysdeps/sparc/sparc64/backtrace.h: New file.
32309 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32310 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32313 2013-01-21 Andreas Schwab <schwab@suse.de>
32316 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32319 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32325 2013-01-18 Joseph Myers <joseph@codesourcery.com>
32326 Mark Mitchell <mark@codesourcery.com>
32327 Tom de Vries <tom@codesourcery.com>
32328 Paul Pluzhnikov <ppluzhnikov@google.com>
32330 * debug/tst-backtrace2.c: New file.
32331 * debug/tst-backtrace3.c: Likewise.
32332 * debug/tst-backtrace4.c: Likewise.
32333 * debug/tst-backtrace5.c: Likewise.
32334 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32335 (CFLAGS-tst-backtrace3.c): Likewise.
32336 (CFLAGS-tst-backtrace4.c): Likewise.
32337 (CFLAGS-tst-backtrace5.c): Likewise.
32338 (LDFLAGS-tst-backtrace2): Likewise.
32339 (LDFLAGS-tst-backtrace3): Likewise.
32340 (LDFLAGS-tst-backtrace4): Likewise.
32341 (LDFLAGS-tst-backtrace5): Likewise.
32342 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32343 tst-backtrace4 and tst-backtrace5.
32345 2013-01-18 Anton Blanchard <anton@samba.org>
32346 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32348 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32349 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32350 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32351 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32353 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32354 "+r" and remove output regs list as redundant. Add explicit inline
32355 asm to specify register of return val to work around compiler codegen
32356 bug. Remove (int) cast on return value. Add return type parameter to
32357 use in macro so that this macro does not truncate return value for
32359 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32360 pass to INTERNAL_VSYSCALL_NCS.
32361 (INLINE_VSYSCALL): Add 'long int' as return type to
32362 INTERNAL_VSYSCALL_NCS macro invocation.
32363 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32364 INTERNAL_VSYSCALL_NCS macro invocation.
32365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32367 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32370 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32371 Fix application of SIMD FP exception mask.
32373 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32374 mp_no from a power of two.
32375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32376 __mpexp_twomm1. Use __pow_mp.
32378 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32381 2013-01-17 David S. Miller <davem@davemloft.net>
32383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32385 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32388 * include/complex.h: Condition contents on [!_COMPLEX_H].
32389 (__kernel_casinhf): New prototype.
32390 (__kernel_casinh): Likewise.
32391 (__kernel_casinhl): Likewise.
32392 * math/Makefile (libm_calls): Add k_casinh.
32393 * math/k_casinh.c: New file.
32394 * math/k_casinhf.c: Likewise.
32395 * math/k_casinhl.c: Likewise.
32396 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32397 finite nonzero arguments.
32398 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32399 finite nonzero arguments.
32400 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32401 finite nonzero arguments.
32402 * math/s_casinh.c: Do not include <float.h>.
32403 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32404 * math/s_casinhf.c: Do not include <float.h>.
32405 (__casinhf): Move code for finite nonzero arguments to
32407 * math/s_casinhl.c: Do not include <float.h>.
32408 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32410 (__casinhl): Move code for finite nonzero arguments to
32412 * math/libm-test.inc (cacos_test): Add more tests.
32413 * sysdeps/i386/fpu/libm-test-ulps: Update.
32414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32416 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32418 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32419 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32420 [!HAVE_MREMAP]: Remove [defined linux] case.
32421 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32423 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32425 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32427 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32429 * elf/elf.h (R_386_SIZE32): New relocation.
32430 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32432 (elf_machine_rela): Likewise.
32433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32434 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32436 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32438 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32439 (FP_FAST_FMA): Do not define.
32440 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32441 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32442 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32443 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32444 !_SOFT_FLOAT]: Likewise.
32445 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32446 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32448 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32449 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32450 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32451 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32452 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32453 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32456 2013-01-16 Andreas Schwab <schwab@suse.de>
32459 * include/stdlib.h (__mktemp): Add declaration.
32460 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32461 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32463 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32465 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32467 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32468 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32469 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32471 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32472 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32474 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32476 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32477 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32478 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32480 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32481 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32483 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32485 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32487 2013-01-15 David S. Miller <davem@davemloft.net>
32489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32490 trunc{,f} to libm-sysdep_routes.
32491 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32501 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32502 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32503 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32504 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32505 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32506 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32509 nearbyint{,f} to libm-sysdep_routes.
32510 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32521 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32523 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32524 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32526 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32527 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32528 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32530 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32531 libc_feholdexcept and libc_fesetenv.
32533 2013-01-15 Mike Frysinger <vapier@gentoo.org>
32535 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32537 2013-01-14 David S. Miller <davem@davemloft.net>
32539 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32540 (SPARC_ASM_VIS2_IFUNC): Likewise.
32541 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32543 use of 'siam' instruction.
32544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32577 routines to libm-sysdep_routines.
32578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32581 fdim/fdimf to libm-sysdep_routines.
32582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32590 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32591 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32592 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32593 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32595 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32597 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32598 to optimize copies.
32600 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32605 local variable MPTWO.
32606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32609 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32611 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32614 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32616 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32618 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32620 * manual/pattern.texi (glob_t): Document gl_flags.
32621 (glob64_t): Likewise.
32623 2013-01-11 David S. Miller <davem@davemloft.net>
32625 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32626 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32627 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32628 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32629 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32630 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32631 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32632 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32633 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32634 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32635 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32636 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32637 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32639 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32640 sparc V9 rather than using V8 code.
32641 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32642 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32644 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32646 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32649 2013-01-11 Roland McGrath <roland@hack.frob.com>
32651 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32652 not in the main loop.
32653 * configure: Regenerated.
32655 2013-01-11 Joseph Myers <joseph@codesourcery.com>
32657 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32658 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32660 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32661 [!__GLIBC_HAVE_LONG_LONG] case.
32662 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32663 condition to just #else.
32664 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32665 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32666 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32667 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32669 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32670 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32671 #elif condition to just #else.
32672 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32673 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32674 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32675 #elif condition to just #else.
32677 2013-01-11 Steve Ellcey <sellcey@mips.com>
32679 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32680 (EF_MIPS_ARCH_64): Fix value.
32681 (EF_MIPS_ARCH_32R2): New.
32682 (EF_MIPS_ARCH_64R2): New.
32684 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32686 * Makeconfig (+link-pie-before-libc): New.
32687 (+link-pie-after-libc): Likewise.
32688 (+link-pie-tests): Likewise.
32689 (+link-pie): Rewritten.
32690 (link-before-libc): Remove $(config-LDFLAGS).
32691 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32692 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32693 (config-LDFLAGS): Renamed to ...
32694 (rtld-LDFLAGS): This.
32695 (rtld-tests-LDFLAGS): New macro.
32696 (link-libc-rpath-link): Likewise.
32697 (link-libc-tests-rpath-link): Likewise.
32698 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32699 (link-libc): Prepand $(link-libc-rpath-link).
32700 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32701 (test-program-prefix): New macro.
32702 (test-via-rtld-prefix): Likewise.
32703 (test-program-cmd): Likewise.
32704 (host-test-program-cmd): Likewise.
32705 * Makefile ($(common-objpfx)testrun.sh): Replace
32706 $(run-program-prefix) with $(test-program-prefix).
32707 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32709 ($(common-objpfx)shlib.lds): Likewise.
32710 (build-module-helper): Likewise.
32711 ($(common-objpfx)format.lds): Likewise.
32712 * Rules (binaries-pie-tests): New.
32713 (binaries-pie-notests): Likewise.
32714 (binaries-pie): Rewritten.
32715 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32716 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32717 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32718 (make-test-out): Replace $(host-built-program-cmd) with
32719 $(host-test-program-cmd).
32720 * config.make.in (build-hardcoded-path-in-tests): New variable.
32721 * configure.in (--enable-hardcoded-path-in-tests): New configure
32723 (hardcoded_path_in_tests): New AC_SUBST.
32724 * configure: Regenerated.
32725 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32726 $(built-program-cmd) with $(test-program-cmd).
32727 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32728 (test_program_cmd): This.
32729 * elf/Makefile ($(objpfx)order.out): Run test with
32730 $(test-program-prefix).
32731 ($(objpfx)order2.out): Likewise.
32732 ($(objpfx)tst-initorder.out): Likewise.
32733 ($(objpfx)tst-initorder2.out): Likewise.
32734 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32735 $(test-program-cmd).
32736 ($(objpfx)tst-array1-static.out): Likewise.
32737 ($(objpfx)tst-array2.out): Likewise.
32738 ($(objpfx)tst-array3.out): Likewise.
32739 ($(objpfx)tst-array4.out): Likewise.
32740 ($(objpfx)tst-array5.out): Likewise.
32741 ($(objpfx)tst-array5-static.out): Likewise.
32742 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32743 $(test-program-cmd).
32744 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32745 $(run-program-prefix) with $(test-program-prefix).
32746 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32747 (test_program_prefix): This.
32748 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32749 $(run-program-prefix) with $(test-program-prefix).
32750 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32751 (test_program_prefix): This.
32752 * iconvdata/tst-tables.sh: Likewise.
32753 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32754 $(run-program-prefix) with $(test-program-prefix).
32755 ($(objpfx)tst-translit.out): Likewise.
32756 ($(objpfx)tst-gettext2.out): Likewise.
32757 ($(objpfx)tst-gettext4.out): Likewise.
32758 ($(objpfx)tst-gettext6.out): Likewise.
32759 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32760 (test_program_prefix): This.
32761 * intl/tst-gettext2.sh: Likewise.
32762 * intl/tst-gettext4.sh Likewise.
32763 * intl/tst-gettext6.sh: Likewise.
32764 * intl/tst-translit.sh: Likewise.
32765 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32766 with $(test-program-cmd).
32767 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32768 $(run-program-prefix) with $(test-program-prefix).
32769 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32770 (test_program_prefix): This.
32771 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32772 $(run-program-prefix) with $(test-program-prefix).
32773 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32774 (test_program_prefix): This.
32775 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32776 * posix/Makefile ($(objpfx)globtest.out): Replace
32777 $(run-via-rtld-prefix) and $(test-wrapper) with
32778 $(test-program-prefix) and $(test-via-rtld-prefix).
32779 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32780 $(test-program-prefix).
32781 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32782 $(host-test-program-cmd).
32783 (tst-spawn-ARGS): Likewise.
32784 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32785 $(test-program-prefix).
32786 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32787 (test_via_rtld_prefix): This.
32788 (test_wrapper): Renamed to ...
32789 (test_program_prefix): This.
32790 (run_program_prefix): Replaced by test_program_prefix.
32791 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32792 (test_program_prefix): This.
32793 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32794 with $(host-test-program-cmd).
32795 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32796 $(run-program-prefix) with $(test-program-prefix).
32797 ($(objpfx)tst-printf.out): Likewise.
32798 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32799 $(test-program-cmd).
32800 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32801 (test_program_prefix): This.
32802 * stdio-common/tst-unbputc.sh: Likewise.
32803 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32804 $(run-program-prefix) with $(test-program-prefix).
32805 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32806 (test_program_prefix): This.
32807 * string/Makefile ($(objpfx)tst-svc.out): Replace
32808 $(built-program-cmd) with $(test-program-cmd).
32810 2013-01-11 Andreas Jaeger <aj@suse.de>
32813 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32814 value. Sync with Linux 3.7.
32816 2013-01-10 David S. Miller <davem@davemloft.net>
32818 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32819 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32820 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32822 2013-01-10 Roland McGrath <roland@hack.frob.com>
32824 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32826 * configure: Regenerated.
32828 2013-01-10 David S. Miller <davem@davemloft.net>
32830 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32831 sparc V9 rather than using V8 code.
32832 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32833 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32835 2013-01-10 Roland McGrath <roland@hack.frob.com>
32837 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32838 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32839 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32840 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32841 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32842 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32843 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32844 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32845 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32846 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32847 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32848 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32849 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32850 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32851 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32852 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32853 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32854 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32855 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32856 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32857 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32858 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32859 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32860 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32861 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32862 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32863 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32865 2013-01-10 David S. Miller <davem@davemloft.net>
32867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32869 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32871 * posix/Makefile (tests-static): New variable.
32872 (tests): Add $(tests-static).
32873 (tst-exec-static-ARGS): New variable.
32874 (tst-spawn-static-ARGS): Likewise.
32875 * posix/tst-exec-static.c: New file.
32876 * posix/tst-spawn-static.c: Likewise.
32877 * posix/tst-exec.c: Support run directly.
32878 * posix/tst-spawn.c: Likewise.
32880 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32882 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32884 * math/bits/mathcalls.h (llrint): Likewise.
32885 (llround): Likewise.
32886 * stdlib/stdlib.h (struct drand48_data): Likewise.
32887 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32888 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32889 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32891 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32893 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32894 (elf_greg_t): Likewise.
32895 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32896 (__jmp_buf): Likewise.
32897 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32899 (llrint): Likewise, for all definitions.
32900 (llrintl): Likewise.
32902 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32903 Remove [__GNUC__] condition.
32904 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32905 condition to just [__USE_ISOC99].
32906 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32908 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32911 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32912 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32914 (_POSIX_V6_ILP32_OFF32): Likewise.
32915 (_XBS5_ILP32_OFF32): Likewise.
32916 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32917 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32919 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32921 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32924 doubles __mpexp_twomm1. Adjust usage.
32925 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32928 2013-01-10 Andreas Schwab <schwab@suse.de>
32931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32932 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32934 2013-01-09 David S. Miller <davem@davemloft.net>
32937 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32938 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32939 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32940 (TCP_FASTOPEN): Define.
32941 (tcp_repair_opt): New structure.
32942 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32944 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32945 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32946 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32947 (tcp_cookie_transactions): New structure.
32949 2013-01-09 Anton Blanchard <anton@samba.org>
32951 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32952 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32953 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32954 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32956 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32958 * include/features.h (__USE_ANSI): Remove.
32960 2013-01-09 Roland McGrath <roland@hack.frob.com>
32962 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32964 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32966 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32968 * sysdeps/s390/fpu/libm-test-ulps: Update.
32970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32972 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32976 (denorm): Likewise.
32977 (__mp_dbl): Likewise.
32978 (__dbl_mp): Likewise.
32979 (add_magnitudes): Likewise.
32980 (sub_magnitudes): Likewise.
32986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32990 (denorm): Likewise.
32991 (__mp_dbl): Likewise.
32992 (__dbl_mp): Likewise.
32993 (add_magnitudes): Likewise.
32994 (sub_magnitudes): Likewise.
33000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33004 (denorm): Likewise.
33005 (__mp_dbl): Likewise.
33006 (__dbl_mp): Likewise.
33007 (add_magnitudes): Likewise.
33008 (sub_magnitudes): Likewise.
33015 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33017 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33018 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33019 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33020 2 && __USE_EXTERN_INLINES]: Likewise.
33022 2013-01-08 Andreas Jaeger <aj@suse.de>
33025 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33027 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33028 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33030 2013-01-07 Anton Blanchard <anton@samba.org>
33032 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33033 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33034 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33035 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33036 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33037 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33038 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33039 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33041 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33042 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33043 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33045 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33046 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33047 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33048 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33049 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33050 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33051 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33052 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33053 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33054 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33055 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33056 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33057 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33058 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33059 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33061 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33062 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33064 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33065 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33066 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33067 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33068 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33069 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33070 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33071 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33072 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33073 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33074 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33076 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33078 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33079 (__MALLOC_PMT): Likewise.
33080 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33081 [__GNUC__], only on [_LIBC].
33082 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33083 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33084 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33085 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33086 forward declaration.
33087 (realloc_hook_ini): Likewise.
33088 (memalign_hook_ini): Likewise.
33089 (__libc_memalign): Do not use __MALLOC_PMT in variable
33091 (__libc_valloc): Likewise.
33092 (__libc_pvalloc): Likewise.
33093 (__libc_calloc): Likewise.
33094 (__posix_memalign): Likewise.
33097 * math/s_casinh.c: Include <float.h>.
33098 (__casinh): Do not do computation with squaring and square root
33099 for large arguments.
33100 * math/s_casinhf.c: Include <float.h>.
33101 (__casinhf): Do not do computation with squaring and square root
33102 for large arguments.
33103 * math/s_casinhl.c: Include <float.h>.
33104 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33105 (__casinhl): Do not do computation with squaring and square root
33106 for large arguments.
33107 * math/libm-test.inc (casin_test): Add more tests.
33108 (casinh_test): Likewise.
33109 * sysdeps/i386/fpu/libm-test-ulps: Update.
33110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33112 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33114 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33115 (__x86_64_raw_data_cache_size): Likewise.
33116 (__x86_64_data_cache_size_half): Likewise.
33117 (__x86_64_raw_data_cache_size_half): Likewise.
33118 (__x86_64_shared_cache_size): Likewise.
33119 (__x86_64_raw_shared_cache_size): Likewise.
33120 (__x86_64_shared_cache_size_half): Likewise.
33121 (__x86_64_raw_shared_cache_size_half): Likewise.
33122 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33124 (__x86_data_cache_size): This.
33125 (__x86_64_raw_data_cache_size): Renamed to ...
33126 (__x86_raw_data_cache_size): This.
33127 (__x86_64_data_cache_size_half): Renamed to ...
33128 (__x86_data_cache_size_half): This.
33129 (__x86_64_raw_data_cache_size_half): Renamed to ...
33130 (__x86_raw_data_cache_size_half): This.
33131 (__x86_64_shared_cache_size): Renamed to ...
33132 (__x86_shared_cache_size): This.
33133 (__x86_64_raw_shared_cache_size): Renamed to ...
33134 (__x86_raw_shared_cache_size): This.
33135 (__x86_64_shared_cache_size_half): Renamed to ...
33136 (__x86_shared_cache_size_half): This.
33137 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33138 (__x86_raw_shared_cache_size_half): This.
33139 * sysdeps/x86_64/memcpy.S: Updated.
33140 * sysdeps/x86_64/memset.S: Likewise.
33141 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33142 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33143 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33145 2013-01-04 David S. Miller <davem@davemloft.net>
33147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33149 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33151 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33152 1 to avoid redefinition warning.
33153 (__USE_GNU): Don't define.
33154 (init_signaling_nan): Protoize.
33156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33158 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33160 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33162 (__cpymn): Likewise.
33163 (norm): Remove commented code.
33164 (denorm): Likewise.
33165 (__mp_dbl): Likewise.
33167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33168 (__cpymn): Likewise.
33169 (norm): Remove commented code.
33170 (denorm): Likewise.
33171 (__mp_dbl): Likewise.
33174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33175 mp_no value for 1.0 and 2.0.
33176 (norm): Use RADIXI instead of radixi.d.
33177 (denorm): Likewise.
33178 (__mul): Use 0.0 instead of zero.d.
33179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33180 mp_no value for 1.0 and 2.0.
33181 (norm): Use RADIXI instead of radixi.d.
33182 (denorm): Likewise.
33183 (__mul): Use 0.0 instead of zero.d.
33185 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33188 * math/s_casinh.c (__casinh): Reduce finite argument to first
33189 quadrant then set signs of results at the end.
33190 * math/s_casinhf.c (__casinhf): Likewise.
33191 * math/s_casinhl.c (__casinhl): Likewise.
33192 * math/libm-test.inc (casin_test): Add more tests.
33193 (casinh_test): Likewise.
33194 * sysdeps/i386/fpu/libm-test-ulps: Update.
33195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33197 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33199 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33201 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33203 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33205 (denorm): Likewise.
33206 (__mp_dbl): Likewise.
33209 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33210 and adjust the header comment.
33212 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33213 variable name from declaration.
33215 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33218 Initialize COMMON_CPUID_INDEX_7 element.
33219 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33220 (CPUID_RTM): Likewise.
33221 (HAS_RTM): Likewise.
33222 (COMMON_CPUID_INDEX_7): New enum.
33224 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33227 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33228 size is zero, record memory as freed.
33230 2013-01-03 Andreas Jaeger <aj@suse.de>
33232 * po/ia.po: Add new Interlingua translation.
33234 2012-01-03 Allan McRae <allan@archlinux.org>
33236 * locale/programs/localedef.c: Fix description of '--posix' flag.
33238 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33240 * NEWS: Update dates in second copyright notice.
33241 * README: Update copyright dates in example.
33242 * manual/libc.texinfo: Update copyright dates.
33243 * scripts/test-installation.pl: Update copyright date in --version
33246 * hurd/ctty-input.c: Fix copyright notice formatting.
33247 * hurd/ctty-output.c: Likewise.
33248 * hurd/dtable.c: Likewise.
33249 * hurd/hurd-raise.c: Likewise.
33250 * hurd/hurdprio.c: Likewise.
33251 * hurd/msgportdemux.c: Likewise.
33252 * misc/sys/file.h: Likewise.
33253 * misc/sys/ioctl.h: Likewise.
33254 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33255 * sysdeps/mach/hurd/chdir.c: Likewise.
33256 * sysdeps/mach/hurd/fchdir.c: Likewise.
33257 * sysdeps/mach/hurd/rename.c: Likewise.
33258 * sysdeps/mach/hurd/rmdir.c: Likewise.
33259 * sysdeps/mach/hurd/seekdir.c: Likewise.
33260 * sysdeps/mach/hurd/setsid.c: Likewise.
33261 * sysdeps/posix/wait3.c: Likewise.
33263 * All files with FSF copyright notices: Update copyright dates
33264 using scripts/update-copyrights.
33265 * intl/plural.c: Regenerated.
33266 * locale/programs/charmap-kw.h: Likewise.
33267 * locale/programs/locfile-kw.h: Likewise.
33269 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33271 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33274 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33275 calculation loop and add branch prediction.
33277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33278 check access beyond bounds of m1np.
33280 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33282 (__inv): Remove local variable MPTWO to use the global
33284 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33285 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33287 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33288 MP3HALFS static const.
33290 2013-01-01 David S. Miller <davem@davemloft.net>
33292 * po/ca.po: Update from translation team.
33294 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33296 * scripts/update-copyrights: New file.
33297 * Makeconfig: Reformat copyright notice.
33298 * ctype/ctype.h: Likewise.
33299 * debug/swprintf_chk.c: Likewise.
33300 * elf/dl-cache.c: Likewise.
33301 * elf/dl-debug.c: Likewise.
33302 * elf/dl-object.c: Likewise.
33303 * grp/initgroups.c: Likewise.
33304 * hurd/Makefile: Likewise.
33305 * hurd/hurd/signal.h: Likewise.
33306 * hurd/hurdfault.c: Likewise.
33307 * hurd/hurdioctl.c: Likewise.
33308 * hurd/hurdlookup.c: Likewise.
33309 * hurd/intr-msg.c: Likewise.
33310 * iconv/gconv_open.c: Likewise.
33311 * libio/swprintf.c: Likewise.
33312 * locale/lc-ctype.c: Likewise.
33313 * locale/nl_langinfo.c: Likewise.
33314 * mach/Machrules: Likewise.
33315 * mach/Makefile: Likewise.
33316 * malloc/obstack.h: Likewise.
33317 * manual/Makefile: Likewise.
33318 * manual/tsort.awk: Likewise.
33319 * misc/bits/stab.def: Likewise.
33320 * nis/nis_print_group_entry.c: Likewise.
33321 * nis/nis_table.c: Likewise.
33322 * nis/nss_compat/compat-pwd.c: Likewise.
33323 * nis/nss_compat/compat-spwd.c: Likewise.
33324 * po/Makefile: Likewise.
33325 * posix/fnmatch.c: Likewise.
33326 * posix/regex.h: Likewise.
33327 * resolv/Makefile: Likewise.
33328 * resolv/nss_dns/dns-network.c: Likewise.
33329 * resolv/res_hconf.c: Likewise.
33330 * scripts/gen-sorted.awk: Likewise.
33331 * soft-fp/soft-fp.h: Likewise.
33332 * stdio-common/printf.h: Likewise.
33333 * stdlib/monetary.h: Likewise.
33334 * stdlib/random.c: Likewise.
33335 * stdlib/random_r.c: Likewise.
33336 * sysdeps/generic/Makefile: Likewise.
33337 * sysdeps/gnu/Makefile: Likewise.
33338 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33340 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33342 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33345 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33346 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33347 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33348 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33349 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33350 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33351 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33353 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33355 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33356 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33358 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33359 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33360 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33361 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33362 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33363 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33364 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33365 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33366 * sysdeps/mach/hurd/errnos.awk: Likewise.
33367 * sysdeps/mach/hurd/fork.c: Likewise.
33368 * sysdeps/mach/hurd/getcwd.c: Likewise.
33369 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33370 * sysdeps/mach/hurd/mmap.c: Likewise.
33371 * sysdeps/mach/hurd/utimes.c: Likewise.
33372 * sysdeps/mach/hurd/xmknod.c: Likewise.
33373 * sysdeps/posix/profil.c: Likewise.
33374 * sysdeps/posix/readdir_r.c: Likewise.
33375 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33376 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33377 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33378 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33380 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33381 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33382 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33384 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33385 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33386 * sysdeps/pthread/lio_listio.c: Likewise.
33387 * sysdeps/sparc/dl-procinfo.h: Likewise.
33388 * sysdeps/unix/i386/sysdep.S: Likewise.
33389 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33390 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33391 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33392 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33394 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33395 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33396 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33397 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33398 * sysdeps/wordsize-32/divdi3.c: Likewise.
33399 * time/sys/time.h: Likewise.
33400 * wcsmbs/Makefile: Likewise.
33402 2013-01-01 David S. Miller <davem@davemloft.net>
33404 * po/fr.po: Update from translation team.
33406 * catgets/gencat.c: Update copyright year.
33407 * csu/version.c: Likewise.
33408 * debug/catchsegv.sh: Likewise.
33409 * debug/pcprofiledump.c: Likewise.
33410 * debug/xtrace.sh: Likewise.
33411 * elf/ldconfig.c: Likewise.
33412 * elf/ldd.bash.in: Likewise.
33413 * elf/pldd.c: Likewise.
33414 * elf/sotruss.ksh: Likewise.
33415 * elf/sprof.c: Likewise.
33416 * iconv/iconv_prog.c: Likewise.
33417 * iconv/iconvconfig.c: Likewise.
33418 * locale/programs/locale.c: Likewise.
33419 * locale/programs/localedef.c: Likewise.
33420 * login/programs/pt_chown.c: Likewise.
33421 * malloc/memusage.sh: Likewise.
33422 * malloc/memusagestat.c: Likewise.
33423 * malloc/mtrace.pl: Likewise.
33424 * nscd/nscd.c: Likewise.
33425 * nss/getent.c: Likewise.
33426 * nss/makedb.c: Likewise.
33427 * posix/getconf.c: Likewise.
33429 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33431 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33434 2012-12-30 Mike Frysinger <vapier@gentoo.org>
33436 * math/bits/mathcalls.h (modf): Use __nonnull.
33438 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33440 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33441 (split): Use macro CN instead of the bare value.
33442 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33445 instead of the bare value.
33446 (power1): Likewise.
33448 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33450 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33452 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33454 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33456 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33457 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33458 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33459 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33461 2012-12-28 Andreas Jaeger <aj@suse.de>
33463 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33464 values are from Linux 3.7.
33466 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33467 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33469 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33471 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33474 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33476 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33477 variables with preprocessor constants.
33478 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33479 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33480 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33482 2012-12-27 Bruno Haible <bruno@clisp.org>
33485 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33488 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33490 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33491 and use variable directly.
33492 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33494 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33496 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33497 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33499 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33500 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33501 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33502 include directive. Remove local variable MPONE.
33503 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33504 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33505 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33507 2012-12-25 David S. Miller <davem@davemloft.net>
33509 * version.h (RELEASE): Set to "development".
33510 (VERSION): Set to "2.17.90".
33511 * NEWS: Add 2.18 section.
33513 2012-12-21 David S. Miller <davem@davemloft.net>
33515 * po/hr.po: Update from translation team.
33517 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33519 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33521 2012-12-19 Steve Ellcey <sellcey@mips.com>
33523 * NEWS: Mention new memcpy for MIPS.
33525 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33527 * manual/contrib.texi (Contributors): Spelling correction.
33529 2012-12-15 David S. Miller <davem@davemloft.net>
33531 * po/ru.po: Update from translation team.
33533 2012-12-13 David S. Miller <davem@davemloft.net>
33535 * NEWS: Mention IFUNC testsuite enhancements.
33537 * po/pl.po: Update from translation team.
33538 * po/bg.po: Likewise.
33540 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33541 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33543 2012-12-11 David S. Miller <davem@davemloft.net>
33545 * po/sv.po: Update from translation team.
33547 * po/vi.po: Update from translation team.
33549 * po/cs.po: Update from translation team.
33551 * po/de.po: Update from translation team.
33552 * po/eo.po: Likewise.
33553 * po/nl.po: Likewise.
33555 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33558 * manual/argp.texi (Argp Helper Functions): Move node to follow
33559 Argp Parsing State.
33562 * manual/conf.texi (Limits on File System Capacity): Mention if
33563 terminating null is included in the max size.
33565 2012-12-10 Andreas Jaeger <aj@suse.de>
33567 * po/cs.po: Update from translation team.
33569 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33571 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33572 void pointer and cast to uintptr_t.
33573 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33575 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33576 * sysdeps/s390/s390-64/memset.S: Likewise.
33578 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
33581 * menual/message.texi (Message Translation): Fix typos.
33582 (Helper programs for gettext): Likewise.
33584 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33587 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33590 2012-12-07 David S. Miller <davem@davemloft.net>
33592 * po/libc.pot: Update.
33594 2012-12-07 Richard Henderson <rth@redhat.com>
33597 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33598 normal/normal case to before the switch.
33599 (_FP_DIV): Likewise.
33601 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33602 Mike Frysinger <vapier@gentoo.org>
33604 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33605 check for __NR_fadvise64_64.
33607 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33609 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33610 0, not just to plain "0" as a statement.
33611 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33614 2012-12-06 Joseph Myers <joseph@codesourcery.com>
33616 * NEWS: Use sourceware.org in Bugzilla URL.
33618 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33621 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33623 * stdio-common/tst-put-error.c (do_test): Add newline to the
33624 padded test to ensure flush.
33626 2012-12-05 Jeff Law <law@redhat.com>
33628 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33630 2012-12-05 Joseph Myers <joseph@codesourcery.com>
33632 * README: Don't refer to ports add-on as distributed separately.
33633 Mention AArch64 in list of systems supported in the ports add-on.
33635 * LICENSES: Add more non-FSF copyright and license notices.
33637 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33640 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33642 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33643 10000 as width of padded output.
33645 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33647 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33649 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33650 variable LX with __attribute__ ((unused)).
33651 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33653 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33654 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33655 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33656 with __attribute__ ((unused)).
33658 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
33660 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33662 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33664 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33665 (CFLAGS-nldbl-acos.c): New variable.
33666 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33667 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33668 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33669 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33670 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33671 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33672 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33673 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33674 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33675 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33676 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33677 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33678 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33679 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33680 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33681 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33682 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33683 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33684 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33685 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33686 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33687 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33688 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33689 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33690 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33691 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33692 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33693 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33694 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33695 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33696 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33697 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33698 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33699 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33700 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33701 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33702 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33703 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33704 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33705 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33706 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33707 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33708 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33709 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33710 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33711 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33712 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33713 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33714 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33715 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33716 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33717 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33718 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33719 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33720 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33721 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33722 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33723 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33724 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33725 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33726 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33727 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33728 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33729 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33730 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33731 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33732 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33733 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33734 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33735 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33736 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33737 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33738 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33739 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33740 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33741 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33742 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33743 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33744 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33745 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33746 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33747 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33748 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33749 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33750 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33751 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33752 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33753 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33754 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33755 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33756 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33757 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33758 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33759 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33760 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33761 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33762 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33765 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33769 whole low double instead of just low 47 bits when splitting values
33772 2012-12-03 Allan McRae <allan@archlinux.org>
33774 * manual/stdio.texi (Predefined Printf Handlers): Remove
33775 @hsep and @vsep usage.
33777 2012-12-03 Mike Frysinger <vapier@gentoo.org>
33779 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33780 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33782 2012-12-03 Jeff Law <law@redhat.com>
33784 * time/sys/time.h (settimeofday): Do not mark TV argument
33787 2012-12-01 Mike Frysinger <vapier@gentoo.org>
33789 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33790 when currently writing and seek to current position when not.
33791 * libio/Makefile (tests): Remove bug-fclose1.
33792 * libio/bug-fclose1.c: Delete.
33794 2012-12-01 Joseph Myers <joseph@codesourcery.com>
33796 * manual/arith.texi (feenableexcept): Fix typo.
33797 (fedisableexcept): Likewise.
33799 2012-11-30 Roland McGrath <roland@hack.frob.com>
33801 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33802 second, differently-typed declaration, rather than a cast.
33804 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33806 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33807 * include/rpc/svc.h: ... here.
33809 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33812 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33813 depending n and resplen2 to catch cases where answer
33816 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33818 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33819 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33821 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33823 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33825 2012-11-29 Roland McGrath <roland@hack.frob.com>
33827 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33829 2012-11-28 Jeff Law <law@redhat.com>
33832 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33833 dataset_temporary. Track alloca usage into alloca_used.
33834 If dataset is large allocate and release it via malloc/free.
33836 2012-06-04 Florian Weimer <fweimer@redhat.com>
33839 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33841 2012-11-28 David S. Miller <davem@davemloft.net>
33843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33845 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33848 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33849 of pi/2 rounded to nearest to 64 bits.
33850 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33851 nearest to 64 bits.
33852 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33855 2012-11-28 Jeff Law <law@redhat.com>
33856 Martin Osvald <mosvald@redhat.com>
33859 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33860 * sunrpc/svc.c: Include time.h.
33861 (__svc_accept_failed): New function.
33862 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33863 any reason other than EINTR, call __svc_accept_failed.
33864 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33865 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33867 2012-11-28 Andreas Schwab <schwab@suse.de>
33869 * scripts/abilist.awk: Also handle indirect functions in .opd
33872 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33875 * sysdeps/x86/fpu/powl_helper.c: New file.
33876 * sysdeps/x86/fpu/Makefile: Likewise.
33877 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33879 (__ieee754_powl): Use __powl_helper for finite arguments except
33880 integer exponents below 8.
33881 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33883 (__ieee754_powl): Use __powl_helper for finite arguments except
33884 integer exponents below 8.
33885 * math/libm-test.inc (pow_test): Add more tests and enable some
33886 previously disabled tests.
33887 * sysdeps/i386/fpu/libm-test-ulps: Update.
33888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33890 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33891 Carlos O'Donell <carlos_odonell@mentor.com>
33893 * nss/makedb.c (is_prime): Assert that input is odd and greater
33894 than 4. Note that fact in a comment too.
33895 (next_prime): Add 4 to input.
33897 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33900 * libio/Makefile (tests): Add test case tst-fwrite-error.
33901 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33902 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33903 * libio/tst-fwrite-error.c: New test case.
33905 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33907 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33908 before casting to void *.
33909 * include/libc-internal.h (__pointer_type): New macro.
33910 (__integer_if_pointer_type_sub): Likewise.
33911 (__integer_if_pointer_type): Likewise.
33912 (cast_to_integer): Likewise.
33913 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33914 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33915 before casting to atomic64_t.
33916 (atomic_exchange_acq): Likewise.
33917 (__arch_exchange_and_add_body): Likewise.
33918 (__arch_add_body): Likewise.
33919 (atomic_add_negative): Likewise.
33920 (atomic_add_zero): Likewise.
33922 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33924 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33925 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33926 (add_fdes): Likewise.
33927 (linear_search_fdes): Likewise.
33928 (binary_search_unencoded_fdes): Likewise.
33930 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33932 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33934 2012-11-24 Adam Conrad <adconrad@0c3.net>
33936 * configure.in: Autodetect C++ header directories.
33937 * configure: Regenerated.
33939 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33941 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33943 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33947 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33949 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33950 LDBL_MANT_DIG == 106]: Disable some tests.
33951 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33953 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33957 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33958 input for small inputs. Return +/- pi/2 for large inputs.
33959 * math/libm-test.inc (atan_test): Add more tests.
33961 * sysdeps/generic/unwind-dw2-fde-glibc.c
33962 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33963 __attribute__ ((unused)).
33966 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33967 x * y if x and y are nonzero and z is zero.
33970 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33971 nonzero exponents with absolute value below 0x1p-117 to +/-
33975 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33976 up arguments below 2**-450, not just those below 2**-500.
33977 * math/libm-test.inc (hypot_test): Add another test.
33980 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33981 Return a+b for ratio over 2**120, not 2**60.
33982 * math/libm-test.inc (hypot_test): Add another test.
33984 * math/libm-test.inc (clog_test): Use
33985 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33986 (clog10_test): Likewise.
33989 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33991 2012-11-22 Andreas Schwab <schwab@suse.de>
33993 * sysdeps/i386/fpu/libm-test-ulps: Update.
33995 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33997 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33998 printf output with newline.
34000 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34003 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34004 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34005 -z nodlopen, -z initfirst and -z execstack support.
34006 * configure: Regenerated.
34008 * elf/elf.h (DF_1_NODIRECT): New macro.
34009 (DF_1_IGNMULDEF): Likewise.
34010 (DF_1_NOKSYMS): Likewise.
34011 (DF_1_NOHDR): Likewise.
34012 (DF_1_EDITED): Likewise.
34013 (DF_1_NORELOC): Likewise.
34014 (DF_1_SYMINTPOSE): Likewise.
34015 (DF_1_GLOBAUDIT): Likewise.
34016 (DF_1_SINGLETON): Likewise.
34017 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34018 DT_1_SUPPORTED_MASK bits.
34019 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34021 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34023 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34025 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34027 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34030 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34031 (sendmmsg): Move declarations...
34032 * socket/sys/socket.h: ... here.
34033 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34034 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34036 * socket/recvmmsg.c: ... this new file.
34037 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34038 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34039 definition of __sendmmsg hidden.
34040 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34041 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34042 Move ENOSYS stub into and include it from...
34043 * socket/sendmmsg.c: ... this new file.
34044 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34045 (sysdep_routines): Move recvmmsg and sendmmsg...
34046 * socket/Makefile (routines): ... here.
34047 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34048 (GLIBC_PRIVATE): Add __sendmmsg.
34049 * include/sys/socket.h (__sendmmsg): Add declarations.
34050 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34053 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34055 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34056 variable I1 with __attribute__ ((unused)).
34057 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34059 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34061 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34062 DUMMY variables with __attribute__ ((unused)).
34064 * bits/byteswap.h: Include <bits/types.h>.
34065 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34067 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34069 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34070 string_t. Do not manually set errno.
34071 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34072 length with __strnlen. Make sure to both set errno and return it on
34075 2012-11-19 David S. Miller <davem@davemloft.net>
34077 With help from Joseph Myers.
34078 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34079 very large arguments properly.
34080 * math/libm-test.inc (atan_test): New tests.
34081 (atan2_test): New tests.
34082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34085 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34088 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34091 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34092 [POSIX] (EADDRNOTAVAIL): Likewise.
34093 [POSIX] (EAFNOSUPPORT): Likewise.
34094 [POSIX] (EALREADY): Likewise.
34095 [POSIX] (ECONNABORTED): Likewise.
34096 [POSIX] (ECONNREFUSED): Likewise.
34097 [POSIX] (ECONNRESET): Likewise.
34098 [POSIX] (EDESTADDRREQ): Likewise.
34099 [POSIX] (EDQUOT): Likewise.
34100 [POSIX] (EHOSTUNREACH): Likewise.
34101 [POSIX] (EIDRM): Likewise.
34102 [POSIX] (EISCONN): Likewise.
34103 [POSIX] (ELOOP): Likewise.
34104 [POSIX] (EMULTIHOP): Likewise.
34105 [POSIX] (ENETDOWN): Likewise.
34106 [POSIX] (ENETUNREACH): Likewise.
34107 [POSIX] (ENOBUFS): Likewise.
34108 [POSIX] (ENODATA): Likewise.
34109 [POSIX] (ENOLINK): Likewise.
34110 [POSIX] (ENOMSG): Likewise.
34111 [POSIX] (ENOPROTOOPT): Likewise.
34112 [POSIX] (ENOSR): Likewise.
34113 [POSIX] (ENOSTR): Likewise.
34114 [POSIX] (ENOTCONN): Likewise.
34115 [POSIX] (ENOTSOCK): Likewise.
34116 [POSIX] (EOPNOTSUPP): Likewise.
34117 [POSIX] (EOVERFLOW): Likewise.
34118 [POSIX] (EPROTO): Likewise.
34119 [POSIX] (EPROTONOSUPPORT): Likewise.
34120 [POSIX] (EPROTOTYPE): Likewise.
34121 [POSIX] (ESTALE): Likewise.
34122 [POSIX] (ETIME): Likewise.
34123 [POSIX] (ETXTBSY): Likewise.
34124 [POSIX] (EWOULDBLOCK): Likewise.
34125 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34126 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34127 [POSIX] (SEEK_CUR): Likewise.
34128 [POSIX] (SEEK_END): Likewise.
34129 [POSIX || UNIX98] (mode_t): Do not require.
34130 [POSIX] (off_t): Likewise.
34131 [POSIX] (pid_t): Likewise.
34132 [POSIX] (sys/stat.h): Do not allow header.
34133 [POSIX] (unistd.h): Likewise.
34134 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34135 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34136 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34137 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34139 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34140 sigevent): Specify elements.
34141 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34143 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34144 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34146 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34147 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34148 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34149 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34150 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34151 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34152 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34153 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34154 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34155 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34156 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34157 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34158 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34159 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34161 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34163 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34165 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34167 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34168 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34169 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34170 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34171 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34172 Specify lower bound on value.
34173 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34174 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34175 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34176 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34177 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34178 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34179 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34180 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34182 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34184 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34185 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34186 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34187 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34188 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34189 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34190 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34191 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34192 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34193 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34194 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34195 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34196 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34197 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34198 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34199 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34201 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34203 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34204 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34205 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34206 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34207 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34208 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34210 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34211 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34212 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34213 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34214 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34215 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34216 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34218 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34219 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34220 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34221 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34222 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34223 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34224 specify as optional.
34225 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34226 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34227 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34228 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34229 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34230 [XPG3] (NL_LANGMAX): Likewise.
34231 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34232 [POSIX || XPG3] (NL_NMAX): Likewise.
34233 [POSIX || XPG3] (NL_SETMAX): Likewise.
34234 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34235 [XPG3] (NZERO): Likewise.
34236 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34237 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34238 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34239 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34240 (REG_ERANGE): Expect.
34241 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34243 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34244 Use (void) in prototype.
34245 [POSIX] (*_t): Allow.
34246 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34247 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34248 (WRDE_BADVAL): Expect.
34250 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34252 [XPG3 || XPG4] (O_RSYNC): Likewise.
34253 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34255 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34256 [XPG3 || XPG4] (sigqueue): Likewise.
34257 [XPG3 || XPG4] (sigtimedwait): Likewise.
34258 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34259 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34260 [XPG3 || XPG4] (vsnprintf): Likewise.
34261 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34263 [XPG3 || XPG4] (blksize_t): Likewise.
34264 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34266 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34267 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34268 [XPG3 || XPG4] (struct itimerspec): Likewise.
34269 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34270 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34271 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34272 [XPG3 || XPG4] (clockid_t): Likewise.
34273 [XPG3 || XPG4] (timer_t): Likewise.
34274 [XPG3 || XPG4] (clock_getres): Likewise.
34275 [XPG3 || XPG4] (clock_gettime): Likewise.
34276 [XPG3 || XPG4] (clock_settime): Likewise.
34277 [XPG3 || XPG4] (nanosleep): Likewise.
34278 [XPG3 || XPG4] (timer_create): Likewise.
34279 [XPG3 || XPG4] (timer_delete): Likewise.
34280 [XPG3 || XPG4] (timer_gettime): Likewise.
34281 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34282 [XPG3 || XPG4] (timer_settime): Likewise.
34283 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34284 [XPG3 || XPG4] (getlogin_r): Likewise.
34285 [XPG3 || XPG4] (pread): Likewise.
34286 [XPG3 || XPG4] (pthread_atfork): Likewise.
34287 [XPG3 || XPG4] (pwrite): Likewise.
34290 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34293 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34295 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34296 finalizing MALLSTREAM.
34298 * sysdeps/mach/hurd/syncfs.c: New file.
34300 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34303 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34304 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34305 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34306 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34307 (_nss_dns_gethostbyname4_r): Likewise.
34308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34309 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34311 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34314 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34316 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34318 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34319 * elf/cache.c (print_entry): Print ",AArch64" for
34322 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34323 * elf/cache.c (print_entry): Print ",hard-float" for
34326 2012-11-18 David S. Miller <davem@davemloft.net>
34328 With help from Joseph Myers.
34329 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34331 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34333 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34334 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34336 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34337 * math/libm-test.inc (y0_test): New tests.
34338 (y1_test): New tests.
34339 * sysdeps/i386/fpu/libm-test-ulps: Update.
34340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34343 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34345 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34347 * configure: Regenerated.
34349 2012-11-17 David S. Miller <davem@davemloft.net>
34352 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34353 nonzero exponents with absolute value below 0x1p-128 to +/-
34356 2012-11-17 Joseph Myers <joseph@codesourcery.com>
34358 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34360 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34362 * posix/getconf-speclist.c: New file.
34363 * posix/posix-envs.def: Likewise.
34364 * posix/confstr.c (START_ENV_GROUP): New macro.
34365 (END_ENV_GROUP): Likewise.
34366 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34367 (KNOWN_PRESENT_ENV_STRING): Likewise.
34368 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34369 (UNKNOWN_ENVIRONMENT): Likewise.
34370 (confstr): Include posix-envs.def instead of handling
34371 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34372 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34373 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34374 (END_ENV_GROUP): Likewise.
34375 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34376 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34377 (UNKNOWN_ENVIRONMENT): Likewise.
34378 (__sysconf): Include posix-envs.def instead of handling associated
34379 cases directly here.
34380 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34381 preprocessing getconf-speclist.c rather than running getconf or
34382 generating empty file.
34384 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34386 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34388 2012-11-16 Andrej Lajovic <natrij@gmail.com>
34391 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34393 2012-11-16 David S. Miller <davem@davemloft.net>
34395 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34396 smaller than LDBL_EPSILON/2.0L, just return xm1.
34398 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34400 * elf/tst-array1.c (init): Set constructor priority to 1000.
34401 (fini): Set destructor priority to 1000.
34402 * elf/tst-array2dep.c: Likewise.
34404 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34407 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34408 (_IO_new_file_xsputn): Also return EOF if none of the input
34409 data was written when overflow failed.
34410 * libio/iopadn.c (_IO_padn): Likewise.
34411 * libio/iowpadn.c (_IO_wpadn): Likewise.
34412 * stdio-common/tst-put-error.c: Add copyright notice.
34413 (do_test): Add case for printing padded string.
34414 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34415 _IO_padn returned error.
34416 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34417 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34420 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34422 * libio/libioP.h: Add comment note that the references to C++
34423 bits are now obsolete.
34425 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34427 * math/libm-test.inc (check_complex): Use asprintf.
34429 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34431 * debug/pcprofiledump.c (print_version): Update copyright year.
34432 * malloc/memusagestat.c (print_version): Likewise.
34434 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34437 * elf/Makefile (tests): Add tst-audit8.
34438 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34439 ($(objpfx)tst-audit8.out): New target.
34440 (tst-audit8-ENV): New variable.
34441 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34442 audit if l_reloc_result is NULL.
34443 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34444 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34445 * elf/tst-audit8.c: New file.
34447 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34449 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34450 * misc/Makefile (CFLAGS-select.c): Define.
34451 * posix/Makefile (CFLAGS-pause.c): Define.
34453 2012-11-13 David S. Miller <davem@davemloft.net>
34455 * crypt/Makefile: Move test targets after toplevel Rules
34456 inclusion. Grab any necessary sysdep routines when linking.
34457 * crypt/md5.c (md5_process_block): Remove define, we will always
34458 name it __md5_process_block.
34459 (md5_finish_ctx): Update md5_process_block call.
34460 (md5_stream): Likewise.
34461 (md5_process_bytes): Likewise.
34462 (md5_process_block): Rename to __md5_process_block and move to ...
34463 * crypt/md5-block.c: ... here.
34464 * crypt/sha256.c (sha256_process_block): Move to ...
34465 * crypt/sha256-block.c: ... here.
34466 * crypt/sha512.c (sha512_process_block): Move to ...
34467 * crypt/sha512-block.c: ... here.
34468 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34470 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34471 * sysdeps/sparc/sparc64/multiarch/Makefile
34472 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34474 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34475 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34477 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34478 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34479 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34480 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34481 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34482 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34483 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34484 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34485 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34487 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34488 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34490 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34492 2012-11-13 Joseph Myers <joseph@codesourcery.com>
34494 * timezone/tzselect.ksh: Update from tzcode git revision
34495 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34496 * timezone/zdump.c: Likewise.
34497 * timezone/zic.c: Likewise.
34498 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34499 in TZVERSION setting, not $(PKGVERSION).
34500 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34501 REPORT_BUGS_TO settings.
34504 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34507 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34509 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34510 detection to immediately after _FP_ROUND().
34511 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34514 2012-11-11 David S. Miller <davem@davemloft.net>
34516 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34518 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34519 __close rather than their public counterparts.
34521 2012-11-10 Joseph Myers <joseph@codesourcery.com>
34523 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34525 [UNIX98] (sem_timedwait): Do not expect.
34526 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34527 [XPG4 || UNIX98] (sockatmark): Do not expect.
34528 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34529 (clock_getcpuclockid): Do not expect.
34530 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34531 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34533 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34534 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34535 [UNIX98] (vwscanf): Likewise.
34536 [UNIX98] (vswscanf): Likewise.
34538 2012-11-09 Joseph Myers <joseph@codesourcery.com>
34540 * timezone/version.h: Remove file.
34541 * timezone/README: Do not refer to version.h.
34542 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34543 $(objpfx)version.h.
34544 ($(objpfx)zdump.o): Likewise.
34545 ($(objpfx)version.h): New target.
34547 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34549 * timezone/README: Don't mention modification to tzselect.ksh.
34550 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34551 work on unmodified tzselect.ksh. Substitute version numbers in
34554 * Makefile (format-me): Remove.
34555 (INSTALL): Adjust indentation. Use commands directly instead of
34556 using $(format-me).
34558 * aclocal.m4 (ACX_PKGVERSION): New macro.
34559 (ACX_BUGURL): Likewise.
34560 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34561 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34562 (REPORT_BUGS_TO): Likewise.
34563 * configure: Regenerated.
34564 * config.h.in (PKGVERSION): New macro.
34565 (REPORT_BUGS_TO): Likewise.
34566 * config.make.in (PKGVERSION): New variable.
34567 (PKGVERSION_TEXI): Likewise.
34568 (REPORT_BUGS_TO): Likewise.
34569 (REPORT_BUGS_TEXI): Likewise.
34570 * Makefile (format-me): Use -I$(common-objpfx)manual.
34571 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34572 ($(common-objpfx)manual/%): New target.
34573 (manual/%): Remove target.
34574 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34575 (print_version): Use PKGVERSION.
34576 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34577 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34578 and REPORT_BUGS_TO.
34579 ($(objpfx)xtrace): Likewise.
34580 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34581 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34582 (print_version): Use PKGVERSION.
34583 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34584 (do_version): Use PKGVERSION.
34585 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34587 (common-ldd-rewrite): Likewise.
34588 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34589 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34590 (print_version): Use PKGVERSION.
34591 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34592 * elf/pldd.c (argp_program_bug_address): Remove variable.
34593 (more_help): New function.
34594 (argp): Use more_help.
34595 (print_version): Use PKGVERSION.
34596 * elf/sln.c (main): Use PKGVERSION.
34597 (usage): Use REPORT_BUGS_TO.
34598 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34599 (top level): Use PKGVERSION.
34600 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34601 (print_version): Use PKGVERSION.
34602 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34603 (print_version): Use PKGVERSION.
34604 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34605 (print_version): Use PKGVERSION.
34606 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34607 (print_version): Use PKGVERSION.
34608 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34609 (print_version): Use PKGVERSION.
34610 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34611 (print_version): Use PKGVERSION.
34612 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34614 ($(objpfx)memusage): Likewise.
34615 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34616 (do_version): Use PKGVERSION.
34617 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34618 (print_version): Use PKGVERSION.
34619 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34620 ($PKGVERSION): New variable.
34621 ($REPORT_BUGS_TO): Likewise.
34622 (usage): Use $REPORT_BUGS_TO.
34623 (top level): Use $PKGVERSION.
34624 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34625 ($(objpfx)pkgvers.texi): New rule.
34626 ($(objpfx)stamp-pkgvers): Likewise.
34627 * manual/install.texi: Include pkgvers.texi.
34628 (--with-pkgversion): Document new configure option.
34629 (--with-bugurl): Likewise.
34630 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34631 than necessarily for this particular distribution. Use
34632 REPORT_BUGS_TO for where to report bugs.
34633 * INSTALL: Regenerated.
34634 * manual/libc.texinfo: Include pkgvers.texi.
34635 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34636 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34637 (print_version): Use PKGVERSION.
34638 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34639 (print_version): Use PKGVERSION.
34640 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34641 (print_version): Use PKGVERSION.
34642 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34643 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34645 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34646 (print_version): Use PKGVERSION.
34647 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34648 (print_version): Use PKGVERSION.
34649 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34652 * timezone/checktab.awk: Update from tzcode 2012i.
34653 * timezone/ialloc.c: Likewise.
34654 * timezone/private.h: Likewise.
34655 * timezone/scheck.c: Likewise.
34656 * timezone/tzfile.h: Likewise.
34657 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34658 (TZVERSION): Hardcode tzcode version number.
34659 * timezone/zdump.c: Update from tzcode 2012i.
34660 * timezone/zic.c: Likewise.
34661 * timezone/version.h: New file.
34662 * timezone/README: Describe version.h. Update upstream location.
34665 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34666 (mktemp): Enable declaration.
34667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34670 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34672 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34674 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34676 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34680 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34684 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34685 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34686 for copies of such integer values.
34687 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34688 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34690 2012-11-09 Andreas Jaeger <aj@suse.de>
34692 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34693 definitions and declarations that are provided by
34694 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34696 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34698 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34699 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34700 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34703 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34705 * elf/elf.h: Update comment before AArch64 relocations.
34707 2012-11-07 David S. Miller <davem@davemloft.net>
34709 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34710 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34711 (__start_context): Declare.
34712 (__makecontext_ret): Delete.
34713 (__makecontext): Hook up __start_context instead of
34715 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34716 (sysdep_routines): Add __start_context when in stdlib.
34718 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34720 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34721 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34722 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34724 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34725 (READELF): New variable. Use it instead of hardcoded "readelf".
34727 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34729 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34730 * sysdeps/x86/Makefile: Here.
34731 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34732 * sysdeps/x86/tst-xmmymm.sh: This.
34734 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34736 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34738 [UNIX98] (pthread_barrier_t): Do not expect.
34739 [UNIX98] (pthread_barrierattr_t): Likewise.
34740 [UNIX98] (pthread_spinlock_t): Likewise.
34741 [UNIX98] (pthread_barrier_destroy): Likewise.
34742 [UNIX98] (pthread_barrier_init): Likewise.
34743 [UNIX98] (pthread_barrier_wait): Likewise.
34744 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34745 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34746 [UNIX98] (pthread_barrierattr_init): Likewise.
34747 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34748 [UNIX98] (pthread_getcpuclockid): Likewise.
34749 [UNIX98] (pthread_mutex_timedlock): Likewise.
34750 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34751 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34752 [UNIX98] (pthread_sigmask): Likewise.
34753 [UNIX98] (pthread_spin_destroy): Likewise.
34754 [UNIX98] (pthread_spin_init): Likewise.
34755 [UNIX98] (pthread_spin_lock): Likewise.
34756 [UNIX98] (pthread_spin_trylock): Likewise.
34757 [UNIX98] (pthread_spin_unlock): Likewise.
34758 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34760 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34762 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34763 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34764 [XPG3 || XPG4] (pthread_key_t): Likewise.
34765 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34766 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34767 [XPG3 || XPG4] (pthread_once_t): Likewise.
34768 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34769 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34770 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34771 [XPG3 || XPG4] (pthread_t): Likewise.
34773 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34775 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34777 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34778 Change function return type to int.
34780 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34781 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34782 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34783 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34784 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34785 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34786 [!POSIX] (posix_madvise): Likewise.
34787 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34789 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34790 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34791 (mode_t): Likewise.
34792 (posix_mem_offset): Likewise.
34793 (posix_typed_mem_get_info): Likewise.
34794 (posix_typed_mem_open): Likewise.
34796 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34797 Change condition to [XOPEN2K8].
34799 * conform/conformtest.pl: Preprocess allow-header data with -x c
34800 instead of from stdin.
34801 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34802 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34803 [C99-based standards] (cerfc): Likewise.
34804 [C99-based standards] (cexp2): Likewise.
34805 [C99-based standards] (cexpm1): Likewise.
34806 [C99-based standards] (clog10): Likewise.
34807 [C99-based standards] (clog1p): Likewise.
34808 [C99-based standards] (clog2): Likewise.
34809 [C99-based standards] (clgamma): Likewise.
34810 [C99-based standards] (ctgamma): Likewise.
34811 [C99-based standards] (cerff): Likewise.
34812 [C99-based standards] (cerfcf): Likewise.
34813 [C99-based standards] (cexp2f): Likewise.
34814 [C99-based standards] (cexpm1f): Likewise.
34815 [C99-based standards] (clog10f): Likewise.
34816 [C99-based standards] (clog1pf): Likewise.
34817 [C99-based standards] (clog2f): Likewise.
34818 [C99-based standards] (clgammaf): Likewise.
34819 [C99-based standards] (ctgammaf): Likewise.
34820 [C99-based standards] (cerfl): Likewise.
34821 [C99-based standards] (cerfcl): Likewise.
34822 [C99-based standards] (cexp2l): Likewise.
34823 [C99-based standards] (cexpm1l): Likewise.
34824 [C99-based standards] (clog10l): Likewise.
34825 [C99-based standards] (clog1pl): Likewise.
34826 [C99-based standards] (clog2l): Likewise.
34827 [C99-based standards] (clgammal): Likewise.
34828 [C99-based standards] (ctgammal): Likewise.
34829 * conform/data/inttypes.h-data [C99-based standards]: Include
34830 stdint.h-data. Remove all expectations for stdint.h contents.
34831 [C99-based standards] (PRI*): Do not allow.
34832 [C99-based standards] (SCN*): Likewise.
34833 [C99-based standards] (*_t): Likewise.
34834 [C99-based-standards] (PRId8): Expect macro.
34835 [C99-based-standards] (PRIi8): Likewise.
34836 [C99-based-standards] (PRIo8): Likewise.
34837 [C99-based-standards] (PRIu8): Likewise.
34838 [C99-based-standards] (PRIx8): Likewise.
34839 [C99-based-standards] (PRIX8): Likewise.
34840 [C99-based-standards] (SCNd8): Likewise.
34841 [C99-based-standards] (SCNi8): Likewise.
34842 [C99-based-standards] (SCNo8): Likewise.
34843 [C99-based-standards] (SCNu8): Likewise.
34844 [C99-based-standards] (SCNx8): Likewise.
34845 [C99-based-standards] (PRIdLEAST8): Likewise.
34846 [C99-based-standards] (PRIiLEAST8): Likewise.
34847 [C99-based-standards] (PRIoLEAST8): Likewise.
34848 [C99-based-standards] (PRIuLEAST8): Likewise.
34849 [C99-based-standards] (PRIxLEAST8): Likewise.
34850 [C99-based-standards] (PRIXLEAST8): Likewise.
34851 [C99-based-standards] (SCNdLEAST8): Likewise.
34852 [C99-based-standards] (SCNiLEAST8): Likewise.
34853 [C99-based-standards] (SCNoLEAST8): Likewise.
34854 [C99-based-standards] (SCNuLEAST8): Likewise.
34855 [C99-based-standards] (SCNxLEAST8): Likewise.
34856 [C99-based-standards] (PRIdFAST8): Likewise.
34857 [C99-based-standards] (PRIiFAST8): Likewise.
34858 [C99-based-standards] (PRIoFAST8): Likewise.
34859 [C99-based-standards] (PRIuFAST8): Likewise.
34860 [C99-based-standards] (PRIxFAST8): Likewise.
34861 [C99-based-standards] (PRIXFAST8): Likewise.
34862 [C99-based-standards] (SCNdFAST8): Likewise.
34863 [C99-based-standards] (SCNiFAST8): Likewise.
34864 [C99-based-standards] (SCNoFAST8): Likewise.
34865 [C99-based-standards] (SCNuFAST8): Likewise.
34866 [C99-based-standards] (SCNxFAST8): Likewise.
34867 [C99-based-standards] (PRId16): Likewise.
34868 [C99-based-standards] (PRIi16): Likewise.
34869 [C99-based-standards] (PRIo16): Likewise.
34870 [C99-based-standards] (PRIu16): Likewise.
34871 [C99-based-standards] (PRIx16): Likewise.
34872 [C99-based-standards] (PRIX16): Likewise.
34873 [C99-based-standards] (SCNd16): Likewise.
34874 [C99-based-standards] (SCNi16): Likewise.
34875 [C99-based-standards] (SCNo16): Likewise.
34876 [C99-based-standards] (SCNu16): Likewise.
34877 [C99-based-standards] (SCNx16): Likewise.
34878 [C99-based-standards] (PRIdLEAST16): Likewise.
34879 [C99-based-standards] (PRIiLEAST16): Likewise.
34880 [C99-based-standards] (PRIoLEAST16): Likewise.
34881 [C99-based-standards] (PRIuLEAST16): Likewise.
34882 [C99-based-standards] (PRIxLEAST16): Likewise.
34883 [C99-based-standards] (PRIXLEAST16): Likewise.
34884 [C99-based-standards] (SCNdLEAST16): Likewise.
34885 [C99-based-standards] (SCNiLEAST16): Likewise.
34886 [C99-based-standards] (SCNoLEAST16): Likewise.
34887 [C99-based-standards] (SCNuLEAST16): Likewise.
34888 [C99-based-standards] (SCNxLEAST16): Likewise.
34889 [C99-based-standards] (PRIdFAST16): Likewise.
34890 [C99-based-standards] (PRIiFAST16): Likewise.
34891 [C99-based-standards] (PRIoFAST16): Likewise.
34892 [C99-based-standards] (PRIuFAST16): Likewise.
34893 [C99-based-standards] (PRIxFAST16): Likewise.
34894 [C99-based-standards] (PRIXFAST16): Likewise.
34895 [C99-based-standards] (SCNdFAST16): Likewise.
34896 [C99-based-standards] (SCNiFAST16): Likewise.
34897 [C99-based-standards] (SCNoFAST16): Likewise.
34898 [C99-based-standards] (SCNuFAST16): Likewise.
34899 [C99-based-standards] (SCNxFAST16): Likewise.
34900 [C99-based-standards] (PRId32): Likewise.
34901 [C99-based-standards] (PRIi32): Likewise.
34902 [C99-based-standards] (PRIo32): Likewise.
34903 [C99-based-standards] (PRIu32): Likewise.
34904 [C99-based-standards] (PRIx32): Likewise.
34905 [C99-based-standards] (PRIX32): Likewise.
34906 [C99-based-standards] (SCNd32): Likewise.
34907 [C99-based-standards] (SCNi32): Likewise.
34908 [C99-based-standards] (SCNo32): Likewise.
34909 [C99-based-standards] (SCNu32): Likewise.
34910 [C99-based-standards] (SCNx32): Likewise.
34911 [C99-based-standards] (PRIdLEAST32): Likewise.
34912 [C99-based-standards] (PRIiLEAST32): Likewise.
34913 [C99-based-standards] (PRIoLEAST32): Likewise.
34914 [C99-based-standards] (PRIuLEAST32): Likewise.
34915 [C99-based-standards] (PRIxLEAST32): Likewise.
34916 [C99-based-standards] (PRIXLEAST32): Likewise.
34917 [C99-based-standards] (SCNdLEAST32): Likewise.
34918 [C99-based-standards] (SCNiLEAST32): Likewise.
34919 [C99-based-standards] (SCNoLEAST32): Likewise.
34920 [C99-based-standards] (SCNuLEAST32): Likewise.
34921 [C99-based-standards] (SCNxLEAST32): Likewise.
34922 [C99-based-standards] (PRIdFAST32): Likewise.
34923 [C99-based-standards] (PRIiFAST32): Likewise.
34924 [C99-based-standards] (PRIoFAST32): Likewise.
34925 [C99-based-standards] (PRIuFAST32): Likewise.
34926 [C99-based-standards] (PRIxFAST32): Likewise.
34927 [C99-based-standards] (PRIXFAST32): Likewise.
34928 [C99-based-standards] (SCNdFAST32): Likewise.
34929 [C99-based-standards] (SCNiFAST32): Likewise.
34930 [C99-based-standards] (SCNoFAST32): Likewise.
34931 [C99-based-standards] (SCNuFAST32): Likewise.
34932 [C99-based-standards] (SCNxFAST32): Likewise.
34933 [C99-based-standards] (PRId64): Likewise.
34934 [C99-based-standards] (PRIi64): Likewise.
34935 [C99-based-standards] (PRIo64): Likewise.
34936 [C99-based-standards] (PRIu64): Likewise.
34937 [C99-based-standards] (PRIx64): Likewise.
34938 [C99-based-standards] (PRIX64): Likewise.
34939 [C99-based-standards] (SCNd64): Likewise.
34940 [C99-based-standards] (SCNi64): Likewise.
34941 [C99-based-standards] (SCNo64): Likewise.
34942 [C99-based-standards] (SCNu64): Likewise.
34943 [C99-based-standards] (SCNx64): Likewise.
34944 [C99-based-standards] (PRIdLEAST64): Likewise.
34945 [C99-based-standards] (PRIiLEAST64): Likewise.
34946 [C99-based-standards] (PRIoLEAST64): Likewise.
34947 [C99-based-standards] (PRIuLEAST64): Likewise.
34948 [C99-based-standards] (PRIxLEAST64): Likewise.
34949 [C99-based-standards] (PRIXLEAST64): Likewise.
34950 [C99-based-standards] (SCNdLEAST64): Likewise.
34951 [C99-based-standards] (SCNiLEAST64): Likewise.
34952 [C99-based-standards] (SCNoLEAST64): Likewise.
34953 [C99-based-standards] (SCNuLEAST64): Likewise.
34954 [C99-based-standards] (SCNxLEAST64): Likewise.
34955 [C99-based-standards] (PRIdFAST64): Likewise.
34956 [C99-based-standards] (PRIiFAST64): Likewise.
34957 [C99-based-standards] (PRIoFAST64): Likewise.
34958 [C99-based-standards] (PRIuFAST64): Likewise.
34959 [C99-based-standards] (PRIxFAST64): Likewise.
34960 [C99-based-standards] (PRIXFAST64): Likewise.
34961 [C99-based-standards] (SCNdFAST64): Likewise.
34962 [C99-based-standards] (SCNiFAST64): Likewise.
34963 [C99-based-standards] (SCNoFAST64): Likewise.
34964 [C99-based-standards] (SCNuFAST64): Likewise.
34965 [C99-based-standards] (SCNxFAST64): Likewise.
34966 [C99-based-standards] (PRIdMAX): Likewise.
34967 [C99-based-standards] (PRIiMAX): Likewise.
34968 [C99-based-standards] (PRIoMAX): Likewise.
34969 [C99-based-standards] (PRIuMAX): Likewise.
34970 [C99-based-standards] (PRIxMAX): Likewise.
34971 [C99-based-standards] (PRIXMAX): Likewise.
34972 [C99-based-standards] (SCNdMAX): Likewise.
34973 [C99-based-standards] (SCNiMAX): Likewise.
34974 [C99-based-standards] (SCNoMAX): Likewise.
34975 [C99-based-standards] (SCNuMAX): Likewise.
34976 [C99-based-standards] (SCNxMAX): Likewise.
34977 [C99-based-standards] (PRIdPTR): Likewise.
34978 [C99-based-standards] (PRIiPTR): Likewise.
34979 [C99-based-standards] (PRIoPTR): Likewise.
34980 [C99-based-standards] (PRIuPTR): Likewise.
34981 [C99-based-standards] (PRIxPTR): Likewise.
34982 [C99-based-standards] (PRIXPTR): Likewise.
34983 [C99-based-standards] (SCNdPTR): Likewise.
34984 [C99-based-standards] (SCNiPTR): Likewise.
34985 [C99-based-standards] (SCNoPTR): Likewise.
34986 [C99-based-standards] (SCNuPTR): Likewise.
34987 [C99-based-standards] (SCNxPTR): Likewise.
34988 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34990 * conform/data/stdint.h-data: Update comments to clarify
34992 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34994 [C99-based standards] (INT8_MAX): Likewise.
34995 [C99-based standards] (INT16_MIN): Likewise.
34996 [C99-based standards] (INT16_MAX): Likewise.
34997 [C99-based standards] (INT32_MIN): Likewise.
34998 [C99-based standards] (INT32_MAX): Likewise.
34999 [C99-based standards] (INT64_MIN): Likewise.
35000 [C99-based standards] (INT64_MAX): Likewise.
35001 [C99-based standards] (UINT8_MAX): Likewise.
35002 [C99-based standards] (UINT16_MAX): Likewise.
35003 [C99-based standards] (UINT32_MAX): Likewise.
35004 [C99-based standards] (UINT64_MAX): Likewise.
35005 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35006 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35007 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35008 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35009 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35010 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35011 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35012 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35013 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35014 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35015 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35016 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35017 [C99-based standards] (INT_FAST8_MIN): Likewise.
35018 [C99-based standards] (INT_FAST8_MAX): Likewise.
35019 [C99-based standards] (INT_FAST16_MIN): Likewise.
35020 [C99-based standards] (INT_FAST16_MAX): Likewise.
35021 [C99-based standards] (INT_FAST32_MIN): Likewise.
35022 [C99-based standards] (INT_FAST32_MAX): Likewise.
35023 [C99-based standards] (INT_FAST64_MIN): Likewise.
35024 [C99-based standards] (INT_FAST64_MAX): Likewise.
35025 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35026 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35027 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35028 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35029 [C99-based standards] (INTPTR_MIN): Likewise.
35030 [C99-based standards] (INTPTR_MAX): Likewise.
35031 [C99-based standards] (UINTPTR_MAX): Likewise.
35032 [C99-based standards] (INTMAX_MIN): Likewise.
35033 [C99-based standards] (INTMAX_MAX): Likewise.
35034 [C99-based standards] (UINTMAX_MAX): Likewise.
35035 [C99-based standards] (PTRDIFF_MIN): Likewise.
35036 [C99-based standards] (PTRDIFF_MAX): Likewise.
35037 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35038 [C99-based standards] (SIZE_MAX): Likewise.
35039 [C99-based standards] (WCHAR_MAX): Likewise.
35040 [C99-based standards] (WINT_MAX): Likewise.
35041 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35042 constraint on value.
35043 [C99-based standards] (WCHAR_MIN): Likewise.
35044 [C99-based standards] (WINT_MIN): Likewise.
35045 [C99-based standards] (*_t): Allow.
35046 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35047 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35048 Include math.h-data and complex.h-data. Remove all expectations
35049 of math.h and complex.h contents.
35050 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35052 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35053 (struct tm): Expect tag.
35054 [C99-based-standards] (wcstof): Expect function.
35055 [C99-based-standards] (wcstold): Likewise.
35056 [C99-based-standards] (wcstoll): Likewise.
35057 [C99-based-standards] (wcstoull): Likewise.
35058 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35059 macro-int-constant. Specify type.
35060 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35061 constraint on value.
35062 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35064 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35066 [ISO C standards]: Do not allow headers.
35067 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35068 wcs[abcdefghijklmnopqrstuvwxyz]*.
35069 [ISO C standards] (*_t): Do not allow.
35070 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35072 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35073 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35075 [ISO C standards]: Do not allow headers.
35076 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35077 is[abcdefghijklmnopqrstuvwxyz]*.
35078 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35079 to[abcdefghijklmnopqrstuvwxyz]*.
35080 [ISO C standards] (*_t): Do not allow.
35081 * conform/data/stdalign.h-data: New file.
35082 * conform/data/stdbool.h-data: Likewise.
35083 * conform/data/stdnoreturn.h-data: Likewise.
35085 2012-11-07 Roland McGrath <roland@hack.frob.com>
35088 * manual/filesys.texi (Directory Entries): Typo fix.
35089 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35091 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35093 * elf/elf.h (EM_AARCH64): New macro.
35094 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35095 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35096 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35097 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35098 (R_AARCH64_TLSDESC): Likewise.
35099 (NT_ARM_TLS): Likewise.
35100 (NT_ARM_HW_BREAK): Likewise.
35101 (NT_ARM_HW_WATCH): Likewise.
35103 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35106 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35107 (__ieee754_powl): Saturate nonzero exponents with absolute value
35108 below 0x1p-79 to +/- 0x1p-79.
35109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35110 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35111 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35112 nonzero exponents with absolute value below 0x1p-32 to +/-
35114 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35115 (__ieee754_powl): Saturate nonzero exponents with absolute value
35116 below 0x1p-79 to +/- 0x1p-79.
35117 * math/libm-test.inc (pow_test): Add more tests.
35119 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35121 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35122 _dl_s390_cap_flags with kernel. Increase string length.
35123 (_dl_s390_platforms): Add z196 and zEC12.
35125 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35127 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35128 Change XOPEN21K to XOPEN2K.
35130 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35132 * string/memmove.c: Use memcpy when possible.
35134 2012-11-06 Andreas Jaeger <aj@suse.de>
35136 * po/eo.po: Update from translation team.
35138 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35142 exponent and small x and y exponents, scale x or y up. Increase
35143 by 2 the exponent used in scaling up.
35144 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35145 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35146 * math/libm-test.inc (fma_test): Add more tests.
35147 (fma_test_towardzero): Likewise.
35148 (fma_test_downward): Likewise.
35149 (fma_test_upward): Likewise.
35151 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35154 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35158 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35159 namespace for names of struct fields.
35160 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35162 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35163 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35165 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35168 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35170 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35172 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35176 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35179 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35183 definitely overflow as x * y not x * y + z.
35184 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35185 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35186 * math/libm-test.inc (fma_test): Add more tests.
35187 (fma_test_towardzero): Likewise.
35188 (fma_test_downward): Likewise.
35189 (fma_test_upward): Likewise.
35191 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35195 * include/stub-tag.h: Remove file.
35196 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35198 * manual/maint.texi (Porting): Don't reference it.
35199 * Makerules ($(objpfx)stubs): Likewise.
35200 * dirent/closedir.c: Don't include <stub-tag.h>.
35201 * dirent/dirfd.c: Likewise.
35202 * dirent/fdopendir.c: Likewise.
35203 * dirent/getdents.c: Likewise.
35204 * dirent/getdents64.c: Likewise.
35205 * dirent/opendir.c: Likewise.
35206 * dirent/readdir.c: Likewise.
35207 * dirent/readdir64.c: Likewise.
35208 * dirent/readdir64_r.c: Likewise.
35209 * dirent/readdir_r.c: Likewise.
35210 * dirent/rewinddir.c: Likewise.
35211 * dirent/seekdir.c: Likewise.
35212 * dirent/telldir.c: Likewise.
35213 * gmon/profil.c: Likewise.
35214 * grp/setgroups.c: Likewise.
35215 * inet/if_index.c: Likewise.
35216 * io/access.c: Likewise.
35217 * io/chdir.c: Likewise.
35218 * io/chmod.c: Likewise.
35219 * io/chown.c: Likewise.
35220 * io/close.c: Likewise.
35221 * io/dup.c: Likewise.
35222 * io/dup2.c: Likewise.
35223 * io/dup3.c: Likewise.
35224 * io/euidaccess.c: Likewise.
35225 * io/faccessat.c: Likewise.
35226 * io/fchdir.c: Likewise.
35227 * io/fchmod.c: Likewise.
35228 * io/fchmodat.c: Likewise.
35229 * io/fchown.c: Likewise.
35230 * io/fchownat.c: Likewise.
35231 * io/fcntl.c: Likewise.
35232 * io/flock.c: Likewise.
35233 * io/fstatfs.c: Likewise.
35234 * io/fstatfs64.c: Likewise.
35235 * io/fstatvfs.c: Likewise.
35236 * io/fstatvfs64.c: Likewise.
35237 * io/futimens.c: Likewise.
35238 * io/fxstat.c: Likewise.
35239 * io/fxstat64.c: Likewise.
35240 * io/fxstatat.c: Likewise.
35241 * io/fxstatat64.c: Likewise.
35242 * io/getcwd.c: Likewise.
35243 * io/isatty.c: Likewise.
35244 * io/lchmod.c: Likewise.
35245 * io/lchown.c: Likewise.
35246 * io/link.c: Likewise.
35247 * io/linkat.c: Likewise.
35248 * io/lseek.c: Likewise.
35249 * io/lseek64.c: Likewise.
35250 * io/lxstat64.c: Likewise.
35251 * io/mkdir.c: Likewise.
35252 * io/mkdirat.c: Likewise.
35253 * io/mkfifo.c: Likewise.
35254 * io/mkfifoat.c: Likewise.
35255 * io/open.c: Likewise.
35256 * io/open64.c: Likewise.
35257 * io/openat.c: Likewise.
35258 * io/openat64.c: Likewise.
35259 * io/pipe.c: Likewise.
35260 * io/pipe2.c: Likewise.
35261 * io/poll.c: Likewise.
35262 * io/posix_fadvise.c: Likewise.
35263 * io/posix_fadvise64.c: Likewise.
35264 * io/posix_fallocate.c: Likewise.
35265 * io/posix_fallocate64.c: Likewise.
35266 * io/read.c: Likewise.
35267 * io/readlink.c: Likewise.
35268 * io/readlinkat.c: Likewise.
35269 * io/rmdir.c: Likewise.
35270 * io/sendfile.c: Likewise.
35271 * io/sendfile64.c: Likewise.
35272 * io/statfs.c: Likewise.
35273 * io/statfs64.c: Likewise.
35274 * io/statvfs.c: Likewise.
35275 * io/statvfs64.c: Likewise.
35276 * io/symlink.c: Likewise.
35277 * io/symlinkat.c: Likewise.
35278 * io/ttyname.c: Likewise.
35279 * io/ttyname_r.c: Likewise.
35280 * io/umask.c: Likewise.
35281 * io/unlink.c: Likewise.
35282 * io/unlinkat.c: Likewise.
35283 * io/utime.c: Likewise.
35284 * io/utimensat.c: Likewise.
35285 * io/write.c: Likewise.
35286 * io/xmknod.c: Likewise.
35287 * io/xmknodat.c: Likewise.
35288 * io/xstat.c: Likewise.
35289 * io/xstat64.c: Likewise.
35290 * login/getpt.c: Likewise.
35291 * login/grantpt.c: Likewise.
35292 * login/unlockpt.c: Likewise.
35293 * math/e_acoshl.c: Likewise.
35294 * math/e_acosl.c: Likewise.
35295 * math/e_asinl.c: Likewise.
35296 * math/e_atan2l.c: Likewise.
35297 * math/e_atanhl.c: Likewise.
35298 * math/e_coshl.c: Likewise.
35299 * math/e_expl.c: Likewise.
35300 * math/e_fmodl.c: Likewise.
35301 * math/e_gammal_r.c: Likewise.
35302 * math/e_hypotl.c: Likewise.
35303 * math/e_j0l.c: Likewise.
35304 * math/e_j1l.c: Likewise.
35305 * math/e_jnl.c: Likewise.
35306 * math/e_lgammal_r.c: Likewise.
35307 * math/e_log10l.c: Likewise.
35308 * math/e_log2l.c: Likewise.
35309 * math/e_logl.c: Likewise.
35310 * math/e_powl.c: Likewise.
35311 * math/e_rem_pio2l.c: Likewise.
35312 * math/e_sinhl.c: Likewise.
35313 * math/e_sqrtl.c: Likewise.
35314 * math/fclrexcpt.c: Likewise.
35315 * math/fedisblxcpt.c: Likewise.
35316 * math/feenablxcpt.c: Likewise.
35317 * math/fegetenv.c: Likewise.
35318 * math/fegetexcept.c: Likewise.
35319 * math/fegetround.c: Likewise.
35320 * math/feholdexcpt.c: Likewise.
35321 * math/fesetenv.c: Likewise.
35322 * math/fesetround.c: Likewise.
35323 * math/feupdateenv.c: Likewise.
35324 * math/fgetexcptflg.c: Likewise.
35325 * math/fraiseexcpt.c: Likewise.
35326 * math/fsetexcptflg.c: Likewise.
35327 * math/ftestexcept.c: Likewise.
35328 * math/k_cosl.c: Likewise.
35329 * math/k_rem_pio2l.c: Likewise.
35330 * math/k_sinl.c: Likewise.
35331 * math/k_tanl.c: Likewise.
35332 * math/s_asinhl.c: Likewise.
35333 * math/s_atanl.c: Likewise.
35334 * math/s_cbrtl.c: Likewise.
35335 * math/s_erfl.c: Likewise.
35336 * math/s_expm1l.c: Likewise.
35337 * math/s_log1pl.c: Likewise.
35338 * math/s_tanhl.c: Likewise.
35339 * misc/acct.c: Likewise.
35340 * misc/brk.c: Likewise.
35341 * misc/chflags.c: Likewise.
35342 * misc/chroot.c: Likewise.
35343 * misc/fchflags.c: Likewise.
35344 * misc/fgetxattr.c: Likewise.
35345 * misc/flistxattr.c: Likewise.
35346 * misc/fremovexattr.c: Likewise.
35347 * misc/fsetxattr.c: Likewise.
35348 * misc/fsync.c: Likewise.
35349 * misc/ftruncate.c: Likewise.
35350 * misc/futimes.c: Likewise.
35351 * misc/futimesat.c: Likewise.
35352 * misc/getdomain.c: Likewise.
35353 * misc/getdtsz.c: Likewise.
35354 * misc/gethostid.c: Likewise.
35355 * misc/gethostname.c: Likewise.
35356 * misc/getloadavg.c: Likewise.
35357 * misc/getpagesize.c: Likewise.
35358 * misc/getsysstats.c: Likewise.
35359 * misc/getxattr.c: Likewise.
35360 * misc/gtty.c: Likewise.
35361 * misc/ioctl.c: Likewise.
35362 * misc/lgetxattr.c: Likewise.
35363 * misc/listxattr.c: Likewise.
35364 * misc/llistxattr.c: Likewise.
35365 * misc/lremovexattr.c: Likewise.
35366 * misc/lsetxattr.c: Likewise.
35367 * misc/lutimes.c: Likewise.
35368 * misc/madvise.c: Likewise.
35369 * misc/mincore.c: Likewise.
35370 * misc/mlock.c: Likewise.
35371 * misc/mlockall.c: Likewise.
35372 * misc/mmap.c: Likewise.
35373 * misc/mprotect.c: Likewise.
35374 * misc/msync.c: Likewise.
35375 * misc/munlock.c: Likewise.
35376 * misc/munlockall.c: Likewise.
35377 * misc/munmap.c: Likewise.
35378 * misc/preadv.c: Likewise.
35379 * misc/preadv64.c: Likewise.
35380 * misc/ptrace.c: Likewise.
35381 * misc/pwritev.c: Likewise.
35382 * misc/pwritev64.c: Likewise.
35383 * misc/readv.c: Likewise.
35384 * misc/reboot.c: Likewise.
35385 * misc/remap_file_pages.c: Likewise.
35386 * misc/removexattr.c: Likewise.
35387 * misc/revoke.c: Likewise.
35388 * misc/select.c: Likewise.
35389 * misc/setdomain.c: Likewise.
35390 * misc/setegid.c: Likewise.
35391 * misc/seteuid.c: Likewise.
35392 * misc/sethostid.c: Likewise.
35393 * misc/sethostname.c: Likewise.
35394 * misc/setregid.c: Likewise.
35395 * misc/setreuid.c: Likewise.
35396 * misc/setxattr.c: Likewise.
35397 * misc/sstk.c: Likewise.
35398 * misc/stty.c: Likewise.
35399 * misc/swapoff.c: Likewise.
35400 * misc/swapon.c: Likewise.
35401 * misc/sync.c: Likewise.
35402 * misc/syncfs.c: Likewise.
35403 * misc/syscall.c: Likewise.
35404 * misc/truncate.c: Likewise.
35405 * misc/ualarm.c: Likewise.
35406 * misc/usleep.c: Likewise.
35407 * misc/ustat.c: Likewise.
35408 * misc/utimes.c: Likewise.
35409 * misc/vhangup.c: Likewise.
35410 * misc/writev.c: Likewise.
35411 * posix/_exit.c: Likewise.
35412 * posix/alarm.c: Likewise.
35413 * posix/execve.c: Likewise.
35414 * posix/fexecve.c: Likewise.
35415 * posix/fork.c: Likewise.
35416 * posix/fpathconf.c: Likewise.
35417 * posix/getaddrinfo.c: Likewise.
35418 * posix/getegid.c: Likewise.
35419 * posix/geteuid.c: Likewise.
35420 * posix/getgid.c: Likewise.
35421 * posix/getgroups.c: Likewise.
35422 * posix/getlogin.c: Likewise.
35423 * posix/getlogin_r.c: Likewise.
35424 * posix/getpgid.c: Likewise.
35425 * posix/getpid.c: Likewise.
35426 * posix/getppid.c: Likewise.
35427 * posix/getresgid.c: Likewise.
35428 * posix/getresuid.c: Likewise.
35429 * posix/getsid.c: Likewise.
35430 * posix/getuid.c: Likewise.
35431 * posix/glob64.c: Likewise.
35432 * posix/nanosleep.c: Likewise.
35433 * posix/pathconf.c: Likewise.
35434 * posix/pause.c: Likewise.
35435 * posix/posix_madvise.c: Likewise.
35436 * posix/pread.c: Likewise.
35437 * posix/pread64.c: Likewise.
35438 * posix/pwrite.c: Likewise.
35439 * posix/pwrite64.c: Likewise.
35440 * posix/sched_getaffinity.c: Likewise.
35441 * posix/sched_getp.c: Likewise.
35442 * posix/sched_gets.c: Likewise.
35443 * posix/sched_primax.c: Likewise.
35444 * posix/sched_primin.c: Likewise.
35445 * posix/sched_rr_gi.c: Likewise.
35446 * posix/sched_setaffinity.c: Likewise.
35447 * posix/sched_setp.c: Likewise.
35448 * posix/sched_sets.c: Likewise.
35449 * posix/sched_yield.c: Likewise.
35450 * posix/setgid.c: Likewise.
35451 * posix/setlogin.c: Likewise.
35452 * posix/setpgid.c: Likewise.
35453 * posix/setresgid.c: Likewise.
35454 * posix/setresuid.c: Likewise.
35455 * posix/setsid.c: Likewise.
35456 * posix/setuid.c: Likewise.
35457 * posix/sleep.c: Likewise.
35458 * posix/spawni.c: Likewise.
35459 * posix/sysconf.c: Likewise.
35460 * posix/times.c: Likewise.
35461 * posix/wait.c: Likewise.
35462 * posix/wait3.c: Likewise.
35463 * posix/wait4.c: Likewise.
35464 * posix/waitpid.c: Likewise.
35465 * resolv/gai_sigqueue.c: Likewise.
35466 * resource/getpriority.c: Likewise.
35467 * resource/getrlimit.c: Likewise.
35468 * resource/getrusage.c: Likewise.
35469 * resource/nice.c: Likewise.
35470 * resource/setpriority.c: Likewise.
35471 * resource/setrlimit.c: Likewise.
35472 * resource/ulimit.c: Likewise.
35473 * rt/aio_cancel.c: Likewise.
35474 * rt/aio_fsync.c: Likewise.
35475 * rt/aio_read.c: Likewise.
35476 * rt/aio_sigqueue.c: Likewise.
35477 * rt/aio_suspend.c: Likewise.
35478 * rt/aio_write.c: Likewise.
35479 * rt/clock_getres.c: Likewise.
35480 * rt/clock_gettime.c: Likewise.
35481 * rt/clock_nanosleep.c: Likewise.
35482 * rt/clock_settime.c: Likewise.
35483 * rt/lio_listio.c: Likewise.
35484 * rt/mq_close.c: Likewise.
35485 * rt/mq_getattr.c: Likewise.
35486 * rt/mq_notify.c: Likewise.
35487 * rt/mq_open.c: Likewise.
35488 * rt/mq_receive.c: Likewise.
35489 * rt/mq_send.c: Likewise.
35490 * rt/mq_setattr.c: Likewise.
35491 * rt/mq_timedreceive.c: Likewise.
35492 * rt/mq_timedsend.c: Likewise.
35493 * rt/mq_unlink.c: Likewise.
35494 * rt/shm_open.c: Likewise.
35495 * rt/shm_unlink.c: Likewise.
35496 * rt/timer_create.c: Likewise.
35497 * rt/timer_delete.c: Likewise.
35498 * rt/timer_getoverr.c: Likewise.
35499 * rt/timer_gettime.c: Likewise.
35500 * rt/timer_settime.c: Likewise.
35501 * setjmp/__longjmp.c: Likewise.
35502 * setjmp/setjmp.c: Likewise.
35503 * signal/kill.c: Likewise.
35504 * signal/killpg.c: Likewise.
35505 * signal/raise.c: Likewise.
35506 * signal/sigaction.c: Likewise.
35507 * signal/sigaltstack.c: Likewise.
35508 * signal/sigblock.c: Likewise.
35509 * signal/sigignore.c: Likewise.
35510 * signal/sigintr.c: Likewise.
35511 * signal/signal.c: Likewise.
35512 * signal/sigpause.c: Likewise.
35513 * signal/sigpending.c: Likewise.
35514 * signal/sigqueue.c: Likewise.
35515 * signal/sigreturn.c: Likewise.
35516 * signal/sigset.c: Likewise.
35517 * signal/sigsetmask.c: Likewise.
35518 * signal/sigstack.c: Likewise.
35519 * signal/sigsuspend.c: Likewise.
35520 * signal/sigtimedwait.c: Likewise.
35521 * signal/sigvec.c: Likewise.
35522 * signal/sigwait.c: Likewise.
35523 * signal/sigwaitinfo.c: Likewise.
35524 * signal/sysv_signal.c: Likewise.
35525 * socket/accept.c: Likewise.
35526 * socket/accept4.c: Likewise.
35527 * socket/bind.c: Likewise.
35528 * socket/connect.c: Likewise.
35529 * socket/getpeername.c: Likewise.
35530 * socket/getsockname.c: Likewise.
35531 * socket/getsockopt.c: Likewise.
35532 * socket/isfdtype.c: Likewise.
35533 * socket/listen.c: Likewise.
35534 * socket/recv.c: Likewise.
35535 * socket/recvfrom.c: Likewise.
35536 * socket/recvmsg.c: Likewise.
35537 * socket/send.c: Likewise.
35538 * socket/sendmsg.c: Likewise.
35539 * socket/sendto.c: Likewise.
35540 * socket/setsockopt.c: Likewise.
35541 * socket/shutdown.c: Likewise.
35542 * socket/sockatmark.c: Likewise.
35543 * socket/socket.c: Likewise.
35544 * socket/socketpair.c: Likewise.
35545 * stdio-common/ctermid.c: Likewise.
35546 * stdio-common/cuserid.c: Likewise.
35547 * stdio-common/remove.c: Likewise.
35548 * stdio-common/rename.c: Likewise.
35549 * stdio-common/renameat.c: Likewise.
35550 * stdio-common/tempname.c: Likewise.
35551 * stdlib/getcontext.c: Likewise.
35552 * stdlib/makecontext.c: Likewise.
35553 * stdlib/setcontext.c: Likewise.
35554 * stdlib/swapcontext.c: Likewise.
35555 * stdlib/system.c: Likewise.
35556 * streams/fattach.c: Likewise.
35557 * streams/fdetach.c: Likewise.
35558 * streams/getmsg.c: Likewise.
35559 * streams/getpmsg.c: Likewise.
35560 * streams/putmsg.c: Likewise.
35561 * streams/putpmsg.c: Likewise.
35562 * sysdeps/unix/bsd/getpt.c: Likewise.
35563 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35564 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35565 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35568 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35569 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35570 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35571 * sysvipc/msgctl.c: Likewise.
35572 * sysvipc/msgget.c: Likewise.
35573 * sysvipc/msgrcv.c: Likewise.
35574 * sysvipc/msgsnd.c: Likewise.
35575 * sysvipc/semctl.c: Likewise.
35576 * sysvipc/semget.c: Likewise.
35577 * sysvipc/semop.c: Likewise.
35578 * sysvipc/semtimedop.c: Likewise.
35579 * sysvipc/shmat.c: Likewise.
35580 * sysvipc/shmctl.c: Likewise.
35581 * sysvipc/shmdt.c: Likewise.
35582 * sysvipc/shmget.c: Likewise.
35583 * termios/tcdrain.c: Likewise.
35584 * termios/tcflow.c: Likewise.
35585 * termios/tcflush.c: Likewise.
35586 * termios/tcgetattr.c: Likewise.
35587 * termios/tcgetpgrp.c: Likewise.
35588 * termios/tcsendbrk.c: Likewise.
35589 * termios/tcsetattr.c: Likewise.
35590 * termios/tcsetpgrp.c: Likewise.
35591 * time/adjtime.c: Likewise.
35592 * time/clock.c: Likewise.
35593 * time/getitimer.c: Likewise.
35594 * time/gettimeofday.c: Likewise.
35595 * time/setitimer.c: Likewise.
35596 * time/settimeofday.c: Likewise.
35597 * time/stime.c: Likewise.
35598 * time/time.c: Likewise.
35600 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35602 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35605 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35607 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35609 2012-11-03 Joseph Myers <joseph@codesourcery.com>
35612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35613 FE_TONEAREST before applying Dekker multiplication and Knuth
35614 addition. Clear inexact exceptions and check for exact zero
35615 results afterwards.
35616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35617 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35618 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35619 * math/libm-test.inc (fma_test): Add more tests.
35620 (fma_test_towardzero): Likewise.
35621 (fma_test_downward): Likewise.
35622 (fma_test_upward): Likewise.
35623 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35625 (libc_fesetround): New macro.
35626 (libc_fesetroundf): Likewise.
35627 (libc_fesetroundl): Likewise.
35628 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35630 (libc_fesetround_387): Likewise.
35631 (libc_fesetroundf): New macro.
35632 (libc_fesetround): Likewise.
35633 (libc_fesetroundl): Likewise.
35634 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35636 (libc_fesetroundf): New macro.
35637 (libc_fesetround): Likewise.
35638 (libc_fesetroundl): Likewise.
35639 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35640 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35641 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35643 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35644 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35646 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35647 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35649 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35653 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35654 integer constant usable in #if and use that to give value to enum
35656 (FE_DIVBYZERO): Likewise.
35657 (FE_UNDERFLOW): Likewise.
35658 (FE_OVERFLOW): Likewise.
35659 (FE_INVALID): Likewise.
35660 (FE_INVALID_SNAN): Likewise.
35661 (FE_INVALID_ISI): Likewise.
35662 (FE_INVALID_IDI): Likewise.
35663 (FE_INVALID_ZDZ): Likewise.
35664 (FE_INVALID_IMZ): Likewise.
35665 (FE_INVALID_COMPARE): Likewise.
35666 (FE_INVALID_SOFTWARE): Likewise.
35667 (FE_INVALID_SQRT): Likewise.
35668 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35669 (FE_TONEAREST): Likewise.
35670 (FE_TOWARDZERO): Likewise.
35671 (FE_UPWARD): Likewise.
35672 (FE_DOWNWARD): Likewise.
35673 * sysdeps/s390/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.
35682 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35683 (FE_UNDERFLOW): Likewise.
35684 (FE_OVERFLOW): Likewise.
35685 (FE_DIVBYZERO): Likewise.
35686 (FE_INVALID): Likewise.
35687 (FE_TONEAREST): Likewise.
35688 (FE_TOWARDZERO): Likewise.
35689 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35690 (FE_OVERFLOW): Likewise.
35691 (FE_UNDERFLOW): Likewise.
35692 (FE_DIVBYZERO): Likewise.
35693 (FE_INEXACT): Likewise.
35694 (FE_TONEAREST): Likewise.
35695 (FE_TOWARDZERO): Likewise.
35696 (FE_UPWARD): Likewise.
35697 (FE_DOWNWARD): Likewise.
35698 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35699 (FE_DIVBYZERO): Likewise.
35700 (FE_OVERFLOW): Likewise.
35701 (FE_UNDERFLOW): Likewise.
35702 (FE_INEXACT): Likewise.
35703 (FE_TONEAREST): Likewise.
35704 (FE_DOWNWARD): Likewise.
35705 (FE_UPWARD): Likewise.
35706 (FE_TOWARDZERO): Likewise.
35708 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35710 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35712 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35714 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35715 commands. Quote $PWD.
35716 (blacklist_exports): Don't use remove_newlines. Replace "declare
35718 (remove_newlines): Remove.
35720 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35722 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35723 * stdlib/stdlib.h (atof): Moved to ...
35724 * include/bits/stdlib-float.h: Here. New file.
35725 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35726 * stdlib/bits/stdlib-float.h: New file.
35727 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35729 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35732 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35734 * conform/conformtest.pl (@headers): Add fenv.h.
35735 * conform/data/fenv.h-data: New file.
35736 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35737 include of <math/fenv.h>.
35739 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35740 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35741 && !UNIX98]. Enables tests for XOPEN2K8.
35742 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35743 POSIX2008]: Likewise.
35745 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35746 (struct rusage): Do not expect type or its members.
35749 * math/math.h (FP_NAN): Define macro to integer constant usable in
35750 #if and use that to give value to enum constant.
35751 (FP_INFINITE): Likewise.
35752 (FP_ZERO): Likewise.
35753 (FP_SUBNORMAL): Likewise.
35754 (FP_NORMAL): Likewise.
35756 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35758 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35759 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35762 2012-11-02 Roland McGrath <roland@hack.frob.com>
35764 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35765 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35766 autoconf-time if not.
35767 * configure.in: Remove AC_PREREQ.
35769 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35771 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35772 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35773 of the internal implementation.
35775 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35777 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35778 except include of <misc/sys/syslog.h>.
35780 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35783 function returns with a NULL context exit with zero.
35785 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35787 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35789 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35791 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35792 (run_program_cmd): This.
35793 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35794 (tst_langinfo): New variable. Use it.
35796 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35798 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35799 floating point opcodes.
35801 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35803 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35806 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35808 * sysdeps/mach/hurd/powerpc: Remove directory.
35809 * sysdeps/mach/powerpc: Likewise.
35811 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35813 * scripts/check-local-headers.sh: Ignore c++ headers.
35815 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35817 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35818 __libc_cleanup_region_start argument.
35820 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35825 x * y using scaling, not as x * y + z.
35826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35828 * math/libm-test.inc (fma_test): Add more tests.
35829 (fma_test_towardzero): Likewise.
35830 (fma_test_downward): Likewise.
35831 (fma_test_upward): Likewise.
35833 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35835 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35837 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35839 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35842 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35844 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35846 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35853 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35856 Fix the order of the list for glibc 2.17.
35857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35860 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35864 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35867 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35868 for low part of x being zero before using __atanl (y).
35869 * math/libm-test.inc (atan2_test): Add another test.
35871 * manual/install.texi (Configuring and compiling): Document
35872 general use of test-wrapper and test-wrapper-env.
35873 * INSTALL: Regenerated.
35875 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35876 (__fma): Do not extract and scale down low bits on after-rounding
35877 systems when result rounded to normal precision would have normal
35879 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35880 (__fmal): Do not extract and scale down low bits on after-rounding
35881 systems when result rounded to normal precision would have normal
35883 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35884 (__fmal): Do not extract and scale down low bits on after-rounding
35885 systems when result rounded to normal precision would have normal
35887 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35889 (fma_test): Add more tests.
35890 (fma_test_towardzero): Likewise.
35891 (fma_test_downward): Likewise.
35892 (fma_test_upward): Likewise.
35894 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35896 * sysdeps/i386/tininess.h: Renamed to ...
35897 * sysdeps/x86/tininess.h: This.
35898 * sysdeps/x86_64/tininess.h: Removed.
35900 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35902 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35903 input. Use $(build-program-cmd).
35904 ($(objpfx)tst-array1-static.out): Likewise.
35905 ($(objpfx)tst-array2.out): Likewise.
35906 ($(objpfx)tst-array3.out): Likewise.
35907 ($(objpfx)tst-array4.out): Likewise.
35908 ($(objpfx)tst-array5.out): Likewise.
35909 ($(objpfx)tst-array5-static.out): Likewise.
35911 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35913 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35916 * nss/nsswitch.h (nss_interface_function): Provide new
35917 macro for use with NSS functions.
35918 * grp/initgroups.c: Use new macro.
35919 * nss/getXXbyYY.c: Likewise.
35920 * nss/getXXbyYY_r.c: Likewise.
35921 * nss/getXXent.c: Likewise.
35922 * nss/getXXent_r.c: Likewise.
35923 * sysdeps/posix/getaddrinfo.c: Likewise.
35925 2012-10-30 Andreas Jaeger <aj@suse.de>
35927 * po/ru.po: Update Russion translation from translation project.
35929 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35934 result and shift together with sticky bit instead of replicating
35935 round-to-nearest rounding.
35936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35937 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35938 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35939 missing underflow exceptions.
35940 (fma_test_towardzero): Add more tests.
35941 (fma_test_downward): Likewise.
35942 (fma_test_upward): Likewise.
35945 * sysdeps/generic/tininess.h: New file.
35946 * sysdeps/i386/tininess.h: Likewise.
35947 * sysdeps/sh/tininess.h: Likewise.
35948 * sysdeps/x86_64/tininess.h: Likewise.
35949 * stdlib/tst-strtod-underflow.c: Likewise.
35950 * stdlib/tst-tininess.c: Likewise.
35951 * stdlib/strtod_l.c: Include <tininess.h>.
35952 (round_and_return): Do not set errno for exact underflow cases.
35953 Force an underflow exception when setting errno for underflow.
35954 Determine underflow based on rounding to normal precision if
35955 TININESS_AFTER_ROUNDING.
35956 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35957 ERANGE for exact underflow cases.
35958 * stdlib/Makefile (tests): Add tst-tininess and
35959 tst-strtod-underflow.
35960 ($(objpfx)tst-tininess): Use $(link-libm).
35961 ($(objpfx)tst-strtod-underflow): Likewise.
35963 2012-10-30 Andreas Jaeger <aj@suse.de>
35966 * elf/Makefile (tests): Remove conditional for have-initfini-array
35967 since this is now always required and the variable does not exist
35969 (tests-static): Likewise.
35970 (modules-names): Likewise.
35972 * po/eo.po: Add Esperanto translation from translation project.
35974 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35975 merged with constructor/destructor.
35976 (init_array): Likewise.
35977 * elf/tst-array2dep.c (fini_array): Likewise.
35978 (init_array): Likewise.
35980 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35982 * manual/message.texi: Delete @cartouche tags.
35984 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35986 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35988 * sysdeps/mach/hurd/fsync.c: Likewise.
35990 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35991 [_POSIX_REALTIME_SIGNALS]: Change condition to
35992 [_POSIX_REALTIME_SIGNALS > 0].
35994 2012-10-27 Andreas Jaeger <aj@suse.de>
35996 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35997 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35998 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35999 [__WORDSIZE != 64]: Likewise.
36001 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36003 * iconvdata/tst-table.sh: Remove ${SHELL}.
36004 * iconvdata/tst-tables.sh: Likewise.
36006 2012-10-25 David S. Miller <davem@davemloft.net>
36008 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36009 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36014 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36015 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36016 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36019 2012-10-25 Roland McGrath <roland@hack.frob.com>
36021 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36022 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36025 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36026 Jim Blandy <jimb@codesourcery.com>
36028 * scripts/cross-test-ssh.sh: New file.
36029 * manual/install.texi (Configuring and compiling): Document use of
36031 * INSTALL: Regenerated.
36033 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36035 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36038 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36040 * Makeconfig (run-program-prefix): Fix comment.
36042 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36043 Jim Blandy <jimb@codesourcery.com>
36045 * Makeconfig (test-wrapper): New variable,
36046 (test-wrapper-env): Likewise.
36047 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36048 (run-built-tests): Define to yes.
36049 (run-program-prefix): Use $(test-wrapper).
36050 (built-program-cmd): Likewise.
36051 * Rules (make-test-out): Use $(test-wrapper-env) and
36052 $(host-built-program-cmd).
36053 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36054 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36056 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36057 $(test-wrapper-env) to tst-rtld-load-self.sh.
36058 ($(objpfx)order2.out): Use $(test-wrapper).
36059 ($(objpfx)tst-initorder.out): Likewise.
36060 ($(objpfx)tst-initorder2.out): Likewise.
36061 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36062 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36063 (test_wrapper_env): New variable. Use it to run ld.so.
36064 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36065 Use it to run ld.so.
36066 (test_wrapper_env): Likewise.
36067 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36068 $(test-wrapper) to run-iconv-test.sh.
36069 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36070 (ICONV): Use $test_wrapper.
36071 * posix/Makefile ($(objpfx)globtest.out): Pass
36072 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36073 globtest.sh, not $(run-program-prefix).
36074 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36075 (test_wrapper): Likewise.
36076 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36077 set together with run_via_rtld_prefix.
36078 (run_program_prefix): Define in terms of test_wrapper and
36079 run_via_rtld_prefix.
36081 2012-10-24 Roland McGrath <roland@hack.frob.com>
36083 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36084 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36088 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36089 Declare __clock_getres, __clock_gettime, __clock_settime,
36090 __clock_nanosleep, and __clock_getcpuclockid.
36091 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36092 Remove librt_hidden_def (clock_gettime).
36093 * sysdeps/unix/clock_gettime.c: Likewise.
36094 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36095 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36096 * rt/clock_getres.c: Define __clock_getres as an alias.
36097 * sysdeps/posix/clock_getres.c: Likewise.
36098 * rt/clock_settime.c: Define __clock_settime as an alias.
36099 * sysdeps/unix/clock_settime.c: Likewise.
36100 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36101 * sysdeps/unix/clock_nanosleep.c: Likewise.
36102 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36103 * rt/clock-compat.c: New file.
36104 * rt/Makefile (librt-routines): Add clock-compat and move
36105 $(clock-routines) to ...
36106 (routines): ... here, new variable.
36107 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36108 Don't add get_clockfreq here.
36109 * rt/Versions (libc: GLIBC_2.17): New version set.
36110 Add clock_* symbols here.
36111 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36112 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36113 (GLIBC_2.17): Add clock_* symbols.
36114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36125 * NEWS: Mention the move.
36127 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36128 Use __open, __read, __close rather than their public counterparts.
36129 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36130 (__get_clockfreq_via_cpuinfo): Likewise.
36131 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36132 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36134 * config.h.in (HAVE_IFUNC): New #undef.
36135 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36137 * configure: Regenerated.
36139 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36141 * configure.in: Move READELF check to start of file.
36142 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36143 libc_cv_asm_gnu_indirect_function in the process.
36144 * configure: Regenerated.
36146 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36148 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36149 send the output to /dev/null.
36150 (libc_cv_cc_with_libunwind): Likewise.
36151 (libc_cv_as_noexecstack): Likewise.
36152 * configure: Regenerate.
36154 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36156 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36158 * posix/globtest.sh (TMPDIR): Do not set.
36159 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36160 (testout): Likewise.
36162 2012-10-24 Andreas Jaeger <aj@suse.de>
36164 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36165 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36166 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36167 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36168 posix_fadvise64, posix_fallocate64.
36170 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36171 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36172 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36174 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36176 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36178 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36179 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36180 <bits/fcntl-linux.h>.
36181 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36184 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36185 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36186 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36187 [__WORDSIZE != 64]: Likewise.
36189 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36191 * Makeconfig (run-built-tests): New variable.
36192 * Rules [$(cross-compiling) = yes]: Change condition to
36193 [$(run-built-tests) = no].
36194 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36195 to [$(run-built-tests) = yes].
36196 * elf/Makefile [$(cross-compiling) = no]: Likewise
36197 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36198 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36199 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36200 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36201 * io/Makefile [$(cross-compiling) = no]: Likewise.
36202 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36203 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36204 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36205 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36206 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36207 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36208 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36209 * string/Makefile [$(cross-compiling) = no]: Likewise.
36211 * posix/Makefile ($(objpfx)globtest.out): Pass
36212 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36213 $(rtld-installed-name).
36214 * posix/globtest.sh (elf_objpfx): Remove variable.
36215 (rtld_installed_name): Likewise.
36216 (library_path): Likewise.
36217 (run_program_prefix): New variable. Use for running globtest
36220 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36221 Joseph Myers <joseph@codesourcery.com>
36223 * Makeconfig (host-built-program-cmd): New variable.
36224 * elf/Makefile (tst-stackguard1-ARGS): Use
36225 $(host-built-program-cmd).
36226 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36227 (tst-spawn-ARGS): Likewise.
36228 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36230 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36231 Jim Blandy <jimb@codesourcery.com>
36233 * Makeconfig (run-via-rtld-prefix): New variable.
36234 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36235 (built-program-cmd): Likewise.
36237 2012-10-22 Andreas Jaeger <aj@suse.de>
36239 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36240 __O_RSYNC if it exists, otherwise to O_SYNC.
36242 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36243 Joseph Myers <joseph@codesourcery.com>
36245 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36247 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36249 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36252 2012-10-22 Andreas Jaeger <aj@suse.de>
36254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36259 bits/fcntl-linux.h.
36261 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36262 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36269 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36270 Joseph Myers <joseph@codesourcery.com>
36272 * config.make.in (NM): New variable.
36274 2012-10-21 Andreas Jaeger <aj@suse.de>
36276 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36277 definitions and declarations that are provided by
36278 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36280 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36283 * elf/Makefile (tests-static): Add tst-leaks1-static.
36284 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36285 ($(objpfx)tst-leaks1-static): New rule.
36286 ($(objpfx)tst-leaks1-static-mem): Likewise.
36287 (tst-leaks1-static-ENV): New macro.
36288 * elf/dl-open.c (dl_open_worker): Check the main application
36289 only if SHARED is defined.
36290 * elf/tst-leaks1-static.c: New file.
36292 2012-10-20 Andreas Jaeger <aj@suse.de>
36294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36295 generic values for Linux.
36296 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36297 and declarations that are provided by <bits/fcntl-linux.h> and
36298 include <bits/fcntl-linux.h>.
36299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36302 2012-10-20 Roland McGrath <roland@hack.frob.com>
36304 * io/fcntl.h: Move include of <bits/types.h> to the top and
36305 include it unconditionally.
36307 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36309 * wcsmbs/Makefile (tests-ifunc): New variable.
36310 (tests): Add $(tests-ifunc).
36311 * wcsmbs/test-wcschr-ifunc.c: New file.
36312 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36313 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36314 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36315 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36316 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36318 * string/Makefile (tests-ifunc): New variable.
36319 (tests): Add $(tests-ifunc).
36320 * string/test-memccpy.c (TEST_NAME): New macro.
36321 * string/test-memchr.c (TEST_NAME): Likewise.
36322 * string/test-memcmp.c (TEST_NAME): Likewise.
36323 * string/test-memcpy.c (TEST_NAME): Likewise.
36324 * string/test-memmem.c (TEST_NAME): Likewise.
36325 * string/test-memmove.c (TEST_NAME): Likewise.
36326 * string/test-memset.c (TEST_NAME): Likewise.
36327 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36328 * string/test-stpcpy.c (TEST_NAME): Likewise.
36329 * string/test-stpncpy.c (TEST_NAME): Likewise.
36330 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36331 * string/test-strcasestr.c (TEST_NAME): Likewise.
36332 * string/test-strcat.c (TEST_NAME): Likewise.
36333 * string/test-strchr.c (TEST_NAME): Likewise.
36334 * string/test-strcmp.c(TEST_NAME): Likewise.
36335 * string/test-strcpy.c (TEST_NAME): Likewise.
36336 * string/test-strcspn.c (TEST_NAME): Likewise.
36337 * string/test-strlen.c (TEST_NAME): Likewise.
36338 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36339 * string/test-strncmp.c (TEST_NAME): Likewise.
36340 * string/test-strncpy.c (TEST_NAME): Likewise.
36341 * string/test-strnlen.c (TEST_NAME): Likewise.
36342 * string/test-strpbrk.c (TEST_NAME): Likewise.
36343 * string/test-strrchr.c (TEST_NAME): Likewise.
36344 * string/test-strspn.c (TEST_NAME): Likewise.
36345 * string/test-strstr.c (TEST_NAME): Likewise.
36346 * string/test-bcopy-ifunc.c: New file.
36347 * string/test-bzero-ifunc.c: Likewise.
36348 * string/test-memccpy-ifunc.c: Likewise.
36349 * string/test-memchr-ifunc.c: Likewise.
36350 * string/test-memcmp-ifunc.c: Likewise.
36351 * string/test-memcpy-ifunc.c: Likewise.
36352 * string/test-memmem-ifunc.c: Likewise.
36353 * string/test-memmove-ifunc.c: Likewise.
36354 * string/test-mempcpy-ifunc.c: Likewise.
36355 * string/test-memset-ifunc.c: Likewise.
36356 * string/test-rawmemchr-ifunc.c: Likewise.
36357 * string/test-stpcpy-ifunc.c: Likewise.
36358 * string/test-stpncpy-ifunc.c: Likewise.
36359 * string/test-strcasecmp-ifunc.c: Likewise.
36360 * string/test-strcasestr-ifunc.c: Likewise.
36361 * string/test-strcat-ifunc.c: Likewise.
36362 * string/test-strchr-ifunc.c: Likewise.
36363 * string/test-strchrnul-ifunc.c: Likewise.
36364 * string/test-strcmp-ifunc.c: Likewise.
36365 * string/test-strcpy-ifunc.c: Likewise.
36366 * string/test-strcspn-ifunc.c: Likewise.
36367 * string/test-strlen-ifunc.c: Likewise.
36368 * string/test-strncasecmp-ifunc.c: Likewise.
36369 * string/test-strncat-ifunc.c: Likewise.
36370 * string/test-strncmp-ifunc.c: Likewise.
36371 * string/test-strncpy-ifunc.c: Likewise.
36372 * string/test-strnlen-ifunc.c: Likewise.
36373 * string/test-strpbrk-ifunc.c: Likewise.
36374 * string/test-strrchr-ifunc.c: Likewise.
36375 * string/test-strspn-ifunc.c: Likewise.
36376 * string/test-strstr-ifunc.c: Likewise.
36378 * debug/Makefile (tests-ifunc): New variable.
36379 (tests): Add $(tests-ifunc).
36380 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36381 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36382 * debug/test-stpcpy_chk-ifunc.c: New file.
36383 * debug/test-strcpy_chk-ifunc.c: Likewise.
36385 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36388 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36389 header is not read in.
36391 2012-10-19 Joseph Myers <joseph@codesourcery.com>
36393 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36394 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36395 directly. Pass built executable to script as
36396 $(built-program-cmd).
36397 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36398 $testprogram without using LD_LIBRARY_PATH and $ldso.
36400 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36401 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36402 $(rtld-installed-name).
36403 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36404 (rtld_installed_name): Likewise.
36405 (library_path): Likewise.
36406 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36407 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36408 $(run-program-prefix) to tst-tables.sh.
36409 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36410 it to run tst-table-from and tst-table-to.
36411 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36412 Pass it to tst-table.sh.
36413 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36414 $(run-program-prefix) to tst-gettext.sh.
36415 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36417 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36419 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36420 to run tst-gettext.
36421 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36422 to run tst-gettext2.
36423 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36424 to run tst-translit.
36425 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36426 $(run-program-prefix) to tst-mtrace.sh.
36427 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36429 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36430 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36431 $(rtld-installed-name).
36432 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36433 (rtld_installed_name): Likewise.
36434 (run_program_prefix): New variable. Use it to run wordexp-test.
36436 * Makeconfig (ARCH): Remove all definitions.
36437 (machine): Likewise.
36438 [ARCH]: Remove conditional code.
36439 [!objdir]: Give error.
36440 [!objdir] (objpfx): Remove.
36441 [!objdir] (common-objpfx): Likewise.
36442 [!objdir] (common-objdir): Likewise.
36443 * configure.in (config_makefile): Remove. Hardcode Makefile in
36444 AC_CONFIG_FILES call.
36445 * configure: Regenerated.
36448 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36450 (testout): Likewise.
36452 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36453 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36454 $(rtld-installed-name).
36455 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36456 (rtld_installed_name): Likwise.
36457 (runit): Remove function.
36458 (run_getconf): New variable, Use it for running getconf binary.
36460 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36463 * string/test-memmem.c (check_result): New function.
36464 (do_one_test): Use it.
36465 (check1): New function.
36466 (test_main): Use it.
36468 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36470 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36472 2012-10-18 Joseph Myers <joseph@codesourcery.com>
36474 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36475 (_G_LSEEK64): Likewise.
36476 (_G_MMAP64): Likewise.
36477 (_G_FSTAT64): Likewise.
36478 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36479 (_G_LSEEK64): Likewise.
36480 (_G_MMAP64): Likewise.
36481 (_G_FSTAT64): Likewise.
36482 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36483 unconditional. Call __mmap64 directly.
36484 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36485 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36486 __lseek64 directly.
36487 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36488 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36490 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36491 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36492 __lseek64 directly.
36493 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36494 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36495 __lseek64 directly.
36496 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36497 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36498 __lseek64 directly.
36499 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36500 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36501 __fxstat64 directly.
36502 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36503 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36505 (freopen64) [!_G_OPEN64]: Remove conditional code.
36506 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36508 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36509 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36511 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36512 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36514 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36515 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36517 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36518 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36520 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36521 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36523 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36524 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36526 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36528 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36531 * manual/memory.texi (Malloc Tunable Parameters): Add note
36532 about free list pointers overwriting some perturb bytes.
36533 Wording suggested by Roland McGrath.
36535 2012-10-17 Joseph Myers <joseph@codesourcery.com>
36537 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36538 (lgamma_test): Likewise.
36539 (tgamma_test): Likewise.
36541 2012-10-16 Florian Weimer <fweimer@redhat.com>
36544 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36545 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36547 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36549 * NEWS: Mention BZ #14716.
36550 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36551 when removing AVAILABLE1_USES_J macro.
36553 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36555 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36556 (__bswap_64): __uint64_t for unsigned 64-bit int.
36558 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36560 * include/string.h (memmem): Declare libc hidden alias.
36561 * string/memmem.c (memmem): Define libc hidden alias.
36562 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36563 __read, __close instead of open, read, close.
36565 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36568 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36570 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36571 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36572 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36574 (__rawmemchr_sse2): Likewise.
36575 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36576 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36577 (__strchr_sse2): Likewise.
36578 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36579 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36580 (__strcasecmp_sse2): Likewise.
36581 (__strncasecmp_sse2): Likewise.
36582 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36583 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36584 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36585 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36586 (__strrchr_sse2): Likewise.
36587 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36589 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36590 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36591 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36592 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36593 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36594 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36595 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36596 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36597 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36598 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36599 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36600 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36601 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36602 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36603 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36604 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36605 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36606 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36607 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36608 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36609 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36610 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36611 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36612 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36613 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36614 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36615 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36616 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36617 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36618 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36620 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36622 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36623 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36624 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36625 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36627 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36629 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36630 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36631 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36632 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36634 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36635 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36636 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36637 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36638 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36639 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36640 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36641 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36642 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36643 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36644 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36645 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36646 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36647 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36648 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36649 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36650 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36651 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36652 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36653 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36654 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36655 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36656 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36657 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36658 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36659 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36660 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36661 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36662 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36663 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36664 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36665 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36666 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36667 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36668 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36669 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36670 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36671 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36672 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36673 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36674 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36676 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36677 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36678 * include/ifunc-impl-list.h: New file.
36679 * misc/ifunc-impl-list.c: Likewise.
36680 * misc/Makefile (routines): Add ifunc-impl-list.
36681 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36682 * string/test-string.h: Include <ifunc-impl-list.h>.
36683 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36684 TEST_NAME]: New variables.
36685 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36687 (test_init): Call __libc_ifunc_impl_list to initialize
36688 func_list if TEST_IFUNC and TEST_NAME are defined.
36690 * string/Makefile (strop-tests): Add bcopy and bzero.
36691 * string/test-bcopy.c: New file.
36692 * string/test-bzero.c: Likewise.
36693 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36695 * string/test-memset.c: Support bzero test if TEST_BZERO is
36697 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36699 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36701 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36704 2012-10-10 Joseph Myers <joseph@codesourcery.com>
36706 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36707 * configure: Regenerated.
36709 * Makeconfig (+link-static-before-libc): Don't include
36710 $(link-static-libc).
36712 * libio/libio.h (_IO_pos_t): Remove.
36714 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36716 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36719 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36721 * crypt/crypt-entry.c: Include fips-private.h.
36722 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36723 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36724 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36725 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36727 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36729 * crypt/crypt-private.h: Include stdbool.h.
36730 (_ufc_setup_salt_r): Return bool.
36731 * crypt/crypt-entry.c: Include errno.h.
36732 (__crypt_r): Return NULL with EINVAL for bad salt.
36733 * crypt/crypt_util.c (bad_for_salt): New.
36734 (_ufc_setup_salt_r): Check that salt is long enough and within
36735 the specified alphabet.
36736 * crypt/badsalttest.c: New file.
36737 * crypt/Makefile (tests): Add it.
36738 ($(objpfx)badsalttest): New.
36740 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36742 * NEWS: Add entry for BZ #14602.
36744 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36746 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36748 * math/libm-test.inc: Update comment listing what functions and
36750 (isgreater_test): New function.
36751 (isgreaterequal_test): Likewise.
36752 (isless_test): Likewise.
36753 (islessequal_test): Likewise.
36754 (islessgreater_test): Likewise.
36755 (isunordered_test): Likewise.
36756 (main): Call the new functions.
36758 2012-10-09 Roland McGrath <roland@hack.frob.com>
36760 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36761 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36762 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36763 * sysdeps/i386/configure: Regenerated.
36764 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36765 * sysdeps/mach/configure: Regenerated.
36766 * sysdeps/mach/hurd/configure: Regenerated.
36767 * sysdeps/powerpc/configure: Regenerated.
36768 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36769 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36770 * sysdeps/s390/s390-32/configure: Regenerated.
36771 * sysdeps/s390/s390-64/configure: Regenerated.
36772 * sysdeps/sh/configure: Regenerated.
36773 * sysdeps/sparc/configure: Regenerated.
36774 * sysdeps/unix/sysv/linux/configure: Regenerated.
36775 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36776 * sysdeps/x86_64/configure: Regenerated.
36778 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36779 defined. Don't check if MAP is NULL.
36781 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36783 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36784 (_G_stat64): Likewise.
36785 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36786 (_G_stat64): Likewise.
36787 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36788 instead of struct _G_stat64.
36789 * libio/fileops.c (mmap_remap_check): Likewise.
36790 (decide_maybe_mmap): Likewise.
36791 (_IO_new_file_seekoff): Likewise.
36792 (_IO_file_stat): Likewise.
36793 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36795 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36796 instead of struct _G_stat64.
36797 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36799 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36802 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36804 (CHECK_EOL): New macro.
36805 (two_way_short_needle): Check beginning of haystack for EOL. Use
36807 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36808 Replace with CHECK_EOL.
36809 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36810 Replace with CHECK_EOL.
36812 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36814 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36816 * math/libm-test.inc: Update comment listing what functions and
36818 (finite_test): New function.
36819 (isinf_test): Likewise.
36820 (isnan_test): Likewise.
36821 (fpclassify_test): Test subnormal input.
36822 (isfinite_test): Likewise.
36823 (isnormal_test): Likewise.
36824 (main): Call the new functions.
36826 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36829 * Makerules (%.dynsym): Force C locale when running
36830 $(OBJDUMP) --dynamic-syms.
36832 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36834 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36837 2012-10-06 David S. Miller <davem@davemloft.net>
36839 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36840 upper 32-bits of the length value in %o2 since we use branch-on-register
36841 tests which consider the entire 64-bit register.
36843 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36845 * string/test-strstr.c (check2): Add a test for page boundary.
36847 2012-10-05 David S. Miller <davem@davemloft.net>
36849 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36850 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36852 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36854 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36855 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36856 and bzero when HWCAP_SPARC_CRYPTO is present.
36858 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36861 * string/test-strstr.c (check2): New function.
36862 (test_main): Call check2.
36864 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36866 * string/bug-strcasestr1.c (do_test): Moved to ...
36867 * string/test-strcasestr.c (check1): Here. New function.
36868 (do_one_test): Break out result checking code into ...
36869 (check_result): This. New function.
36870 (do_one_test): Call check_result.
36871 (test_main): Call check1.
36872 * string/bug-strchr1.c (do_test): Moved to ...
36873 * string/test-strchr.c (check1): Here. New function.
36874 (do_one_test): Break out result checking code into ...
36875 (check_result): This. New function.
36876 (do_one_test): Call check_result.
36877 (test_main): Call check1.
36878 * string/bug-strstr1.c (main): Moved to ...
36879 * string/test-strstr.c (check1): Here. New function.
36880 (do_one_test): Break out result checking code into ...
36881 (check_result): This. New function.
36882 (do_one_test): Call check_result.
36883 (test_main): Call check1.
36884 * string/bug-strcasestr1.c: Removed.
36885 * string/bug-strchr1.c: Likewise.
36886 * string/bug-strstr1.c: Likewise.
36888 * elf/Makefile (dl-routines): Add hwcaps.
36889 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36890 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36891 (_dl_important_hwcaps): Moved to ...
36892 * elf/dl-hwcaps.c: Here. New file.
36893 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36896 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36897 if IS_IN_rtld isn't defined.
36899 * elf/dl-support.c (_dl_sysinfo_map): New.
36900 Include "get-dynamic-info.h" and "setup-vdso.h".
36901 (_dl_non_dynamic_init): Call setup_vdso.
36902 * elf/dynamic-link.h: Don't include <assert.h>.
36903 (elf_get_dynamic_info): Moved to ...
36904 * elf/get-dynamic-info.h: Here. New file.
36905 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36906 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36907 * elf/setup-vdso.h: Here. New file.
36908 * elf/rtld.c: Include "setup-vdso.h".
36909 (dl_main): Call setup_vdso.
36911 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36913 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36914 creal in comment listing functions tested. List finite, isinf,
36915 isnan, isless, islessequal, isgreater, isgreaterequal,
36916 islessgreater, isunordered, lgamma_r and pow10 as functions and
36917 macros not tested. Mention which functions not tested are aliases
36918 for other functions. Fix typo. Note that signs of NaNs are not
36921 * scripts/config.guess: Update from config.git.
36922 * scripts/config.sub: Likewise.
36924 2012-10-04 Roland McGrath <roland@hack.frob.com>
36926 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36927 * misc/madvise.c (madvise): Renamed to __madvise.
36928 Make madvise a weak alias.
36929 * include/sys/mman.h: Declare __madvise.
36930 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36931 * sysdeps/unix/syscalls.list
36932 (madvise): Make __madvise the strong name, and madvise a weak alias.
36933 * sysdeps/unix/sysv/linux/syscalls.list
36934 (madvise, mmap): Remove redundant entries.
36935 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36936 * malloc/malloc.c (mtrim): Likewise.
36937 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36939 2012-10-03 Roland McGrath <roland@hack.frob.com>
36941 * sysdeps/mach/hurd/dl-cache.c: File removed.
36942 * config.h.in (USE_LDCONFIG): New #undef.
36943 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36944 * configure: Regenerated.
36945 * elf/Makefile (dl-routines): Add dl-cache only under
36946 [$(use-ldconfig) = yes].
36947 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36948 cache on [USE_LDCONFIG].
36949 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36951 * elf/rtld.c (dl_main): Likewise.
36953 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36955 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36956 _SC_LEVEL4_CACHE_LINESIZE.
36958 2012-10-03 Roland McGrath <roland@hack.frob.com>
36960 * sysdeps/unix/bsd/confstr.h: File removed.
36962 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36964 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36967 2012-10-02 Roland McGrath <roland@hack.frob.com>
36969 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36970 Make 'mapoff' field ElfW(Off) rather than off_t.
36972 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36974 * nscd/Makefile: Remove nscd-cflags and all its users.
36975 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36976 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36979 * malloc.c (malloc_printerr): Clarify error message.
36981 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36985 Set bit_FMA_Usable if FMA is supported.
36986 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36988 (bit_FMA4_Usable): Updated.
36989 (index_FMA_Usable): New macro.
36990 (CPUID_FMA): Likewise
36991 (HAS_FMA): Defined with bit_FMA_Usable.
36993 2012-10-01 Roland McGrath <roland@hack.frob.com>
36995 * bits/types.h (__swblk_t): Type removed.
36996 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36997 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36998 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36999 (__SWBLK_T_TYPE): Likewise.
37000 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37001 (__SWBLK_T_TYPE): Likewise.
37002 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37003 (__SWBLK_T_TYPE): Likewise.
37004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37005 (__SWBLK_T_TYPE): Likewise.
37007 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37008 Honza Horak <hhorak@redhat.com>
37010 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37011 (xdr_mapname): Use YPMAXMAP as maxsize.
37012 (xdr_peername): Use YPMAXPEER as maxsize.
37013 (xdr_keydat): Use YPAXRECORD as maxsize.
37014 (xdr_valdat): Use YPMAXRECORD as maxsize.
37016 2012-10-01 Roland McGrath <roland@hack.frob.com>
37018 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37020 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37021 * csu/init-first.c: ... here.
37022 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37023 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37024 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37025 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37026 * sysdeps/i386/init-first.c: File removed.
37027 * sysdeps/sh/init-first.c: File removed.
37029 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37033 if x * y might underflow to zero and z is zero.
37034 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37035 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37036 * math/libm-test.inc (min_subnorm_value): New variable.
37037 (fma_test): Add more tests.
37038 (fma_test_towardzero): Likewise.
37039 (fma_test_downward): Likewise
37040 (fma_test_upward): Likewise.
37041 (initialize): Set min_subnorm_value.
37043 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37048 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37049 mode for addition resulting in exact zero.
37050 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37051 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37053 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37055 * math/libm-test.inc (fma_test): Add more tests.
37056 (fma_test_towardzero): New function.
37057 (fma_test_downward): Likewise.
37058 (fma_test_upward): Likewise.
37059 (main): Call the new functions.
37061 2012-09-28 David S. Miller <davem@davemloft.net>
37063 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37065 2012-09-28 Roland McGrath <roland@hack.frob.com>
37067 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37068 instead of SIGALRM.
37070 * sysdeps/gnu/_G_config.h: Moved to ...
37071 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37072 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37073 * sysdeps/generic/_G_config.h: ... here.
37075 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37077 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37079 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37080 Conditionalize target on [libnss_test1.so-version].
37082 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37084 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37085 (elfobjdir): Move out of conditionals.
37087 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37088 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37089 (__nss_lookup_function): Conditionalize label remove_from_tree on
37090 [!DO_STATIC_NSS || SHARED], matching its only use.
37092 2012-09-28 David S. Miller <davem@davemloft.net>
37094 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37095 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37097 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37099 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37101 when HWCAP_SPARC_CRYPTO is present.
37103 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37105 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37107 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37110 * stdio-common/vfprintf.c (process_string_arg): Revert
37113 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37115 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37117 * stdio-common/tst-sprintf.c: Include <locale.h>
37118 (main): Test sprintf's handling of incomplete multibyte
37121 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37123 * elf/dl-runtime.c (VERSYMIDX): Removed.
37124 * elf/dl-version.c (VERSYMIDX): Likewise.
37125 * elf/do-rel.h (VERSYMIDX): Likewise.
37126 (VALIDX): Likewise.
37127 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37128 * elf/rtld.c (VALIDX): Likewise.
37129 (ADDRIDX): Likewise.
37130 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37131 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37132 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37133 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37134 (VALIDX): Likewise.
37135 (ADDRIDX): Likewise.
37137 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37139 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37141 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37144 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37146 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37147 addresses are in the same scope as 192.0.2/24.
37148 * posix/gai.conf: Document new scope table defaults.
37150 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37153 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37154 for ftell. Compute offsets from write pointers instead.
37155 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37157 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37160 * libio/Makefile (tests): New test case tst-fseek.
37161 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37162 combination works in wide mode.
37163 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37164 state when the external buffer state changes.
37166 2012-09-27 David S. Miller <davem@davemloft.net>
37169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37170 pass reloc->r_addend in as the 'high' argument to
37171 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37175 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37177 * rt/tst-aio2.c: Include <pthread.h>.
37178 * rt/tst-aio3.c: Likewise.
37180 2012-09-27 Steve Ellcey <sellcey@mips.com>
37182 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37184 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37186 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37187 contents on [SHARED].
37189 2012-09-26 Marek Polacek <polacek@redhat.com>
37193 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37194 for C++ and GCC <4.3 as well as for non GCC compilers.
37196 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37200 2012-09-25 Roland McGrath <roland@hack.frob.com>
37202 * Makefile.in (all, install): Declare with .PHONY.
37203 Reported by Michael Hope <michael.hope@linaro.org>.
37205 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37207 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37208 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37210 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37212 (sydep_routines): Add the new and the internal functions.
37213 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37214 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37216 (GLIBC_2.17): Add the new function.
37217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37218 (GLIBC_2.17): Likewise.
37219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37220 (GLIBC_2.17): Likewise.
37221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37222 (GLIBC_2.17): Likewise.
37223 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37225 2012-09-25 Alan Modra <amodra@gmail.com>
37227 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37228 Add release barrier before setting once_control to say
37229 initialisation is done. Add hints on lwarx. Use macro in
37231 (clear_once_control): Add release barrier.
37233 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37236 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37238 * math/s_clog10.c (__clog10): Likewise.
37239 * math/s_clog10f.c (__clog10f): Likewise.
37240 * math/s_clog10l.c (__clog10l): Likewise.
37241 * math/s_clogf.c (__clogf): Likewise.
37242 * math/s_clogl.c (__clogl): Likewise.
37243 * math/Makefile (libm-calls): Add x2y2m1.
37244 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37245 (__x2y2m1): Likewise.
37246 (__x2y2m1l): Likewise.
37247 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37248 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37251 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37252 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37253 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37254 * sysdeps/i386/fpu/libm-test-ulps: Update.
37255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37258 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37259 int as type of variable DEPTH.
37260 (glob): Use size_t instead of int as type of variables NEWCOUNT
37263 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37265 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37266 Add s_sincosf-sse2.
37267 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37268 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37269 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37270 macros for using routine as __sincosf_ia32.
37271 Use macro for function declaration and weak_alias.
37272 * sysdeps/i386/fpu/libm-test-ulps: Update.
37274 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37277 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37278 subnormal argument.
37279 * math/s_cexpf.c (__cexpf): Likewise.
37280 * math/s_csinf.c (__csinf): Likewise.
37281 * math/s_csinhf.c (__csinhf): Likewise.
37282 * math/s_ctanf.c (__ctanf): Likewise.
37283 * math/s_ctanhf.c (__ctanhf): Likewise.
37284 * math/s_ccosh.c (__ccoshf): Likewise.
37285 * math/s_cexp.c (__cexpl): Likewise.
37286 * math/s_csin.c (__csin): Likewise.
37287 * math/s_csinh.c (__csinh): Likewise.
37288 * math/s_ctan.c (__ctan): Likewise.
37289 * math/s_ctanh.c (ctanh): Likewise.
37290 * math/s_ccoshl.c (__ccoshl): Likewise.
37291 * math/s_cexpl.c (__cexpl): Likewise.
37292 * math/s_csinl.c (__csinl): Likewise.
37293 * math/s_csinhl.c (__csinhl): Likewise.
37294 * math/s_ctanl.c (__ctanl): Likewise.
37295 * math/s_ctanhl.c (__ctanhl): Likewise.
37297 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37299 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37300 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37301 (_IO_off_t): Define to __off_t, not _G_off_t.
37302 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37303 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37304 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37305 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37306 type of __dummy and __dummy2 fields.
37307 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37308 (_G_ssize_t): Likewise.
37309 (_G_off_t): Likewise.
37310 (_G_pid_t): Likewise.
37311 (_G_uid_t): Likewise.
37312 (_G_wchar_t): Likewise.
37313 (_G_wint_t): Likewise.
37314 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37315 (_G_ssize_t): Likewise.
37316 (_G_off_t): Likewise.
37317 (_G_pid_t): Likewise.
37318 (_G_uid_t): Likewise.
37319 (_G_wchar_t): Likewise.
37320 (_G_wint_t): Likewise.
37321 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37322 (_G_ssize_t): Likewise.
37323 (_G_off_t): Likewise.
37324 (_G_pid_t): Likewise.
37325 (_G_uid_t): Likewise.
37326 (_G_wchar_t): Likewise.
37327 (_G_wint_t): Likewise.
37329 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37331 * malloc/arena.c: Include malloc-sysdep.h.
37332 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37333 is sufficient to shrink the heap or an unmap is needed.
37334 * sysdeps/generic/malloc-sysdep.h: New file. Define
37335 new function check_may_shrink_heap.
37336 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37337 new function check_may_shrink_heap.
37339 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37341 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37344 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37346 * catgets/test-gencat.sh: Add "set -e".
37347 * elf/tst-pathopt.sh: Likewise.
37348 * grp/tst_fgetgrent.sh: Likewise.
37349 * iconvdata/run-iconv-test.sh: Likewise.
37350 * intl/tst-gettext.sh: Likewise.
37351 * intl/tst-gettext2.sh: Likewise.
37352 * intl/tst-gettext4.sh: Likewise.
37353 * intl/tst-gettext6.sh: Likewise.
37354 * intl/tst-translit.sh: Likewise.
37355 * io/ftwtest-sh: Likewise.
37356 * libio/test-freopen.sh: Likewise.
37357 * malloc/tst-mtrace.sh: Likewise.
37358 * posix/globtest.sh: Likewise.
37359 * posix/tst-getconf.sh: Likewise.
37360 * posix/wordexp-tst.sh: Likewise.
37361 * stdio-common/tst-printf.sh: Likewise.
37362 * stdio-common/tst-unbputc.sh: Likewise.
37363 * stdlib/tst-fmtmsg.sh: Likewise.
37364 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37365 * catgets/Makefile: Do not specify -e option when running
37366 testsuite shell scripts.
37367 * elf/Makefile: Likewise.
37368 * grp/Makefile: Likewise.
37369 * iconvdata/Makefile: Likewise.
37370 * intl/Makefile: Likewise.
37371 * io/Makefile: Likewise.
37372 * libio/Makefile: Likewise.
37373 * malloc/Makefile: Likewise.
37374 * posix/Makefile: Likewise.
37375 * stdio-common/Makefile: Likewise.
37376 * stdlib/Makefile: Likewise.
37377 * sysdeps/x86_64/Makefile: Likewise.
37379 * io/ftwtest-sh: Add copyright header.
37380 * posix/globtest.sh: Likewise.
37381 * posix/tst-getconf.sh: Likewise.
37382 * posix/wordexp-tst.sh: Likewise.
37383 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37385 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37388 * Makeconfig (+link): Defined as $(+link-static) if
37389 $(build-shared) isn't yes.
37390 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37392 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37394 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37397 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37398 new chunk size with MALLOC_ALIGN_MASK.
37400 2012-09-24 Joseph Myers <joseph@codesourcery.com>
37403 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37405 (__printf_fphex): Determine rounding using get_rounding_mode and
37407 * stdio-common/tst-printf-round.c (struct hex_test): New
37409 (hex_tests): New variable.
37410 (test_hex_in_one_mode): New function.
37411 (do_test): Also run tests for hex float output.
37413 2012-09-21 Joseph Myers <joseph@codesourcery.com>
37415 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37416 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37417 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37418 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37419 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37420 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37421 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37422 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37424 2012-09-20 Joseph Myers <joseph@codesourcery.com>
37426 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37427 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37428 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37429 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37431 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37434 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37436 * elf/tst-rtld-load-self.sh: New test.
37437 * elf/Makefile: Run it.
37439 2012-09-18 Joseph Myers <joseph@codesourcery.com>
37441 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37442 (tst-writev-ENV): Remove.
37443 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37445 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37447 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37449 2012-09-17 Joseph Myers <joseph@codesourcery.com>
37451 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37453 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37455 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37456 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37457 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37460 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37463 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37464 * config.make.in (have-cpp-asm-debuginfo): Removed.
37465 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37466 * configure: Regenerated.
37468 2012-09-14 Joseph Myers <joseph@codesourcery.com>
37471 * stdio-common/printf_fp.c: Include <stdbool.h> and
37473 (___printf_fp): Determine rounding using get_rounding_mode and
37475 * stdio-common/tst-printf-round.c: New file.
37476 * stdio-common/Makefile (tests): Add tst-printf-round.
37477 (link-libm): New variable.
37478 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37480 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37483 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37484 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37486 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37489 2012-09-13 Joseph Myers <joseph@codesourcery.com>
37491 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37492 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37493 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37494 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37496 2012-09-12 Joseph Myers <joseph@codesourcery.com>
37499 * include/rounding-mode.h: New file.
37500 * sysdeps/generic/get-rounding-mode.h: Likewise.
37501 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37502 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37503 (MAX_VALUE): New macro.
37504 (MIN_VALUE): Likewise.
37505 (overflow_value): New function.
37506 (underflow_value): Likewise.
37507 (round_and_return): Use overflow_value and underflow_value to
37508 determine return values in overflow and underflow cases. Use
37509 round_away to determine rounding depending on rounding mode.
37510 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37511 determine return values in overflow and underflow cases.
37512 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37513 (struct test_results): New structure.
37514 (struct test): Use struct test_results to store expected results
37515 for all rounding modes.
37516 (TEST): Include expected results for all rounding modes.
37517 (test_in_one_mode): New function.
37518 (do_test): Use test_in_one_mode to compute and check results.
37519 Check results for all rounding modes.
37520 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37523 2012-12-09 Allan McRae <allan@archlinux.org>
37525 * sysdeps/i386/fpu/libm-test-ulps: Update
37527 2012-09-11 Joseph Myers <joseph@codesourcery.com>
37529 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37530 (_G_int32_t): Likewise.
37531 (_G_uint16_t): Likewise.
37532 (_G_uint32_t): Likewise.
37533 (_G_HAVE_BOOL): Likewise.
37534 (_G_HAVE_ATEXIT): Likewise.
37535 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37536 (_G_HAVE_IO_FILE_OPEN): Likewise.
37537 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37538 (_G_int32_t): Likewise.
37539 (_G_uint16_t): Likewise.
37540 (_G_uint32_t): Likewise.
37541 (_G_HAVE_BOOL): Likewise.
37542 (_G_HAVE_ATEXIT): Likewise.
37543 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37544 (_G_HAVE_IO_FILE_OPEN): Likewise.
37545 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37546 (_G_int32_t): Likewise.
37547 (_G_uint16_t): Likewise.
37548 (_G_uint32_t): Likewise.
37549 (_G_HAVE_BOOL): Likewise.
37550 (_G_HAVE_ATEXIT): Likewise.
37551 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37552 (_G_HAVE_IO_FILE_OPEN): Likewise.
37554 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37556 * csu/libc-tls.c: Update copyright years.
37558 2012-09-10 Joseph Myers <joseph@codesourcery.com>
37560 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37561 [!_G_USING_THUNKS]: Remove conditional code.
37562 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37563 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37565 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37566 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37567 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37568 (_G_VTABLE_LABEL_PREFIX): Likewise.
37569 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37570 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37571 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37572 (_G_VTABLE_LABEL_PREFIX): Likewise.
37573 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37574 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37575 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37576 (_G_VTABLE_LABEL_PREFIX): Likewise.
37577 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37579 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37581 * libio/Makefile: Include ../Makeconfig before tests.
37582 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37583 only if $(build-shared) is yes.
37585 * iconv/gconv_db.c: Update copyright years.
37587 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37589 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37590 unwind info if defined PIC. Fix special cases description.
37591 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37593 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37595 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37597 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37599 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37601 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37604 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37605 (LDLIBS-tst-chk4): This.
37606 (LDFLAGS-tst-chk5): Renamed to ...
37607 (LDLIBS-tst-chk5): This.
37608 (LDFLAGS-tst-chk6): Renamed to ...
37609 (LDLIBS-tst-chk6): This.
37610 (LDFLAGS-tst-lfschk4): Renamed to ...
37611 (LDLIBS-tst-lfschk4): This.
37612 (LDFLAGS-tst-lfschk5): Renamed to ...
37613 (LDLIBS-tst-lfschk5): This.
37614 (LDFLAGS-tst-lfschk6): Renamed to ...
37615 (LDLIBS-tst-lfschk6): This.
37617 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37618 on $(common-objpfx)soversions.mk.
37620 2012-09-07 Joseph Myers <joseph@codesourcery.com>
37623 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37626 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37628 * malloc/arena.c (arena_get_retry): New function that gets
37629 another arena for the caller to try its request on.
37630 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37631 current arena cannot fulfill the request.
37632 (__libc_memalign): Likewise.
37633 (__libc_memalign): Likewise.
37634 (__libc_pvalloc): Likewise.
37635 (__libc_calloc): Likewise.
37637 2012-09-05 John Tobey <john.tobey@gmail.com>
37640 * manual/arith.texi (Operations on Complex): Fix description
37641 of carg branch cut.
37643 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37646 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37650 * manual/memory.texi (Memory): Make order of menu items match
37653 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37655 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37656 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37657 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37659 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37661 * csu/libc-tls.c (static_dtv): Renamed to ...
37662 (_dl_static_dtv): This. Make it global.
37663 (_dl_initial_dtv): Removed.
37664 (__libc_setup_tls): Updated.
37665 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37666 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37669 2012-09-06 Petr Machata <pmachata@redhat.com>
37671 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37672 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37673 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37674 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37676 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37679 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37680 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37683 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37686 * Makeconfig (link-static-before-libc): Replace $(+prector)
37688 (link-static-after-libc): Replace $(+postctor) with
37690 (link-bounded): Replace $(+prector)/$(+postctor) with
37691 $(+prectorT)/$(+postctorT).
37692 (+prectorT): New macro.
37693 (+postctorT): Likewise.
37695 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37697 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37698 (round_str): Handle values above the maximum for IBM long double
37700 * stdlib/tst-strtod-round.c (tests): Regenerated.
37702 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37704 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37706 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37707 zarch_nohighgprs around the zarch optimized routines.
37708 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37709 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37710 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37713 2012-09-05 David S. Miller <davem@davemloft.net>
37715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37717 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37718 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37719 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37720 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37723 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37725 * malloc/arena.c: Fold copyright years.
37726 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37728 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37730 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37732 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37734 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37736 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37738 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37739 change internal state upon failure.
37741 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37743 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37744 * malloc/memusage.c (mmap): Likewise.
37745 (mmap64, mremap): Likewise. Adjust name in comment.
37747 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37749 * libio/fileops.c: Fix typos in comments.
37750 * libio/oldfileops.c: Likewise.
37751 * libio/wfileops.c: Likewise.
37753 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37756 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37757 (tst-malloc-usable-ENV): Set environment for test case.
37758 * malloc/hooks.c (malloc_check_get_size): New function to get
37760 * malloc/malloc.c (musable): Use malloc_check_get_size.
37761 * malloc/tst-malloc-usable.c: New test case.
37763 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37765 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37767 2012-09-05 Allan McRae <allan@archlinux.org>
37770 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37771 determine header location.
37772 * configure: Regenerated.
37774 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37776 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37778 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37779 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37781 (test): Regenerate.
37783 2012-09-04 David S. Miller <davem@davemloft.net>
37785 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37786 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37787 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37789 2012-09-04 Florian Weimer <fweimer@redhat.com>
37791 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37794 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37796 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37799 * libio/iogetdelim.c: Include <limits.h>.
37800 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37801 + len + 1 would overflow.
37803 2012-09-03 Andreas Jaeger <aj@suse.de>
37805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37806 * sysdeps/i386/fpu/libm-test-ulps: Update.
37808 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37810 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37811 Add s_sinf-sse2, s_conf-sse2.
37813 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37814 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37815 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37816 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37818 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37819 for using routine as __sinf_ia32.
37820 Use macro for function declaration and weak_alias.
37821 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37822 for using routine as __cosf_ia32.
37823 Use macro for function declaration and weak_alias.
37825 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37826 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37828 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37829 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37832 * math/libm-test.inc (cos_test): Add more test cases.
37833 (sin_test): Likewise.
37834 (sincos_test): Likewise.
37836 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37838 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37839 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37841 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37843 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37846 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37847 first element of the GOT.
37848 (elf_machine_load_address): Return the difference between
37849 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37851 2012-09-01 Allan McRae <allan@archlinux.org>
37854 * configure.in (AWK): Require gawk version 3.0 or later.
37855 * configure: Regenerated.
37857 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37859 * sysdeps/unix/sysv/linux/kernel-features.h
37860 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37862 [__NR_clock_getres]: Make code unconditional.
37863 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37864 (clock_getcpuclockid): Remove code left unreachable by removal of
37866 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37867 code unconditional.
37868 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37869 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37870 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37871 Make code unconditional.
37872 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37873 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37874 * sysdeps/unix/sysv/linux/clock_settime.c
37875 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37877 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37878 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37880 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37883 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37884 scripts/test-installation.pl.
37886 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37887 and $ld_so_version if it is set.
37889 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37892 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37893 failure if reading from procfs failed.
37894 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37896 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37898 * sysdeps/unix/sysv/linux/kernel-features.h
37899 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37900 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37901 Remove conditional code.
37902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37903 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37904 Remove conditional code.
37905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37906 * sysdeps/unix/sysv/linux/i386/fxstat.c
37907 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37909 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37910 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37912 * sysdeps/unix/sysv/linux/i386/lxstat.c
37913 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37915 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37916 Remove conditional code.
37917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37918 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37919 Remove conditional code.
37920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37921 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37922 <kernel-features.h>.
37923 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37925 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37926 Remove conditional code.
37927 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37928 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37929 Remove conditional.
37931 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37934 * NEWS: Add fixed bug number.
37936 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37939 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37940 underflowing exponent in case of negative sign.
37941 * stdlib/tst-strtod-round-data: Add more tests.
37942 * stdlib/tst-strtod-round.c (tests): Regenerated.
37945 * stdlib/strtod_l.c (NDIG): Remove.
37946 (HEXNDIG): Likewise.
37947 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37948 smallest representable value.
37949 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37950 lie within an exact representation of 1/2 ulp of the result.
37951 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37953 (TENS_P9_IDX): Define unconditionally.
37954 (TENS_P9_SIZE): Likewise.
37955 (TENS_P10_IDX): Likewise.
37956 (TENS_P10_SIZE): Likewise.
37957 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37958 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37959 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37960 entries for 10^2^13 and 10^2^14.
37961 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37962 (TENS_P13_IDX): Define.
37963 (TENS_P13_SIZE): Likewise.
37964 (TENS_P14_IDX): Likewise.
37965 (TENS_P14_SIZE): Likewise.
37966 (_fpioconst_pow10): Change array size to
37967 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37969 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37970 1024]: Add entries for 10^2^13 and 10^2^14.
37971 [LAST_POW10 > _LAST_POW10]: Remove #error.
37972 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37973 (_fpioconst_pow10): Change array size to
37974 FPIOCONST_POW10_ARRAY_SIZE.
37975 * stdlib/gen-fpioconst.c: New file.
37976 * stdlib/gen-tst-strtod-round.c: Likewise.
37977 * stdlib/tst-strtod-round-data: Likewise.
37978 * stdlib/tst-strtod-round.c: Likewise.
37979 * stdlib/Makefile (tests): Add tst-strtod-round.
37982 * stdlib/strtod_l.c: Include <stdint.h>.
37983 (NDEBUG): Do not define.
37984 (round_and_return): Change EXPONENT parameter to type intmax_t.
37985 Rearrange calculations to avoid internal overflow possibilities.
37986 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37987 Rearrange calculations to avoid internal overflow possibilities.
37988 Assert that number fits inside MPNSIZE limbs.
37989 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37990 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37991 calculations and add assertions to avoid internal overflow
37992 possibilities. Add casts to avoid signed/unsigned operations.
37993 * stdlib/tst-strtod-overflow.c: New file.
37994 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37996 2012-08-25 Marek Polacek <polacek@redhat.com>
37998 * time/time.h: Fix some typos in comments.
38000 2012-08-23 Roland McGrath <roland@hack.frob.com>
38002 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38003 * posix/tst-rfc3484-2.c: Likewise.
38004 * posix/tst-rfc3484-3.c: Likewise.
38006 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38008 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38009 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38011 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38013 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38014 #include of fxstatat64.c.
38016 2012-08-22 Roland McGrath <roland@hack.frob.com>
38018 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38019 * shadow/getspent_r.c: Likewise.
38020 * shadow/getspnam.c: Likewise.
38021 * shadow/getspnam_r.c: Likewise.
38022 * gshadow/getsgent.c: Likewise.
38023 * gshadow/getsgent_r.c: Likewise.
38024 * gshadow/getsgnam.c: Likewise.
38025 * gshadow/getsgnam_r.c: Likewise.
38026 * inet/getnetbyad.c: Likewise.
38027 * inet/getnetbyad_r.c: Likewise.
38028 * inet/getnetbynm.c: Likewise.
38029 * inet/getnetbynm_r.c: Likewise.
38030 * inet/getnetent.c: Likewise.
38031 * inet/getnetent_r.c: Likewise.
38032 * inet/getproto.c: Likewise.
38033 * inet/getproto_r.c: Likewise.
38034 * inet/getprtent.c: Likewise.
38035 * inet/getprtent_r.c: Likewise.
38036 * inet/getprtname.c: Likewise.
38037 * inet/getprtname_r.c: Likewise.
38038 * inet/getrpcbyname.c: Likewise.
38039 * inet/getrpcbyname_r.c: Likewise.
38040 * inet/getrpcbynumber.c: Likewise.
38041 * inet/getrpcbynumber_r.c: Likewise.
38042 * inet/getrpcent.c: Likewise.
38043 * inet/getrpcent_r.c: Likewise.
38044 * inet/getaliasent.c: Likewise.
38045 * inet/getaliasent_r.c: Likewise.
38046 * inet/getaliasname.c: Likewise.
38047 * inet/getaliasname_r.c: Likewise.
38048 * nscd/getgrgid_r.c: Likewise.
38049 * nscd/getgrnam_r.c: Likewise.
38050 * nscd/gethstbyad_r.c: Likewise.
38051 * nscd/gethstbynm3_r.c: Likewise.
38052 * nscd/getpwnam_r.c: Likewise.
38053 * nscd/getpwuid_r.c: Likewise.
38054 * nscd/getsrvbynm_r.c: Likewise.
38055 * nscd/getsrvbypt_r.c: Likewise.
38056 * nscd/gai.c: Likewise.
38058 * configure.in (build_nscd): New substituted variable, set
38059 by --disable-build-nscd and defaults to $use_nscd.
38060 * configure: Regenerated.
38061 * config.make.in (build-nscd): New substituted variable.
38062 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38063 Change conditional to require [$(build-nscd) = yes] as well.
38064 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38067 * configure.in (use_nscd): New substituted variable, set by
38068 --disable-nscd. If enabled, define USE_NSCD.
38069 * configure: Regenerated.
38070 * config.h.in: Add USE_NSCD.
38071 * config.make.in (use-nscd): New substituted variable.
38072 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38073 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38074 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38075 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38076 (CFLAGS-getgrnam_r.c): Likewise.
38077 (CFLAGS-initgroups.c): Likewise.
38078 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38079 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38081 * inet/getnetgrent_r.c
38082 (nscd_setnetgrent): New function, broken out of ...
38083 (setnetgrent): ... here. Call it.
38084 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38085 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38086 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38087 * nscd/Makefile (routines, aux): Move definitions after include of
38088 Makeconfig. Conditionalize on [$(use-nscd) != no].
38089 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38090 Conditionalize on [USE_NSCD].
38091 (is_nscd, nscd_init_cb): Likewise.
38092 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38093 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38094 * nss/nss_db/db-init.c: Likewise.
38095 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38097 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38098 (make_request): Use it.
38099 (cache_valid_p): New function.
38100 (__check_pf): Use it.
38101 * NEWS: Add item for --disable-nscd.
38103 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38105 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38106 to support sed >= 4.2.1-20-ga9bf076.
38107 * configure: Regenerated.
38109 2012-08-22 Roland McGrath <roland@hack.frob.com>
38111 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38112 Conditionalize whole body on [IREL].
38114 2012-08-22 Jeff Law <law@redhat.com>
38117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38118 if the family is PF_UNSPEC.
38120 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38122 * Makerules (lib-version): Rename from V.
38123 (install-lib-nosubdir): Change V to lib-version.
38125 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38128 * powerpc32/power6/wcschr.c: New file.
38129 * powerpc32/power6/wcscpy.c: New file.
38130 * powerpc32/power6/wcsrchr.c: New file.
38131 * powerpc64/power6/wcschr.c: New file.
38132 * powerpc64/power6/wcscpy.c: New file.
38133 * powerpc64/power6/wcsrchr.c: New file.
38135 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38137 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38138 (two_way_short_needle): Use it.
38139 * string/strstr.c (AVAILABLE1_USES_J): Define.
38140 * string/strcasestr.c: Likewise.
38142 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38144 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38147 * NEWS: Add an entry.
38148 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38149 define their defaults.
38150 (two_way_short_needle): Detect end-of-string on-the-fly.
38151 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38152 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38153 * string/bug-strcasestr1.c: New test.
38154 * string/Makefile: Run it.
38156 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38159 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38160 the first character.
38162 2012-08-21 Roland McGrath <roland@hack.frob.com>
38164 * csu/elf-init.c (__libc_csu_irel): Function removed.
38165 * csu/libc-start.c (apply_irel): New function.
38166 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38168 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38170 * sysdeps/unix/sysv/linux/kernel-features.h
38171 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38172 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38173 <kernel-features.h>.
38174 [__NR_fadvise64_64]: Make code unconditional.
38175 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38176 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38177 !__NR_fadvise64_64)]: Likewise.
38178 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38179 !__NR_fadvise64_64))]: Likewise.
38180 [__NR_fadvise64]: Make code unconditional.
38181 [!__NR_fadvise64]: Remove conditional code.
38182 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38183 <kernel-features.h>.
38184 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38186 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38189 not include <kernel-features.h>.
38190 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38192 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38194 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38195 include <kernel-features.h>.
38196 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38198 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38201 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38203 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38204 slight instruction rearrangements per scrollpipe analysis.
38205 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38207 2012-08-20 Roland McGrath <roland@hack.frob.com>
38209 * manual/syslog.texi (syslog; vsyslog, closelog):
38210 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38211 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38213 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38214 DSOCAPS to match condition on defining it.
38216 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38218 * sysdeps/unix/sysv/linux/kernel-features.h
38219 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38221 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38222 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38224 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38225 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38227 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38228 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38230 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38231 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38233 * sysdeps/unix/sysv/linux/kernel-features.h
38234 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38235 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38237 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38238 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38239 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38240 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38241 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38242 Make code unconditional.
38243 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38244 (__mmap64) [!__NR_mmap2]: Likewise.
38245 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38246 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38247 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38248 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38249 [__NR_mmap2]: Make code unconditional.
38250 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38251 (__mmap64) [!__NR_mmap2]: Likewise.
38253 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38255 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38257 2012-08-18 Andreas Jaeger <aj@suse.de>
38259 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38261 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38263 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38264 * include/unistd.h (__have_sock_cloexec): Likewise.
38265 (__have_pipe2): Likewise.
38266 (__have_dup3): Likewise.
38268 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38271 * include/unistd.h (__have_pipe2): Change define into an extern int.
38272 (__have_dup3): Likewise.
38273 * socket/have_sock_cloexec.c: Include fcntl.h.
38274 (__have_pipe2): New variable.
38275 (__have_dup3): Likewise.
38277 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38279 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38281 2012-08-17 Marek Polacek <polacek@redhat.com>
38283 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38284 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38286 2012-08-17 Roland McGrath <roland@hack.frob.com>
38288 * configure.in: Add AC_SUBST for sysheaders.
38289 * configure: Regenerated.
38290 * config.make.in (sysheaders): New substituted variable.
38292 * sysdeps/unix/mkfifo.c: Moved ...
38293 * sysdeps/posix/mkfifo.c: ... here.
38294 * sysdeps/unix/mkfifoat.c: Moved ...
38295 * sysdeps/posix/mkfifoat.c: ... here.
38297 * sysdeps/unix/utime.c: Moved ...
38298 * sysdeps/posix/utime.c: ... here.
38300 * sysdeps/unix/time.c: Moved ...
38301 * sysdeps/posix/time.c: ... here.
38302 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38303 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38305 * sysdeps/unix/nice.c: Moved ...
38306 * sysdeps/posix/nice.c: ... here.
38308 * sysdeps/unix/alarm.c: Moved ...
38309 * sysdeps/posix/alarm.c: ... here.
38311 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38313 2012-08-17 Jeff Law <law@redhat.com>
38315 * intl/Makefile (codeset_mo): New variable.
38316 ($(codeset_mo)): New target.
38317 (tst-codeset.out): Depend on that. Remove explicit rule.
38318 (tst-gettext3.out, tst-gettext5.out): Likewise.
38319 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38320 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38321 * intl/tst-codeset.sh: Remove.
38322 * intl/tst-gettext3.sh: Likewise.
38323 * intl/tst-gettext5.sh: Likewise.
38325 2012-08-17 Roland McGrath <roland@hack.frob.com>
38327 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38328 * sysdeps/unix/syscalls.list: ... here.
38330 * sysdeps/posix/getaddrinfo.c
38331 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38332 (gaiconf_init, gaiconf_reload): Use them.
38333 [!_STATBUF_ST_NSEC]
38334 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38335 Define using time_t rather than struct timespec.
38337 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38338 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38340 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38342 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38343 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38346 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38347 __libc_cleanup_push argument.
38349 * bits/param.h: New file.
38350 * misc/sys/param.h: New file.
38351 * include/sys/param.h: New file.
38352 * misc/Makefile (headers): Add bits/param.h.
38353 * sysdeps/generic/sys/param.h: File removed.
38354 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38355 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38356 * sysdeps/mach/hurd/bits/param.h: New file.
38357 * sysdeps/mach/hurd/sys/param.h: File removed.
38359 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38362 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38364 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38365 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38368 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38369 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38370 rather than -D_IO_MTSAFE_IO conditionally.
38371 * stdio-common/Makefile (CPPFLAGS): Likewise.
38372 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38373 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38374 Use $(libio-mtsafe).
38375 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38376 of -D_IO_MTSAFE_IO.
38377 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38378 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38379 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38380 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38381 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38382 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38383 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38384 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38385 (CFLAGS-fread_u_chk.c): Likewise.
38386 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38387 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38388 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38389 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38390 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38391 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38392 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38393 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38394 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38396 * libio/Makefile: Test [$(libc-reentrant) = yes]
38397 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38400 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38401 * sysdeps/pthread/configure: File removed.
38402 * sysdeps/pthread/Makeconfig: New file.
38403 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38404 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38406 2012-08-16 Gary Benson <gbenson@redhat.com>
38408 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38409 unmapping the first object in a namespace.
38411 2012-08-16 Roland McGrath <roland@hack.frob.com>
38413 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38414 (__internal_setnetgrent): ... this. Add internal_function to
38415 definition. Add libc_hidden_def.
38416 (setnetgrent): Update caller.
38417 (internal_endnetgrent): Renamed to ...
38418 (__internal_endnetgrent): ... this. Add internal_function to
38419 definition. Add libc_hidden_def.
38420 (endnetgrent): Update caller.
38421 (internal_getnetgrent_r): Renamed to ...
38422 (__internal_getnetgrent_r): ... this. Add internal_function to
38423 definition. Add libc_hidden_def.
38424 (__getnetgrent_r): Update caller.
38425 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38427 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38429 * stdlib/longlong.h: Update from GCC.
38431 2012-08-16 Roland McGrath <roland@hack.frob.com>
38433 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38434 on _QL, which is set by umul_ppmm but never used.
38435 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38436 variables, which are set by GMP macros but never used.
38437 * stdio-common/_itowa.c (_itowa): Likewise.
38438 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38439 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38441 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38443 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38444 struct La_sh_regs is not constant.
38445 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38446 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38447 and struct La_sparc64_regs are not constant.
38449 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38451 * sysdeps/unix/sysv/linux/kernel-features.h
38452 (__ASSUME_POSIX_TIMERS): Remove.
38453 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38455 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38456 Make code unconditional.
38457 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38458 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38459 Make code unconditional.
38460 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38461 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38462 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38463 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38464 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38465 Make code unconditional.
38466 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38467 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38468 (__libc_missing_posix_timers): Remove.
38470 2012-08-15 Roland McGrath <roland@hack.frob.com>
38472 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38473 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38475 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38477 * elf/dl-sym.c: Include <stdlib.h>.
38479 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38480 constants, which avoids warnings in 32-bit builds.
38482 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38483 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38485 * misc/lseek.c: File moved to ...
38486 * io/lseek.c: ... here.
38488 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38490 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38491 shifting LEN more than 31 bits at once.
38493 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38496 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38497 segmentation fault for a case of two empty input strings.
38498 * string/test-strncasecmp.c (check1): Renamed to...
38499 (bz12205): ...this.
38500 (bz14195): Add new testcase for two empty input strings and N > 0.
38501 (test_main): Call new testcase, adapt for renamed function.
38503 2012-08-15 Andreas Jaeger <aj@suse.de>
38506 * crypt/md5test2.c: New test, based on test supplied by Serge
38507 Belyshev <belyshev@depni.sinp.msu.ru>.
38508 * crypt/Makefile (xtests): Add md5test-giant..
38509 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38511 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38514 * crypt/md5.c (md5_process_block): Don't assume the buffer
38515 length is less than 2**32.
38516 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38517 length is less than 2**64.
38519 2012-08-15 Roland McGrath <roland@hack.frob.com>
38521 * string/str-two-way.h: Include <sys/param.h>.
38522 (MAX): Macro removed.
38524 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38525 Move #define and #undef of memmove to just before and after
38526 including <string.h>.
38528 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38529 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38530 and after including <string.h>. Move declarations of
38531 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38532 to before #include "string/memmove.c".
38534 * include/dirent.h: Declare __getdirentries.
38536 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38537 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38539 2012-08-14 Mike Frysinger <vapier@gentoo.org>
38541 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38542 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38543 * sysdeps/i386/configure: Regenerated.
38544 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38545 STABS_CURRENT_FILE, and STABS_FUN.
38546 (END): Remove call to STABS_FUN_END.
38547 (STABS_CURRENT_FILE1): Delete.
38548 (STABS_CURRENT_FILE): Likewise.
38549 (STABS_FUN): Likewise.
38550 (STABS_FUN_END): Likewise.
38551 (STABS_FUN2): Likewise.
38552 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38553 * sysdeps/x86_64/configure: Regenerated.
38555 2012-08-14 Roland McGrath <roland@hack.frob.com>
38557 * elf/dl-open.c: Include <atomic.h>.
38558 * elf/dl-lookup.c: Likewise.
38560 2012-08-14 Joseph Myers <joseph@codesourcery.com>
38562 * sysdeps/unix/sysv/linux/kernel-features.h
38563 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38564 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38566 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38568 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38569 condition on __ASSUME_CLONE_THREAD_FLAGS.
38571 2012-08-14 Andreas Jaeger <aj@suse.de>
38573 * sysdeps/i386/fpu/libm-test-ulps: Update.
38575 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38577 * include/atomic.h (atomic_exchange_and_add): Split into ...
38578 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38581 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38585 2012-08-13 Jeff Law <law@redhat.com>
38587 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38588 null byte in the output string.
38590 2012-08-10 Joseph Myers <joseph@codesourcery.com>
38592 * sysdeps/unix/sysv/linux/kernel-features.h
38593 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38594 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38595 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38596 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38597 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38598 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38599 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38601 2012-08-09 Jeff Law <law@redhat.com>
38604 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38605 When avoid_arena is set, don't retry in the that arena. Pick the
38606 next one, whatever it might be.
38607 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38608 (arena_lock): Pass in new parameter to arena_get2.
38609 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38611 (__libc_malloc): Unify retrying after main arena failure with
38612 __libc_memalign version.
38613 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38615 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38618 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38619 to __redirect_strstr.
38620 (__strstr_sse42): Use typeof __redirect_strstr.
38621 (__strstr_ia32): Likewise.
38622 (__libc_strstr): New prototype.
38623 (strstr): Renamed to ...
38624 (__libc_strstr): This.
38625 (strstr): New strong alias of __libc_strstr.
38626 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38627 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38630 (__libc_time): New prototype.
38631 (time_ifunc): Replace time with __libc_time.
38632 (time): New strong alias and hidden definition of __libc_time.
38633 (__GI_time): Remove strong alias.
38634 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38635 Include <stddef.h>.
38636 (memmove): Redefined to __redirect_memmove.
38637 (__memmove_sse2): Use typeof __redirect_memmove.
38638 (__memmove_ssse3): Likewise.
38639 (__memmove_ssse3_back): Likewise.
38640 (__libc_memmove): New prototype.
38641 (memmove): Renamed to ...
38642 (__libc_memmove): This.
38643 (memmove): New strong alias of __libc_memmove.
38645 2012-08-08 Mark Salter <msalter@redhat.com>
38648 (R_MN10300_TLS_GD): Define.
38649 (R_MN10300_TLS_LD): Likewise.
38650 (R_MN10300_TLS_LDO): Likewise.
38651 (R_MN10300_TLS_GOTIE): Likewise.
38652 (R_MN10300_TLS_IE): Likewise.
38653 (R_MN10300_TLS_LE): Likewise.
38654 (R_MN10300_TLS_DTPMOD): Likewise.
38655 (R_MN10300_TLS_DTPOFF): Likewise.
38656 (R_MN10300_TLS_TPOFF): Likewise.
38657 (R_MN10300_SYM_DIFF): Likewise.
38658 (R_MN10300_ALIGN): Likewise.
38659 (R_MN10300_NUM): Update.
38661 2012-08-08 Joseph Myers <joseph@codesourcery.com>
38663 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38666 2012-08-08 Roland McGrath <roland@hack.frob.com>
38668 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38670 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38671 sysdeps/unix -> sysdeps/posix move.
38672 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38674 2012-08-07 Allan McRae <allan@archlinux.org>
38677 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38678 (SUNOS_CPP): Likewise.
38679 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38681 (open_input): Call CPP using execvp.
38683 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38685 * sysdeps/unix/sysv/linux/kernel-features.h
38686 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38687 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38688 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38689 (__ASSUME_WAITID_SYSCALL): Likewise.
38690 * sysdeps/unix/sysv/linux/dl-execstack.c
38691 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38692 code unconditional.
38693 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38695 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38696 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38697 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38699 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38701 [__ASSUME_WAITID_SYSCALL]: Likewise.
38702 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38704 2012-08-07 Roland McGrath <roland@hack.frob.com>
38706 * sysdeps/unix/closedir.c: Renamed to ...
38707 * sysdeps/posix/closedir.c: ... here.
38708 * sysdeps/unix/dirfd.c: Renamed to ...
38709 * sysdeps/posix/dirfd.c: ... here.
38710 * sysdeps/unix/dirstream.h: Renamed to ...
38711 * sysdeps/posix/dirstream.h: ... here.
38712 * sysdeps/unix/fdopendir.c: Renamed to ...
38713 * sysdeps/posix/fdopendir.c: ... here.
38714 * sysdeps/unix/opendir.c: Renamed to ...
38715 * sysdeps/posix/opendir.c: ... here.
38716 * sysdeps/unix/readdir.c: Renamed to ...
38717 * sysdeps/posix/readdir.c: ... here.
38718 * sysdeps/unix/readdir_r.c: Renamed to ...
38719 * sysdeps/posix/readdir_r.c: ... here.
38720 * sysdeps/unix/rewinddir.c: Renamed to ...
38721 * sysdeps/posix/rewinddir.c: ... here.
38722 * sysdeps/unix/seekdir.c: Renamed to ...
38723 * sysdeps/posix/seekdir.c: ... here.
38724 * sysdeps/unix/telldir.c: Renamed to ...
38725 * sysdeps/posix/telldir.c: ... here.
38726 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38727 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38728 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38729 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38731 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38732 * bits/fcntl.h: ... here.
38734 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38736 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38737 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38738 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38739 (struct flock): Move l_start, l_len to the beginning.
38740 Use __pid_t for l_pid.
38741 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38742 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38743 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38744 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38745 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38746 [__USE_LARGEFILE64] (struct flock64): New type.
38747 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38749 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38750 * bits/dirent.h: ... here.
38752 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38753 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38755 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38758 Change from 2.6.0 to 2.6.16.
38759 * sysdeps/unix/sysv/linux/configure: Regenerated.
38760 * sysdeps/unix/sysv/linux/kernel-features.h
38761 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38762 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38764 (__ASSUME_UTIMES): Likewise.
38765 (__ASSUME_CLONE_STOPPED): Remove.
38766 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38767 architectures, not kernel version.
38768 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38769 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38770 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38771 (__ASSUME_WAITID_SYSCALL): Likewise.
38772 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38773 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38774 * README: State 2.6.16 as minimum Linux kernel version. Do not
38775 refer to older versions.
38777 2012-08-06 Roland McGrath <roland@hack.frob.com>
38779 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38780 Define alphasort64 as an alias.
38781 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38782 Define versionsort64 as an alias.
38783 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38784 Define scandir64 as an alias.
38785 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38786 Define scandirat64 as an alias.
38787 * dirent/alphasort64.c (alphasort64):
38788 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38789 * dirent/versionsort64.c: Likewise.
38790 * dirent/scandir64.c: Likewise.
38791 * dirent/scandirat64.c: Likewise.
38792 * sysdeps/wordsize-64/alphasort.c: File removed.
38793 * sysdeps/wordsize-64/alphasort64.c: File removed.
38794 * sysdeps/wordsize-64/scandir.c: File removed.
38795 * sysdeps/wordsize-64/scandir64.c: File removed.
38796 * sysdeps/wordsize-64/scandirat.c: File removed.
38797 * sysdeps/wordsize-64/scandirat64.c: File removed.
38798 * sysdeps/wordsize-64/versionsort.c: File removed.
38799 * sysdeps/wordsize-64/versionsort64.c: File removed.
38800 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38801 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38802 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38803 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38804 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38805 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38806 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38807 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38809 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38811 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38813 [defined __arch64__ || defined __sparcv9]
38814 (__INO_T_MATCHES_INO64_T): New macro.
38815 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38816 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38817 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38818 * sysdeps/unix/sysv/linux/bits/dirent.h
38819 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38820 (_DIRENT_MATCHES_DIRENT64): New macro.
38822 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38823 Define lockf64 as an alias.
38824 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38825 Define fseeko64 as an alias.
38826 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38827 Define ftello64 as an alias.
38828 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38829 Define _IO_fgetpos64 and fgetpos64 as aliases.
38830 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38831 Define _IO_fsetpos64 and fsetpos64 as aliases.
38832 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38833 Conditionalize body on this.
38834 * libio/fseeko64.c: Likewise.
38835 * libio/ftello64.c: Likewise.
38836 * libio/iofgetpos64.c: Likewise.
38837 * libio/iofsetpos64.c: Likewise.
38838 * sysdeps/wordsize-64/lockf.c: File removed.
38839 * sysdeps/wordsize-64/lockf64.c: File removed.
38840 * sysdeps/wordsize-64/fseeko.c: File removed.
38841 * sysdeps/wordsize-64/fseeko64.c: File removed.
38842 * sysdeps/wordsize-64/ftello.c: File removed.
38843 * sysdeps/wordsize-64/ftello64.c: File removed.
38844 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38845 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38846 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38847 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38848 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38849 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38850 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38851 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38852 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38853 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38854 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38855 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38856 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38857 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38859 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38861 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38862 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38863 [defined __arch64__ || defined __sparcv9]
38864 (__OFF_T_MATCHES_OFF64_T): New macro.
38865 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38866 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38868 (__OFF_T_MATCHES_OFF64_T): New macro.
38870 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38872 * stdlib/secure-getenv.c (__secure_getenv): Replace
38873 GLIBC_2_16 with GLIBC_2_17.
38875 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38877 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38878 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38880 2012-08-03 David S. Miller <davem@davemloft.net>
38882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38884 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38886 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38888 (__ASSUME_CORRECT_SI_PID): Likewise.
38889 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38890 (__ASSUME_TMPFS_NAME): Likewise.
38891 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38892 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38893 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38894 (HAVE_AUX_SECURE): Make definition unconditional.
38895 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38896 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38898 2012-08-03 Roland McGrath <roland@hack.frob.com>
38900 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38901 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38902 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38903 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38904 __eloop_threshold instead of SYMLOOP_MAX.
38906 * sysdeps/generic/eloop-threshold.h: New file.
38907 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38909 * elf/chroot_canon.c (chroot_canon): Likewise.
38911 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38914 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38915 Change to 2.6.0 everywhere.
38916 * sysdeps/unix/sysv/linux/configure: Regenerated.
38917 * sysdeps/unix/sysv/linux/kernel-features.h
38918 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38919 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38921 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38922 (__ASSUME_FUTEX_REQUEUE): Remove.
38923 (__ASSUME_STATFS64): Define unconditionally.
38924 (__ASSUME_AT_SECURE): Likewise.
38925 (__ASSUME_CORRECT_SI_PID): Likewise.
38926 (__ASSUME_TGKILL): Define without depending on kernel version for
38928 (__ASSUME_UTIMES): Likewise.
38929 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38931 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38932 (__ASSUME_TMPFS_NAME): Likewise.
38933 * README: Update reference to Linux kernel versions.
38935 2012-08-02 Marek Polacek <polacek@redhat.com>
38938 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38939 libc_cv_asm_type_prefix with %.
38940 * configure: Regenerated.
38941 * include/libc-symbols.h: Remove comment about
38942 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38943 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38944 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38945 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38946 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38947 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38948 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38949 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38950 * elf/tst-unique2mod1.c: Likewise.
38951 * elf/tst-unique1mod2.c: Likewise.
38952 * elf/tst-unique1mod1.c: Likewise.
38953 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38954 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38955 Replace ASM_TYPE_DIRECTIVE with .type.
38956 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38957 * sysdeps/i386/sysdep.h: Likewise.
38958 * sysdeps/x86_64/sysdep.h: Likewise.
38959 * sysdeps/sh/sysdep.h: Likewise.
38960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38961 Do not define ASM_TYPE_DIRECTIVE.
38962 * sysdeps/powerpc/sysdep.h: Likewise.
38963 * sysdeps/powerpc/powerpc32/sysdep.h:
38964 Replace ASM_TYPE_DIRECTIVE with .type.
38965 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38966 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38967 * sysdeps/i386/fpu/e_powf.S: Likewise.
38968 * sysdeps/i386/fpu/e_expl.S: Likewise.
38969 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38970 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38971 * sysdeps/i386/fpu/e_pow.S: Likewise.
38972 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38973 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38974 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38975 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38976 * sysdeps/i386/fpu/e_log2.S: Likewise.
38977 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38978 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38979 * sysdeps/i386/fpu/e_powl.S: Likewise.
38980 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38981 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38982 * sysdeps/i386/fpu/e_logl.S: Likewise.
38983 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38984 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38985 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38986 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38987 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38988 * sysdeps/i386/fpu/e_log.S: Likewise.
38989 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38990 * sysdeps/i386/fpu/e_logf.S: Likewise.
38991 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38992 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38993 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38994 * sysdeps/i386/fpu/e_log10.S: Likewise.
38995 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38996 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38997 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38998 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38999 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39000 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39001 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39002 * sysdeps/i386/i686/strtok.S: Likewise.
39003 * sysdeps/i386/i386-mcount.S: Likewise.
39004 * sysdeps/i386/strtok.S: Likewise.
39005 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39006 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39007 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39008 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39009 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39010 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39011 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39012 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39013 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39014 * sysdeps/x86_64/_mcount.S: Likewise.
39015 * sysdeps/x86_64/strtok.S: Likewise.
39016 * sysdeps/sh/_mcount.S: Likewise.
39018 2012-08-01 Roland McGrath <roland@hack.frob.com>
39020 * libio/iofopen.c: Include <fcntl.h>.
39021 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39022 (_IO_fopen64, fopen64): Define as aliases.
39023 * libio/iofopen64.c: Include <fcntl.h>.
39024 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39025 Conditionalize body on this.
39026 * sysdeps/wordsize-64/iofopen.c: File removed.
39027 * sysdeps/wordsize-64/iofopen64.c: File removed.
39029 2012-08-01 Marek Polacek <polacek@redhat.com>
39031 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39032 Use dlfcn directly instead of a variable.
39033 (binfmt-subdir): Do not define.
39036 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39038 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39039 Remove all definitions.
39040 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39041 <kernel-features.h>.
39042 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39043 (miss_F_GETOWN_EX): Remove all definitions.
39044 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39046 [!__ASSUME_FCNTL64]: Remove conditional code.
39047 [__ASSUME_FCNTL64]: Make code unconditional.
39048 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39049 <kernel-features.h>.
39050 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39051 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39052 (lockf64) [__NR_fcntl64]: Make code unconditional.
39053 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39055 * sysdeps/unix/sysv/linux/kernel-features.h
39056 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39057 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39058 Make code unconditional.
39059 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39060 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39062 [__NR_vfork]: Make code unconditional.
39063 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39064 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39066 [__NR_vfork]: Make code unconditional.
39067 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39068 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39070 2012-08-01 Roland McGrath <roland@hack.frob.com>
39072 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39073 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39075 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39076 Define mkstemp64 as an alias.
39077 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39078 Define mkstemps64 as an alias.
39079 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39080 Define mkostemp64 as an alias.
39081 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39082 Define mkostemps64 as an alias.
39083 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39084 Conditionalize body on this.
39085 * misc/mkostemp64.c: Likewise.
39086 * misc/mkostemps64.c: Likewise.
39087 * misc/mkstemps64.c: Likewise.
39088 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39089 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39090 * sysdeps/wordsize-64/mkostemp.c: File removed.
39091 * sysdeps/wordsize-64/mkstemp.c: File removed.
39092 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39093 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39094 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39095 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39098 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39099 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39100 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39101 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39103 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39104 compat_symbol macros from <shlib-compat.h> rather than the underlying
39105 default_symbol_version and symbol_version macros, so that DEFAULT
39106 lines in shlib-versions are respected.
39107 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39109 2012-08-01 Florian Weimer <fweimer@redhat.com>
39111 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39112 Declare with warn_unused_result.
39113 (setgid, setregid, setegid, setresgid): Likewise.
39114 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39116 * WUR-REPORT: Remove set*id functions.
39118 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39120 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39122 2012-07-31 Roland McGrath <roland@hack.frob.com>
39125 * include/sys/socket.h (__libc_accept, __libc_accept4):
39126 Add attribute_hidden.
39127 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39129 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39131 * inet/getnetgrent_r.c (setup): Likewise.
39133 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39135 2012-07-31 David S. Miller <davem@davemloft.net>
39137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39139 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39142 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39143 value between 1.0 and 2.0 and smaller part has absolute value less
39145 * math/s_clog10.c (__clog10): Likewise.
39146 * math/s_clog10f.c (__clog10f): Likewise.
39147 * math/s_clog10l.c (__clog10l): Likewise.
39148 * math/s_clogf.c (__clogf): Likewise.
39149 * math/s_clogl.c (__clogl): Likewise.
39150 * math/libm-test.inc (clog_test): Add more tests.
39151 (clog10_test): Likewise.
39152 * sysdeps/i386/fpu/libm-test-ulps: Update.
39153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39155 2012-07-31 Florian Weimer <fweimer@redhat.com>
39157 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39158 Exit with zero in case no suitable GID is found, and write a
39159 message to standard error.
39161 2012-07-30 Roland McGrath <roland@hack.frob.com>
39163 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39165 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39166 (MAXPATHLEN): Removed.
39167 (NOGROUP, NODEV): New macros.
39168 (setbit, clrbit, isset, isclr): New macros.
39169 (howmany, roundup, powerof2): New macros.
39170 (DEV_BSIZE): New macro.
39172 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39173 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39175 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39176 definition on [!__NO_LONG_DOUBLE_MATH].
39178 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39179 PTR_MANGLE and PTR_DEMANGLE.
39181 * socket/accept4.c (accept4): Rename to __libc_accept4.
39182 Define accept4 as a weak alias.
39184 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39185 on [_DIRENT_HAVE_D_TYPE].
39186 * io/ftw.c (ftw_dir): Likewise.
39188 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39190 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39192 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39193 Use the BSD numbers rather than the arbitrary ones we had.
39194 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39195 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39196 (SIGXCPU, SIGXFSZ): New macros.
39199 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39200 initializer on [_LIBC_REENTRANT].
39202 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39203 definitions inside [_POSIX_MAPPED_FILES].
39205 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39207 * dirent/opendir.c: Include <fcntl.h>.
39209 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39210 (__libc_getspecific): Likewise.
39211 (__libc_key_create): Likewise.
39213 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39214 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39215 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39216 (tmpfile64): Define as alias.
39217 * sysdeps/wordsize-64/tmpfile.c: File removed.
39218 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39219 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39220 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39222 * stdio-common/vfscanf.c: Include <stdbool.h>.
39223 * nss/makedb.c: Likewise.
39224 * stdio-common/_i18n_number.h: Likewise.
39225 * argp/argp-help.c: Likewise.
39226 * posix/wordexp.c: Likewise.
39227 * sysdeps/posix/spawni.c: Likewise.
39228 * nss/nss_files/files-initgroups.c: Likewise.
39229 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39230 * nss/nss_files/files-initgroups.c: Likewise.
39231 * nss/nss_db/db-netgrp.c: Likewise.
39232 * nss/nss_db/db-initgroups.c: Likewise.
39233 * io/fchmodat.c: Include <sys/stat.h>.
39235 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39236 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39238 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39241 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39242 Add multiple inclusion protection.
39244 2012-07-27 David S. Miller <davem@davemloft.net>
39246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39248 2012-07-27 Gary Benson <gbenson@redhat.com>
39251 * elf/rtld.c: Include <stap-probe.h>.
39252 (dl_main): Added static probes "init_start" and "init_complete".
39253 * elf/dl-load.c: Include <stap-probe.h>.
39254 (lose): Take new parameter "nsid".
39255 Added static probe "map_failed".
39256 (_dl_map_object_from_fd): Pass namespace id to lose.
39257 Added static probe "map_start".
39258 (open_verify): Pass namespace id to lose.
39259 * elf/dl-open.c: Include <stap-probe.h>.
39260 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39261 and "reloc_complete".
39262 * elf/dl-close.c: Include <stap-probe.h>.
39263 (_dl_close_worker): Added static probes "unmap_start" and
39265 * elf/rtld-debugger-interface.txt: New file documenting the above.
39267 2012-07-26 Roland McGrath <roland@hack.frob.com>
39269 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39270 rather than a string variable.
39271 * sunrpc/rpc_main.c (h_output): Likewise.
39272 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39274 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39276 * inet/check_native.c: New file.
39278 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39281 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39282 if larger part has absolute value 1.0.
39283 * math/s_clog10.c (__clog10): Likewise.
39284 * math/s_clog10f.c (__clog10f): Likewise.
39285 * math/s_clog10l.c (__clog10l): Likewise.
39286 * math/s_clogf.c (__clogf): Likewise.
39287 * math/s_clogl.c (__clogl): Likewise.
39288 * math/libm-test.inc (clog_test): Add more tests.
39289 (clog10_test): Likewise.
39290 * sysdeps/i386/fpu/libm-test-ulps: Update.
39291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39293 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39294 (pltexit): Likewise.
39295 (La_regs): Likewise.
39296 (La_retval): Likewise.
39297 (int_retval): Likewise.
39298 Update #error for removed macros to refer only to definitions in
39300 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39302 (pltexit): Likewise.
39303 (La_regs): Likewise.
39304 (La_retval): Likewise.
39305 (int_retval): Likewise.
39306 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39308 (pltexit): Likewise.
39309 (La_regs): Likewise.
39310 (La_retval): Likewise.
39311 (int_retval): Likewise.
39312 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39314 (pltexit): Likewise.
39315 (La_regs): Likewise.
39316 (La_retval): Likewise.
39317 (int_retval): Likewise.
39318 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39320 (pltexit): Likewise.
39321 (La_regs): Likewise.
39322 (La_retval): Likewise.
39323 (int_retval): Likewise.
39324 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39326 (pltexit): Likewise.
39327 (La_regs): Likewise.
39328 (La_retval): Likewise.
39329 (int_retval): Likewise.
39330 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39332 (pltexit): Likewise.
39333 (La_regs): Likewise.
39334 (La_retval): Likewise.
39335 (int_retval): Likewise.
39336 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39337 macro definitions in tst-audit.h.
39338 * sysdeps/i386/tst-audit.h: New file.
39339 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39340 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39341 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39342 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39343 * sysdeps/sh/tst-audit.h: Likewise.
39344 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39345 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39346 * sysdeps/x86_64/tst-audit.h: Likewise.
39348 2012-07-26 Andreas Jaeger <aj@suse.de>
39350 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39353 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39354 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39355 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39357 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39358 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39359 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39361 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39364 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39366 (si_call_addr, si_syscall, si_arch): Define new macro.
39367 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39369 (si_call_addr, si_syscall, si_arch): Define new marcro.
39370 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39372 (si_call_addr, si_syscall, si_arch): Define new macro.
39373 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39375 (si_call_addr, si_syscall, si_arch): Define new macro.
39377 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39380 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39381 Change to 2.4.21 where previously 2.4.1.
39382 * sysdeps/unix/sysv/linux/configure: Regenerated.
39383 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39384 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39385 Linux kernel version.
39386 (__ASSUME_STD_AUXV): Remove.
39387 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39389 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39390 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39391 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39392 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39393 (__ASSUME_NETLINK_SUPPORT): Likewise.
39394 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39395 (__no_netlink_support): Remove conditional definition.
39396 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39398 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39399 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39400 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39401 (if_nameindex_ioctl): Remove.
39402 (if_nameindex_netlink): Do not handle __no_netlink_support.
39403 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39405 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39406 Remove conditional code.
39407 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39409 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39411 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39412 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39413 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39415 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39416 [!__ASSUME_STD_AUXV]: Remove conditional code.
39417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39418 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39419 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39421 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39422 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39424 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39426 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39427 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39429 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39431 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39434 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39437 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39438 code unconditional.
39439 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39441 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39443 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39446 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39448 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39451 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39452 code unconditional.
39453 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39455 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39457 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39460 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39461 code unconditional.
39462 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39464 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39466 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39469 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39471 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39472 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39473 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39474 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39475 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39476 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39477 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39478 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39479 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39480 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39481 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39482 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39483 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39484 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39485 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39486 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39487 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39488 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39489 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39491 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39492 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39493 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39495 2012-07-25 Florian Weimer <fweimer@redhat.com>
39497 * Versions.def: Add GLIBC_2.17.
39498 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39499 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39500 Introduce __libc_secure_getenv.
39501 * stdlib/Versions (2.17): Add secure_getenv
39502 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39503 * stdlib/secure-getenv.c: Rename __secure_getenv to
39504 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39505 symbol __secure_getenv for GLIBC_2.0.
39506 * stdlib/tst-secure-getenv.c: New.
39507 * stdlib/Makefile (tests): Add testcase.
39508 * manual/startup.texi (Environment Access): Document
39510 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39511 __libc_secure_getenv.
39512 * inet/ruserpass.c (ruserpass): Likewise.
39513 * malloc/mtrace.c (mtrace): Likewise.
39514 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39515 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39516 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39517 * sysdeps/posix/tempname.c: Likewise. Evaluate
39518 HAVE_SECURE_GETENV.
39519 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39520 __secure_getenv to __libc_secure_getenv.
39521 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39534 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39536 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39537 (struct La_i86_retval): Likewise.
39538 (struct La_x86_64_regs): Likewise.
39539 (struct La_x86_64_retval): Likewise.
39540 (struct La_x32_regs): Likewise.
39541 (struct La_x32_retval): Likewise.
39542 (struct La_ppc32_regs): Likewise.
39543 (struct La_ppc32_retval): Likewise.
39544 (struct La_ppc64_regs): Likewise.
39545 (struct La_ppc64_retval): Likewise.
39546 (struct La_sh_regs): Likewise.
39547 (struct La_sh_retval): Likewise.
39548 (struct La_s390_32_regs): Likewise.
39549 (struct La_s390_32_retval): Likewise.
39550 (struct La_s390_64_regs): Likewise.
39551 (struct La_s390_64_retval): Likewise.
39552 (struct La_sparc32_regs): Likewise.
39553 (struct La_sparc32_retval): Likewise.
39554 (struct La_sparc64_regs): Likewise.
39555 (struct La_sparc64_retval): Likewise.
39556 (struct audit_ifaces): Remove architecture-specific pltenter and
39558 * sysdeps/i386/ldsodefs.h: New file.
39559 * sysdeps/powerpc/ldsodefs.h: Likewise.
39560 * sysdeps/s390/ldsodefs.h: Likewise.
39561 * sysdeps/sh/ldsodefs.h: Likewise.
39562 * sysdeps/sparc/ldsodefs.h: Likewise.
39563 * sysdeps/x86_64/ldsodefs.h: Likewise.
39565 2012-07-25 Marek Polacek <polacek@redhat.com>
39568 * math/libm-test.inc (yn_test): Add another test.
39569 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39570 to ERANGE when the result is +-Inf.
39571 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39572 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39573 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39574 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39576 2012-07-24 Joseph Myers <joseph@codesourcery.com>
39578 * conform/data/time.h-data (NULL): Use macro-constant. Require
39580 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39582 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39584 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39586 * configure.in <sysdeps resolving>: Correct printing
39588 * configure: Regenerate.
39590 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39592 * math/w_ilogb.c: Include <limits.h>.
39593 * math/w_ilogbl.c: Likewise.
39595 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39597 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39598 va_copy. Document allowing for unavailable va_copy only as
39599 pre-C99 compatibility.
39600 * manual/string.texi (Copying and Concatenation): Use va_copy
39601 instead of __va_copy in concat example.
39603 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39605 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39606 (__sendto): Use create_address_port. Initialize APORT and deallocate
39609 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39610 with O_NOLINK passed to __file_name_lookup.
39612 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39613 with O_NOLINK passed to __file_name_lookup.
39615 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39616 negative N or less than NGIDS.
39618 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39619 type to string_t. Set ERANGE as errno and return it if NAME is not big
39620 enough. Use memcpy instead of strncpy.
39622 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39624 * elf/Makefile (check-data): Remove.
39625 (localplt.data): New vpath directive.
39626 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39627 instead of $(check-data).
39628 * scripts/data/localplt-generic.data: Move to ...
39629 * sysdeps/generic/localplt.data: ... here.
39630 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39631 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39632 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39635 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39638 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39641 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39644 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39647 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39651 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39653 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39654 PPC32 and PPC64 files.
39655 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39656 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39658 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39660 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39661 __makecontext_ret to ...
39662 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39663 ... here and call exit if uc_link is NULL. New file.
39664 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39665 __makecontext_ret.S.
39666 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39667 __makecontext_ret to ...
39668 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39669 ... here and call exit if uc_link is NULL. New file.
39670 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39671 __makecontext_ret.S.
39673 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39675 * elf/elf.h (R_390_IRELATIVE): New definition.
39676 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39677 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39678 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39679 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39680 (elf_machine_lazy_rel): Likewise.
39681 * sysdeps/s390/dl-irel.h: New file.
39682 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39683 * sysdeps/s390/s390-64/memset.S: New asm code.
39684 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39685 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39686 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39687 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39688 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39689 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39690 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39691 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39692 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39693 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39694 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39695 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39696 * sysdeps/s390/s390-32/memset.S: New asm code.
39697 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39699 2012-07-17 Marek Polacek <polacek@redhat.com>
39702 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39703 * sysdeps/s390/s390-64/configure.in: Likewise.
39704 * sysdeps/sparc/configure.in: Likewise.
39705 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39706 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39707 * sysdeps/i386/configure.in: Likewise.
39708 * sysdeps/x86_64/configure.in: Likewise.
39709 * sysdeps/sh/configure.in: Likewise.
39710 * sysdeps/s390/s390-32/configure: Regenerated.
39711 * sysdeps/s390/s390-64/configure: Likewise.
39712 * sysdeps/x86_64/configure: Likewise.
39713 * sysdeps/sh/configure: Likewise.
39714 * sysdeps/powerpc/powerpc64/configure: Likewise.
39715 * sysdeps/powerpc/powerpc32/configure: Likewise.
39716 * sysdeps/sparc/configure: Likwise.
39717 * sysdeps/i386/configure: Likewise.
39719 * elf/dl-open.c: Comment fixes.
39721 2012-07-17 Joseph Myers <joseph@codesourcery.com>
39723 * Makefile [CXX] (check-data): Remove.
39724 [CXX] (c++-types.data): New vpath directive.
39725 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39726 vpath. Do not allow for C++ type data being missing.
39727 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39728 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39729 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39730 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39731 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39732 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39733 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39736 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39739 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39742 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39745 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39748 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39751 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39754 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39757 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39758 definitions to architecture-specific files.
39759 (TLS_IE): Likewise.
39760 (TLS_LD): Likewise.
39761 (TLS_GD): Likewise.
39762 * sysdeps/i386/tls-macros.h: New file.
39763 * sysdeps/powerpc/tls-macros.h: Likewise.
39764 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39765 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39766 * sysdeps/sh/tls-macros.h: Likewise.
39767 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39768 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39769 * sysdeps/x86_64/tls-macros.h: Likewise.
39771 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39773 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39774 zero value for regular exit case.
39776 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39777 (__start_context): Preserve zero value for regular exit case.
39779 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39780 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39782 * manual/setjmp.texi (setcontext): Clarify normal process
39783 termination when uc_link is the null pointer.
39784 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39787 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39789 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39790 preprocessor. Test for each exception mask separately.
39792 2012-07-16 Andreas Jaeger <aj@suse.de>
39794 * po/ru.po: Update from translation team.
39796 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39798 * conform/data/string.h-data (NULL): Use macro-constant. Require
39800 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39801 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39802 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39803 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39804 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39806 2012-07-13 Andreas Jaeger <aj@suse.de>
39808 * po/fr.po: Update from translation team.
39810 2012-07-12 Marek Polacek <polacek@redhat.com>
39813 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39814 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39817 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39820 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39821 Change to 2.4.1 where previously 2.4.0.
39822 * sysdeps/unix/sysv/linux/configure: Regenerated.
39823 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39824 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39826 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39827 (__ASSUME_AT_CLKTCK): Remove.
39828 (__ASSUME_AT_PAGESIZE): Likewise.
39829 (__ASSUME_AT_XID): Likewise.
39830 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39831 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39832 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39834 (HAVE_AUX_PAGESIZE): Likewise.
39835 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39836 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39837 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39839 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39843 the temporary buffer used to invoke __gethostbyname2_r,
39844 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39845 host_data / struct gaih_addrtuple.
39846 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39847 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39848 header file nss/nsswitch.h.
39849 * nss/nsswitch.h (global scope): Add definition of implementation
39850 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39851 resolv/nss_dns/dns-host.c).
39853 2012-07-11 Andreas Jaeger <aj@suse.de>
39855 * po/fr.po: Update from translation team.
39857 * po/sv.po: Update from translation team
39858 * po/fr.po: Another update from translation team.
39860 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39862 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39863 for subnormals or multiply small sinh result by itself.
39864 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39867 2012-07-11 David S. Miller <davem@davemloft.net>
39869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39871 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39874 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39875 (INTERNAL_MARK): Shift it here.
39877 2012-07-10 Marek Polacek <polacek@redhat.com>
39880 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39881 libc_cv_asm_global_directive with .globl.
39882 * configure: Regenerated.
39883 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39885 * sysdeps/i386/configure: Regenerated.
39886 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39888 * sysdeps/x86_64/configure: Regenerated.
39889 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39890 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39891 * elf/tst-unique2mod2.c: Likewise.
39892 * elf/tst-unique2mod1.c: Likewise.
39893 * elf/tst-unique1mod2.c: Likewise.
39894 * elf/tst-unique1mod1.c: Likewise.
39895 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39896 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39897 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39898 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39899 * sysdeps/mach/sysdep.h: Likewise.
39900 * sysdeps/i386/sysdep.h: Likewise.
39901 * sysdeps/i386/i386-mcount.S: Likewise.
39902 * sysdeps/x86_64/_mcount.S: Likewise.
39903 * sysdeps/x86_64/sysdep.h: Likewise.
39904 * sysdeps/sh/_mcount.S: Likewise.
39905 * sysdeps/sh/sysdep.h: Likewise.
39906 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39907 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39908 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39909 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39910 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39911 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39912 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39913 * locale/localeinfo.h: Likewise.
39914 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39915 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39917 2012-07-09 Roland McGrath <roland@hack.frob.com>
39920 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39922 * manual/message.texi (The Uniforum approach): Likewise.
39923 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39924 (glibc iconv Implementation): Likewise.
39926 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39929 * math/s_clog.c (__clog): Avoid scaling a value down where that
39930 could result in underflow.
39931 * math/s_clog10.c (__clog10): Likewise.
39932 * math/s_clog10f.c (__clog10f): Likewise.
39933 * math/s_clog10l.c (__clog10l): Likewise.
39934 * math/s_clogf.c (__clogf): Likewise.
39935 * math/s_clogl.c (__clogl): Likewise.
39936 * math/libm-test.inc (clog_test): Add more tests.
39937 (clog10_test): Likewise.
39938 * sysdeps/i386/fpu/libm-test-ulps: Update.
39939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39941 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39944 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39945 by 7 not 8 to examine high bit of fractional part.
39948 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39949 for call to __mcount_internal.
39950 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39951 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39952 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39954 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39957 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39958 approximation for values within 0x1p-13f of an odd multiple of
39960 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39961 exception. Add more tests.
39962 * sysdeps/i386/fpu/libm-test-ulps: Update.
39965 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39966 inputs and return -1 for them. Do not check for +Inf in case not
39967 reachable for +Inf.
39968 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39969 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39970 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39971 and return -1 for them. Do not check for +Inf in case not
39972 reachable for +Inf.
39973 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39975 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39976 and return -1 for them. Do not check for +Inf in case not
39977 reachable for +Inf.
39978 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39979 spurious underflow.
39980 * sysdeps/i386/fpu/libm-test-ulps: Update.
39981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39983 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39985 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39987 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39991 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39992 could result in spurious underflow. Scale down values above
39993 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39994 * math/s_csqrtf.c (__csqrtf): Likewise.
39995 * math/s_csqrtl.c (__csqrtl): Likewise.
39996 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39997 spurious underflow.
39998 * sysdeps/i386/fpu/libm-test-ulps: Update.
39999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40001 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40003 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40005 * catgets/xopen-msg.awk: New file.
40006 * catgets/xopen-msg.sed: Removed.
40008 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40010 * intl/po2test.awk: New file.
40011 * intl/po2test.sed: Removed.
40013 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40016 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40017 or multiply small sinh result by itself.
40018 * math/s_ctanf.c (__ctanf): Likewise.
40019 * math/s_ctanh.c (__ctanh): Likewise.
40020 * math/s_ctanhf.c (__ctanhf): Likewise.
40021 * math/s_ctanhl.c (__ctanhl): Likewise.
40022 * math/s_ctanl.c (__ctanl): Likewise.
40023 * math/libm-test.inc (ctan_test_tonearest): New function.
40024 (ctan_test_towardzero): Likewise.
40025 (ctan_test_downward): Likewise.
40026 (ctan_test_upward): Likewise.
40027 (ctanh_test_tonearest): Likewise.
40028 (ctanh_test_towardzero): Likewise.
40029 (ctanh_test_downward): Likewise.
40030 (ctanh_test_upward): Likewise.
40031 (main): Call these new functions.
40032 * sysdeps/i386/fpu/libm-test-ulps: Update.
40033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40035 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40037 * .gitignore: Delete /ports entry.
40039 2012-07-03 Andreas Jaeger <aj@suse.de>
40041 * po/bg.po: Update from translation team.
40042 * po/cs.po: Likewise.
40043 * po/de.po: Likewise.
40044 * po/hr.po: Likewise.
40045 * po/nl.pl: Likewise.
40046 * po/pl.po: Likewise.
40047 * po/vi.po: Likewise.
40049 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40051 * Makeconfig [!+link] (+link-before-libc): New variable.
40052 [!+link] (+link-after-libc): Likewise.
40053 [!+link] (+link-tests): Likewise.
40054 [!+link] (+link): Define in terms of $(+link-before-libc) and
40055 $(+link-after-libc).
40056 [!+link-static] (+link-static-before-libc): New variable.
40057 [!+link-static] (+link-static-after-libc): Likewise.
40058 [!+link-static] (+link-static-tests): Likewise.
40059 [!+link-static] (+link-static): Define in terms of
40060 $(+link-static-before-libc) and $(+link-static-after-libc).
40061 [build-shared] (link-libc-before-gnulib): New variable.
40062 [build-shared] (link-libc-tests): Likewise.
40063 [build-shared] (link-libc): Define in terms of
40064 $(link-libc-before-gnulib).
40065 [!build-shared] (link-libc-tests): New variable.
40066 (link-libc-static-tests): New variable.
40067 [!gnulib] (gnulib-arch): New variable.
40068 [!gnulib] (gnulib-tests): Likewise.
40069 [!gnulib] (static-gnulib-arch): Likewise.
40070 [!gnulib] (static-gnulib-tests): Likewise.
40071 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40072 Define with "=" instead of ":=".
40073 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40074 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40075 * Rules (binaries-all-notests): New variable.
40076 (binaries-all-tests): Likewise.
40077 (binaries-static-notests): Likewise.
40078 (binaries-static-tests): Likewise.
40079 (binaries-all): Define using $(binaries-all-notests) and
40080 $(binaries-all-tests).
40081 (binaries-static): Define using $(binaries-static-notests) and
40082 $(binaries-static-tests).
40083 (binaries-shared-tests): New variable.
40084 (binaries-shared-notests): Likewise.
40085 (binaries-shared): Remove variable.
40086 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40087 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40088 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40089 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40090 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40091 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40092 * elf/Makefile (sln-modules): New variable.
40093 (extra-objs): Add $(sln-modules:=.o).
40094 (ldconfig-modules): Add static-stubs.
40095 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40096 * elf/static-stubs.c: New file.
40099 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40100 by 7 not 8 to examine high bit of fractional part. Use volatile
40101 variables when splitting into final array of floats if
40102 __FLT_EVAL_METHOD__ != 0.
40103 * math/libm-test.inc (cos_test): Add another test.
40104 (sin_test): Likewise.
40105 * sysdeps/i386/fpu/libm-test-ulps: Update.
40108 * math/libm-test.inc (cosh_test): Add more tests.
40110 * version.h (RELEASE): Set to "development".
40111 (VERSION): Set to "2.16.90".
40113 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40115 * NEWS: Update copyright. Remove last-updated date.
40116 Mention math library bug fixes and timezone data changes.
40117 * README: Mention GNU/Hurd, x32, and HPPA support status.
40119 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40121 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40123 2012-06-27 Andreas Jaeger <aj@suse.de>
40125 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40127 2012-06-25 Andreas Jaeger <aj@suse.de>
40129 * sysdeps/s390/fpu/libm-test-ulps: Update.
40131 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40132 Thomas Schwinge <thomas@codesourcery.com>
40134 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40135 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40139 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40141 * sysdeps/mach/start.c: Remove file.
40142 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40143 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40144 * sysdeps/sh/init-first.c: Likewise.
40146 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40147 registers for frame unwinding purposes, add CFI directives.
40148 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40149 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40150 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40153 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40154 __fortify_fail returning.
40155 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40157 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40158 sysdeps/sh/____longjmp_chk.S.
40159 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40160 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40161 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40162 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40164 * sysdeps/sh/abort-instr.h: New file.
40165 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40166 process in case exit returns.
40168 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40169 initialize the GOT register before use.
40171 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40172 calculation of ARGC > 4.
40174 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40175 meaningful names to some local labels.
40177 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40178 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40180 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40181 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40182 (__arch_compare_and_exchange_val_16_acq): Likewise.
40183 (__arch_compare_and_exchange_val_32_acq): Likewise.
40184 (atomic_exchange_and_add): Fix gUSA sequence.
40185 (atomic_add): Likewise.
40186 (atomic_add_negative): Likewise.
40187 (atomic_add_zero): Likewise.
40188 (atomic_bit_test_set): Likewise.
40190 2012-06-22 Andreas Schwab <schwab@redhat.com>
40193 * include/link.h (struct link_map): Add l_free_initfini.
40194 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40196 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40197 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40198 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40201 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40203 * configure.in: Use AC_LANG_SOURCE.
40204 * configure: Regenerate.
40206 2012-06-22 Roland McGrath <roland@hack.frob.com>
40208 * configure.in (libc_cv_localstatedir): New substituted variable.
40209 * configure: Regenerated.
40210 * config.make.in (localstatedir): New variable, substituted from
40211 libc_cv_localstatedir.
40212 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40213 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40214 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40215 * sysdeps/gnu/configure: Regenerated.
40217 2012-06-21 Jeff Law <law@redhat.com>
40220 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40221 free. Simplify list management for _LIBC case.
40223 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40226 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40227 Clear sign bit of 64-bit integer value before comparing against
40230 * sysdeps/mach/configure: Regenerated.
40232 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40235 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40237 2012-06-21 Jeff Law <law@redhat.com>
40240 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40241 uint16_t for elements in the "seen" array to avoid char overflows.
40242 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40243 * elf/dl-open.c (dl_open_worker): Likewise.
40245 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40247 * scripts/list-sources.sh: Scan PORTS for translations.
40248 * po/libc.pot: Regenerated.
40250 2012-06-21 Andreas Jaeger <aj@suse.de>
40253 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40255 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40256 * bits/byteswap-16.h (__bswap_16): Likewise.
40257 * bits/byteswap.h (__bswap_constant_16): Likewise.
40259 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40262 * sysdeps/i386/fpu_control.h: Removed.
40263 * sysdeps/x86_64/fpu_control.h: Moved to ...
40264 * sysdeps/x86/fpu_control.h: Here.
40266 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40267 (_FPU_SETCW): Likewise.
40269 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40272 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40273 * sysdeps/x86/fpu/bits/mathinline.h: This.
40274 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40278 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40279 functions if __x86_64__ is defined.
40281 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40283 * string/endian.h: Add !__ASSEMBLER__ condition for including
40284 conversion interfaces.
40286 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40290 of ABS(x) in calculating zero to negative powers other than odd
40292 * math/libm-test.inc (pow_test): Add more tests.
40294 2012-06-15 Andreas Jaeger <aj@suse.de>
40296 * manual/contrib.texi (Contributors): Update entry of Liubov
40297 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40300 2012-06-15 Cyril Hrubis <metan@ucw.cz>
40302 * string/string.h: Add __wur to GNU version of strerror_r.
40304 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40307 * string/Makefile (tests): Add tst-strtok_r.
40308 * string/tst-strtok_r.c: New file.
40309 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40310 RAX_LP/RDX_LP on SAVE_PTR.
40312 2012-06-14 Roland McGrath <roland@hack.frob.com>
40314 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40316 2012-06-14 Joseph Myers <joseph@codesourcery.com>
40318 * libm_test.inc (csqrt_test): Allow more spurious underflow
40320 (j0_test): Likewise.
40321 (j1_test): Likewise.
40322 (y0_test): Likewise.
40323 (y1_test): Likewise.
40325 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40327 * po/Makefile (libc.pot): Use UTF-8 charset.
40329 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40332 Suppress sign-conversion warning from FD_SET.
40333 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40334 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40335 not unsigned long int.
40336 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40338 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40342 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40343 __extern_always_inline instead of __extern_inline.
40344 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40345 (__signbit): Likewise.
40346 (__signbitl): Support C++ namespace.
40347 (lrintf): New inline function.
40349 (llrintf): Likewise.
40350 (llrint): Likewise.
40360 (floorf): Likewise.
40361 (nearbyint): Likewise.
40362 (nearbyintf): Likewise.
40364 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40366 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40367 non-default versions.
40369 2012-06-11 Roland McGrath <roland@hack.frob.com>
40372 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40374 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40376 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40377 (FE_UPWARD, FE_DOWNWARD): Don't define.
40378 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40379 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40381 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40383 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40384 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40386 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40388 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40389 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40390 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40391 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40393 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40396 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40397 * sysdeps/i386/fpu/Implies: New file.
40398 * sysdeps/x86_64/fpu/Implies: Likewise.
40399 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40400 * sysdeps/x86/fpu/bits/fenv.h: This.
40402 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40405 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40408 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40409 character 0xffff that matches the last element of the
40412 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40414 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40417 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40419 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40420 values higher than 25.6283.
40422 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40424 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40425 subnormal exponent extraction and add some __builtin_expect.
40426 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40427 Fix for subnormal mantissa calculation.
40429 2012-06-04 Mike Frysinger <vapier@gentoo.org>
40431 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40432 cpu2 is -1 and errno is not ENOSYS.
40434 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40437 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40438 * sysdeps/x86/bits/string.h: This.
40439 * sysdeps/x86_64/bits/string.h: Removed.
40441 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40442 if not compiling for x86-64, but compiling for >= i486.
40444 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40445 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40447 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40448 New macro from Linux kernel 3.4.0.
40449 (FP_XSTATE_MAGIC2): Likewise.
40450 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40451 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40452 (struct _fpx_sw_bytes): New struct.
40453 (struct _xsave_hdr): Likewise.
40454 (struct _ymmh_state): Likewise.
40455 (struct _xstate): Likewise.
40457 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40458 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40459 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40460 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40461 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40462 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40464 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40465 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40466 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40467 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40468 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40469 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40471 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40474 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40475 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40476 (sysdep_headers): Include sys/platform/ppc.h.
40477 * sysdeps/powerpc/test-gettimebase.c: Test for
40478 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40479 * manual/Makefile (appendices): Include platform.texi.
40480 * manual/contrib.texi (Contributors): Update @node pointers.
40481 * manual/maint.texi (Maintenance): Likewise.
40482 (Platform): New node.
40483 * manual/platform.texi: New file. Document the new features.
40485 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40486 Jakub Jelinek <jakub@redhat.com>
40489 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40490 where __builtin_expect is unavailable.
40492 2012-06-03 David S. Miller <davem@davemloft.net>
40494 * stdlib/longlong.h: Updated from GCC.
40496 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40499 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40500 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40503 (GLIBC_2.16): Likewise.
40505 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40507 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40509 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40512 (default-abi): New variable.
40513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40514 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40516 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40518 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40520 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40523 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40524 definition. Document in comment.
40526 2012-06-01 David S. Miller <davem@davemloft.net>
40528 * stdlib/longlong.h: Updated from GCC.
40530 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40533 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40534 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40535 sys/debugreg.h sys/io.h here.
40536 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40537 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40539 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40540 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40541 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40542 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40543 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40544 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40546 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40547 Define only if __x86_64__ is defined.
40549 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40552 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40553 Use int64_t for variable i.
40554 * math/libm-test.inc (fmod_test): Add more tests.
40556 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40557 z computation is not scheduled after fetestexcept.
40558 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40559 Use math_force_eval instead of asm to ensure calculation scheduled
40560 before exception test.
40561 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40562 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40564 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40566 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40567 computation is not scheduled after fetestexcept.
40569 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40572 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40573 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40575 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40577 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40578 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40580 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40583 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40585 (__WCHAR_MIN): Support __WORDSIZE == 64.
40586 (__WCHAR_MAX): Likewise.
40588 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40589 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40593 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40596 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40597 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40599 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40600 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40602 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40603 Defined to 1 if __x86_64__ isn't defined.
40604 (_STAT_VER_LINUX_OLD): New.
40605 (st_atime): Remove duplicate.
40606 (st_mtime): Likewise.
40607 (st_ctime): Likewise.
40609 2012-05-31 David S. Miller <davem@davemloft.net>
40611 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40614 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40616 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40620 * elf/dl-reloc.c: Include <_itoa.h>.
40621 (_dl_reloc_bad_type): Remove use of INTUSE.
40622 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40623 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40624 * stdio-common/psiginfo.c (psiginfo): Likewise.
40625 * stdio-common/psignal.c (psignal): Likewise.
40626 * string/strsignal.c (strsignal): Likewise.
40627 * include/signal.h (_sys_siglist): Declare hidden proto.
40628 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40629 INTVARDEF with libc_hidden_data_def.
40630 * stdio-common/itoa-udigits.c: Likewise.
40631 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40632 (_itoa_lower_digits_internal): Remove declaration.
40633 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40634 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40635 (_sys_sigabbrev_internal): Remove aliases.
40636 (_sys_siglist): Define hidden alias.
40638 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40643 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40646 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40647 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40649 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40650 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40651 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40652 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40653 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40654 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40656 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40657 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40658 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40660 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40668 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40669 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40670 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40672 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40673 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40674 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40675 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40676 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40677 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40679 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40680 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40682 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40683 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40685 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40687 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40689 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40690 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40692 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40694 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40695 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40696 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40698 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40700 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40702 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40704 * math/math.h (M_El): Use two more decimal places.
40705 (M_LOG2El): Likewise.
40706 (M_LOG10El): Likewise.
40707 (M_LN2l): Likewise.
40708 (M_LN10l): Likewise.
40710 (M_PI_2l): Likewise.
40711 (M_PI_4l): Likewise.
40712 (M_1_PIl): Likewise.
40713 (M_2_PIl): Likewise.
40714 (M_2_SQRTPIl): Likewise.
40715 (M_SQRT2l): Likewise.
40716 (M_SQRT1_2l): Likewise.
40718 2012-05-31 David S. Miller <davem@davemloft.net>
40720 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40721 values between float registers.
40722 * sysdeps/sparc/sparc64/memset.S: Likewise.
40723 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40725 2012-05-31 Mike Frysinger <vapier@gentoo.org>
40727 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40728 -D_FORTIFY_SOURCE=1.
40729 (CPPFLAGS-tst-longjmp_chk.c): Define.
40730 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40731 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40732 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40733 CFLAGS-tst-wchar-h.c.
40735 2012-05-31 Marek Polacek <polacek@redhat.com>
40738 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40739 __endmntent_internal): Remove declaration.
40740 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40741 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40742 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40744 2012-05-30 David S. Miller <davem@davemloft.net>
40746 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40747 (___Q_simulate_exceptions): Use real FP ops rather than writing
40749 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40752 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40755 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40756 * sysdeps/x86/bits/xtitypes.h: This.
40758 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40759 * sysdeps/x86/bits/wordsize.h: This.
40761 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40762 * sysdeps/x86/bits/huge_vall.h: This.
40764 * sysdeps/i386/bits/select.h: Removed.
40765 * sysdeps/x86_64/bits/select.h: Renamed to ...
40766 * sysdeps/x86/bits/select.h: This.
40768 * sysdeps/i386/bits/setjmp.h: Removed.
40769 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40770 * sysdeps/x86/bits/setjmp.h: This.
40772 * sysdeps/i386/bits/mathdef.h: Removed.
40773 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40774 * sysdeps/x86/bits/mathdef.h: This.
40776 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40779 * include/sys/socket.h (__connect_internal)
40780 (__libc_sa_len_internal): Remove declaration.
40781 (__connect, __libc_sa_len): Declare hidden_proto.
40782 (SA_LEN): Remove use of INTUSE.
40783 * socket/connect.c: Add libc_hidden_def.
40784 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40785 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40786 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40788 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40789 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40790 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40791 of adding _internal alias.
40793 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40796 * sysdeps/i386/bits/link.h: Removed.
40797 * sysdeps/i386/bits/linkmap.h: Likewise.
40798 * sysdeps/x86_64/bits/link.h: Renamed to ...
40799 * sysdeps/x86/bits/link.h: This.
40800 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40801 * sysdeps/x86/bits/linkmap.h: This.
40803 * sysdeps/i386/bits/endian.h: Removed.
40804 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40805 * sysdeps/x86/bits/endian.h: This.
40807 * sysdeps/i386/bits/byteswap.h: Removed.
40808 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40809 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40810 * sysdeps/x86/bits/byteswap.h: This.
40811 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40812 * sysdeps/x86/bits/byteswap-16.h: This.
40813 * sysdeps/i386/Implies: Add x86.
40814 * sysdeps/x86_64/Implies: Likewise.
40816 2012-05-30 David S. Miller <davem@davemloft.net>
40818 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40819 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40820 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40821 (FP_TRAPPING_EXCEPTIONS): Define.
40822 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40823 (FP_TRAPPING_EXCEPTIONS): Define.
40824 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40825 subnormals only when inexact has been signalled or underflow
40826 exceptions are enabled.
40827 (_FP_PACK_CANONICAL): Likewise.
40829 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40832 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40833 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40835 2012-05-30 Richard Henderson <rth@twiddle.net>
40837 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40838 with #ifndef NOT_IN_libc.
40840 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40841 marked to avoid plt entry.
40843 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40846 * Makeconfig (default-abi): New macro.
40847 (abi-includes): Likewise.
40848 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40849 $(abi-$(default-abi)-lib-soname) for soname if defined.
40850 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40852 * Makefile (installed-stubs): Likewise.
40853 * include/stubs-biarch.h: Removed.
40854 * scripts/lib-names.awk: Only handle one library at a time.
40855 * scripts/soversions.awk: Remove WORDSIZE support.
40856 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40858 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40860 (syscall-list-default-condition): Likewise.
40861 (syscall-list-default-condition): Likewise.
40862 (syscall-list-includes): Likewise.
40863 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40864 syscall-list-* with abi-*. Handle undefined abi-variants.
40865 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40866 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40867 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40868 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40869 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40870 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40872 (syscall-list-32-options): Likewise.
40873 (syscall-list-32-condition): Likewise.
40874 (syscall-list-64-options): Likewise.
40875 (syscall-list-64-condition): Likewise.
40876 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40878 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40881 (abi-64-ld-soname): New macro.
40882 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40883 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40886 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40887 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40889 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40891 * sysdeps/unix/sysv/linux/kernel-features.h
40892 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40893 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40894 include <kernel-features.h>.
40895 [!__NR_ftruncate64]: Remove conditional code.
40896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40897 [__NR_ftruncate64]: Make code unconditional.
40898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40899 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40900 include <kernel-features.h>.
40901 [!__NR_ftruncate64]: Remove conditional code.
40902 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40903 [__NR_ftruncate64]: Make code unconditional.
40904 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40906 include <kernel-features.h>.
40907 [!__NR_ftruncate64]: Remove conditional code.
40908 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40909 [__NR_ftruncate64]: Make code unconditional.
40910 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40912 include <kernel-features.h>.
40913 [!__NR_ftruncate64]: Remove conditional code.
40914 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40915 [__NR_ftruncate64]: Make code unconditional.
40916 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40918 * configure.in (libc_cv_fpie): Weaken to a compile test using
40919 LIBC_TRY_CC_OPTION.
40920 * configure: Regenerated.
40922 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40937 2012-05-27 David S. Miller <davem@davemloft.net>
40939 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40941 (__Q_simulate_exceptions): Return void. Change to simulate
40942 exceptions by writing into the %fsr.
40943 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40944 (__Qp_handle_exceptions): Likewise.
40946 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40947 __Qp_handle_exceptions.
40948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40949 __Qp_handle_exceptions.
40950 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40951 as unused and give dummy FP_RND_NEAREST initializer.
40952 (FP_INHIBIT_RESULTS): Define.
40953 (___Q_simulate_exceptions): Update declaration.
40954 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40956 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40957 as unused and give dummy FP_RND_NEAREST initializer.
40958 (__Qp_handle_exceptions): Update declaration.
40959 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40962 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40964 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40965 the temporary FPU control word.
40966 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40967 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40968 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40969 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40970 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40971 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40972 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40973 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40974 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40975 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40976 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40978 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40980 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40983 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40985 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40986 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40987 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40988 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40990 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40991 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40994 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40996 * po/h.po: Update from translation team.
40998 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41000 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41002 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41003 handling of denormals.
41004 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41005 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41006 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41007 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41010 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41013 2012-05-26 Marek Polacek <polacek@redhat.com>
41016 * math/libm-test.inc (fma_test): Don't always expect underflow
41019 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41022 * elf/tst-execstack.c: Include stackinfo.h.
41023 (do_test): Adjust test case to ensure that pthread_getattr_np
41024 behaviour remains the same after marking stack executable.
41026 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41028 * sysdeps/unix/sysv/linux/kernel-features.h
41029 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41030 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41032 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41033 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41034 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41036 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41037 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41039 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41041 * configure.in: Define the default includes to being none.
41042 * configure: Regenerated.
41044 2012-05-25 Roland McGrath <roland@hack.frob.com>
41046 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41047 * sysdeps/x86_64/setjmp.S: Likewise.
41048 * sysdeps/i386/bsd-setjmp.S: Likewise.
41049 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41050 * sysdeps/i386/setjmp.S: Likewise.
41051 * sysdeps/i386/__longjmp.S: Likewise.
41052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41053 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41055 * include/stap-probe.h: New file.
41056 * configure.in: Handle --enable-systemtap.
41057 * configure: Regenerated.
41058 * config.h.in (USE_STAP_PROBE): New #undef.
41059 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41060 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41061 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41063 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41066 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41067 to 2.4.0 where earlier.
41068 * sysdeps/unix/sysv/linux/configure: Regenerated.
41069 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41070 <kernel-features.h>.
41071 [__ASSUME_32BITUIDS]: Make code unconditional.
41072 [!__ASSUME_32BITUIDS]: Remove conditional code.
41073 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41074 <kernel-features.h>.
41075 [__ASSUME_32BITUIDS]: Make code unconditional.
41076 [!__ASSUME_32BITUIDS]: Remove conditional code.
41077 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41078 [__ASSUME_32BITUIDS]: Make code unconditional.
41079 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41080 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41081 <kernel-features.h>.
41082 [__ASSUME_32BITUIDS]: Make code unconditional.
41083 [!__ASSUME_32BITUIDS]: Remove conditional code.
41084 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41085 <kernel-features.h>.
41086 [__ASSUME_32BITUIDS]: Make code unconditional.
41087 [!__ASSUME_32BITUIDS]: Remove conditional code.
41088 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41089 <kernel-features.h>.
41090 [__ASSUME_32BITUIDS]: Make code unconditional.
41091 [!__ASSUME_32BITUIDS]: Remove conditional code.
41092 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41093 <kernel-features.h>.
41094 [__ASSUME_32BITUIDS]: Make code unconditional.
41095 [!__ASSUME_32BITUIDS]: Remove conditional code.
41096 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41097 <kernel-features.h>.
41098 [__ASSUME_32BITUIDS]: Make code unconditional.
41099 [!__ASSUME_32BITUIDS]: Remove conditional code.
41100 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41101 <kernel-features.h>.
41102 [__ASSUME_32BITUIDS]: Make code unconditional.
41103 [!__ASSUME_32BITUIDS]: Remove conditional code.
41104 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41105 <kernel-features.h>.
41106 [__ASSUME_32BITUIDS]: Make code unconditional.
41107 [!__ASSUME_32BITUIDS]: Remove conditional code.
41108 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41109 <kernel-features.h>.
41110 [__ASSUME_32BITUIDS]: Make code unconditional.
41111 [!__ASSUME_32BITUIDS]: Remove conditional code.
41112 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41113 <kernel-features.h>.
41114 [__ASSUME_32BITUIDS]: Make code unconditional.
41115 [!__ASSUME_32BITUIDS]: Remove conditional code.
41116 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41117 <kernel-features.h>.
41118 [__ASSUME_32BITUIDS]: Make code unconditional.
41119 [!__ASSUME_32BITUIDS]: Remove conditional code.
41120 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41121 <kernel-features.h>.
41122 [__NR_setresgid] (__setresgid): Do not declare.
41123 [__ASSUME_32BITUIDS]: Make code unconditional.
41124 [!__ASSUME_32BITUIDS]: Remove conditional code.
41125 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41126 <kernel-features.h>.
41127 [__NR_setresuid] (__setresuid): Do not declare.
41128 [__ASSUME_32BITUIDS]: Make code unconditional.
41129 [!__ASSUME_32BITUIDS]: Remove conditional code.
41130 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41131 <kernel-features.h>.
41132 [__ASSUME_32BITUIDS]: Make code unconditional.
41133 [!__ASSUME_32BITUIDS]: Remove conditional code.
41134 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41135 <kernel-features.h>.
41136 [__ASSUME_32BITUIDS]: Make code unconditional.
41137 [!__ASSUME_32BITUIDS]: Remove conditional code.
41138 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41139 <kernel-features.h>.
41140 [__ASSUME_32BITUIDS]: Make code unconditional.
41141 [!__ASSUME_32BITUIDS]: Remove conditional code.
41142 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41143 <kernel-features.h>.
41144 [__ASSUME_32BITUIDS]: Make code unconditional.
41145 [!__ASSUME_32BITUIDS]: Remove conditional code.
41146 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41147 <kernel-features.h>.
41148 [__ASSUME_32BITUIDS]: Make code unconditional.
41149 [!__ASSUME_32BITUIDS]: Remove conditional code.
41150 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41151 <kernel-features.h>.
41152 [__ASSUME_32BITUIDS]: Make code unconditional.
41153 [!__ASSUME_32BITUIDS]: Remove conditional code.
41154 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41155 <kernel-features.h>.
41156 [__ASSUME_32BITUIDS]: Make code unconditional.
41157 [!__ASSUME_32BITUIDS]: Remove conditional code.
41158 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41159 <kernel-features.h>.
41160 [__ASSUME_32BITUIDS]: Make code unconditional.
41161 [!__ASSUME_32BITUIDS]: Remove conditional code.
41162 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41163 <kernel-features.h>.
41164 [__ASSUME_32BITUIDS]: Make code unconditional.
41165 [!__ASSUME_32BITUIDS]: Remove conditional code.
41166 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41167 <kernel-features.h>.
41168 [__ASSUME_32BITUIDS]: Make code unconditional.
41169 [!__ASSUME_32BITUIDS]: Remove conditional code.
41170 * sysdeps/unix/sysv/linux/kernel-features.h
41171 (__ASSUME_SETRESUID_SYSCALL): Remove.
41172 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41173 (__ASSUME_32BITUIDS): Likewise.
41174 (__ASSUME_LDT_WORKS): Likewise.
41175 (__ASSUME_O_DIRECTORY): Likewise.
41176 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41177 architecture but not kernel version.
41178 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41179 (__ASSUME_MMAP2_SYSCALL): Likewise.
41180 (__ASSUME_STAT64_SYSCALL): Likewise.
41181 (__ASSUME_IPC64): Likewise.
41182 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41183 <kernel-features.h>.
41184 [__ASSUME_32BITUIDS]: Make code unconditional.
41185 [!__ASSUME_32BITUIDS]: Remove conditional code.
41186 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41187 <kernel-features.h>.
41188 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41189 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41190 132096]: Remove conditional code.
41191 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41192 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41193 <kernel-features.h>.
41194 [__ASSUME_32BITUIDS]: Make code unconditional.
41195 [!__ASSUME_32BITUIDS]: Remove conditional code.
41196 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41197 <kernel-features.h>.
41198 [__ASSUME_32BITUIDS]: Make code unconditional.
41199 [!__ASSUME_32BITUIDS]: Remove conditional code.
41200 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41201 <kernel-features.h>.
41202 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41204 (__setresgid): Do not declare.
41205 [__ASSUME_32BITUIDS]: Make code unconditional.
41206 [!__ASSUME_32BITUIDS]: Remove conditional code.
41207 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41208 <kernel-features.h>.
41209 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41211 (__setresuid): Do not declare.
41212 [__ASSUME_32BITUIDS]: Make code unconditional.
41213 [!__ASSUME_32BITUIDS]: Remove conditional code.
41214 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41215 <kernel-features.h>.
41216 [__ASSUME_32BITUIDS]: Make code unconditional.
41217 [!__ASSUME_32BITUIDS]: Remove conditional code.
41218 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41219 <kernel-features.h>.
41220 [__ASSUME_32BITUIDS]: Make code unconditional.
41221 [!__ASSUME_32BITUIDS]: Remove conditional code.
41223 2012-05-25 Richard Henderson <rth@twiddle.net>
41225 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41226 dl_hwcap to ifunc resolver.
41227 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41229 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41230 dl_hwcap to ifunc resolver.
41231 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41233 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41236 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41237 for |x| <= 2**-26, not 2**-57.
41238 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41241 2012-05-24 Jeff Law <law@redhat.com>
41243 * stdio-common/Makefile (tests): Add bug25.
41244 * stdio-common/bug25.c: New test.
41246 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41249 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41250 multiple of MALLOC_ALIGNMENT in size.
41251 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41253 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41255 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41257 (FILENAME_MAX): Use macro-int-constant.
41258 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41259 (_IOFBF): Use macro-int-constant.
41260 (_IOLBF): Likewise.
41261 (_IONBF): Likewise.
41262 (SEEK_CUR): Likewise.
41263 (SEEK_END): Likewise.
41264 (SEEK_SET): Likewise.
41265 (TMP_MAX): Likewise.
41266 (EOF): Use macro-int-constant. Require < 0.
41267 (NULL): Use macro-constant. Require == 0.
41268 (stdin): Require type to be FILE *.
41269 (stdout): Likewise.
41270 (stderr): Likewise.
41271 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41272 macro-int-constant.
41273 (EXIT_SUCCESS): Likewise.
41274 (NULL): Use macro-constant. Require == 0.
41275 (RAND_MAX): Use macro-int-constant.
41276 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41277 [C99-based standards] (strtof): Require function.
41278 [C99-based standards] (strtold): Likewise.
41279 [C99-based standards] (strtoll): Likewise.
41280 [C99-based standards] (strtoull): Likewise.
41281 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41282 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41283 [ISO || ISO99 || ISO11] (math.h): Likewise.
41284 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41285 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41288 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41291 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41292 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41293 * intl/dgettext.c (DCGETTEXT): Likewise.
41294 * intl/gettext.c (DCGETTEXT): Likewise.
41295 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41296 * posix/regex_internal.h (gettext): Likewise.
41297 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41298 Remove declaration.
41299 * include/argz.h (__argz_count_internal)
41300 (__argz_stringify_internal): Remove declaration.
41301 (__argz_count, __argz_stringify): Declare hidden proto.
41302 * intl/dcgettext.c: Remove use of INTDEF.
41303 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41304 * string/argz-stringify.c: Likewise.
41305 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41306 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41307 Declare hidden proto.
41308 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41309 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41310 Declare hidden proto.
41311 * include/stdio.h (__asprintf_internal): Don't declare.
41312 (__asprintf): Don't define as macro. Declare hidden proto.
41313 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41314 (__fsetlocking): Declare hidden proto.
41315 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41316 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41318 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41319 (_IO_setlinebuf): Remove use of INTUSE.
41320 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41321 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41322 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41323 Remove declaration.
41324 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41325 (_IO_do_flush): Remove use of INTUSE.
41326 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41327 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41328 (_IO_adjust_column, _IO_least_wmarker)
41329 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41330 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41331 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41332 (_IO_default_doallocate, _IO_wdefault_doallocate)
41333 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41334 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41335 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41336 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41337 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41338 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41339 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41340 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41341 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41342 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41343 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41344 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41345 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41347 (_IO_flush_all_internal, _IO_adjust_column_internal)
41348 (_IO_default_uflow_internal, _IO_default_finish_internal)
41349 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41350 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41351 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41352 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41353 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41354 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41355 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41356 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41357 (_IO_file_close_internal, _IO_file_close_it_internal)
41358 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41359 (_IO_file_init_internal, _IO_file_attach_internal)
41360 (_IO_file_fopen_internal, _IO_file_read_internal)
41361 (_IO_file_sync_internal, _IO_file_seek_internal)
41362 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41363 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41364 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41365 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41366 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41367 (_IO_list_all_internal, _IO_link_in_internal)
41368 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41369 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41370 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41371 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41372 (_IO_do_write_internal, _IO_padn_internal)
41373 (_IO_getline_info_internal, _IO_getline_internal)
41374 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41375 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41376 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41377 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41378 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41379 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41380 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41381 with libc_hidden_ver, remove use of INTUSE.
41382 * libio/genops.c: Likewise.
41383 * libio/freopen.c: Likewise.
41384 * libio/freopen64.c: Likewise.
41385 * libio/iofclose.c: Likewise.
41386 * libio/iofdopen.c: Likewise.
41387 * libio/iofflush.c: Likewise.
41388 * libio/iofflush_u.c: Likewise.
41389 * libio/iofgets.c: Likewise.
41390 * libio/iofgets_u.c: Likewise.
41391 * libio/iofopen.c: Likewise.
41392 * libio/iofopncook.c: Likewise.
41393 * libio/iofread.c: Likewise.
41394 * libio/iofread_u.c: Likewise.
41395 * libio/ioftell.c: Likewise.
41396 * libio/iofwrite.c: Likewise.
41397 * libio/iogetline.c: Likewise.
41398 * libio/iogets.c: Likewise.
41399 * libio/iogetwline.c: Likewise.
41400 * libio/iopadn.c: Likewise.
41401 * libio/iopopen.c: Likewise.
41402 * libio/ioseekoff.c: Likewise.
41403 * libio/ioseekpos.c: Likewise.
41404 * libio/iosetbuffer.c: Likewise.
41405 * libio/iosetvbuf.c: Likewise.
41406 * libio/ioungetc.c: Likewise.
41407 * libio/ioungetwc.c: Likewise.
41408 * libio/iovdprintf.c: Likewise.
41409 * libio/iovsprintf.c: Likewise.
41410 * libio/iovsscanf.c: Likewise.
41411 * libio/memstream.c: Likewise.
41412 * libio/obprintf.c: Likewise.
41413 * libio/oldfileops.c: Likewise.
41414 * libio/oldiofclose.c: Likewise.
41415 * libio/oldiofdopen.c: Likewise.
41416 * libio/oldiofopen.c: Likewise.
41417 * libio/oldiopopen.c: Likewise.
41418 * libio/oldstdfiles.c: Likewise.
41419 * libio/putc.c: Likewise.
41420 * libio/setbuf.c: Likewise.
41421 * libio/setlinebuf.c: Likewise.
41422 * libio/stdfiles.c: Likewise.
41423 * libio/strops.c: Likewise.
41424 * libio/vasprintf.c: Likewise.
41425 * libio/vscanf.c: Likewise.
41426 * libio/vsnprintf.c: Likewise.
41427 * libio/vswprintf.c: Likewise.
41428 * libio/wfiledoalloc.c: Likewise.
41429 * libio/wfileops.c: Likewise.
41430 * libio/wgenops.c: Likewise.
41431 * libio/wmemstream.c: Likewise.
41432 * libio/wstrops.c: Likewise.
41433 * libio/__fpurge.c: Likewise.
41434 * libio/__fsetlocking.c: Likewise.
41435 * assert/assert.c: Likewise.
41436 * debug/fgets_chk.c: Likewise.
41437 * debug/fgets_u_chk.c: Likewise.
41438 * debug/fread_chk.c: Likewise.
41439 * debug/fread_u_chk.c: Likewise.
41440 * debug/gets_chk.c: Likewise.
41441 * debug/obprintf_chk.c: Likewise.
41442 * debug/vasprintf_chk.c: Likewise.
41443 * debug/vdprintf_chk.c: Likewise.
41444 * debug/vsnprintf_chk.c: Likewise.
41445 * debug/vsprintf_chk.c: Likewise.
41446 * malloc/mtrace.c: Likewise.
41447 * misc/error.c: Likewise.
41448 * misc/syslog.c: Likewise.
41449 * stdio-common/asprintf.c: Likewise.
41450 * stdio-common/fxprintf.c: Likewise.
41451 * stdio-common/getw.c: Likewise.
41452 * stdio-common/isoc99_fscanf.c: Likewise.
41453 * stdio-common/isoc99_scanf.c: Likewise.
41454 * stdio-common/isoc99_vfscanf.c: Likewise.
41455 * stdio-common/isoc99_vscanf.c: Likewise.
41456 * stdio-common/isoc99_vsscanf.c: Likewise.
41457 * stdio-common/printf-prs.c: Likewise.
41458 * stdio-common/printf_fp.c: Likewise.
41459 * stdio-common/printf_fphex.c: Likewise.
41460 * stdio-common/printf_size.c: Likewise.
41461 * stdio-common/putw.c: Likewise.
41462 * stdio-common/scanf.c: Likewise.
41463 * stdio-common/sprintf.c: Likewise.
41464 * stdio-common/tmpfile.c: Likewise.
41465 * stdio-common/vfprintf.c: Likewise.
41466 * stdio-common/vfscanf.c: Likewise.
41467 * stdlib/strfmon_l.c: Likewise.
41468 * sunrpc/openchild.c: Likewise.
41469 * sunrpc/xdr_stdio.c: Likewise.
41470 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41471 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41473 2012-05-24 Roland McGrath <roland@hack.frob.com>
41475 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41477 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41478 in the third column, to generate for the shared library an IFUNC
41479 that uses _dl_vdso_vsym.
41480 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41481 * Makeconfig (object-suffixes-noshared): New variable.
41483 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41484 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41485 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41486 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41489 * include/sys/time.h (__gettimeofday): Remove macro.
41490 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41491 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41493 (__gettimeofday): Add libc_hidden_def.
41494 (gettimeofday): Add libc_hidden_weak.
41495 * sysdeps/mach/gettimeofday.c: Likewise.
41496 * sysdeps/posix/gettimeofday.c: Likewise.
41497 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41498 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41499 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41500 (__gettimeofday_internal): Remove strong_alias.
41501 (__gettimeofday): Add libc_hidden_def.
41502 (gettimeofday): Add libc_hidden_weak.
41503 * sysdeps/unix/syscalls.list (gettimeofday):
41504 Remove __gettimeofday_internal alias.
41506 2012-05-24 Daniel Jacobowitz <drow@false.org>
41507 H.J. Lu <hongjiu.lu@intel.com>
41510 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41511 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41512 (largebin_index_32_big): New.
41513 (largebin_index): Use it for 16-byte alignment.
41514 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41515 correction with front_misalign.
41517 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41545 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41546 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41548 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41552 * math/libm-test.inc (exp_test): Add test from bug 14036.
41553 (pow_test): Add test from bug 10846.
41555 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41557 (special_function): Do not include flags in test name.
41558 (parse_args): Likewise.
41559 * sysdeps/i386/fpu/libm-test-ulps: Update.
41560 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41561 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41562 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41565 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41567 * math/libm-test.inc ("Philosophy"): Update comment about
41569 (UNDERFLOW_EXCEPTION): New macro.
41570 (UNDERFLOW_EXCEPTION_OK): Likewise.
41571 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41572 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41573 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41574 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41575 (INVALID_EXCEPTION_OK): Update value.
41576 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41577 (OVERFLOW_EXCEPTION_OK): Likewise.
41578 (IGNORE_ZERO_INF_SIGN): Likewise.
41579 (test_exceptions): Handle underflow exceptions.
41580 (acos_test): Update for underflow exception expectations.
41581 (cexp_test): Likewise.
41582 (clog_test): Likewise.
41583 (clog10_test): Likewise.
41584 (csqrt_test): Likewise.
41585 (ctan_test): Likewise.
41586 (ctanh_test): Likewise.
41587 (exp_test): Likewise.
41588 (exp10_test): Likewise.
41589 (exp2_test): Likewise.
41590 (expm1_test): Likewise.
41591 (fma_test): Likewise.
41592 (j0_test): Likewise.
41593 (jn_test): Likewise.
41594 (nexttoward_test): Likewise.
41595 (pow_test): Likewise.
41596 (scalbn_test): Likewise.
41597 (scalbln_test): Likewise.
41598 (tan_test): Likewise.
41599 (y1_test): Likewise.
41600 * sysdeps/i386/fpu/libm-test-ulps: Update.
41601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41603 2012-05-23 David S. Miller <davem@davemloft.net>
41605 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41606 (__libc_sigaction): Remove unused local variables.
41608 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41610 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41612 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41614 mktime: avoid signed integer overflow
41615 * time/mktime.c (__mktime_internal): Do not mishandle the case
41616 where diff == INT_MIN.
41618 mktime: simplify computation of average
41619 * time/mktime.c (ranged_convert): Use new time_t_avg function
41620 instead of rolling our own (probably-slower) code.
41622 mktime: do not assume signed right shift propagates sign bit
41623 * time/mktime.c (isdst_differ): New static function.
41624 (__mktime_internal): No need to normalize tm_isdst now.
41625 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41628 mktime: merge another wrapv change from gnulib
41629 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41630 from some compilers.
41632 mktime: remove incorrect attempt at unusual arithmetics
41633 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41634 The code didn't really work on such machines anyway.
41635 (TYPE_MINIMUM): Assume two's complement.
41636 (twos_complement_arithmetic): Verify that long_int and time_t
41637 are two's complement (or unsigned, in the latter case).
41639 mktime: check signed shifts on long_int and time_t, too
41640 * time/mktime.c (SHR): Check that shifts work as desired
41641 on the types long_int and time_t too, as SHR is used on
41644 mktime: do not assume 'long' is wide enough
41645 * time/mktime.c (verify): Move decl up.
41646 (long_int): New type.
41647 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41648 to remove assumption in the code that 'long' is wide enough to
41649 store year values. This assumption is not true on x32 and on
41650 some non-glibc platforms.
41652 mktime: merge wrapv change from gnulib
41653 * time/mktime.c (WRAPV): New macro.
41654 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41655 (guess_time_tm, __mktime_internal): Do not assume that signed
41656 integer overflow wraps around; modern compilers generate code
41657 where this assumption is no longer valid.
41659 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41661 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41662 Replace "jmp L(pseudo_end)" with "ret".
41663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41666 2012-05-23 Andreas Jaeger <aj@suse.de>
41668 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41669 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41671 2012-05-23 Andreas Jaeger <aj@suse.de>
41672 Maximilian Attems <max@stro.at>
41674 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41677 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41679 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41680 code so that pseudo_end is just ret and the stack pointer is
41681 correct also for static library in error case.
41683 2012-05-23 Joseph Myers <joseph@codesourcery.com>
41685 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41686 move to syscalls.list.
41687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41692 * manual/install.texi (Running make install): Do not mention Linux
41693 kernel version for which pt_chown is not needed.
41694 (Linux): Do not mention problems with nscd with 2.0 kernels.
41695 * INSTALL: Regenerated.
41697 2012-05-23 Andreas Jaeger <aj@suse.de>
41699 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41700 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41702 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41703 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41704 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41705 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41706 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41707 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41709 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41710 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41711 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41712 * sysdeps/unix/sysv/linux/bits/in.h
41713 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41715 2012-05-22 Roland McGrath <roland@hack.frob.com>
41717 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41718 (PREPARE_VERSION): Just use assert instead, it will be elided
41719 under [NDEBUG] anyway.
41721 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41723 * sysdeps/unix/sysv/linux/Makefile: Include
41724 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41725 (sysdep_routines): Remove sysctl.
41726 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41727 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41728 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41729 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41730 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41732 2012-05-22 Andreas Jaeger <aj@suse.de>
41734 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41735 that pseudo_end is just ret and the stack pointer is correct also
41736 for static library in error case.
41738 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41741 * nss/nsswitch.c (defconfig_entries): New variable.
41742 (__nss_database_lookup): Don't leak defconfig entries.
41743 (nss_parse_service_list): Don't leak on error paths.
41744 (free_database_entries): New function.
41745 (free_defconfig): New function.
41746 (free_mem): Move common code to free_database_entries.
41748 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41750 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41752 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41754 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41755 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41758 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41759 (INTERNAL_SYSCALL_TYPES): Likewise.
41760 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41761 (LOAD_REGS_TYPES_[1-6]): Likewise.
41762 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41763 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41765 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41767 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41768 copysignl for GLIBC_2_0.
41769 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41770 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41772 logbl for GLIBC_2_0.
41773 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41774 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41776 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41778 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41779 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41781 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41784 * time/mktime.c: Update copyright years.
41786 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41788 mktime: merge comment-quoting-style change from gnulib
41789 * time/mktime.c: Quote 'like this' in comments.
41790 The GNU coding standards suggest that we no longer quote `like this',
41791 as "`" and "'" are typically rendered asymmetrically nowadays.
41792 The typical gnulib style is to quote 'like this' when quoting
41793 code, and "like this" when quoting English.
41795 * time/mktime.c (compile-command): Add "-I.".
41797 mktime: merge mktime-internal.h change from gnulib
41798 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41800 mktime: merge time_r change from gnulib
41801 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41803 mktime: merge DEBUG change from gnulib
41804 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41805 case system <time.h> has a #define.
41807 mktime: merge <sys/types.h> change from gnulib
41808 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41809 since <time.t> is now guaranteed to define time_t.
41811 mktime: merge HAVE_CONFIG_H change from gnulib
41812 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41814 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41819 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41821 (struct rusage): Use anonymous union to pad each field to
41824 2012-05-21 David S. Miller <davem@davemloft.net>
41826 * Makefules (o-iterator): Remove .s cases.
41827 (compile-command.s): Delete.
41828 (COMPILE.s): Delete.
41829 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41831 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41833 * configure.in (libc_cv_predef_stack_protector): Only consider
41834 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41835 * configure: Regenerated.
41837 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41840 New macro. Use R*LP on int and pointer.
41841 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41842 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41843 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41844 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41846 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41847 [__WORDSIZE_TIME64_COMPAT32] instead of
41848 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41849 (struct utmp): Likewise.
41850 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41851 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41853 (__WORDSIZE_TIME64_COMPAT32): This.
41854 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41855 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41856 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41857 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41858 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41859 (__WORDSIZE_TIME64_COMPAT32): New macro.
41861 2012-05-21 Andreas Jaeger <aj@suse.de>
41863 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41864 only if [SHARED]. Add prototype for __wcschr_ia32.
41866 2012-05-21 Roland McGrath <roland@hack.frob.com>
41868 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41869 of %rbp unmolested in the jmp_buf while mangling the low bits.
41870 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41871 unmolested high bits of %rbp while demangling the low bits.
41872 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41874 2012-05-21 Andreas Jaeger <aj@suse.de>
41876 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41877 * sunrpc/svc_simple.c: Use it for registerrpc.
41878 * sunrpc/xcrypt.c: Use it for passwd2des.
41880 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41882 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41884 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41885 Don't define if [__SYSCALL_WORDSIZE != 32].
41886 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41889 2012-05-21 Bruno Haible <bruno@clisp.org>
41890 Andreas Jaeger <aj@suse.de>
41892 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41893 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41894 inptr and inend for must_buffer_ch.
41895 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41896 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41897 * stdio-common/Makefile (tests): Remove bug15.
41898 (bug15-ENV): Remove macro.
41899 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41902 2012-05-19 Andreas Jaeger <aj@suse.de>
41903 Roland McGrath <roland@hack.frob.com>
41905 * manual/contrib.texi: Completely rewritten. It contains now an
41906 alphabetical list of contributors and their contributions.
41908 2012-05-21 Richard Henderson <rth@twiddle.net>
41910 * misc/getauxval.c (__getauxval): Use unsigned long int.
41911 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41912 (getauxval): Use unsigned long int.
41914 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41916 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41918 2012-05-21 Roland McGrath <roland@hack.frob.com>
41920 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41921 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41922 __alignof__ (long double).
41924 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41928 2012-05-20 Richard Henderson <rth@twiddle.net>
41930 * misc/getauxval.c: New file.
41931 * misc/sys/auxv.h: New file.
41932 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41933 (routines): Add getauxval.
41934 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41935 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41936 * elf/dl-sysdep.c (_dl_auxv): Remove.
41937 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41938 * elf/dl-support.c (_dl_auxv): New variable.
41939 (_dl_aux_init): Initialize it.
41940 * manual/startup.texi (Auxiliary Vector): New node.
41941 * sysdeps/generic/bits/hwcap.h: New file.
41942 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41943 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41944 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41945 * sysdeps/sparc/sysdep.h: ... here. Include it.
41946 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41947 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41959 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41963 2012-05-19 David S. Miller <davem@davemloft.net>
41965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41967 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41970 * math/s_ccosh.c: Include <float.h>
41971 (__ccosh): Avoid internal overflow calculating sinh and cosh
41972 values before multiplying by sin and cos values.
41973 * math/s_ccoshf.c: Likewise.
41974 * math/s_ccoshl.c: Likewise.
41975 * math/s_csin.c: Likewise.
41976 * math/s_csinf.c: Likewise.
41977 * math/s_csinl.c: Likewise.
41978 * math/s_csinh.c: Likewise.
41979 * math/s_csinhf.c: Likewise.
41980 * math/s_csinhl.c: Likewise.
41981 * math/libm-test.inc (ccos_test): Add more tests.
41982 (ccosh_test): Likewise.
41983 (csin_test): Likewise.
41984 (csinh_test): Likewise.
41985 * sysdeps/i386/fpu/libm-test-ulps: Update.
41986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41988 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41990 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41991 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41993 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41995 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41997 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41998 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41999 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42000 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42001 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42002 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42003 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42004 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42005 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42006 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42007 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42008 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42009 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42010 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42011 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42012 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42013 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42014 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42015 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42016 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42017 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42018 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42019 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42020 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42021 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42022 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42023 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42024 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42025 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42026 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42027 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42029 2012-05-18 Andreas Jaeger <aj@suse.de>
42031 * csu/.gitignore: Delete.
42033 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42035 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42036 (timex): Use __syscall_slong_t.
42038 2012-05-18 Andreas Jaeger <aj@suse.de>
42039 Carlos O'Donell <carlos_odonell@mentor.com>
42041 * manual/install.texi (Configuring and compiling): Update
42042 description about files modified in the source directory.
42043 * INSTALL: Regenerated.
42045 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42047 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42048 value. Use "or" to set return value to -1.
42049 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42050 negate return value.
42052 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42054 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42055 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42056 failure if the compiler has Graphite support disabled.
42057 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42059 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42060 (CFLAGS-memmove.c): Likewise.
42061 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42064 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42066 * sysdeps/x86_64/x32/_itoa.h: New file.
42068 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42069 getdents system call only if kernel and user dirents have the
42070 same d_ino and d_off.
42072 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42073 LLONG_MAX != LONG_MAX.
42074 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42075 (_fitoa_word): Likewise.
42077 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42079 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42080 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42081 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42083 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42084 include <bits/wordsize.h>. Check __x86_64__ instead of
42086 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42087 if __x86_64__ is defined. Use anonymous union on fpstate.
42089 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42092 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42094 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42095 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42096 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42097 Refer to _rtld_local_ro instead of _rtld_global_ro.
42098 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42100 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42102 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42104 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42105 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42106 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42108 * sysdeps/powerpc/powerpc32/dl-machine.c
42109 (__elf_machine_runtime_setup) [PROF]: Don't reference
42112 2012-05-18 Andreas Jaeger <aj@suse.de>
42114 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42115 function only available for GCCs before 3.4 since GCC 3.4
42116 introduced a builtin.
42118 (llrintf): Likewise.
42119 (llrint): Likewise.
42126 (nearbyint): Likewise.
42127 (nearbyintf): Likewise.
42131 (floorf): Likewise.
42133 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42135 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42136 on both fields and cast pointer to __syscall_ulong_t.
42138 * bits/types.h (__fsword_t): New type.
42139 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42140 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42142 (__FSWORD_T_TYPE): Likewise.
42143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42144 (__FSWORD_T_TYPE): Likewise.
42145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42146 (__FSWORD_T_TYPE): Likewise.
42147 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42148 (__FSWORD_T_TYPE): Likewise.
42149 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42150 __SWORD_TYPE with __fsword_t.
42151 (statfs64): Likewise.
42153 2012-05-17 David S. Miller <davem@davemloft.net>
42155 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42157 2012-05-17 Andreas Jaeger <aj@suse.de>
42159 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42162 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42164 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42166 2012-05-17 Andreas Jaeger <aj@suse.de>
42168 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42171 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42173 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42175 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42177 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42178 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42180 2012-05-17 Andreas Jaeger <aj@suse.de>
42181 Carlos O'Donell <carlos_odonell@mentor.com>
42184 * sysdeps/x86_64/multiarch/init-arch.h
42185 (bit_YMM_Usable): Rename to...
42186 (bit_AVX_Usable): ... this.
42187 (bit_FMA4_Usable): New macro.
42188 (bit_XMM_state): New macro.
42189 (bit_YMM_state): New macro.
42190 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42191 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42192 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42193 (CPUID_OSXSAVE): New macro.
42194 (CPUID_AVX): New macro.
42195 (CPUID_FMA4): New macro.
42196 (index_YMM_Usable): Rename to...
42197 (index_AVX_Usable): ... this.
42198 (HAS_AVX): Use HAS_ARCH_FEATURE.
42199 (HAS_FMA4): Likewise.
42200 (HAS_YMM_USABLE): Remove.
42201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42202 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42204 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42205 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42206 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42207 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42208 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42210 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42212 * math/libm-test.c: Support platforms without multiple rounding modes.
42213 * math/bug-nextafter.c: Support platforms without FP exceptions.
42214 * math/bug-nexttoward.c: Likewise.
42215 * math/test-fenv.c: Likewise.
42216 * math/test-misc.c: Likewise.
42217 * stdlib/bug-getcontext.c: Likewise.
42219 2012-05-17 Andreas Jaeger <aj@suse.de>
42221 * manual/examples/search.c (critter_cmp): Change signature to
42223 * manual/string.texi (Collation Functions): Likewise.
42225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42227 * bits/types.h: Fold copyright years.
42228 * bits/typesizes.h: Likewise.
42229 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42233 * time/time.h: Likewise.
42235 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42238 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42239 in instead of returning them. Return void.
42240 (__libc_mallinfo): Accumulate over all arenas.
42241 (__malloc_stats): Adjust for change in int_mallinfo interface.
42243 2012-05-16 Roland McGrath <roland@hack.frob.com>
42246 * configure.in (NM): Add AC_CHECK_TOOL for it.
42247 (libc_extra_cflags): New substituted variable.
42248 Check for -fstack-protector being used implicitly.
42249 * configure: Regenerated.
42250 * config.make.in (config-extra-cflags): New variable,
42251 gets @libc_extra_cflags@.
42252 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42255 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42256 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42257 * configure: Regenerated.
42258 * config.make.in (CPPUNDEFS): New substituted variable.
42259 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42260 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42261 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42263 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42265 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42266 (mq_attr): Use __syscall_slong_t.
42268 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42270 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42271 Check __x86_64__ instead of __WORDSIZE.
42272 (_STAT_VER_LINUX): Likewise.
42273 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42274 __syscall_ulong_t and __syscall_slong_t.
42275 (stat64): Likewise.
42277 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42281 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42283 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42285 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42287 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42290 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42291 include <bits/wordsize.h>. Check __x86_64__ instead of
42293 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42295 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42297 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42298 include <bits/wordsize.h>. Check __x86_64__ instead of
42300 (user_regs_struct): Use "__extension__ unsigned long long"
42301 instead of "unsigned long" if __x86_64__ is defined.
42302 (user): Likewise. Pad after pointer field if __ILP32__ is
42305 2012-05-16 Joseph Myers <joseph@codesourcery.com>
42307 * configure.in (makeinfo): Require version 4.5 or later. Allow
42309 * configure: Regenerated.
42310 * manual/install.texi (texinfo): Increase version requirement to
42312 * INSTALL: Regenerated.
42314 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42316 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42318 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42320 * sysdeps/x86_64/x32/ffs.c: New file.
42322 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42324 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42325 defined. Use __syscall_ulong_t.
42326 (shminfo): Use __syscall_ulong_t.
42327 (shm_info): Likewise.
42329 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42332 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42334 (msgqnum_t): Use __syscall_ulong_t.
42335 (msglen_t): Likewise.
42336 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42339 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42340 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42342 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42344 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42345 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42347 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42350 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42351 include <bits/wordsize.h>. Check __x86_64__ instead of
42354 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42355 "unsigned long long int" if __x86_64__ is defined.
42356 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42358 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42359 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42360 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42362 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42364 (GET_PC): Cast to uintptr_t first.
42365 (GET_FRAME): Likewise.
42366 (GET_STACK): Likewise.
42368 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42369 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42370 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42371 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42372 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42373 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42374 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42375 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42376 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42377 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42378 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42379 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42381 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42382 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42383 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42384 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42385 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42387 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42389 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42390 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42391 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42392 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42393 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42394 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42395 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42396 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42398 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42400 * Makerules (+depfiles): Also collect depfiles from .oS in
42402 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42403 .oS, $(libnldbl-routines)).
42405 * Makerules (native-compile-mkdep-flags): Define.
42406 * sunrpc/Makefile (extra-objs): Add $(addprefix
42407 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42408 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42409 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42410 calling $(make-target-directory).
42412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42414 * bits/types.h (__snseconds_t): Removed.
42415 * time/time.h (struct timespec): Replace __snseconds_t with
42417 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42418 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42421 (__SNSECONDS_T_TYPE): Likewise.
42422 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42423 (__SNSECONDS_T_TYPE): Likewise.
42424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42425 (__SNSECONDS_T_TYPE): Likewise.
42427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42429 * sysdeps/mach/hurd/bits/typesizes.h
42430 (__SYSCALL_SLONG_TYPE): New macro.
42431 (__SYSCALL_ULONG_TYPE): Likewise.
42433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42435 * bits/types.h (__syscall_slong_t): New type.
42436 (__syscall_ulong_t): Likewise.
42438 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42439 (__SYSCALL_ULONG_TYPE): Likewise.
42440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42441 (__SYSCALL_SLONG_TYPE): Likewise.
42442 (__SYSCALL_ULONG_TYPE): Likewise.
42443 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42444 (__SYSCALL_SLONG_TYPE): Likewise.
42445 (__SYSCALL_ULONG_TYPE): Likewise.
42446 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42447 (__SYSCALL_SLONG_TYPE): Likewise.
42448 (__SYSCALL_ULONG_TYPE): Likewise.
42450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42452 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42453 Add sigaltstack-offsets.sym.
42454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42455 <sigaltstack-offsets.h>.
42456 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42457 longjmp_msg pointer.
42458 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42459 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42461 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42463 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42465 * elf/stackguard-macros.h: Remove file.
42466 * sysdeps/generic/stackguard-macros.h: New file.
42467 * sysdeps/i386/stackguard-macros.h: Likewise.
42468 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42469 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42470 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42471 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42472 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42473 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42474 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42475 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42476 <elf/stackguard-macros.h>.
42479 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42480 __aligned__ in attribute.
42481 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42482 (gregset_t): Likewise.
42484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42486 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42487 * sysdeps/x86_64/64/Implies-after: Here. New file.
42488 * sysdeps/x86_64/x32/Implies-after: New file.
42490 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42492 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42493 and access return value for _dl_profile_fixup. Use R10_LP to
42496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42498 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42500 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42502 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42503 * sysdeps/x86_64/x32/sysdep.h: New file.
42505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42507 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42508 * sysdeps/x86_64/setjmp.S: Likewise.
42510 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42512 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42513 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42514 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42516 remove unused global constant.
42518 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42520 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42521 include of <not-cancel.h>.
42523 2012-05-15 Roland McGrath <roland@hack.frob.com>
42525 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42527 2012-05-15 Jeff Law <law@redhat.com>
42528 Andreas Jaeger <aj@suse.de>
42531 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42533 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42534 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42535 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42536 code changing __hst_map_handle.map.
42538 2012-05-15 Roland McGrath <roland@hack.frob.com>
42540 * configure.in (sysnames): Look for Implies-before and Implies-after
42542 * configure: Regenerated.
42544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42546 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42547 8-byte data alignment with LP_SIZE alignment.
42549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42551 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42556 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42560 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42561 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42562 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42564 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42568 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42569 (stackinfo_sub_sp): Likewise.
42571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42573 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42576 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42578 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42581 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42588 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42592 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42593 into R11_LP and load __x86_64_shared_cache_size_half into
42596 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42598 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42601 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42605 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42609 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42610 powerpc32/power7/fpu/s_logb.c via #include.
42611 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42612 powerpc32/power7/fpu/s_logbf.c via #include.
42613 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42614 powerpc32/power7/fpu/s_logbl.c via #include.
42616 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42618 * README.libm: Remove file.
42620 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42622 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42623 count for x32. Use R*_LP and omit operand-size suffix.
42625 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42627 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42628 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42629 * sysdeps/x86_64/x32/shlib-versions: New file.
42631 2012-05-14 Roland McGrath <roland@hack.frob.com>
42633 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42634 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42635 Use _dl_fatal_printf instead.
42637 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42639 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42640 set if not set by the user. Do not allow for being unset.
42641 * sysdeps/unix/sysv/linux/configure: Regenerated.
42643 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42645 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42646 the `q' suffix from lea and replace .quad with ASM_ADDR.
42648 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42651 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42653 (PTR_DEMANGLE): Likewise.
42655 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42657 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42659 (ASM_ADDR): Likewise.
42660 (RAX_LP): Likewise.
42661 (RBP_LP): Likewise.
42662 (RBX_LP): Likewise.
42663 (RCX_LP): Likewise.
42664 (RDI_LP): Likewise.
42665 (RSI_LP): Likewise.
42666 (RSP_LP): Likewise.
42669 (R10_LP): Likewise.
42670 (R10_LP): Likewise.
42671 (R11_LP): Likewise.
42672 (R12_LP): Likewise.
42673 (R13_LP): Likewise.
42674 (R14_LP): Likewise.
42675 (R15_LP): Likewise.
42677 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42679 * sysdeps/x86_64/x32/dl-machine.h: New file.
42681 2012-05-14 Andreas Jaeger <aj@suse.de>
42683 * manual/Makefile (subdir): Remove export of subdir.
42684 (all): Remove target.
42685 (.PHONY): Remove all from list.
42686 (mkinstalldirs): Remove.
42687 (.PHONY): Remove installdirs from list.
42688 ($(inst_infodir)/libc.info): Use make-target-directory.
42689 (installdirs): Remove.
42690 (subdir_%): Remove.
42691 (glibc-targets): Remove.
42694 ($(objpfx)stubs ../po/manual.pot): Remove.
42695 ($(objpfx)stamp%): Remove.
42696 (make-target-directory): Remove.
42697 (subdir_install): Remove.
42698 (routines): Remove.
42705 * manual/.gitignore: Remove, it's not needed anymore.
42706 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42708 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42710 (texis): Renamed to $(objpfx)texis.
42711 (texis-path): New, contains path to generated files.
42712 (chapters.%): Use texis-path for complete path, add extra argument
42714 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42715 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42716 (summary,texi, stamp-summary): Use complete path of
42717 files. Generate files in build dir.
42718 (dir-add.texi): Build in build dir.
42719 (libm-err.texi,stamp-libm-err): Likewise.
42720 (version.texi, stamp-version): Likewise.
42721 (.%c.texi): Likewise.
42722 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42723 (mostlyclean): Remove target.
42724 (realclean): Remove target.
42725 (generated): Add new variable with contents from mostlyclean and
42726 realclean, remove entries duplicated in common-mostlyclean, add
42727 stamp-libm-err and stamp-version.
42728 (generated-dirs): Add libc directory.
42729 ($(inst_infodir)/libc.info): Install files from build dir.
42731 * manual/install.texi (Configuring and compiling): Adjust since
42732 the info files are not part of the tar ball anymore.
42734 2012-05-14 Andreas Jaeger <aj@suse.de>
42736 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42739 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42743 to 2.2.0 where earlier.
42744 * sysdeps/unix/sysv/linux/configure: Regenerated.
42745 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42746 Remove conditional code.
42747 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42748 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42749 Remove conditional code.
42750 [!__NR_lchown]: Likewise.
42751 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42752 [__NR_lchown]: Likewise.
42753 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42754 comment referencing __ASSUME_LCHOWN_SYSCALL.
42755 * sysdeps/unix/sysv/linux/i386/sigaction.c
42756 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42757 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42758 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42759 Remove conditional code.
42760 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42761 (__protocol_available): Remove #if 0 code.
42762 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42764 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42765 * sysdeps/unix/sysv/linux/kernel-features.h
42766 (__ASSUME_GETCWD_SYSCALL): Don't define.
42767 (__ASSUME_REALTIME_SIGNALS): Likewise.
42768 (__ASSUME_PREAD_SYSCALL): Likewise.
42769 (__ASSUME_PWRITE_SYSCALL): Likewise.
42770 (__ASSUME_POLL_SYSCALL): Likewise.
42771 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42772 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42774 (__ASSUME_SIOCGIFNAME): Don't define.
42775 (__ASSUME_MSG_NOSIGNAL): Likewise.
42776 (__ASSUME_SENDFILE): Define unconditionally.
42777 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42778 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42780 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42781 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42782 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42783 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42784 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42785 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42786 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42800 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42803 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42806 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42807 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42809 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42810 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42811 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42812 Remove conditional code.
42813 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42814 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42815 Remove conditional code.
42816 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42817 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42818 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42819 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42820 Remove conditional code.
42821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42822 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42823 Remove conditional code.
42824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42825 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42826 Remove conditional code.
42827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42828 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42829 Remove conditional code.
42830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42831 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42832 Remove conditional code.
42833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42834 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42835 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42837 * sysdeps/unix/sysv/linux/sigaction.c
42838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42840 * sysdeps/unix/sysv/linux/sigpending.c
42841 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42842 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42843 * sysdeps/unix/sysv/linux/sigprocmask.c
42844 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42845 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42846 * sysdeps/unix/sysv/linux/sigsuspend.c
42847 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42848 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42850 (__libc_missing_rt_sigs): Remove.
42851 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42852 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42853 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42854 Remove conditional code.
42855 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42856 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42858 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42859 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42860 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42861 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42863 2012-05-14 Andreas Jaeger <aj@suse.de>
42865 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42866 it's not used in glibc.
42867 (__coshm1): Likewise.
42868 (__acosh1p): Likewise.
42871 * manual/string.texi (Copying and Concatenation): Add missing
42872 variable in concat example.
42873 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42875 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42878 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42879 __builtin_clzl with __builtin_clzll.
42881 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42884 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42887 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42889 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42890 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42891 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42892 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42894 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42896 * NEWS: Update ia64 info.
42898 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42900 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42903 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42905 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42906 * sysdeps/unix/syscalls.list (dup3): Likewise.
42907 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42908 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42910 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42912 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42913 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42915 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42917 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42919 (TLS_IE): Use mov/add instead of movq/addq to load thread
42921 (TLS_GD_PREFIX): New.
42924 2012-05-11 David S. Miller <davem@davemloft.net>
42926 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42927 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42928 (_FPU_SETCW): Likewise.
42930 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42932 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42933 is 32-byte aligned.
42935 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42938 * iconvdata/gb18030.c: Update tables.
42939 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42940 characters specially.
42941 (BODY for TO_LOOP): Add encoding of missing ranges.
42943 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42946 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42947 * sysdeps/mach/hurd/dup3.c: Likewise.
42948 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42949 * sysdeps/powerpc/memmove.c:: Likewise.
42951 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42953 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42954 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42956 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42958 * elf/elf.h (R_X86_64_RELATIVE64): New.
42959 (R_X86_64_NUM): Updated.
42960 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42961 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42962 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42963 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42964 tst-quad1pie tst-quad2pie
42965 (modules-names): Add tst-quadmod1 tst-quadmod2.
42966 ($(objpfx)tst-quad1): New dependency.
42967 ($(objpfx)tst-quad2): Likewise.
42968 ($(objpfx)tst-quad1pie): Likewise.
42969 ($(objpfx)tst-quad2pie): Likewise.
42970 * sysdeps/x86_64/tst-quad1.c: New file.
42971 * sysdeps/x86_64/tst-quad1pie.c: New file.
42972 * sysdeps/x86_64/tst-quad2.c: Likewise.
42973 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42974 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42975 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42976 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42977 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42979 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42981 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42982 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42983 * streams/stropts.h (t_scalar_t): Define type.
42985 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42986 (_PATH_PRESERVE): Set to "/var/lib".
42987 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42989 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42992 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42993 if __dir_mkfile succeeded.
42995 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42996 checking for _hurd_dtablesize. Unlock it right after having
42997 finished _hurd_dtable allocation.
42999 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43001 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43002 * sysdeps/mach/hurd/configure: Regenerated.
43003 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43004 special-casing to...
43005 * sysdeps/gnu/configure.in: ... this new file.
43006 * sysdeps/unix/sysv/linux/configure: Regenerated.
43007 * sysdeps/gnu/configure: New generated file.
43009 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43010 for Linux: use nsec instead of usec, as well as:
43011 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43012 members of type struct timespec.
43013 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43015 (struct stat64): Likewise.
43016 (_STATBUF_ST_NSEC): New macro.
43017 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43019 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43020 __strtoul_internal rather than strtoul.
43022 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43024 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43029 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43030 which preserves existing values.
43031 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43033 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43035 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43036 TIMEOUT values. Return EINVAL for NFDS values either negative or
43037 greater than FD_SETSIZE.
43039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43041 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43042 allocated, call __vm_protect to finish enabling the existing space, and
43043 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43044 allocate the remainder.
43046 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43048 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43049 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43053 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43054 sysdeps/mach/hurd/readlink.c.
43056 * posix/tst-sysconf.c (posix_options): Only use
43057 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43058 _POSIX_SYNCHRONIZED_IO when they are defined
43059 * sysdeps/mach/hurd/bits/posix_opt.h:
43060 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43061 (_XOPEN_REALTIME): Undefine macro.
43062 (_XOPEN_REALTIME_THREADS): Undefine macro.
43063 (_XOPEN_SHM): Undefine macro.
43064 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43066 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43068 (_POSIX_ASYNC_IO): Undefine macro.
43069 (_POSIX_PRIORITIZED_IO): Undefine macro.
43070 (_POSIX_SPIN_LOCKS): Define macro to -1.
43072 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43073 SA_NODEFER, SA_RESETHAND.
43074 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43075 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43080 * elf/Makefile (pldd-modules): Define unconditionally.
43082 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43084 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43088 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43089 Return ENOENT when name is empty.
43090 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43092 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43094 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43096 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43100 Fix mlock in all cases except non-readable pages.
43101 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43102 instead of VM_PROT_ALL as parameter to __vm_wire function.
43104 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43105 (__mkdir): When path is `/', just fail with EEXIST.
43106 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43108 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43110 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43111 <sys/uio.h> (for writev).
43112 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43113 and <sys/param.h> (for MIN).
43115 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43117 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43118 REQUESTED_TIME. Properly set the remaining time and return EINTR
43121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43123 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43124 Depend on against $(link-rpcuserlibs).
43126 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43128 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43129 (__libc_stack_end): Do not use attribute_relro.
43130 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43131 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43132 to libthread-provided value.
43133 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43139 * bits/libc-lock.h (__libc_once_get): New macro.
43140 * sysdeps/mach/bits/libc-lock.h: Likewise.
43141 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43143 instead of using implementation details.
43145 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43146 * libio/freopen.c: Likewise.
43147 * libio/freopen64.c: Likewise.
43148 * misc/syslog.c: Likewise.
43149 * nscd/connections.c: Likewise.
43150 * nscd/netgroupcache.c: Likewise.
43151 * sysdeps/posix/getcwd.c: Likewise.
43153 2012-05-10 Roland McGrath <roland@hack.frob.com>
43155 * math/w_ilogbf.c: Add #include <limits.h>.
43157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43159 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43160 path instead of returning without unlocking.
43162 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43163 immediate-write ioctls.
43164 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43166 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43168 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43169 __builtin_frame_address instead of making assumptions about the
43170 location of the return address relative to DATA. Force early load of
43171 the return address.
43172 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43173 __builtin_frame_address.
43176 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43177 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43178 implement dup3 and do some further code clean-ups.
43179 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43180 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43182 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43184 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43186 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43187 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43188 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43189 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43190 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43193 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43194 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43195 when handler == SIG_ERR, not when handler != SIG_ERR.
43197 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43199 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43200 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43203 accept4 for GNU Hurd.
43204 * include/sys/socket.h (__libc_accept4): New prototype.
43205 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43206 to implement __libc_accept4.
43207 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43209 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43211 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43212 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43213 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43214 signal-defines.sym.
43216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43218 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43220 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43222 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43223 assertion on O_CLOEXEC flag.
43224 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43225 * hurd/intern-fd.c: Likewise.
43226 * hurd/port2fd.c: Likewise.
43228 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43231 * bits/in.h (IPV6_PKTINFO): Define new macro.
43232 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43234 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43239 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43241 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43242 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43243 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43244 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43245 * math/libm-test.inc (logb_test) : Additional logb tests.
43247 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43248 Andreas Jaeger <aj@suse.de>
43250 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43251 * configure: Regenerated.
43252 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43253 * config.make.in (link-obsolete-rpc): New substituted variable.
43254 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43255 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43256 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43257 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43258 so that libc.a contains the symbols.
43259 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43260 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43261 * sunrpc/auth_none.c: Likewise.
43262 * sunrpc/auth_unix.c: Likewise.
43263 * sunrpc/authdes_prot.c: Likewise.
43264 * sunrpc/authuxprot.c: Likewise.
43265 * sunrpc/clnt_gen.c: Likewise.
43266 * sunrpc/clnt_perr.c: Likewise.
43267 * sunrpc/clnt_raw.c: Likewise.
43268 * sunrpc/clnt_simp.c: Likewise.
43269 * sunrpc/clnt_tcp.c: Likewise.
43270 * sunrpc/clnt_udp.c: Likewise.
43271 * sunrpc/clnt_unix.c: Likewise.
43272 * sunrpc/des_crypt.c: Likewise.
43273 * sunrpc/des_soft.c: Likewise.
43274 * sunrpc/get_myaddr.c: Likewise.
43275 * sunrpc/key_call.c: Likewise.
43276 * sunrpc/key_prot.c: Likewise.
43277 * sunrpc/netname.c: Likewise.
43278 * sunrpc/pm_getmaps.c: Likewise.
43279 * sunrpc/pm_getport.c: Likewise.
43280 * sunrpc/pmap_clnt.c: Likewise.
43281 * sunrpc/pmap_prot.c: Likewise.
43282 * sunrpc/pmap_prot2.c: Likewise.
43283 * sunrpc/pmap_rmt.c: Likewise.
43284 * sunrpc/publickey.c: Likewise.
43285 * sunrpc/rpc_cmsg.c: Likewise.
43286 * sunrpc/rpc_common.c: Likewise.
43287 * sunrpc/rpc_dtable.c: Likewise.
43288 * sunrpc/rpc_prot.c: Likewise.
43289 * sunrpc/rpc_thread.c: Likewise.
43290 * sunrpc/rtime.c: Likewise.
43291 * sunrpc/svc.c: Likewise.
43292 * sunrpc/svc_auth.c: Likewise.
43293 * sunrpc/svc_raw.c: Likewise.
43294 * sunrpc/svc_run.c: Likewise.
43295 * sunrpc/svc_tcp.c: Likewise.
43296 * sunrpc/svc_udp.c: Likewise.
43297 * sunrpc/svc_unix.c: Likewise.
43298 * sunrpc/svcauth_des.c: Likewise.
43299 * sunrpc/xcrypt.c: Likewise.
43300 * sunrpc/xdr.c: Likewise.
43301 * sunrpc/xdr_array.c: Likewise.
43302 * sunrpc/xdr_float.c: Likewise.
43303 * sunrpc/xdr_intXX_t.c: Likewise.
43304 * sunrpc/xdr_mem.c: Likewise.
43305 * sunrpc/xdr_rec.c: Likewise.
43306 * sunrpc/xdr_ref.c: Likewise.
43307 * sunrpc/xdr_sizeof.c: Likewise.
43308 * sunrpc/xdr_stdio.c: Likewise.
43310 2012-05-10 Roland McGrath <roland@hack.frob.com>
43312 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43313 change. Update copyright years.
43315 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43317 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43319 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43320 Joseph Myers <joseph@codesourcery.com>
43321 Paul Pluzhnikov <ppluzhnikov@google.com>
43324 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43326 [cross-compiling] (extra-libs): Likewise.
43327 [cross-compiling] (extra-libs-others): Likewise.
43328 [cross-compiling] (librpcsvc-routines): Likewise.
43329 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43330 [cross-compiling] (omit-deps): Likewise.
43331 (sunrpc-CPPFLAGS): New variable.
43332 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43333 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43334 (cross-rpcgen-objs): New variable.
43335 (extra-objs): Append $(cross-rpcgen-objs).
43336 ($(cross-rpcgen-objs)): New rule.
43337 ($(objpfx)cross-rpcgen): Likewise.
43338 (rpcgen-cmd): Define to use $(built-program-file). Expand
43340 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43341 ($(objpfx)x%.stmp): Likewise.
43342 * sunrpc/proto.h [IS_IN_build] (_): Define.
43343 [IS_IN_build] (_libc_intl_domainname): Likewise.
43345 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43348 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43349 and R_X86_64_TPOFF64.
43351 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43353 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43354 sysdeps/unix/sysv/syscalls.list.
43357 * sysdeps/unix/sysv/syscalls.list: Remove file.
43359 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43362 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43363 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43364 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43365 (__LC_IDENTIFICATION): Make these macros useful in #if
43366 expressions, as required by C99.
43368 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43370 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43371 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43374 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43376 * stdlib/longlong.h: Updated from GCC.
43378 2012-05-09 Andreas Jaeger <aj@suse.de>
43380 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43381 default is first entry.
43382 (run_mode): Set type.
43383 (main): Remove informal message about syslog.
43384 (options): Fix typo.
43387 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43390 (llrintf): Likewise.
43391 (llrint): Likewise.
43394 (nearbyint): Likewise.
43395 (nearbyintf): Likewise.
43397 2012-05-09 Andreas Jaeger <aj@suse.de>
43398 Pedro Alves <palves@redhat.com>
43400 * nscd/nscd.c (run_mode): Use enum.
43401 (main): Cleanup coding style issue.
43403 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
43404 Andreas Jaeger <aj@suse.de>
43406 * nscd/nscd.c (go_background): Replaced with...
43407 (run_mode): ... this.
43408 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43409 (options): Add -F --foreground.
43410 (main): Implement it.
43411 (parse_opt): Parse it.
43413 2012-05-09 Andreas Jaeger <aj@suse.de>
43416 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43417 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43418 -Wconversion warning.
43419 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43422 2012-05-09 Joseph Myers <joseph@codesourcery.com>
43424 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43426 (LC_ALL): Use macro-int-constant.
43427 (LC_COLLATE): Likewise.
43428 (LC_CTYPE): Likewise.
43429 (LC_MESSAGES): Likewise.
43430 (LC_MONETARY): Likewise.
43431 (LC_NUMERIC): Likewise.
43432 (LC_TIME): Likewise.
43433 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43434 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43436 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43438 [C99-based standards] (float_t): Expect type.
43439 [C99-based standards] (double_t): Expect type.
43440 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43442 [C99-based standards] (HUGE_VALL): Likewise.
43443 [C99-based standards] (INFINITY): Likewise.
43444 [C99-based standards] (NAN): Likewise.
43445 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43446 [C99-based standards] (FP_NAN): Likewise.
43447 [C99-based standards] (FP_NORMAL): Likewise.
43448 [C99-based standards] (FP_SUBNORMAL): Likewise.
43449 [C99-based standards] (FP_ZERO): Likewise.
43450 [C99-based standards] (FP_FAST_FMA): Use
43451 optional-macro-int-constant. Specify type. Require == 1.
43452 [C99-based standards] (FP_FAST_FMAF): Likewise.
43453 [C99-based standards] (FP_FAST_FMAL): Likewise.
43454 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43455 [C99-based standards] (FP_ILOGBNAN): Likewise.
43456 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43458 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43459 [C99-based standards] (math_errhandling): Specify type.
43460 [ISO99 || ISO11] (signgam): Do not allow.
43461 [non-C99-based standards] (copysignf): Do not allow.
43462 [non-C99-based standards] (exp2f): Likewise.
43463 [non-C99-based standards] (log2f): Likewise.
43464 [non-C99-based standards] (modff): Allow.
43465 [non-C99-based standards] (erff): Do not allow.
43466 [non-C99-based standards] (erfcf): Likewise.
43467 [non-C99-based standards] (gammaf): Likewise.
43468 [non-C99-based standards] (hypotf): Likewise.
43469 [non-C99-based standards] (j0f): Likewise.
43470 [non-C99-based standards] (j1f): Likewise.
43471 [non-C99-based standards] (jnf): Likewise.
43472 [non-C99-based standards] (lgammaf): Likewise.
43473 [non-C99-based standards] (tgammaf): Likewise.
43474 [non-C99-based standards] (y0f): Likewise.
43475 [non-C99-based standards] (y1f): Likewise.
43476 [non-C99-based standards] (ynf): Likewise.
43477 [non-C99-based standards] (isnanf): Likewise.
43478 [non-C99-based standards] (acoshf): Likewise.
43479 [non-C99-based standards] (asinhf): Likewise.
43480 [non-C99-based standards] (atanhf): Likewise.
43481 [non-C99-based standards] (cbrtf): Likewise.
43482 [non-C99-based standards] (expm1f): Likewise.
43483 [non-C99-based standards] (ilogbf): Likewise.
43484 [non-C99-based standards] (log1pf): Likewise.
43485 [non-C99-based standards] (logbf): Likewise.
43486 [non-C99-based standards] (nextafterf): Likewise.
43487 [non-C99-based standards] (remainderf): Likewise.
43488 [non-C99-based standards] (rintf): Likewise.
43489 [non-C99-based standards] (scalbf): Likewise.
43490 [non-C99-based standards] (copysignl): Likewise.
43491 [non-C99-based standards] (exp2l): Likewise.
43492 [non-C99-based standards] (log2l): Likewise.
43493 [non-C99-based standards] (modfl): Allow.
43494 [non-C99-based standards] (erfl): Do not allow.
43495 [non-C99-based standards] (erfcl): Likewise.
43496 [non-C99-based standards] (gammal): Likewise.
43497 [non-C99-based standards] (hypotl): Likewise.
43498 [non-C99-based standards] (j0l): Likewise.
43499 [non-C99-based standards] (j1l): Likewise.
43500 [non-C99-based standards] (jnl): Likewise.
43501 [non-C99-based standards] (lgammal): Likewise.
43502 [non-C99-based standards] (tgammal): Likewise.
43503 [non-C99-based standards] (y0l): Likewise.
43504 [non-C99-based standards] (y1l): Likewise.
43505 [non-C99-based standards] (ynl): Likewise.
43506 [non-C99-based standards] (isnanl): Likewise.
43507 [non-C99-based standards] (acoshl): Likewise.
43508 [non-C99-based standards] (asinhl): Likewise.
43509 [non-C99-based standards] (atanhl): Likewise.
43510 [non-C99-based standards] (cbrtl): Likewise.
43511 [non-C99-based standards] (expm1l): Likewise.
43512 [non-C99-based standards] (ilogbl): Likewise.
43513 [non-C99-based standards] (log1pl): Likewise.
43514 [non-C99-based standards] (logbl): Likewise.
43515 [non-C99-based standards] (nextafterl): Likewise.
43516 [non-C99-based standards] (remainderl): Likewise.
43517 [non-C99-based standards] (rintl): Likewise.
43518 [non-C99-based standards] (scalbl): Likewise.
43519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43520 [non-C99-based standards] (FP_*): Do not allow.
43521 [C99-based standards] (FP_*): Change to
43522 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43523 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43525 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43526 (SIG_ERR): Likewise.
43527 [X/Open-based standards] (SIG_HOLD): Likewise.
43528 (SIG_IGN): Likewise.
43529 (SIGABRT): Use macro-int-constant. Specify type. Require
43531 (SIGFPE): Likewise.
43532 (SIGILL): Likewise.
43533 (SIGINT): Likewise.
43534 (SIGSEGV): Likewise.
43535 (SIGTER): Likewise.
43536 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43537 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43538 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43539 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43540 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43541 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43542 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43543 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43544 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43545 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43546 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43547 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43548 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43549 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43550 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43551 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43552 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43553 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43554 [X/Open-based standards] (SIGTRAP): Likewise.
43555 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43556 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43557 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43558 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43559 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43562 2012-05-08 Ian Wienand <ianw@vmware.com>
43565 * time/tzset.c (__tzset_parse_tz): Update default rules for
43566 daylight time changes in the Energy Policy Act of 2005.
43568 2012-05-09 Andreas Jaeger <aj@suse.de>
43571 * elf/ldconfig.c (parse_conf): Change string to make clear that
43572 ldconfig only issued a warning if ld.so.conf does not exist.
43574 2012-05-08 David S. Miller <davem@davemloft.net>
43576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43577 movxtod instead of popping the value on the stack.
43579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43581 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43583 * config.h.in: Add HAVE_ARM_PCS_VFP.
43585 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
43588 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43589 checking but the checks are disabled for any reason.
43591 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43593 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43594 and ELF64_R_TYPE with ELFW(R_TYPE).
43596 2012-05-08 Joseph Myers <joseph@codesourcery.com>
43598 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43599 (ulimit): Likewise.
43601 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43602 (settimeofday): Likewise.
43604 2012-05-08 Mike Frysinger <vapier@gentoo.org>
43606 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43607 a struct th_u2 inside the union, and move tu_block/tu_code into
43608 a new th_u3 union of tu_block/tu_code inside of that. Move
43609 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43610 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43611 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43612 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43613 (th_stuff): Change to th_u1.tu_stuff.
43615 (th_msg): Change to th_u1.th_u2.tu_data.
43617 2012-05-07 David S. Miller <davem@davemloft.net>
43619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43622 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43623 (SETUP_PIC_REG): Use it.
43624 (SETUP_PIC_REG_LEAF): Use it.
43626 2012-05-07 Joseph Myers <joseph@codesourcery.com>
43630 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43632 (EXPL_FINITE): Likewise.
43633 (FLDLOG): Likewise.
43634 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43635 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43637 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43639 (EXPL_FINITE): Likewise.
43640 (FLDLOG): Likewise.
43641 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43642 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43644 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43645 test of -max_value argument for long double.
43646 * sysdeps/i386/fpu/libm-test-ulps: Update.
43647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43649 2012-05-06 David S. Miller <davem@davemloft.net>
43651 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43652 quad soft-float symbols whose references which are compiler
43654 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43656 2012-05-06 Joseph Myers <joseph@codesourcery.com>
43660 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43662 (EXPL_FINITE): Likewise.
43663 (FLDLOG): Likewise.
43666 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43667 Adjust comments for base varying.
43668 (__expl_finite): Change alias to EXPL_FINITE.
43669 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43671 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43672 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43673 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43674 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43675 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43677 (EXPL_FINITE): Likewise.
43678 (FLDLOG): Likewise.
43681 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43682 Adjust comments for base varying.
43683 (__expl_finite): Change alias to EXPL_FINITE.
43684 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43689 * math/libm-test.inc (check_float_internal): Correct ulp
43690 calculation for subnormal expected results.
43692 2012-05-06 Andreas Jaeger <aj@suse.de>
43694 * Makeconfig (+math-flags): New, set to -frounding-math.
43695 (+cflags): Add +math-flags so that all of glibc gets compiled with
43698 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43700 2012-05-05 Joseph Myers <joseph@codesourcery.com>
43702 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43708 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43709 (__ieee754_expl): Allow for and saturate large arguments.
43710 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43711 (u_threshold): Likewise.
43712 (__exp): Call __ieee754_exp before checking for overflow and
43714 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43715 (u_threshold): Likewise.
43716 (__expf): Call __ieee754_expf before checking for overflow and
43718 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43719 (u_threshold): Likewise.
43720 (__expl): Call __ieee754_expl before checking for overflow and
43722 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43723 (__ieee754_expl): Allow for and saturate large arguments.
43724 * math/libm-test.inc (exp_test): Add another test. Do not allow
43725 missing overflow exception on overflow.
43726 (expm1_test): Do not allow missing overflow exception on overflow.
43728 * sysdeps/i386/fpu/e_expl.c: Move to ...
43729 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43730 rather than using inline asm.
43731 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43732 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43733 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43735 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43738 (signal): Likewise.
43742 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43744 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43745 sysdeps/unix/common/syscalls.list.
43746 (fchmod): Likewise.
43747 (fchown): Likewise.
43748 (ftruncate): Likewise.
43749 (getrusage): Likewise.
43750 (gettimeofday): Likewise.
43751 (setpgid): Likewise.
43752 (setregid): Likewise.
43753 (setreuid): Likewise.
43754 (sigaction): Likewise.
43755 (truncate): Likewise.
43756 (vhangup): Likewise.
43757 * sysdeps/unix/common/syscalls.list: Remove file.
43758 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43759 * sysdeps/unix/sysv/linux/Implies: Likewise.
43761 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43763 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43765 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43769 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43772 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43775 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43778 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43781 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43784 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43787 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43791 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43795 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43798 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43802 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43806 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43808 * sysdeps/unix/common/bits/dirent.h: Remove file.
43809 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43811 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43812 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43813 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43814 * sysdeps/unix/bsd/isatty.c: Likewise.
43815 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43816 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43817 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43819 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43822 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43823 long double comparison inaccuracies.
43824 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43827 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43829 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43830 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43832 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43835 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43836 nonzero digits before rounding a hex value.
43837 * stdlib/tst-strtod.c (tests): Add another test.
43839 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43841 * sysdeps/s390/fpu/libm-test-ulps: Update.
43843 2012-05-03 Andreas Jaeger <aj@suse.de>
43845 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43846 does not get optimized out.
43847 (malloc_opt_barrier): New.
43849 2012-05-03 Andreas Jaeger <aj@suse.de>
43850 Roland McGrath <roland@hack.frob.com>
43852 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43853 intermediate file deletion.
43854 (generated): Add .symlist files.
43856 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43859 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43860 Redirect under this condition.
43861 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43862 [__USE_GNU] (__dprintf_chk): Not under this condition.
43863 [__USE_GNU] (__vdprintf_chk): Likewise.
43864 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43865 under this condition.
43866 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43867 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43868 [__USE_XOPEN2K8] (vdprintf): Likewise.
43869 [__USE_GNU] (__dprintf_chk): Not under this condition.
43870 [__USE_GNU] (__vdprintf_chk): Likewise.
43871 [__USE_GNU] (dprintf): Likewise.
43872 [__USE_GNU] (vdprintf): Likewise.
43874 2012-05-03 Roland McGrath <roland@hack.frob.com>
43876 * elf/Makefile (common-generated): Set this instead of generated for
43877 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43878 $(all-built-dso)-derived lists.
43880 2012-05-03 Andreas Jaeger <aj@suse.de>
43882 * sysdeps/i386/fpu/libm-test-ulps: Update.
43885 * FAQ.in: Likewise.
43886 * scripts/gen-FAQ.pl: Likewise.
43887 * manual/install.texi (Installation): Point to online location of
43889 * Makefile (files-for-dist): Remove FAQ.
43892 2012-05-02 Allan McRae <allan@archlinux.org>
43894 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43895 (LDFLAGS-reldepmod5.so): Likewise.
43896 (LDFLAGS-reldep6mod1.so): Likewise.
43897 (LDFLAGS-reldep6mod4.so): Likewise.
43898 (LDFLAGS-reldep8mod3.so): Likewise.
43899 (LDFLAGS-unload4mod1.so): Likewise.
43900 (LDFLAGS-unload4mod2.so): Likewise.
43901 (LDFLAGS-tst-initorder): Likewise.
43902 (LDFLAGS-tst-initordera2.so): Likewise.
43903 (LDFLAGS-tst-initordera3.so): Likewise.
43904 (LDFLAGS-tst-initordera4.so): Likewise.
43905 (LDFLAGS-tst-initorderb2.so): Likewise.
43906 (LDFLAGS-noload): Likewise.
43907 (LDFLAGS-next): Likewise.
43908 (LDFLAGS-order2mod1.so): Likewise.
43909 (LDFLAGS-order2mod2.so): Likewise.
43910 (LDFLAGS-tst-initorder2): Likewise.
43911 (LDFLAGS-tst-initorder2a.so): Likewise.
43912 (LDFLAGS-tst-initorder2b.so): Likewise.
43913 (LDFLAGS-tst-initorder2c.so): Likewise.
43914 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43916 2012-05-02 David S. Miller <davem@davemloft.net>
43918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43920 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43923 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43925 2012-05-02 Andreas Jaeger <aj@suse.de>
43927 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43928 since we manipulate rounding mode.
43929 (CPPFLAGS-test-idouble.c): Likewise.
43930 (CPPFLAGS-test-ifloat.c): Likewise.
43931 (CFLAGS-test-ldouble.c): Likewise.
43932 (CFLAGS-test-double.c): Likewise.
43933 (CFLAGS-test-float.c): Likewise.
43934 (CFLAGS-test-misc.c): Likewise.
43935 (CFLAGS-test-test-fenv.c): Likewise.
43937 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43941 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43942 comparisons to determine direction to adjust input.
43944 2012-05-01 Roland McGrath <roland@hack.frob.com>
43946 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43947 output to the target.
43949 * scripts/localplt.awk: New file.
43950 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43951 (check-localplt-CFLAGS): Variable removed.
43952 ($(all-built-dso:=.jmprel)): New static pattern rule.
43953 (generated): Add those targets.
43954 (localplt-built-dso): New variable.
43955 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43957 * elf/check-localplt.c: File removed.
43959 * scripts/check-execstack.awk: New file.
43960 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43961 (check-execstack-CFLAGS): Variable removed.
43962 ($(objpfx)check-execstack.h): Target removed.
43963 ($(objpfx)execstack-default): New target.
43964 (generated): Add that instead of check-execstack.h.
43965 ($(all-built-dso:=.phdr)): New static pattern rule.
43966 (generated): Add those targets.
43967 * elf/check-execstack.c: File removed.
43969 * scripts/check-textrel.awk: New file.
43970 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43971 (check-textrel-CFLAGS): Variable removed.
43972 (all-built-dso): Use := to define.o
43973 ($(all-built-dso:=.dyn)): New static pattern rule.
43974 (generated): Add those targets.
43975 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43976 * config.make.in (READELF): New substituted variable.
43977 * elf/check-textrel.c: File removed.
43979 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43981 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43983 * conform/data/ctype.h-data [C99-based standards] (isblank):
43985 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43986 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43988 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43989 Specify type. Require positive value.
43990 (EILSEQ): Likewise.
43991 (ERANGE): Likewise.
43992 [ISO || POSIX] (EILSEQ): Do not expect.
43993 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43994 Specify type. Require positive value.
43995 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43996 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43997 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43998 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43999 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44000 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44001 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44002 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44003 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44004 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44005 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44006 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44007 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44008 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44009 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44010 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44011 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44012 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44013 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44014 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44015 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44016 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44017 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44018 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44019 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44020 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44021 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44022 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44023 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44024 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44025 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44026 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44027 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44028 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44029 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44030 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44031 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44032 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44033 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44034 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44035 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44036 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44037 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44038 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44039 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44040 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44041 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44042 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44043 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44044 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44045 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44046 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44047 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44048 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44049 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44050 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44051 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44052 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44053 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44054 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44055 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44056 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44057 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44058 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44059 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44060 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44061 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44062 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44063 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44064 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44065 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44066 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44067 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44068 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44069 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44070 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44071 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44073 (FLT_ROUNDS): Expect as macro, not constant.
44074 (FLT_MANT_DIG): Use macro-int-constant.
44075 (DBL_MANT_DIG): Likewise.
44076 (LDBL_MANT_DIG): Likewise.
44077 (FLT_DIG): Likewise.
44078 (DBL_DIG): Likewise.
44079 (LDBL_DIG): Likewise.
44080 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44081 (DBL_MIN_EXP): Likewise.
44082 (LDBL_MIN_EXP): Likewise.
44083 (FLT_MAX_EXP): Use macro-int-constant.
44084 (DBL_MAX_EXP): Likewise.
44085 (LDBL_MAX_EXP): Likewise.
44086 (FLT_MAX_10_EXP): Likewise.
44087 (DBL_MAX_10_EXP): Likewise.
44088 (LDBL_MAX_10_EXP): Likewise.
44089 (FLT_MAX): Use macro-constant.
44090 (DBL_MAX): Likewise.
44091 (LDBL_MAX): Likewise.
44092 (FLT_EPSILON): Use macro-constant. Give upper bound.
44093 (DBL_EPSILON): Likewise.
44094 (LDBL_EPSILON): Likewise.
44095 (FLT_MIN): Likewise.
44096 (DBL_MIN): Likewise.
44097 (LDBL_MIN): Likewise.
44098 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44099 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44100 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44101 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44102 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44103 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44104 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44105 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44106 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44107 [ISO11] (FLT_TRUE_MIN): Likewise.
44108 [ISO11] (LDBL_TRUE_MIN): Likewise.
44109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44110 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44111 (SCHAR_MIN): Use macro-int-constant. Specify type.
44112 (SCHAR_MAX): Likewise.
44113 (UCHAR_MAX): Likewise.
44114 (CHAR_MIN): Likewise.
44115 (CHAR_MAX): Likewise.
44116 (MB_LEN_MAX): Use macro-int-constant.
44117 (SHRT_MIN): Use macro-int-constant. Specify type.
44118 (SHRT_MAX): Likewise.
44119 (USHRT_MAX): Likewise.
44120 (INT_MAX): Likewise.
44121 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44123 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44125 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44127 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44128 bound negative. Suffix upper bound with "L".
44129 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44131 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44133 [C99-based standards] (LLONG_MAX): Likewise.
44134 [C99-based standards] (ULLONG_MAX): Likewise.
44135 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44137 [ISO11] (max_align_t): Require type.
44138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44140 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44141 from $CFLAGS, without defining away __attribute__ calls.
44142 (checknamespace): Use $CFLAGS_namespace.
44144 * conform/conformtest.pl (@keywords): Only include C99 keywords
44145 for standards based on C99 or C11.
44147 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44149 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44152 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44153 usability of symbols in #if.
44155 * conform/conformtest.pl: If macro or constant types start
44156 "promoted:", expect the symbol to be of the following type
44157 promoted by the integer promotions.
44159 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44160 in one place. Also handle "macro-constant".
44162 * conform/conformtest.pl: Only accept expected macro values with
44163 "==". Parse all "macro" lines in one place.
44164 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44166 * conform/conformtest.pl: Handle braced types on "constant" lines
44167 instead of handling "typed-constant".
44168 * conform/data/signal.h-data: Use "constant" instead of
44171 * conform/conformtest.pl: Handle "optional-" at start of lines in
44172 one place rather than duplicating several cases. Handle each
44173 format of "macro" line with initial "optional-".
44175 * conform/conformtest.pl: Only accept expected constant or
44176 optional-constant values with "==". Parse all "constant" lines in
44177 one place. Parse all "optional-constant" lines in one place.
44178 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44179 * conform/data/fmtmsg.h-data: Likewise.
44180 * conform/data/netinet/in.h-data: Likewise.
44181 * conform/data/tar.h-data: Likewise.
44182 * conform/data/limits.h-data: Use "==" form on "constant" and
44183 "optional-constant" lines.
44185 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44186 Use -std=c99 for XOPEN2K.
44187 (@knownproblems): Remove.
44188 (newtoken): Don't check %isknown.
44190 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44191 Do not expect macro.
44192 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44197 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44198 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44199 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44200 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44201 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44204 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44205 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44222 [XPG3] (acosh): Likewise.
44223 [XPG3] (asinh): Likewise.
44224 [XPG3] (atanh): Likewise.
44225 [XPG3] (cbrt): Likewise.
44226 [XPG3] (expm1): Likewise.
44227 [XPG3] (ilogb): Likewise.
44228 [XPG3] (log1p): Likewise.
44229 [XPG3] (logb): Likewise.
44230 [XPG3] (nextafter): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44232 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44233 [XPG3] (remainder): Likewise.
44234 [XPG3] (rint): Likewise.
44235 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44236 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44237 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44238 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44239 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44240 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44242 [UNIX98 || XOPEN2K] (scalb): Expect.
44243 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44244 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44246 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44247 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44248 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44249 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44250 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44251 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44252 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44253 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44264 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44265 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44266 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44267 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44268 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44269 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44270 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44271 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44272 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44273 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44274 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44275 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44276 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44277 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44278 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44279 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44280 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44281 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44282 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44283 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44284 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44285 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44286 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44287 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44288 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44289 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44290 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44291 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44292 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44293 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44294 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44295 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44296 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44297 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44298 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44299 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44300 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44301 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44302 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44303 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44304 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44305 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44306 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44307 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44308 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44309 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44310 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44311 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44312 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44313 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44314 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44315 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44316 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44317 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44318 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44319 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44320 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44321 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44322 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44323 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44324 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44325 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44326 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44327 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44328 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44329 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44330 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44331 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44332 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44333 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44334 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44335 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44336 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44337 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44338 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44339 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44340 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44341 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44342 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44343 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44344 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44345 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44346 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44347 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44348 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44349 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44350 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44351 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44352 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44353 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44354 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44355 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44356 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44357 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44358 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44359 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44360 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44361 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44362 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44363 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44364 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44365 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44366 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44367 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44368 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44369 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44370 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44371 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44372 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44373 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44374 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44375 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44376 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44377 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44378 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44379 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44381 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44382 _XOPEN_SOURCE_EXTENDED for XPG4.
44384 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44386 * Makeconfig (localtime): Remove variable.
44387 (inst_localtime-file): Likewise.
44389 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44410 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44414 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44415 comparisons to determine direction to adjust input.
44416 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44417 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44418 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44420 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44422 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44424 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44425 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44427 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44429 * math/libm-test.inc (nexttoward_test): Add more tests.
44431 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44434 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44435 in version GLIBC_2.1, not GLIBC_2.0.
44436 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44439 2012-04-30 Joseph Myers <joseph@codesourcery.com>
44442 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44444 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44445 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44446 * math/libm-test.inc (acos_test): Add more tests.
44447 (asin_test): Likewise.
44448 * sysdeps/i386/fpu/libm-test-ulps: Update.
44449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44452 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44454 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44455 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44456 * math/libm-test.inc (acos_test_tonearest): New function.
44457 (acos_test_towardzero): Likewise.
44458 (acos_test_downward): Likewise.
44459 (acos_test_upward): Likewise.
44460 (asin_test_tonearest): Likewise.
44461 (asin_test_towardzero): Likewise.
44462 (asin_test_downward): Likewise.
44463 (asin_test_upward): Likewise.
44464 (main): Call the new functions.
44465 * sysdeps/i386/fpu/libm-test-ulps: Update.
44466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44470 * math/e_exp10.c: Include <float.h>.
44471 (__ieee754_exp10): Handle underflow here rather than multiplying
44472 large negative argument by M_LN10.
44473 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44475 * math/e_exp10l.c: Include <float.h>.
44476 (__ieee754_exp10l): Handle underflow here rather than multiplying
44477 large negative argument by M_LN10l.
44478 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44479 spurious overflow exception on underflow.
44481 2012-04-29 Marek Polacek <polacek@redhat.com>
44483 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44484 (__fortify_function): New macro.
44485 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44486 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44487 __extern_always_inline.
44488 * libio/bits/stdio2.h: Likewise.
44489 * libio/bits/stdio.h: Likewise.
44490 * string/string.h: Likewise.
44491 * string/bits/string3.h: Likewise.
44492 * include/stdio.h: Likewise.
44493 * stdlib/bits/stdlib.h: Likewise.
44494 * stdlib/stdlib.h: Likewise.
44495 * rt/bits/mqueue2.h: Likewise.
44496 * rt/mqueue.h: Likewise.
44497 * posix/bits/unistd.h: Likewise.
44498 * posix/unistd.h: Likewise.
44499 * io/bits/poll2.h: Likewise.
44500 * io/bits/fcntl2.h: Likewise.
44501 * io/fcntl.h: Likewise.
44502 * io/sys/poll.h: Likewise.
44503 * misc/bits/syslog.h: Likewise.
44504 * misc/bits/syslog-ldbl.h: Likewise.
44505 * misc/sys/syslog.h: Likewise.
44506 * socket/bits/socket2.h: Likewise.
44507 * socket/sys/socket.h: Likewise.
44508 * debug/tst-chk1.c: Likewise.
44509 * wcsmbs/bits/wchar2.h: Likewise.
44510 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44511 * wcsmbs/wchar.h: Likewise.
44513 2012-04-29 Andreas Jaeger <aj@suse.de>
44515 * Makerules (tests): Remove enable-check-abi protection.
44516 (check-abi-warn): Remove.
44517 (check-abi-%): Remove check-abi-warn usage.
44519 * configure.in: Remove check-abi configure option.
44520 * configure: Regenerated.
44521 * config.make.in (enable-check-abi): Remove.
44523 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44526 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44527 double functions to double *_finite functions.
44530 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44531 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44533 * stdio-common/Makefile (tests): Add tst-sprintf3.
44534 * stdio-common/tst-sprintf3.c: New file.
44536 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44537 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44539 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44541 * conform/conformtest.pl: Remove duplicate typed-constant
44544 2012-04-28 David S. Miller <davem@davemloft.net>
44546 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44547 (check-abi-%): Remove AWK script prerequisite and explicit
44549 (check-abi): Rewrite to just diff the symlist with the abilist.
44550 (config-tls, config-abi-config): Delete, no longer used.
44551 (update-abi-%): Remove AWK script and explicit abilist directory.
44552 (update-abi): Rewrite to simply compare and conditionally copy the
44553 symlist and the sysdep abilist file. Remove update-abi-config
44555 * abilist/ld.abilist: Remove.
44556 * abilist/libBrokenLocale.abilist: Remove.
44557 * abilist/libanl.abilist: Remove.
44558 * abilist/libcrypt.abilist: Remove.
44559 * abilist/libdl.abilist: Remove.
44560 * abilist/librt.abilist: Remove.
44561 * abilist/libthread_db.abilist: Remove.
44562 * abilist/libutil.abilist: Remove.
44563 * scripts/extract-abilist.awk: Remove.
44564 * scripts/merge-abilist.awk: Remove.
44565 * sysdeps/generic/libcidn.abilist: New file.
44566 * sysdeps/generic/libnss_compat.abilist: New file.
44567 * sysdeps/generic/libnss_db.abilist: New file.
44568 * sysdeps/generic/libnss_dns.abilist: New file.
44569 * sysdeps/generic/libnss_files.abilist: New file.
44570 * sysdeps/generic/libnss_hesiod.abilist: New file.
44571 * sysdeps/generic/libnss_nis.abilist: New file.
44572 * sysdeps/generic/libnss_nisplus.abilist: New file.
44573 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44574 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44575 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44577 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44578 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44579 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44580 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44581 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44582 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44583 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44584 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44585 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44587 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44588 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44589 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44590 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44592 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44593 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44594 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44595 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44596 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44597 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44599 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44600 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44601 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44603 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44706 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44707 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44708 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44710 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44711 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44712 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44713 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44714 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44715 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44716 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44717 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44718 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44719 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44771 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44773 * conform/conformtest.pl: Fix typo in handling typed-constant from
44776 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44778 * README: Cut down references to pre-2.6 Linux kernels and
44779 Linuxthreads. Update lists of configurations in libc and ports
44780 and sort alphabetically. Say "or newer" with Linux kernel version
44783 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44785 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44788 * math/libm-test.inc (logb_test_downward): New test to expose
44789 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44792 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44795 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44797 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44798 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44800 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44802 * sysdeps/unix/i386/brk.S: Remove file.
44803 * sysdeps/unix/i386/dl-brk.S: Likewise.
44804 * sysdeps/unix/i386/pipe.S: Likewise.
44805 * sysdeps/unix/i386/sigreturn.S: Likewise.
44806 * sysdeps/unix/i386/syscall.S: Likewise.
44807 * sysdeps/unix/i386/vfork.S: Likewise.
44808 * sysdeps/unix/i386/wait.S: Likewise.
44810 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44811 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44813 * configure.in (arm*-none*): Do not allow without
44814 --enable-hacker-mode.
44815 (netbsd*): Remove case setting base_os.
44816 (386bsd*): Likewise.
44817 (freebsd*): Likewise.
44820 (sunos*): Likewise.
44821 (ultrix*): Likewise.
44822 (newsos*): Likewise.
44823 (dynix*): Likewise.
44829 (minix*): Likewise.
44830 (irix4*): Likewise.
44831 (irix6*): Likewise.
44832 (solaris[2-9]*): Likewise.
44834 * configure: Regenerated.
44836 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44839 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44840 overflow or cancellation in calculating denominator.
44841 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44842 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44843 down expression to avoid unexpected rounding in newer GCCs.
44844 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44846 2012-04-26 David S. Miller <davem@davemloft.net>
44848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44849 long-double compat symbols.
44850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44864 2012-04-25 David S. Miller <davem@davemloft.net>
44866 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44867 HWCAP_* values only after the memory barriers have been defined.
44868 (atomic_full_barrier): Define.
44869 (atomic_read_barrier): Define.
44870 (atomic_write_barrier): Define.
44872 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44874 * shlib-versions: Add libgcc_s version information.
44875 * sysdeps/generic/libgcc_s.h: Remove.
44876 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44878 * sysdeps/gnu/unwind-resume.c: Likewise.
44879 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44881 2012-04-25 David S. Miller <davem@davemloft.net>
44883 * sysdeps/unix/sparc/brk.S: Delete.
44884 * sysdeps/unix/sparc/dl-brk.S: Delete.
44885 * sysdeps/unix/sparc/pipe.S: Delete.
44886 * sysdeps/unix/sparc/sysdep.S: Delete.
44887 * sysdeps/unix/sparc/sysdep.h: Delete.
44888 * sysdeps/unix/sparc/vfork.S: Delete.
44889 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44890 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44891 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44892 (ret_ERRVAL, r0, r1, MOVE): Define.
44893 (JUMPTARGET): Remove.
44894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44895 sysdeps/unix/sparc/sysdep.h
44896 (ENTRY, END): Remove.
44897 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44899 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44901 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44902 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44905 * timezone/README: Update upstream location and email address for
44907 * timezone/zdump.c: Update from tzcode 2012b.
44908 * timezone/zic.c: Likewise.
44910 * configure.in (libc_cv_as_needed): Remove test.
44911 * configure: Regenerated.
44912 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44913 conditional definition.
44914 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44915 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44916 * config.make.in (have-as-needed): Remove variable.
44918 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44919 Paul Pluzhnikov <ppluzhnikov@google.com>
44921 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44924 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44926 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44927 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44928 * sysdeps/sh/strlen.S: Likewise.
44930 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44932 * sysdeps/unix/fork.S: Remove file.
44933 * sysdeps/unix/i386/fork.S: Likewise.
44934 * sysdeps/unix/sparc/fork.S: Likewise.
44936 * sysdeps/unix/system.c: Remove file.
44937 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44939 * sysdeps/unix/getegid.S: Remove file.
44940 * sysdeps/unix/geteuid.S: Likewise.
44942 2012-04-24 Roland McGrath <roland@hack.frob.com>
44944 * scripts/check-localplt.awk: New file.
44945 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44947 * scripts/data/localplt-generic.data: Add a comment.
44949 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44950 NODE when __dir_mkfile failed.
44951 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44952 Reported by Ludovic Courtès <ludo@gnu.org>.
44954 2012-04-24 Andreas Jaeger <aj@suse.de>
44956 * Makerules (common-clean): Also remove gen-as-const-headers
44959 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44961 * Makerules (native-compile): Do not change working directory for
44962 build. Use $(OUTPUT_OPTION) in command.
44963 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44965 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44968 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44969 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44970 * math/libm-test.inc (floor_test): Add more tests.
44971 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44973 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44975 * sysdeps/unix/getdents.c: Remove file.
44976 * sysdeps/unix/sysv/getdents.c: Likewise.
44977 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44979 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44980 sysdeps/unix/mman/syscalls.list.
44982 (mprotect): Likewise.
44984 (munmap): Likewise.
44985 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44986 * sysdeps/unix/mman/syscalls.list: Remove.
44987 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44989 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44990 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44991 * configure: Regenerated.
44992 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44993 $(libgcc_s_suffix).
44994 * config.make.in (libgcc_s_suffix): Remove variable.
44996 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44998 * sysdeps/unix/sysv/gethostname.c: Move to ...
44999 * sysdeps/posix/gethostname.c: ... here.
45001 * sysdeps/unix/execve.S: Remove file.
45003 * sysdeps/unix/_exit.S: Remove file.
45005 2012-04-23 Andreas Jaeger <aj@suse.de>
45008 * manual/Makefile: Remove make dist support, there's no
45009 need for a stand-alone documentation tar ball.
45010 (TEXI2DVI): Define always, it's not in Makeconfig.
45013 (edition): Removed.
45014 (glibc-doc-$(edition).tar): Removed
45018 (ETAGS): Remove, it's in Makeconfig.
45019 (move-if-change): Remove, it's in Makeconfig.
45021 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45024 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45025 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45026 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45027 (strtod_l, strtof_l, strtold_l): Remove __wur.
45028 It is not necessarily an error to ignore strtol's return value.
45029 One can reliably look at the stored endptr to decide whether
45030 the number had valid syntax.
45032 2012-04-21 Andreas Jaeger <aj@suse.de>
45035 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45037 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45039 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45040 * sysdeps/unix/sysv/Versions: Remove file.
45042 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45047 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45050 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45051 version from __vm86.
45053 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45055 * sysdeps/unix/common/lxstat.c: Remove file.
45056 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45058 * sysdeps/unix/sysv/Makefile: Remove file.
45060 * sysdeps/unix/sysv/direct.h: Remove file.
45062 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45063 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45064 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45065 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45066 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45067 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45068 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45070 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45072 * sysdeps/unix/xmknod.c: Remove file.
45073 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45075 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45077 * sysdeps/unix/sysv/i386/time.S: Remove file.
45079 * sysdeps/unix/fxstat.c: Remove file.
45080 * sysdeps/unix/xstat.c: Likewise.
45081 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45083 * sysdeps/unix/sysv/sigaction.c: Remove file.
45085 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45086 (sysdep_headers): Remove variable.
45087 [termio.h not in sysdep_headers] (generated): Likewise.
45088 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45089 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45090 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45091 * sysdeps/unix/sysv/tcflow.c: Likewise.
45092 * sysdeps/unix/sysv/tcflush.c: Likewise.
45093 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45094 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45095 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45096 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45097 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45099 * sysdeps/unix/siglist.c: Remove file.
45101 * sysdeps/unix/getppid.S: Remove file.
45103 * sysdeps/unix/mkdir.c: Remove file.
45104 * sysdeps/unix/rmdir.c: Likewise.
45106 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45108 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45110 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45111 errlist-compat value.
45113 2012-04-18 David S. Miller <davem@davemloft.net>
45115 * sysdeps/generic/memcopy.h (reg_char): Delete.
45116 * debug/strcat_chk.c: Use char, not reg_char.
45117 * debug/strcpy_chk.c: Likewise.
45118 * debug/strncat_chk.c: Likewise.
45119 * debug/strncpy_chk.c: Likewise.
45120 * string/memchr.c: Likewise.
45121 * string/memrchr.c: Likewise.
45122 * string/rawmemchr.c: Likewise.
45123 * string/strcat.c: Likewise.
45124 * string/strchr.c: Likewise.
45125 * string/strchrnul.c: Likewise.
45126 * string/strcmp.c: Likewise.
45127 * string/strcpy.c: Likewise.
45128 * string/strncat.c: Likewise.
45129 * string/strncmp.c: Likewise.
45130 * string/strncpy.c: Likewise.
45132 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45134 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45135 __builtin_memcopy is called when src and dest ranges are known to not
45138 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45141 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45142 fwd_align_merge macro call.
45143 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45144 bwd_align_merge macro call.
45145 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45147 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45149 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45150 bwd_align_merge macros.
45151 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45152 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45153 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45155 2012-04-18 David S. Miller <davem@davemloft.net>
45157 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45159 2012-04-18 Andreas Jaeger <aj@suse.de>
45162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45163 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45164 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45166 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45167 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45168 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45170 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45171 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45172 Adjust for changed ldbl-128 files.
45174 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45175 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45176 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45178 2012-04-17 David S. Miller <davem@davemloft.net>
45180 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45182 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45184 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45185 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45186 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45187 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45188 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45189 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45191 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45194 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45195 * math/libm-test.inc: Add ilogb errno and exception tests.
45196 * math/w_ilogb.c: New file: ilogb wrapper.
45197 * math/w_ilogbf.c: New file: ilogbf wrapper.
45198 * math/w_ilogbl.c: New file: ilogbl wrapper.
45199 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45200 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45201 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45202 exception being thrown with 0.0 as argument.
45203 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45204 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45205 exception being thrown with 0.0 as argument.
45206 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45207 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45208 exception being thrown with 0.0 as argument.
45209 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45210 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45211 exception being thrown with 0.0 as argument.
45212 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45213 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45215 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45216 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45217 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45218 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45219 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45220 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45222 2012-04-17 Petr Baudis <pasky@ucw.cz>
45224 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45227 2012-04-16 Marek Polacek <polacek@redhat.com>
45229 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45231 2012-04-16 Marek Polacek <polacek@redhat.com>
45233 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45234 operands of fdivp instruction.
45236 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45238 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45239 * elf/tst-auditmod3b.c: Likewise.
45240 * elf/tst-auditmod4b.c: Likewise.
45241 * elf/tst-auditmod5b.c: Likewise.
45242 * elf/tst-auditmod6b.c: Likewise.
45243 * elf/tst-auditmod6c.c: Likewise.
45244 * elf/tst-auditmod7b.c: Likewise.
45245 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45246 * sysdeps/x86_64/preconfigure.in: Likewise.
45247 * sysdeps/x86_64/preconfigure: Regenerated.
45249 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45251 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45254 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45256 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45257 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45259 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45262 * locale/iso-639.def: Fix gl language name. Spotted by
45265 2012-04-12 Roland McGrath <roland@hack.frob.com>
45268 * libio/libio.h (__io_write_fn): Update comment.
45270 2012-04-12 Petr Baudis <pasky@ucw.cz>
45273 * stdio.texi (Hook Functions): The user provided writer function
45274 is not allowed to return -1.
45276 2012-04-11 David S. Miller <davem@davemloft.net>
45278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45280 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45282 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45283 Add a leading slash to rtkaio.
45285 2012-04-11 Jim Meyering <meyering@redhat.com>
45288 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45289 It is not necessarily an error to ignore fwrite's return
45290 value. One can reliably use ferror to test for errors after
45293 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45295 * bits/types.h (__snseconds_t): New type.
45296 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45298 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45300 (__SNSECONDS_T_TYPE): Likewise.
45301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45302 (__SNSECONDS_T_TYPE): Likewise.
45303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45304 (__SNSECONDS_T_TYPE): Likewise.
45306 2012-04-10 Andreas Jaeger <aj@suse.de>
45309 * manual/time.texi (Processor Time): Return type of times is
45310 elapsed real time since an arbitrary point in the past.
45311 (CPU Time): Move CLK_TCK from here...
45312 (Processor Time): ...to here. Correct description.
45313 * manual/conf.texi (Constants for Sysconf): Correct description of
45316 2012-04-10 David S. Miller <davem@davemloft.net>
45319 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45320 where the is a gap between DT_REL(A) and DT_JMPREL.
45322 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45324 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45325 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45326 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45328 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45330 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45331 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45332 (dl_main): Handle --inhibit-cache.
45333 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45335 * elf/dl-load.c (_dl_map_object): Use it.
45336 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45338 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45341 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45342 (__ieee754_powl): Saturate large exponents rather than testing for
45343 overflow of y*log2(x).
45344 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45345 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45349 * math/s_ctan.c: Include <float.h>.
45350 (__ctan): Avoid internal overflow or cancellation in calculating
45352 * math/s_ctanf.c: Likewise.
45353 * math/s_ctanl.c: Likewise.
45354 * math/s_ctanh.c: Likewise.
45355 * math/s_ctanhf.c: Likewise.
45356 * math/s_ctanhl.c: Likewise.
45357 * math/libm-test.inc (ctan_test): Add more tests.
45358 (ctanh_test): Likewise.
45359 * sysdeps/i386/fpu/libm-test-ulps: Update.
45360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45362 2012-04-09 Andreas Jaeger <aj@suse.de>
45365 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45366 is an optional BSD extension.
45369 * manual/stdio.texi (Opening Streams): Document additional fopen
45372 2012-04-09 Roland McGrath <roland@hack.frob.com>
45374 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45375 %eax without telling the compiler.
45377 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45380 * manual/install.texi: Use sourceware.org.
45382 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45385 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45386 (__ieee754_pow): Generate overflow and underflow using huge*huge
45387 and tiny*tiny rather than just returning constant infinity or zero
45388 for large exponents.
45389 * math/libm-test.inc (pow_test): Require overflow exceptions for
45390 applicable cases of large exponents.
45393 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45394 (__ieee754_pow): Use iterative multiplication algorithm only for
45395 integer exponents with absolute value below 1024. Check for odd
45396 integer exponents when using algorithm for real exponents.
45397 * math/libm-test.inc (pow_test): Add more tests.
45398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45400 2012-04-08 Joseph Myers <joseph@codesourcery.com>
45403 * math/libm-test.inc (exp_test): Do not allow overflow exception
45406 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45409 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45410 instead of __kernel_standard_f.
45412 2012-04-08 Mike Frysinger <vapier@gentoo.org>
45414 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45415 * sysdeps/x86_64/memset_chk.S: Likewise.
45417 2012-04-08 Andreas Jaeger <aj@suse.de>
45420 * manual/startup.texi (Environment Access): Describe return value
45421 for putenv and setenv.
45424 * manual/filesys.texi (Directory Entries): Add description for
45428 * manual/filesys.texi (Directory Entries): Clarify that it's file
45429 system not operating system in the description of DT_UNKNOWN.
45432 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45434 2012-04-08 Stephen Compall <s11@member.fsf.org>
45437 * manual/llio.texi (Opening and Closing Files): Add cross
45438 reference to explain mode argument.
45440 2012-04-07 Mike Frysinger <vapier@gentoo.org>
45442 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45443 * sysdeps/x86_64/memset_chk.S: Likewise.
45445 2012-04-07 David S. Miller <davem@davemloft.net>
45447 * elf/elf.h (R_SPARC_WDISP10): Define.
45448 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45450 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45451 R_SPARC_SIZE64 and R_SPARC_H34.
45453 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45455 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45456 conditions and remove no longer applicable assertion.
45458 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45460 * bits/byteswap.h: Include <features.h>.
45461 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45462 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45464 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45466 * bits/byteswap.h (__bswap_16): Removed.
45467 Include <bits/byteswap-16.h> to get __bswap_16.
45468 * sysdeps/i386/bits/byteswap.h: Likewise.
45469 * sysdeps/s390/bits/byteswap.h: Likewise.
45470 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45471 * bits/byteswap-16.h: New file.
45472 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45473 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45474 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45475 * string/Makefile (headers): Add bits/byteswap-16.h.
45477 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45480 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45482 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45483 * nss/tst-nss-static.c: New.
45485 2012-04-06 Robert Millan <rmh@gnu.org>
45488 * manual/llio.texi (File Position Primitive): lseek
45489 refers to WHENCE when it really means OFFSET.
45491 2012-04-06 Andreas Jaeger <aj@suse.de>
45493 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45494 strncmp declarations.
45496 * abilist/libc.abilist: Add __poll and __ppoll.
45498 2012-04-05 David S. Miller <davem@davemloft.net>
45500 * scripts/check-local-headers.sh: Accept a host triplet in the
45501 path matched by the exclude regexp.
45503 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45505 * sysdeps/powerpc/powerpc32/dl-machine.h
45506 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45507 * sysdeps/s390/s390-32/dl-machine.h
45508 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45509 * sysdeps/sparc/sparc32/dl-machine.h
45510 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45511 * sysdeps/sparc/sparc64/dl-machine.h
45512 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45514 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45516 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45517 undefined symbol errors.
45519 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45522 2012-04-05 Michael Matz <matz@suse.de>
45525 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45527 2012-04-05 Andreas Jaeger <aj@suse.de>
45530 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45533 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45535 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45536 which ROUND is no valid rounding mode.
45538 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45540 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45542 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45544 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45546 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45547 an exception using FPU order intentionally.
45549 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45551 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45552 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45553 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45554 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45556 2012-04-05 Simon Josefsson <simon@josefsson.org>
45559 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45560 EINVAL when BUFLEN is too smal.
45562 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45565 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45566 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45568 2012-04-03 Andreas Jaeger <aj@suse.de>
45571 * manual/setjmp.texi (System V contexts): Fix sentence.
45574 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45575 New macro for this case.
45576 [!__GNUC__] (__bswap_64): New inline function for this case.
45577 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45578 * bits/byteswap.h: Likewise.
45579 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45580 ull, guard with __GLIBC_HAVE_LONG_LONG.
45582 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45583 __GLIBC_HAVE_LONG_LONG.
45585 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45586 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45588 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45591 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45592 inptr and inend, rather than using last_ch.
45594 2012-04-02 David S. Miller <davem@davemloft.net>
45596 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45597 * stdio-common/printf-parse.h (read_int): Change return type to
45598 'int', return -1 on INT_MAX overflow.
45599 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45600 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45601 overflows INT_MAX. Check for overflow of in-format-string precision
45602 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45603 SIZE_MAX not INT_MAX for integer overflow test.
45604 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45605 skip the construct in the format string but do not record anything.
45606 * stdio-common/bug22.c: Adjust to test both width/prevision
45607 INT_MAX overflow as well as total length INT_MAX overflow. Check
45608 explicitly for proper errno values.
45610 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45612 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45614 * string/test-strcmp.c [! WIDE]: Likewise.
45615 * time/tst-mktime2.c: Likewise for INT_MAX.
45616 * string/test-string.h: #include <sys/param.h> for MIN.
45618 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45619 * sysdeps/i386/init-first.c (init): Likewise.
45620 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45621 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45622 * sysdeps/sh/init-first.c (init): Likewise.
45624 2012-04-01 Ulrich Drepper <drepper@gmail.com>
45626 * po/ru.po: Update from translation team.
45627 * po/vi.po: Likewise.
45629 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45631 * resolv/nss_dns/dns-host.c: Merge copyright years.
45633 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45635 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45636 Optimize memcpy with prefetch if
45637 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45638 src, dst pointers have unequal 16 byte alignments.
45640 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45643 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45644 from a CNAME entry and return the minimum ttl for the query.
45645 (gaih_getanswer_slice): Likewise.
45647 2012-03-30 Jeff Law <law@redhat.com>
45649 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45651 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45652 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45654 * resolv/nss_dns/dns-host.c: Update copyright year.
45656 2012-03-30 Ulrich Drepper <drepper@gmail.com>
45658 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45659 requests to save a system call. Fix check that all bytes are sent.
45661 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45662 comments for sendmmsg.
45664 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45667 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45668 with only 1 character between 0x0041 and 0x01b0.
45669 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45670 * wcsmbs/tst-mbsnrtowcs.c: New file.
45672 2012-03-29 David S. Miller <davem@davemloft.net>
45674 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45675 small copies by hand.
45677 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45680 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45681 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45684 2012-03-28 David S. Miller <davem@davemloft.net>
45686 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45687 that branches into memcpy.
45688 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45689 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45690 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45691 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45694 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45695 implementation too.
45696 * sysdeps/sparc/mempcpy.S: New file.
45698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45699 the IFUNC routine in the libc case.
45700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45702 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45703 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45704 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45705 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45706 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45707 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45708 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45709 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45711 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45712 loop to 256 bytes instead of 64 bytes and fix test signedness.
45714 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45715 * sysdeps/sparc/sparc32/Makefile: rather than here...
45716 * sysdeps/sparc/sparc64/Makefile: and here.
45718 2012-03-28 Ulrich Drepper <drepper@gmail.com>
45720 * malloc/mallocbug.c: Avoid warnings about unused variables.
45722 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45725 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45726 in the right place. Discard and retry query if response is
45727 larger than input buffer size.
45729 2012-03-28 Joseph Myers <joseph@codesourcery.com>
45734 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45735 x for large integer exponent.
45736 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45737 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45738 sign of result as needed afterwards.
45739 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45740 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45741 result for underflowing pow the same as for overflow.
45742 (__kernel_standard_l): Handle powl overflow and underflow here
45743 rather than calling __kernel_standard.
45744 * math/libm-test.inc (pow_test): Add more tests.
45759 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45760 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45761 (__kernel_standard_l): New function.
45762 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45764 * math/w_acosl.c (__acosl): Likewise.
45765 * math/w_asinl.c (__asinl): Likewise.
45766 * math/w_atan2l.c (__atan2l): Likewise.
45767 * math/w_atanhl.c (__atanhl): Likewise.
45768 * math/w_coshl.c (__coshl): Likewise.
45769 * math/w_exp10l.c (__exp10l): Likewise.
45770 * math/w_exp2l.c (__exp2l): Likewise.
45771 * math/w_fmodl.c (__fmodl): Likewise.
45772 * math/w_hypotl.c (__hypotl): Likewise.
45773 * math/w_j0l.c (__j0l, __y0l): Likewise.
45774 * math/w_j1l.c (__j1l, __y1l): Likewise.
45775 * math/w_jnl.c (__jnl, __ynl): Likewise.
45776 * math/w_lgammal.c (__lgammal): Likewise.
45777 * math/w_log10l.c (__log10l): Likewise.
45778 * math/w_log2l.c (__log2l): Likewise.
45779 * math/w_logl.c (__logl): Likewise.
45780 * math/w_powl.c (__powl): Likewise.
45781 * math/w_remainderl.c (__remainderl): Likewise.
45782 * math/w_scalbl.c (sysv_scalbl): Likewise.
45783 * math/w_sinhl.c (__sinhl): Likewise.
45784 * math/w_sqrtl.c (__sqrtl): Likewise.
45785 * math/w_tgammal.c (__tgammal): Likewise.
45786 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45787 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45788 * math/libm-test.inc (acos_test): Add more tests.
45789 (acosh_test): Likewise.
45790 (asin_test): Likewise.
45791 (atanh_test): Likewise.
45792 (exp_test): Likewise.
45793 (exp10_test): Likewise.
45794 (exp2_test): Likewise.
45795 (expm1_test): Likewise.
45796 (lgamma_test): Likewise.
45797 (log_test): Likewise.
45798 (log10_test): Likewise.
45799 (log1p_test): Likewise.
45800 (log2_test): Likewise.
45801 (pow_test): Do not allow some spurious overflow exceptions.
45802 (sqrt_test): Add more tests.
45803 (tgamma_test): Likewise.
45804 (y0_test): Likewise.
45805 (y1_test): Likewise.
45806 (yn_test): Likewise.
45808 2012-03-27 Anton Blanchard <anton@samba.org>
45810 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45812 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45813 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45814 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45816 2012-03-27 David S. Miller <davem@davemloft.net>
45818 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45820 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45821 have-as-vis3 check.
45823 2012-03-27 Andreas Jaeger <aj@suse.de>
45825 * sysdeps/x86_64/elf/configure.in: Moved to ...
45826 * sysdeps/x86_64/configure.in: ... here.
45827 * sysdeps/x86_64/elf/start.S: Moved to ...
45828 * sysdeps/x86_64/start.S: ... here.
45829 * sysdeps/x86_64/elf/configure: Delete.
45831 * sysdeps/x86_64/configure.in: Merge contents from
45832 sysdeps/i386/configure.in (without i686 check).
45834 * sysdeps/i386/elf/Versions: Merge into ...
45835 * sysdeps/i386/Versions: ... this.
45836 * sysdeps/i386/elf/Versions: Delete file.
45837 * sysdeps/i386/elf/start.S: Moved to ...
45838 * sysdeps/i386/start.S: ...here.
45839 * sysdeps/i386/elf/configure.in: Merge into...
45840 * sysdeps/i386/configure.in: ...here.
45841 * sysdeps/i386/elf/configure.in: Delete file.
45842 * sysdeps/i386/elf/configure: Delete file.
45844 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45845 * debug/backtracesyms.c: ... here.
45846 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45847 * debug/backtracesymsfd.c: ... here.
45848 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45849 * sysdeps/generic/ifunc-sel.h: ... here.
45851 * sysdeps/unix/i386/start.c: Delete file.
45852 * sysdeps/unix/sparc/start.c: Delete file.
45853 * sysdeps/unix/start.c: Delete file.
45855 * sysdeps/sh/elf/configure.in: Moved to ...
45856 * sysdeps/sh/configure.in: ... here.
45857 * sysdeps/sh/elf/start.S: Moved to ...
45858 * sysdeps/sh/start.S: ... here.
45859 * sysdeps/sh/elf/configure: Delete file.
45861 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45862 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45863 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45864 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45865 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45866 * sysdeps/powerpc/powerpc64/start.S: here.
45867 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45868 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45869 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45870 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45871 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45873 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45874 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45875 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45876 * sysdeps/powerpc/powerpc32/start.S: ... here.
45877 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45878 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45879 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45881 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45882 * sysdeps/powerpc/ifunc-sel.h: ... here.
45883 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45884 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45886 * sysdeps/sparc/elf/configure.in: Moved to ...
45887 * sysdeps/sparc/configure.in: ... here.
45888 * sysdeps/sparc/elf/configure: Delete file.
45889 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45890 * sysdeps/sparc/sparc32/start.S: ... here.
45891 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45892 * sysdeps/sparc/sparc64/start.S: ... here.
45893 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45894 * sysdeps/sparc/sparc32/Makefile: ... this.
45895 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45896 * sysdeps/sparc/sparc64/Makefile: ... this.
45898 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45899 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45900 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45901 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45902 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45903 * sysdeps/s390/s390-32/setjmp.S: ... here.
45904 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45905 * sysdeps/s390/s390-32/configure.in: ... here.
45906 * sysdeps/s390/s390-32/elf/configure: Delete file.
45907 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45908 * sysdeps/s390/s390-32/start.S: ... here.
45910 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45911 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45912 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45913 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45914 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45915 * sysdeps/s390/s390-64/setjmp.S: ... here.
45916 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45917 * sysdeps/s390/s390-64/configure.in: ... here
45918 * sysdeps/s390/s390-64/elf/configure: Delete file.
45919 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45920 * sysdeps/s390/s390-64/start.S: ... here.
45921 * sysdeps/s390/s390-64/elf/configure: Delete.
45923 * configure.in: Remove support for elf directories in sysdeps.
45925 * configure: Regenerated.
45926 * sysdeps/i386/configure: Regenerated.
45927 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45928 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45929 * sysdeps/s390/s390-32/configure: Regenerated.
45930 * sysdeps/s390/s390-64/configure: Regenerated.
45931 * sysdeps/sh/configure: Regenerated.
45932 * sysdeps/sparc/configure: Regenerated.
45933 * sysdeps/x86_64/configure: Regenerated.
45935 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45939 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45940 denormal result into account.
45942 2012-03-25 Roland McGrath <roland@hack.frob.com>
45944 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45945 Reported by Allan McRae <allan@archlinux.org>.
45947 2012-03-23 Jeff Law <law@redhat.com>
45949 * nss/getnssent.c (__nss_getent): Fix typo.
45951 2012-03-23 David S. Miller <davem@davemloft.net>
45953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45955 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45957 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45958 to pad to uint64_t for each field.
45959 (dl_tls_index): Replace unsigned long with uint64_t.
45961 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45962 Paul Pluzhnikov <ppluzhnikov@google.com>
45965 * grp/Makefile (otherlibs): Don't set it.
45966 * inet/Makefile (otherlibs): Likewise.
45967 * login/Makefile (otherlibs): Likewise.
45968 * nscd/Makefile (otherlibs): Likewise.
45969 * posix/Makefile (otherlibs): Likewise.
45970 * pwd/Makefile (otherlibs): Likewise.
45971 * rt/Makefile (otherlibs): Likewise.
45972 * sunrpc/Makefile (otherlibs): Likewise.
45973 * nss/Makefile (otherlibs): Likewise.
45974 Add libnss_files to routines and static-only-routines.
45975 ($(objpfx)getent): Remove rule.
45976 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45977 static-only-routines.
45979 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45982 * math/s_cexp.c: Include <float.h>.
45983 (__cexp): Handle exp result overflowing not necessarily
45984 overflowing both real and imaginary parts of result.
45985 * math/s_cexpf.c: Likewise.
45986 * math/s_cexpl.c: Likewise.
45987 * math/libm-test.inc (cexp_test): Add more tests.
45988 * sysdeps/i386/fpu/libm-test-ulps: Update.
45989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45991 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45993 * include/link.h (ELFW): New macro.
45994 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45995 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45997 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45999 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46002 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46004 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46006 (struct La_x32_retval): Likewise.
46008 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46010 * sysdeps/x86_64/preconfigure.in: New file.
46011 * sysdeps/x86_64/preconfigure: New generated file.
46013 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46016 * math/e_exp2l.c: Include <float.h>.
46017 (__ieee754_exp2l): Handle overflow and underflow cases
46018 separately. Only pass fractional part of argument to
46020 * math/libm-test.inc (exp2_test): Add more tests.
46022 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46023 negating x to take absolute value.
46024 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46026 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46027 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46029 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46030 computing low part if x was negated.
46031 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46033 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46035 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46036 la_x32_gnu_pltexit.
46037 (pltexit): Cast int_retval to ptrdiff_t.
46038 * elf/tst-auditmod3b.c: Likewise.
46039 * elf/tst-auditmod4b.c: Likewise.
46040 * elf/tst-auditmod5b.c: Likewise.
46041 * elf/tst-auditmod6b.c: Likewise.
46042 * elf/tst-auditmod6c.c: Likewise.
46043 * elf/tst-auditmod7b.c: Likewise.
46045 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46046 and x32_gnu_pltexit.
46048 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46049 __ELF_NATIVE_CLASS.
46050 (La_x32_regs): New macro.
46051 (La_x32_retval): Likewise.
46052 (la_x32_gnu_pltenter): New function prototype.
46053 (la_x32_gnu_pltexit): Likewise.
46055 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46062 * configure.in (libc_cv_cc_nofma): Check for option to disable
46063 generation of FMA instructions.
46064 * configure: Regenerate.
46065 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46066 * sysdeps/ieee754/dbl-64/Makefile: New file.
46067 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46068 Remove brandred-fma4.
46069 (CFLAGS-brandred-fma4.c): Remove.
46070 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46071 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46073 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46076 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46078 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46079 LLONG_MAX != LONG_MAX.
46080 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46081 (_fitoa_word): Likewise.
46082 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46083 LLONG_MAX != LONG_MAX.
46084 * stdio-common/_itowa.h: Include <_itoa.h>.
46085 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46086 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46087 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46088 only if not defined.
46089 (_ITOA_WORD_TYPE): Likewise.
46090 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46091 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46093 2012-03-21 David S. Miller <davem@davemloft.net>
46095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46097 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46099 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46100 of x86_64 when setting libc_cv_slibdir, libdir and
46102 * sysdeps/unix/sysv/linux/configure: Regenerated.
46104 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46106 * manual/lang.texi (Old Varargs): Remove section.
46107 (How Variadic): Update menu.
46108 (va_start): Do not mention varargs.h.
46110 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46111 Joseph Myers <joseph@codesourcery.com>
46113 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46115 * configure: Regenerated.
46117 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46119 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46120 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46123 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46126 * Makefile (files-for-dist): Remove NOTES.
46127 (NOTES): Remove rule.
46128 * README: Don't refer to NOTES.
46129 * manual/creature.texi: Don't include macros.texi.
46130 * manual/intro.texi (creature.texi): Remove comment referring to
46133 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46134 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46135 * configure: Regenerated.
46136 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46137 LIBC_TRY_CC_OPTION.
46138 (libc_cv_as_i686): Likewise.
46139 (libc_cv_cc_avx): Likewise.
46140 (libc_cv_cc_sse2avx): Likewise.
46141 (libc_cv_cc_fma4): Likewise.
46142 (libc_cv_cc_novzeroupper): Likewise.
46143 * sysdeps/i386/configure: Regenerated.
46146 * sysdeps/i386/fpu/s_cexp.S: Remove.
46147 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46148 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46149 * math/libm-test.inc (cexp_test): Add more tests.
46150 * sysdeps/i386/fpu/libm-test-ulps: Update.
46151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46153 2012-03-21 Allan McRae <allan@archlinux.org>
46155 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46157 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46160 * math/w_exp2.c: Do not include <float.h>.
46161 (o_threshold, u_threshold): Remove.
46162 (__exp2): Calculate result before checking finiteness and calling
46164 * math/w_exp2f.c: Likewise.
46165 * math/w_exp2l.c: Likewise.
46166 * math/libm-test.inc (exp2_test): Require overflow exception for
46170 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46171 range of signed 64-bit integers before using fistpll. Remove
46172 checks for whether integers fit in mantissa bits.
46173 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46174 the range of signed 32-bit integers before using fistpl. Remove
46175 checks for whether integers fit in mantissa bits.
46176 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46177 (__ieee754_powl): Test for y outside the range of signed 64-bit
46178 integers before using fistpll. Reduce 64-bit values to 63-bit
46180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46181 divide-by-zero is raised for zero to large negative powers.
46182 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46183 (__ieee754_powl): Test for y outside the range of signed 64-bit
46184 integers before using fistpll. Reduce 64-bit values to 63-bit
46186 * math/libm-test.inc (pow_test): Add more tests.
46188 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46190 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46191 <stdio-common/_itoa.h>.
46192 * debug/segfault.c: Likewise.
46193 * elf/dl-cache.c: Likewise.
46194 * elf/dl-minimal.c: Likewise.
46195 * elf/dl-misc.c: Likewise.
46196 * elf/dl-sysdep.c: Likewise.
46197 * elf/dl-version.c: Likewise.
46198 * elf/rtld.c: Likewise.
46199 * hurd/hurdsock.c: Likewise.
46200 * hurd/lookup-retry.c: Likewise.
46201 * malloc/malloc.c: Likewise.
46202 * malloc/mtrace.c: Likewise.
46203 * nscd/nscd_getgr_r.c: Likewise.
46204 * nscd/nscd_getpw_r.c: Likewise.
46205 * nscd/nscd_getserv_r.c: Likewise.
46206 * posix/getopt_init.c: Likewise.
46207 * posix/wordexp.c: Likewise.
46208 * stdio-common/_itoa.c: Likewise.
46209 * stdio-common/printf_fphex.c: Likewise.
46210 * stdio-common/vfprintf.c: Likewise.
46211 * string/_strerror.c: Likewise.
46212 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46213 * sysdeps/i386/i686/hp-timing.h: Likewise.
46214 * sysdeps/mach/_strerror.c: Likewise.
46215 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46216 * sysdeps/mach/hurd/sethostid.c: Likewise.
46217 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46218 * sysdeps/mach/xpg-strerror.c: Likewise.
46219 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46220 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46221 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46222 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46223 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46224 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46225 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46226 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46227 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46228 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46229 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46230 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46231 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46232 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46233 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46234 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46235 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46236 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46237 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46238 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46239 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46241 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46243 * stdio-common/_itoa.h: Moved to ...
46244 * sysdeps/generic/_itoa.h: Here.
46246 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46248 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46249 instead of "_itoa.h" and "_itowa.h".
46250 * stdio-common/vfprintf.: Likewise.
46252 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46254 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46256 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46257 (__signbit): Likwise.
46258 (llrintf): Likwise.
46261 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46263 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46266 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46268 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46269 OVERFLOW_EXCEPTION_OK.
46270 * math/libm-test.inc ("Philosophy"): Update comment about
46272 (OVERFLOW_EXCEPTION): Define.
46273 (OVERFLOW_EXCEPTION_OK): Likewise.
46274 (INVALID_EXCEPTION_OK): Renumber.
46275 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46276 (IGNORE_ZERO_INF_SIGN): Likewise.
46277 (test_exceptions): Handle FE_OVERFLOW.
46278 (exp10_test): Expect overflow exceptions.
46279 (exp2_test): Likewise.
46280 (expm1_test): Likewise.
46281 (nextafter_test): Likewise.
46282 (pow_test): Likewise.
46283 (scalbn_test): Likewise.
46284 (scalbln_test): Likewise.
46286 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46288 * sysdeps/x86_64/bits/atomic.h
46289 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46291 (atomic_exchange_acq): Likewise.
46292 (__arch_exchange_and_add_body): Likewise.
46293 (__arch_add_body): Likewise.
46294 (atomic_add_negative): Likewise.
46295 (atomic_add_zero): Likewise.
46297 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46299 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46300 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46302 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46304 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46305 Check __x86_64__ instead of __WORDSIZE.
46307 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46309 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46311 2012-03-19 David S. Miller <davem@davemloft.net>
46313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46315 * sysdeps/sparc/fpu/fenv_private.h: New file.
46316 * sysdeps/sparc/fpu/math_private.h: Use it.
46317 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46319 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46320 (libc_feholdexcept_setroundl): Remove.
46321 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46323 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46324 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46326 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46328 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46329 int64_t instead of long int.
46330 (INSERT_WORDS64): Likwise.
46332 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46334 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46335 _Unwind_GetCFA return to _Unwind_Ptr first.
46337 2012-03-19 Joseph Myers <joseph@codesourcery.com>
46340 * math/s_clog.c: Include <float.h>.
46341 (__clog): Scale large or subnormal inputs.
46342 * math/s_clogf.c: Likewise.
46343 * math/s_clogl.c: Likewise.
46344 * math/s_clog10.c: Include <float.h>.
46345 (M_LOG10_2): Define.
46346 (__clog10): Scale large or subnormal inputs.
46347 * math/s_clog10f.c: Likewise.
46348 * math/s_clog10l.c: Likewise.
46349 * math/libm-test.inc (clog_test): Add more tests.
46350 (clog10_test): Likewise.
46351 * sysdeps/i386/fpu/libm-test-ulps: Update.
46352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46355 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46357 * math/libm-test.inc (atan2_test): Add another test.
46359 * Makerules (common-objdir-compile): Remove.
46360 * sysdeps/unix/Makefile (config-generated): Do not add
46361 $(unix-generated) to variable.
46362 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46363 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46365 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46367 [generic bits/local_lim.h] (before-compile): Do not append to
46369 [generic bits/local_lim.h] (common-generated): Likewise.
46370 [generic sys/param.h] (before-compile): Do not append to variable.
46371 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46372 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46373 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46374 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46376 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46377 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46378 [generic sys/param.h] ($(addprefix
46379 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46380 [generic sys/param.h] (common-generated): Do not append to
46382 [generic sys/param.h] (sysdep_headers): Likewise.
46383 [generic bits/errno.h] (before-compile): Do not append to
46385 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46387 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46388 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46389 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46390 [generic bits/errno.h] (common-generated): Do not append to
46392 [generic bits/ioctls.h] (before-compile): Do not append to
46394 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46396 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46397 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46398 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46400 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46401 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46402 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46403 [generic bits/ioctls.h] (common-generated): Do not append to
46405 [generic sys/syscall.h] (syscall.h): Remove variable.
46406 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46408 [generic sys/syscall.h] (before-compile): Do not append to
46410 [generic sys/syscall.h] (common-generated): Likewise.
46411 * sysdeps/unix/errnos-tmpl.c: Remove file.
46412 * sysdeps/unix/errnos.awk: Likewise.
46413 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46414 * sysdeps/unix/ioctls.awk: Likewise.
46415 * sysdeps/unix/mk-local_lim.c: Likewise.
46416 * sysdeps/unix/snarf-ioctls: Likewise.
46418 2012-03-19 Richard Henderson <rth@twiddle.net>
46420 * sysdeps/i386/fpu/fenv_private.h: New file.
46421 * sysdeps/i386/fpu/math_private.h: Use it.
46422 (math_opt_barrier, math_force_eval): Remove.
46423 (libc_feholdexcept_setround_53bit): Remove.
46424 (libc_feupdateenv_53bit): Remove.
46425 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46426 (math_opt_barrier, math_force_eval): Remove.
46427 (libc_feholdexcept): Remove.
46428 (libc_feholdexcept_setround): Remove.
46429 (libc_fetestexcept, libc_fesetenv): Remove.
46430 (libc_feupdateenv_test): Remove.
46431 (libc_feupdateenv, libc_feholdsetround): Remove.
46432 (libc_feresetround): Remove.
46434 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46435 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46437 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46438 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46439 (libc_feupdateenv_testl): New.
46440 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46441 (libc_feupdateenv_testf): New.
46442 (libc_feupdateenv): Use libc_feupdateenv_test.
46443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46444 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46446 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46447 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46448 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46449 (libc_feresetround_noex): New.
46450 (libc_feresetround_noexf): New.
46451 (libc_feresetround_noexl): New.
46452 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46453 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46454 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46455 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46457 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46458 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46460 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46461 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46462 SET_RESTORE_ROUND_NOEX.
46463 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46464 SET_RESTORE_ROUND_NOEXF.
46465 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46466 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46467 (libc_feholdsetroundf): New.
46468 (libc_feresetround, libc_feresetroundf): New.
46470 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46471 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46472 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46474 * sysdeps/generic/math_private.h: Include <fenv.h>.
46475 (default_libc_feholdexcept): New.
46476 (default_libc_feholdexcept_setround): New.
46477 (default_libc_fesetenv, default_libc_feupdateenv): New.
46478 (libc_feholdexcept): Only define if undefined.
46479 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46480 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46481 (libc_feholdexcept_setroundl): Likewise.
46482 (libc_feholdexcept_setround_53bit): Likewise.
46483 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46484 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46485 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46486 (libc_feupdateenv_53bit): Likewise.
46487 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46488 (libc_feholdexcept): Convert from macro to inline function.
46489 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46490 (libc_fesetenv, libc_feupdateenv): Likewise.
46492 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46493 not previously defined.
46494 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46495 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46496 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46497 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46498 * sysdeps/ieee754/flt-32/math_private.h: New file.
46499 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46500 math_private.h below SET_FLOAT_WORD.
46501 (__isnan, __isinf_ns, __finite): Remove.
46502 (__isnanf, __isinf_nsf, __finitef): Remove.
46504 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46508 2012-03-17 David S. Miller <davem@davemloft.net>
46511 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46514 2012-03-16 David S. Miller <davem@davemloft.net>
46516 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46520 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46522 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46523 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46524 sysdep_routines when subdir is sysvipc.
46525 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46526 __getshmlba helper.
46528 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46530 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46532 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46535 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46537 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46538 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46539 (__lround): Renamed to ...
46540 (__llround): This. Replace long int with long long int.
46541 Define lround functions as aliases of llround functions.
46542 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46544 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46546 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46547 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46548 adresses to uintptr_t. Replace "long int" and "unsigned long
46549 int" with "greg_t" on va_arg.
46551 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46553 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46554 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46556 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46557 Move e_machine check before EI_CLASS check. Handle x32
46558 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46559 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46560 SKIP_EM_IA_64 and include
46561 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46563 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46564 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46565 (add_system_dir): New macro.
46567 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46568 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46570 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46581 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46583 * math/w_j0f.c (j0f): Likewise.
46585 * math/w_j0l.c (__j0l): Likewise.
46587 * math/w_j1.c (j1): Likewise.
46589 * math/w_j1f.c (j1f): Likewise.
46591 * math/w_j1l.c (__j1l): Likewise.
46593 * math/w_jn.c (jn): Likewise.
46595 * math/w_jnf.c (jnf): Likewise.
46597 * math/w_jnl.c (__jnl): Likewise.
46599 * math/libm-test.inc (j0_test): Add more tests.
46600 (j1_test): Likewise.
46601 (jn_test): Likewise. Add trailing semicolon to existing test.
46602 (y0_test): Likewise.
46603 (y1_test): Likewise.
46604 * sysdeps/i386/fpu/libm-test-ulps: Update.
46605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46609 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46610 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46611 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46612 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46613 (__tanl): Set errno for infinite argument.
46614 * sysdeps/i386/fpu/mptan.c: Remove.
46615 * sysdeps/i386/fpu/s_tan.S: Likewise.
46616 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46617 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46618 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46619 * math/libm-test.inc (tan_test): Add more tests and enable more
46620 tests for double and long double.
46621 * sysdeps/i386/fpu/libm-test-ulps: Update.
46622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46624 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46626 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46627 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46629 2012-03-16 Roland McGrath <roland@hack.frob.com>
46631 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46632 * configure.in: Use it for both main tree and add-ons.
46633 * configure: Regenerated.
46635 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46637 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46639 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46641 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46645 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46646 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46647 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46648 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46649 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46651 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46653 != 0 for prec == 2.
46654 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46655 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46656 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46657 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46658 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46659 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46660 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46661 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46662 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46663 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46664 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46665 * math/libm-test.inc (cos_test): Add more tests and enable more
46666 tests for long double.
46667 (sin_test): Likewise.
46668 (sincos_test): Likewise.
46669 * sysdeps/i386/fpu/libm-test-ulps: Update.
46670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46672 2012-03-16 David S. Miller <davem@davemloft.net>
46674 * sysdeps/sparc/fpu/math_private.h: New file.
46676 2012-03-15 David S. Miller <davem@davemloft.net>
46678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46692 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46693 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46695 * sysdeps/sparc/sparc-ifunc.h: New file.
46696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46722 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46723 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46738 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46741 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46743 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46747 2012-03-15 Andreas Jaeger <aj@suse.de>
46750 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46751 ieee754/flt-32 implementation for sin, cos and sincos.
46752 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46753 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46754 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46755 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46756 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46757 ieee754/flt-32 implementation for tan.
46759 * math/libm-test.inc (cos_test): Enable some large input tests for
46761 (sin_test): Likewise.
46762 (sincos_test): Likewise.
46763 (tan_test): Add tests for large input.
46765 * sysdeps/i386/fpu/libm-test-ulps: Update.
46767 2012-03-15 Andreas Jaeger <aj@suse.de>
46770 * math/libm-test.inc (cos_test): Add more test cases.
46771 (sin_test): Likewise.
46772 (sincos_test): Likewise.
46774 2012-03-15 Andreas Jaeger <aj@suse.de>
46777 * math/libm-test.inc (cos_test): Add a test case for large input
46779 (sin_test): Likewise.
46780 (sincos_test): Likewise.
46782 2012-03-15 Andreas Jaeger <aj@suse.de>
46783 Joseph Myers <joseph@codesourcery.com>
46786 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46787 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46788 * sysdeps/i386/fpu/branred.c: Likewise.
46789 * sysdeps/i386/fpu/dosincos.c: Likewise.
46790 * sysdeps/i386/fpu/mpa.c: Likewise.
46791 * sysdeps/i386/fpu/s_cos.S: Likewise.
46792 * sysdeps/i386/fpu/s_sin.S: Likewise.
46793 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46794 * sysdeps/i386/fpu/sincos32.c: Likewise.
46796 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46798 (libc_feupdateenv_53bit): Define.
46799 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46801 (libc_feupdateenv_53bit): Define.
46803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46804 53 bit (without extend i386 double precision).
46806 * math/libm-test.inc (sincos_test): Add tests for large input.
46810 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46812 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46816 2012-03-15 David S. Miller <davem@davemloft.net>
46818 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46819 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46820 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46821 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46846 fmin/fmax sysdep routines.
46847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46849 2012-03-14 David S. Miller <davem@davemloft.net>
46851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46923 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46928 * sysdeps/sparc/configure.in: New file.
46929 * sysdeps/sparc/configure: Generate.
46930 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46931 * configure: Regenerate.
46932 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46933 * config.make.in (have-as-vis3): New.
46934 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46935 available use -Av9d instead of -Av9a.
46936 * sysdeps/sparc/sparc64/Makefile: Likewise.
46937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46952 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46953 fzeros/fnegs to load 0x80000000 into a float register instead of
46955 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46957 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46961 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46962 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46963 ($(inst_includedir)/bits/syscall.h): Remove rule.
46964 ($(objpfx)bits/syscall.d): Include instead of
46965 $(objpfx)syscall-list.d.
46966 (generated): Change syscall-list.h and syscall-list.d to
46967 bits/syscall.h and bits/syscall.d.
46969 2012-03-14 Roland McGrath <roland@hack.frob.com>
46972 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46974 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46977 * math/s_csqrt.c: Include <float.h>.
46978 (__csqrt): Scale large or subnormal inputs.
46979 * math/s_csqrtf.c: Likewise.
46980 * math/s_csqrtl.c: Likewise.
46981 * math/libm-test.inc (csqrt_test): Add more tests.
46982 * sysdeps/i386/fpu/libm-test-ulps: Update.
46983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46986 * math/libm-test.inc (hypot_test): Add more tests.
46988 2012-03-13 David S. Miller <davem@davemloft.net>
46991 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46992 double-precision for the calculation instead of scaling.
46994 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46996 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46997 manipulate bits before adding and subtracting TWO52[sx].
46998 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46999 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47001 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47003 2012-03-13 David S. Miller <davem@davemloft.net>
47005 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47006 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47008 rtld-global-offsets.h
47009 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47011 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47014 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47016 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47017 'err' in the ifdef scope in which it is actually used.
47019 * nss/nss_db/db-init.c: Include string.h
47021 2012-03-12 David S. Miller <davem@davemloft.net>
47023 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47024 masking out of the most significant byte of random value used.
47025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47026 Fix coding style in previous change.
47028 * sysdeps/unix/sysv/linux/kernel-features.h
47029 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47030 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47032 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47035 2012-03-11 David S. Miller <davem@davemloft.net>
47037 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47038 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47039 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47040 for 'resultvar' otherwise things get truncated on 64-bit.
47042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47043 Fix masking out of the most significant byte of random value used.
47045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47047 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47051 2012-03-09 David S. Miller <davem@davemloft.net>
47053 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47054 variables with appropriate CPP guards.
47055 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47056 from the frame pointer, not the stack pointer. Correct layout
47057 comments. Fix test on resulting framesize and the management of
47058 the outregs buffer for pltexit. Preserve floating point return
47059 values across _dl_call_pltexit call.
47060 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47061 framesize and the management of the outregs buffer for pltexit.
47062 Preserve floating point return values across _dl_call_pltexit
47064 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47065 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47066 (la_sparc64_gnu_pltexit): New functions.
47067 (print_exit): Fix format string for return register value.
47069 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47071 * sunrpc/Makefile (others): Add rpcgen.
47072 ($(objpfx)rpcgen): Remove special build rule and dependency on
47074 * sunrpc/rpcgen.c: New file.
47076 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47079 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47080 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47081 * sysdeps/i386/crti.S: Likewise.
47082 * sysdeps/i386/crtn.S: Likewise.
47083 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47084 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47085 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47086 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47087 * sysdeps/sh/crti.S: Likewise.
47088 * sysdeps/sh/crtn.S: Likewise.
47089 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47092 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47094 * locale/programs/locfile-kw.gperf: Likewise.
47095 * locale/programs/charmap-kw.h: Regenerated.
47096 * locale/programs/locfile-kw.h: Likewise.
47099 * intl/plural.y: Replace FSF snail mail address with URL.
47100 * intl/plural.c: Regenerated.
47102 2012-03-09 Richard Henderson <rth@twiddle.net>
47104 * include/math_private.h: Remove file.
47105 * math/math_private.h: Move file ...
47106 * sysdeps/generic/math_private.h: ... here.
47108 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47109 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47110 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47112 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47113 and <math_private.h>.
47114 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47115 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47116 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47117 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47118 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47119 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47120 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47122 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47123 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47124 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47125 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47126 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47127 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47128 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47129 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47130 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47131 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47132 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47133 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47135 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47136 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47138 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47139 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47140 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47141 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47142 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47143 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47144 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47146 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47147 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47148 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47149 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47150 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47151 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47152 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47154 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47155 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47156 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47157 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47158 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47159 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47160 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47161 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47162 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47163 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47164 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47165 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47166 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47167 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47168 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47169 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47170 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47171 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47172 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47173 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47175 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47177 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47178 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47179 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47180 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47181 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47182 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47183 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47184 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47185 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47188 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47192 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47193 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47194 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47195 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47196 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47197 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47198 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47200 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47201 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47202 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47203 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47204 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47205 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47206 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47207 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47208 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47209 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47210 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47211 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47212 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47213 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47214 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47215 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47216 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47217 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47218 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47219 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47220 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47221 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47222 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47223 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47224 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47225 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47226 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47227 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47228 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47229 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47230 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47231 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47232 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47233 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47234 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47235 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47236 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47237 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47238 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47239 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47240 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47241 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47242 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47243 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47244 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47245 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47246 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47247 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47248 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47249 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47250 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47251 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47252 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47253 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47254 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47255 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47256 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47257 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47258 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47259 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47260 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47261 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47262 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47263 * sysdeps/ieee754/k_standard.c: Likewise.
47264 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47268 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47269 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47270 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47271 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47272 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47273 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47274 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47276 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47277 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47278 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47281 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47284 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47287 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47291 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47295 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47297 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47301 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47311 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47312 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47313 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47314 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47315 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47316 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47317 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47318 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47319 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47320 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47323 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47324 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47325 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47326 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47327 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47328 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47330 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47331 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47332 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47333 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47334 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47336 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47337 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47338 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47340 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47341 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47342 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47343 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47344 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47345 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47346 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47347 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47348 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47351 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47352 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47354 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47355 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47357 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47358 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47359 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47360 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47361 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47362 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47363 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47365 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47367 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47368 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47371 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47372 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47373 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47374 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47375 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47376 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47377 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47378 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47379 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47380 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47381 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47382 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47383 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47384 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47385 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47386 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47387 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47388 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47389 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47390 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47391 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47392 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47393 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47394 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47395 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47396 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47397 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47398 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47399 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47400 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47401 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47402 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47403 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47404 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47405 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47406 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47407 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47408 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47409 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47410 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47411 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47412 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47413 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47414 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47415 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47417 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47418 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47419 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47420 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47421 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47422 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47423 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47424 * sysdeps/ieee754/s_lib_version.c: Likewise.
47425 * sysdeps/ieee754/s_matherr.c: Likewise.
47426 * sysdeps/ieee754/s_signgam.c: Likewise.
47427 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47428 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47429 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47430 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47431 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47432 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47433 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47434 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47435 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47436 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47437 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47438 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47439 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47440 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47441 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47442 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47443 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47444 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47445 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47449 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47451 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47452 * sunrpc/rpc_main.c: Likewise.
47453 * sunrpc/rpc_svcout.c: Likewise.
47455 2012-03-09 David S. Miller <davem@davemloft.net>
47457 * include/math_private.h: New file.
47459 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47461 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47462 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47463 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47464 from <bits/socket_type.h>.
47465 (enum __socket_type): Don't define here.
47466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47468 bits/socket_type.h.
47471 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47472 checking __USE_GNU.
47474 * Makerules ($(inst_includedir)/%.h): New rule.
47475 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47476 (install-others): Remove variable setting.
47477 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47479 2012-03-08 Richard Henderson <rth@twiddle.net>
47481 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47482 from macro to inline function; merge with the
47483 !__LIBC_INTERNAL_MATH_INLINES version.
47484 (__ieee754_sqrtf): Likewise.
47486 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47487 to inline function.
47488 (__rintf, __floor, __floorf): Likewise.
47490 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47491 macro to inline function.
47492 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47494 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47495 not <math/math_private.h>.
47497 2012-03-08 David S. Miller <davem@davemloft.net>
47499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47501 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47503 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47505 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47507 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47508 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47510 2012-03-08 Ulrich Drepper <drepper@gmail.com>
47512 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47513 be defined individually, they must be defined as a block. Define
47514 S for printing a string instead of hidint the different by using a
47515 macro for adding the 'l'.
47516 * stdio-common/tst-fphex-wide.c: Adjust.
47518 2012-03-07 Marek Polacek <polacek@redhat.com>
47520 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47522 2012-03-08 Marek Polacek <polacek@redhat.com>
47525 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47526 * stdio-common/tst-fphex.c: Define a few macros to make the
47527 test reusable. Use them.
47528 * stdio-common/tst-fphex-wide.c: New file.
47530 2012-03-08 Joseph Myers <joseph@codesourcery.com>
47533 * manual/macros.texi (gnusystems): New macro.
47534 (nongnusystems): Likewise.
47535 (gnulinuxhurdsystems): Likewise.
47536 (gnuhurdsystems): Likewise..
47537 (gnulinuxsystems): Likewise.
47538 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47539 variants of the GNU system, not "GNU system".
47540 * manual/conf.texi: Likewise.
47541 * manual/errno.texi: Likewise. Update example of errno macro
47543 * manual/filesys.texi: Likewise.
47544 (getumask): Document as specific to GNU/Hurd.
47545 * manual/install.texi: Likewise. Reword some references to
47547 * manual/intro.texi: Likewise.
47548 * manual/io.texi: Likewise.
47549 (File Name Portability): Detail which constraints are inapplicable
47550 to all GNU systems and which are only inapplicable to GNU/Hurd.
47551 * manual/job.texi: Likewise.
47552 * manual/llio.texi: Likewise.
47553 (O_NOCTTY): Document as present on GNU/Linux.
47554 * manual/maint.texi: Likewise.
47555 * manual/memory.texi: Likewise.
47556 * manual/pattern.texi: Likewise.
47557 * manual/pipe.texi: Likewise.
47558 * manual/process.texi: Likewise.
47559 * manual/resource.texi: Likewise.
47560 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47562 * manual/setjmp.texi: Likewise.
47563 * manual/signal.texi: Likewise.
47564 * manual/startup.texi: Likewise.
47565 * manual/stdio.texi: Likewise.
47566 * manual/terminal.texi: Likewise.
47567 (ONLCR): Document as POSIX.
47568 (OXTABS): Document availability on GNU/Linux as XTABS.
47569 (ONOEOT): Document availability separately from other bits.
47570 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47571 * manual/time.texi: Likewise.
47572 * manual/users.texi: Likewise.
47573 * INSTALL: Regenerated.
47574 * sysdeps/gnu/errlist.c: Regenerated.
47576 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47577 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47578 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47580 * configure: Regenerated.
47582 2012-03-07 Joseph Myers <joseph@codesourcery.com>
47584 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47585 default includes instead of AC_HEADER_CHECK.
47586 * sysdeps/i386/configure: Regenerated.
47589 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47590 * math/s_cacoshf.c (__cacoshf): Likewise.
47591 * math/s_cacoshl.c (__cacoshl): Likewise.
47592 * math/s_casinh.c (__casinh): Set signs of result from argument.
47593 * math/s_casinhf.c (__casinhf): Likewise.
47594 * math/s_casinhl.c (__casinhl): Likewise.
47595 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47596 (casinh_test): Add more tests.
47597 * sysdeps/i386/fpu/libm-test-ulps: Update.
47598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47600 2012-03-07 Ulrich Drepper <drepper@gmail.com>
47602 * po/zh_TW.po: Update from translation team.
47604 * login/Makefile (distribute): Remove variable.
47605 * catgets/Makefile: Likewise.
47606 * mach/Makefile: Likewise.
47607 * malloc/Makefile: Likewise.
47608 * misc/Makefile: Likewise.
47609 * iconv/Makefile: Likewise.
47610 * nscd/Makefile: Likewise.
47611 * hurd/Makefile: Likewise.
47612 * manual/Makefile: Likewise.
47613 * locale/Makefile: Likewise.
47614 * intl/Makefile: Likewise.
47615 * conform/Makefile: Likewise.
47616 * nss/Makefile: Likewise.
47617 * time/Makefile: Likewise.
47618 * soft-fp/Makefile: Likewise.
47619 * dirent/Makefile: Likewise.
47620 * gmon/Makefile: Likewise.
47621 * po/Makefile: Likewise.
47622 * rt/Makefile: Likewise.
47623 * socket/Makefile: Likewise.
47624 * math/Makefile: Likewise.
47625 * signal/Makefile: Likewise.
47626 * debug/Makefile: Likewise.
47627 * elf/Makefile: Likewise.
47628 * timezone/Makefile: Likewise.
47629 * stdlib/Makefile: Likewise.
47630 * iconvdata/Makefile: Likewise.
47631 * sunrpc/Makefile: Likewise.
47632 * io/Makefile: Likewise.
47633 * argp/Makefile: Likewise.
47634 * inet/Makefile: Likewise.
47635 * hesiod/Makefile: Likewise.
47636 * grp/Makefile: Likewise.
47637 * csu/Makefile: Likewise.
47638 * wctype/Makefile: Likewise.
47639 * crypt/Makefile: Likewise.
47640 * libio/Makefile: Likewise.
47641 * string/Makefile: Likewise.
47642 * nis/Makefile: Likewise.
47643 * resolv/Makefile: Likewise.
47644 * stdio-common/Makefile: Likewise.
47645 * wcsmbs/Makefile: Likewise.
47646 * dlfcn/Makefile: Likewise.
47647 * posix/Makefile: Likewise.
47650 * timezone/Makefile: Don't install timezone files, just the programs
47653 2012-03-06 Ulrich Drepper <drepper@gmail.com>
47655 * nss/databases.def: Add missing gshadow entry.
47657 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47659 2012-03-06 Marek Polacek <polacek@redhat.com>
47662 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47663 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47664 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47665 * stdio-common/tst-long-dbl-fphex.c: New file.
47667 2012-03-06 David S. Miller <davem@davemloft.net>
47669 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47670 (set_obp_int): New function.
47671 (get_obp_int): New function.
47672 (__get_clockfreq_via_dev_openprom): Likewise.
47673 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47674 Avoid unused variable warnings on 'val' and use builtin_expect.
47675 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47677 (INLINE_CLONE_SYSCALL): Likewise.
47679 2012-03-05 David S. Miller <davem@davemloft.net>
47681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47683 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47687 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47688 only for |x| >= 40.
47689 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47691 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47693 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47694 Replace gettimeofday with __vdso_gettimeofday.
47696 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47697 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47698 __vdso_clock_gettime and __vdso_getcpu.
47700 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47701 time with __vdso_time.
47703 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47705 * manual/lang.texi (size_t): Note types to which size_t may be
47706 equivalent with the GNU C Library, but do not describe when
47707 differences between them are significant.
47709 2012-03-05 Andreas Jaeger <aj@suse.de>
47711 * sysdeps/i386/fpu/libm-test-ulps: Update.
47713 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47716 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47717 (__ieee754_pow): Save and restore rounding mode and use
47718 round-to-nearest for main computations.
47719 * math/libm-test.inc (pow_test_tonearest): New function.
47720 (pow_test_towardzero): Likewise.
47721 (pow_test_downward): Likewise.
47722 (pow_test_upward): Likewise.
47723 (main): Call the new functions.
47724 * sysdeps/i386/fpu/libm-test-ulps: Update.
47725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47728 * math/libm-test.inc (cosh_test_tonearest): New function.
47729 (cosh_test_towardzero): Likewise.
47730 (cosh_test_downward): Likewise.
47731 (cosh_test_upward): Likewise.
47732 (sinh_test_tonearest): Likewise.
47733 (sinh_test_towardzero): Likewise.
47734 (sinh_test_downward): Likewise.
47735 (sinh_test_upward): Likewise.
47736 (main): Call the new functions.
47737 * sysdeps/i386/fpu/libm-test-ulps: Update.
47738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47740 2012-03-05 Tom de Vries <tom@codesourcery.com>
47742 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47743 default stack guard is set in last bytes.
47744 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47746 2012-03-05 Kees Cook <keescook@chromium.org>
47748 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47751 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47752 possibly allocate from heap instead of stack.
47753 * stdio-common/bug-vfprintf-nargs.c: New file.
47754 * stdio-common/Makefile (tests): Add nargs overflow test.
47756 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47760 2012-03-03 Marek Polacek <polacek@redhat.com>
47762 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47763 * math/math_private.h: Likewise.
47764 * stdlib/tst-strtod.c: Likewise.
47765 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47766 * sysdeps/x86_64/bits/atomic.h: Likewise.
47768 2012-03-02 David S. Miller <davem@davemloft.net>
47770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47774 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47775 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47776 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47777 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47779 2012-03-02 Roland McGrath <roland@hack.frob.com>
47782 * manual/examples/README: New file, says the example source files
47783 can be used under GPL>=2.
47784 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47785 line containing just "*/".
47786 * manual/examples/add.c: Add copyright header (GPL>=2).
47787 * manual/examples/argp-ex1.c: Likewise.
47788 * manual/examples/argp-ex2.c: Likewise.
47789 * manual/examples/argp-ex3.c: Likewise.
47790 * manual/examples/argp-ex4.c: Likewise.
47791 * manual/examples/atexit.c: Likewise.
47792 * manual/examples/db.c: Likewise.
47793 * manual/examples/dir.c: Likewise.
47794 * manual/examples/dir2.c: Likewise.
47795 * manual/examples/execinfo.c: Likewise.
47796 * manual/examples/filecli.c: Likewise.
47797 * manual/examples/filesrv.c: Likewise.
47798 * manual/examples/fmtmsgexpl.c: Likewise.
47799 * manual/examples/genpass.c: Likewise.
47800 * manual/examples/inetcli.c: Likewise.
47801 * manual/examples/inetsrv.c: Likewise.
47802 * manual/examples/isockad.c: Likewise.
47803 * manual/examples/longopt.c: Likewise.
47804 * manual/examples/memopen.c: Likewise.
47805 * manual/examples/memstrm.c: Likewise.
47806 * manual/examples/mkfsock.c: Likewise.
47807 * manual/examples/mkisock.c: Likewise.
47808 * manual/examples/mygetpass.c: Likewise.
47809 * manual/examples/pipe.c: Likewise.
47810 * manual/examples/popen.c: Likewise.
47811 * manual/examples/rprintf.c: Likewise.
47812 * manual/examples/search.c: Likewise.
47813 * manual/examples/select.c: Likewise.
47814 * manual/examples/setjmp.c: Likewise.
47815 * manual/examples/sigh1.c: Likewise.
47816 * manual/examples/sigusr.c: Likewise.
47817 * manual/examples/stpcpy.c: Likewise.
47818 * manual/examples/strdupa.c: Likewise.
47819 * manual/examples/strftim.c: Likewise.
47820 * manual/examples/strncat.c: Likewise.
47821 * manual/examples/subopt.c: Likewise.
47822 * manual/examples/swapcontext.c: Likewise.
47823 * manual/examples/termios.c: Likewise.
47824 * manual/examples/testopt.c: Likewise.
47825 * manual/examples/testpass.c: Likewise.
47826 * manual/examples/timeval_subtract.c: Likewise.
47829 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47831 * manual/timeval_subtract.c.texi: ... here, new file.
47833 2012-03-02 David S. Miller <davem@davemloft.net>
47835 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47837 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47840 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47841 (__sin): Save and restore rounding mode and use round-to-nearest
47842 for all computations.
47843 (__cos): Save and restore rounding mode and use round-to-nearest
47844 for all computations.
47845 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47847 (tan): Save and restore rounding mode and use round-to-nearest for
47849 * math/libm-test.inc (cos_test_tonearest): New function.
47850 (cos_test_towardzero): Likewise.
47851 (cos_test_downward): Likewise.
47852 (cos_test_upward): Likewise.
47853 (sin_test_tonearest): Likewise.
47854 (sin_test_towardzero): Likewise.
47855 (sin_test_downward): Likewise.
47856 (sin_test_upward): Likewise.
47857 (tan_test_tonearest): Likewise.
47858 (tan_test_towardzero): Likewise.
47859 (tan_test_downward): Likewise.
47860 (tan_test_upward): Likewise.
47861 (main): Call the new functions.
47862 * sysdeps/i386/fpu/libm-test-ulps: Update.
47863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47866 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47867 small n, then large n, before computing and testing k+n.
47868 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47873 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47874 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47875 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47876 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47879 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47880 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47881 * math/libm-test.inc (scalbn_test): Add more tests.
47882 (scalbln_test): Likewise.
47884 * manual/filesys.texi (mode_t): Describe constraints on size and
47885 signedness, not exact equivalence to a particular type.
47887 (ino64_t): Likewise.
47889 (nlink_t): Likewise.
47890 (blkcnt_t): Likewise.
47891 (blkcnt64_t): Likewise.
47892 * manual/llio.texi (off_t): Likewise.
47895 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47896 (__ieee754_exp): Save and restore rounding mode and use
47897 round-to-nearest for all computations.
47898 * math/libm-test.inc (exp_test_tonearest): New function.
47899 (exp_test_towardzero): Likewise.
47900 (exp_test_downward): Likewise.
47901 (exp_test_upward): Likewise.
47902 (main): Call the new functions.
47903 * sysdeps/i386/fpu/libm-test-ulps: Update.
47904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47906 2012-03-01 Chris Demetriou <cgd@google.com>
47908 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47909 have predictable order.
47911 2012-03-01 David S. Miller <davem@davemloft.net>
47913 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47915 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47916 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47917 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47918 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47920 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47921 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47922 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47924 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47925 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47926 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47927 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47928 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47932 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47933 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47934 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47936 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47937 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47938 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47939 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47940 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47941 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47943 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47944 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47945 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47946 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47949 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47950 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47951 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47952 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47953 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47954 * sysdeps/sparc/elf/configure: Regenerated.
47956 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47958 * configure.in (AS, LD): Require binutils 2.20 or later.
47959 * configure: Regenerated.
47960 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47961 as required minimum version.
47962 * INSTALL: Regenerated.
47966 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47967 before squaring exponent.
47968 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47969 bottom long double and 27 bits of top long double before squaring
47971 * math/libm-test.inc (erfc_test): Add more tests.
47972 * sysdeps/i386/fpu/libm-test-ulps: Update.
47973 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47976 2012-03-01 Kai Tietz <ktietz@redhat.com>
47978 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47979 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47980 containing bit-fields.
47981 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47982 * soft-fp/single.h (_FP_UNION_S): Likewise.
47983 * soft-fp/double.h (_FP_UNION_D): Likewise.
47985 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47988 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47989 not include ../strcmp.S.
47990 [USE_AS_STRNCASECMP_L]: Likewise.
47991 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47992 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47993 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47994 (__strncasecmp_l_ia32): Define as alias to
47995 __strncasecmp_l_nonascii.
47998 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47999 * sysdeps/i386/fpu/libm-test-ulps: Update.
48000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48002 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48005 2012-02-29 Jeff Law <law@redhat.com>
48007 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48008 out of bounds read.
48010 2012-02-29 Marek Polacek <polacek@redhat.com>
48013 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48014 * elf/Makefile: Add rules to run tst-unused-dep.out.
48016 2012-02-28 David S. Miller <davem@davemloft.net>
48018 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48019 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48020 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48022 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48023 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48025 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48027 * math/libm-test.inc (llround_test): Move one test from
48028 lround_test. Use TEST_f_L in moved test.
48029 (lround_test): Move misplaced test to llround_test. Add testcase
48032 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48034 * sysdeps/x86_64/fpu/e_expf.S: New file.
48035 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48037 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48040 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48041 of remain_len that may cause incomplete multi-byte character and
48043 * posix/bug-regex33.c: New file.
48044 * posix/Makefile (tests): Add bug-regex33.
48046 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48048 * manual/macros.texi: New file.
48049 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48050 * manual/libc.texinfo: Include macros.texi.
48051 * manual/creatute.texi: Likewise.
48052 * manual/install.texi: Likewise.
48053 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48054 @glibcadj{} in references to the GNU C Library.
48055 * manual/charset.texi: Likewise.
48056 * manual/conf.texi: Likewise.
48057 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48058 when not using those macros.
48059 * manual/creature.texi: Likewise.
48060 * manual/crypt.texi: Likewise.
48061 * manual/errno.texi: Likewise.
48062 * manual/filesys.texi: Likewise.
48063 * manual/header.texi: Likewise.
48064 * manual/install.texi: Likewise.
48065 * manual/intro.texi: Likewise.
48066 * manual/io.texi: Likewise.
48067 * manual/job.texi: Likewise.
48068 * manual/lang.texi: Likewise.
48069 * manual/libc.texiinfo: Likewise.
48070 * manual/llio.texi: Likewise.
48071 * manual/locale.texi: Likewise.
48072 * manual/maint.texi: Likewise.
48073 * manual/math.texi: Likewise.
48074 * manual/memory.texi: Likewise.
48075 * manual/message.texi: Likewise.
48076 * manual/nss.texi: Likewise.
48077 * manual/pattern.texi: Likewise.
48078 * manual/process.texi: Likewise.
48079 * manual/resource.texi: Likewise.
48080 * manual/search.texi: Likewise.
48081 * manual/setjmp.texi: Likewise.
48082 * manual/signal.texi: Likewise.
48083 * manual/socket.texi: Likewise.
48084 * manual/startup.texi: Likewise.
48085 * manual/stdio.texi: Likewise.
48086 * manual/string.texi: Likewise.
48087 * manual/sysinfo.texi: Likewise.
48088 * manual/syslog.texi: Likewise.
48089 * manual/terminal.texi: Likewise.
48090 * manual/time.texi: Likewise.
48091 * manual/users.texi: Likewise.
48092 * INSTALL: Regenerated.
48093 * NOTES: Regenerated.
48094 * sysdeps/gnu/errlist.c: Regenerated.
48096 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48098 * include/dirent.h: Include <dirstream.h> before
48101 2012-02-28 David S. Miller <davem@davemloft.net>
48103 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48104 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48105 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48106 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48108 2012-02-27 David S. Miller <davem@davemloft.net>
48110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48112 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48113 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48116 frame pointer instead of stack pointer relative arg slot.
48117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48118 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48119 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48121 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48124 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48126 2012-02-27 David S. Miller <davem@davemloft.net>
48128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48132 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48133 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48134 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48135 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48137 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48139 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48140 later. Allow versions 5-9.
48141 * configure: Regenerated.
48142 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48143 required minimum version and 4.6 as recommended version. Do not
48144 mention bugs in GCC 2.7 and 2.8.
48145 * INSTALL: Regenerated.
48147 2012-02-27 David S. Miller <davem@davemloft.net>
48149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48153 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48154 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48155 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48156 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48158 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48159 manipulate bits before adding and subtracting TWO112[sx].
48160 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48162 2012-02-27 Roland McGrath <roland@hack.frob.com>
48165 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48166 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48167 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48168 being in POSIX, because they are in 1003.1-2008.
48170 * rt/tst-aio.c: Include <fcntl.h>.
48171 * rt/tst-aio7.c: Likewise.
48172 * rt/tst-aio64.c: Likewise.
48174 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48176 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48178 * manual/install.texi (--with-headers): Describe headers as
48179 interface headers, not private headers.
48180 (Specific advice for GNU/Linux systems): Describe use of headers
48181 from "make headers_install", not private headers from older
48183 * INSTALL: Regenerated.
48184 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48186 * sysdeps/unix/sysv/linux/configure: Regenerated.
48188 * manual/llio.texi (fclean): Remove documentation.
48190 * manual/Makefile (libc-texi-generated): New variable. Include
48192 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48193 $(libc-texi-generated), not duplicated list of files.
48194 (version.texi, stamp-version): New rules.
48195 (realclean): Remove $(libc-texi-generated), not individual files
48196 from that list. Do not remove dir-add.texinfo.
48197 * manual/libc.texinfo: Comment out uses of edition numbers and
48198 references to printed manual. Remove last-updated dates.
48199 (EDITION): Comment out.
48201 (VERSION, UPDATED): Remove.
48202 (version.texi): Include.
48204 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48206 * sysdeps/posix/spawni.c: Include <signal.h>.
48207 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48208 * sysdeps/pthread/aio_fsync.c: Likewise.
48210 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48212 * conform/Makefile (tests): Run only when not cross-compiling and
48213 when fast-check is not defined.
48215 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48216 * conform/data/limits.h-data: Fixes for POSIX2008.
48217 * conform/run-conformtest.sh: Run all tests.
48218 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48220 * include/bits/dlfcn.h: Likewise.
48221 * include/langinfo.h: Likewise.
48222 * include/monetary.h: Likewise.
48223 * include/sys/poll.h: Likewise.
48225 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48227 * posix/spawn.h: Define __need_sigset_t.
48228 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48229 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48230 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48231 to get sigevent_t only.
48232 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48233 only for __USE_GNU.
48234 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48235 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48236 process_vm_writev only for __USE_GNU.
48237 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48239 * conform/Makefile: For now ignore errors from run-conformtest.
48240 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48241 POSIX to avoid namespace pollution. Don't prepend headers.
48242 * conform/data/aio.h-data: Fixes for POSIX testing.
48243 * conform/data/fcntl.h-data: Likewise.
48244 * conform/data/glob.h-data: Likewise.
48245 * conform/data/grp.h-data: Likewise.
48246 * conform/data/pthread.h-data: Likewise.
48247 * conform/data/pwd.h-data: Likewise.
48248 * conform/data/signal.h-data: Likewise.
48249 * conform/data/spawn.h-data: Likewise.
48250 * conform/data/stdio.h-data: Likewise.
48251 * conform/data/stdlib.h-data: Likewise.
48252 * conform/data/stropts.h-data: Likewise.
48253 * conform/data/sys/mman.h-data: Likewise.
48254 * conform/data/sys/stat.h-data: Likewise.
48255 * conform/data/sys/types.h-data: Likewise.
48256 * conform/data/sys/wait.h-data: Likewise.
48257 * conform/data/time.h-data: Likewise.
48258 * conform/data/unistd.h-data: Likewise.
48259 * conform/data/utime.h-data: Likewise.
48261 * io/sys/stat.h: fchmod was always in POSIX.
48262 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48263 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48264 * rt/aio.h: Define __need_timespec before including <time.h>.
48265 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48266 struct. Add forward declaration of pthread_attr_t and use it in
48268 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48270 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48271 always remove CLK_TCK definition.
48273 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48275 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48277 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48279 * conform/run-conformtest.sh: New file.
48280 * conform/Makefile: Run run-conformtest for tests.
48281 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48284 * conform/data/uchar.h-data: New file.
48285 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48286 * conform/data/arpa/inet.h-data: Likewise.
48287 * conform/data/assert.h-data: Likewise.
48288 * conform/data/complex.h-data: Likewise.
48289 * conform/data/cpio.h-data: Likewise.
48290 * conform/data/ctype.h-data: Likewise.
48291 * conform/data/dirent.h-data: Likewise.
48292 * conform/data/dlfcn.h-data: Likewise.
48293 * conform/data/errno.h-data: Likewise.
48294 * conform/data/fcntl.h-data: Likewise.
48295 * conform/data/float.h-data: Likewise.
48296 * conform/data/fmtmsg.h-data: Likewise.
48297 * conform/data/fnmatch.h-data: Likewise.
48298 * conform/data/ftw.h-data: Likewise.
48299 * conform/data/glob.h-data: Likewise.
48300 * conform/data/grp.h-data: Likewise.
48301 * conform/data/iconv.h-data: Likewise.
48302 * conform/data/inttypes.h-data: Likewise.
48303 * conform/data/langinfo.h-data: Likewise.
48304 * conform/data/libgen.h-data: Likewise.
48305 * conform/data/limits.h-data: Likewise.
48306 * conform/data/locale.h-data: Likewise.
48307 * conform/data/math.h-data: Likewise.
48308 * conform/data/monetary.h-data: Likewise.
48309 * conform/data/mqueue.h-data: Likewise.
48310 * conform/data/ndbm.h-data: Likewise.
48311 * conform/data/net/if.h-data: Likewise.
48312 * conform/data/netdb.h-data: Likewise.
48313 * conform/data/netinet/in.h-data: Likewise.
48314 * conform/data/nl_types.h-data: Likewise.
48315 * conform/data/poll.h-data: Likewise.
48316 * conform/data/pthread.h-data: Likewise.
48317 * conform/data/pwd.h-data: Likewise.
48318 * conform/data/regex.h-data: Likewise.
48319 * conform/data/sched.h-data: Likewise.
48320 * conform/data/search.h-data: Likewise.
48321 * conform/data/semaphore.h-data: Likewise.
48322 * conform/data/setjmp.h-data: Likewise.
48323 * conform/data/signal.h-data: Likewise.
48324 * conform/data/spawn.h-data: Likewise.
48325 * conform/data/stdarg.h-data: Likewise.
48326 * conform/data/stdio.h-data: Likewise.
48327 * conform/data/stdlib.h-data: Likewise.
48328 * conform/data/string.h-data: Likewise.
48329 * conform/data/strings.h-data: Likewise.
48330 * conform/data/stropts.h-data: Likewise.
48331 * conform/data/sys/ipc.h-data: Likewise.
48332 * conform/data/sys/mman.h-data: Likewise.
48333 * conform/data/sys/msg.h-data: Likewise.
48334 * conform/data/sys/resource.h-data: Likewise.
48335 * conform/data/sys/select.h-data: Likewise.
48336 * conform/data/sys/sem.h-data: Likewise.
48337 * conform/data/sys/shm.h-data: Likewise.
48338 * conform/data/sys/socket.h-data: Likewise.
48339 * conform/data/sys/stat.h-data: Likewise.
48340 * conform/data/sys/statvfs.h-data: Likewise.
48341 * conform/data/sys/time.h-data: Likewise.
48342 * conform/data/sys/timeb.h-data: Likewise.
48343 * conform/data/sys/times.h-data: Likewise.
48344 * conform/data/sys/types.h-data: Likewise.
48345 * conform/data/sys/uio.h-data: Likewise.
48346 * conform/data/sys/un.h-data: Likewise.
48347 * conform/data/sys/utsname.h-data: Likewise.
48348 * conform/data/sys/wait.h-data: Likewise.
48349 * conform/data/syslog.h-data: Likewise.
48350 * conform/data/tar.h-data: Likewise.
48351 * conform/data/termios.h-data: Likewise.
48352 * conform/data/utime.h-data: Likewise.
48353 * conform/data/utmpx.h-data: Likewise.
48354 * conform/data/varargs.h-data: Likewise.
48355 * conform/data/wchar.h-data: Likewise.
48356 * conform/data/wctype.h-data: Likewise.
48357 * conform/data/wordexp.h-data: Likewise.
48359 * include/stropts.h: New file.
48360 * include/uchar.h: New file.
48361 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48362 * include/assert.h: Likewise.
48363 * include/ctype.h: Likewise.
48364 * include/dirent.h: Likewise.
48365 * include/dlfcn.h: Likewise.
48366 * include/fcntl.h: Likewise.
48367 * include/fnmatch.h: Likewise.
48368 * include/glob.h: Likewise.
48369 * include/grp.h: Likewise.
48370 * include/libio.h: Likewise.
48371 * include/locale.h: Likewise.
48372 * include/math.h: Likewise.
48373 * include/net/if.h: Likewise.
48374 * include/netdb.h: Likewise.
48375 * include/netinet/in.h: Likewise.
48376 * include/pthread.h: Likewise.
48377 * include/pwd.h: Likewise.
48378 * include/regex.h: Likewise.
48379 * include/sched.h: Likewise.
48380 * include/search.h: Likewise.
48381 * include/setjmp.h: Likewise.
48382 * include/signal.h: Likewise.
48383 * include/stdio.h: Likewise.
48384 * include/stdlib.h: Likewise.
48385 * include/string.h: Likewise.
48386 * include/sys/cdefs.h: Likewise.
48387 * include/sys/mman.h: Likewise.
48388 * include/sys/msg.h: Likewise.
48389 * include/sys/resource.h: Likewise.
48390 * include/sys/select.h: Likewise.
48391 * include/sys/socket.h: Likewise.
48392 * include/sys/stat.h: Likewise.
48393 * include/sys/statvfs.h: Likewise.
48394 * include/sys/time.h: Likewise.
48395 * include/sys/times.h: Likewise.
48396 * include/sys/uio.h: Likewise.
48397 * include/sys/utsname.h: Likewise.
48398 * include/sys/wait.h: Likewise.
48399 * include/termios.h: Likewise.
48400 * include/time.h: Likewise.
48401 * include/ulimit.h: Likewise.
48402 * include/unistd.h: Likewise.
48403 * include/utime.h: Likewise.
48404 * include/wchar.h: Likewise.
48405 * include/wctype.h: Likewise.
48406 * include/wordexp.h: Likewise.
48408 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48410 * time/time.h: TIME_UTC must be a macro.
48411 Make timespec_get available for ISO C11 only as well.
48413 2012-02-24 Ulrich Drepper <drepper@gmail.com>
48415 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48416 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48418 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48420 * configure.in: Use -o not -a in test for unsupported multi-arch.
48422 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48424 * manual/texinfo.tex: Update to version 2012-01-19.16.
48426 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48428 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48430 2012-02-24 Roland McGrath <roland@hack.frob.com>
48433 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48434 * manual/fdl-1.3.texi: New file.
48435 * manual/fdl-1.1.texi: File removed.
48438 * manual/libc.texinfo (FDL_VERSION): New @set.
48439 Use it for mention of FDL in cover text.
48440 (Documentation License): Use it in @include file name.
48442 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48443 Roland McGrath <roland@hack.frob.com>
48446 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48447 (not LONG_LONG_MAX and LONG_LONG_MIN.
48448 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48449 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48451 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48453 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48457 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48458 manipulate bits before adding and subtracting TWO23[sx].
48459 * math/libm-test.inc (nearbyint_test): Add more tests.
48461 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48464 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48465 bits before adding and subtracting TWO23[sx].
48466 * math/libm-test.inc (rint_test): Add more tests.
48467 (rint_test_tonearest): Likewise.
48468 (rint_test_towardzero): Likewise.
48469 (rint_test_downward): Likewise.
48470 (rint_test_upward: Likewise.
48472 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48475 * include/stdc-predef.h: New file. Extracted from features.h.
48476 * include/features.h: Include stdc-predef.h.
48477 * Makefile (headers): Add stdc-predef.h.
48478 * CONFORMANCE (Compiler limitations): Update.
48480 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48482 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48484 2012-02-21 David S. Miller <davem@davemloft.net>
48486 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48487 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48489 2012-02-20 David S. Miller <davem@davemloft.net>
48491 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48492 using a normal save/restore sequence, rather than allocating a
48493 dummy stack frame just to store a frame pointer and restore.
48494 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48496 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48498 * manual/install.texi: Fix stray word in line-wrapped comment.
48500 2012-02-20 David S. Miller <davem@davemloft.net>
48502 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48503 both binutils and gcc support GOTDATA.
48505 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48506 "rd %pc" in the PIC register setup sequences.
48508 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48509 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48510 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48511 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48512 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48514 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48515 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48517 (SYSCALL_ERROR_HANDLER): Likewise.
48518 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48519 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48521 (SYSCALL_ERROR_HANDLER): Likewise.
48523 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48524 (HAVE_GCC_GOTDATA): New.
48525 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48526 relocation support in both binutils and gcc.
48527 * sysdeps/sparc/elf/configure: Regenerate.
48529 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48530 * sysdeps/sparc/sparc32/elf/configure: Delete.
48531 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48532 * sysdeps/sparc/sparc64/elf/configure: Delete.
48533 * sysdeps/sparc/elf/configure.in: New file.
48534 * sysdeps/sparc/elf/configure: Generate.
48536 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48537 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48538 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48539 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48540 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48542 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48544 * manual/install.texi: Do not mention specific glibc version
48546 * manual/libc.texinfo (VERSION, UPDATED): Update.
48547 (@copying): Use @copyright{} and range of years.
48549 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48552 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48553 [crti.S not in sysdirs] (generated): Do not append.
48554 [crti.S not in sysdirs] (omit-deps): Likewise.
48555 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48556 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48557 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48558 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48559 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48561 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48562 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48563 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48564 * csu/defs.awk: Remove file.
48565 * sysdeps/generic/initfini.c: Likewise.
48566 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48568 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48571 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48573 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48574 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48575 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48577 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48578 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48580 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48581 (__EPOLL_PACKED): Define to empty if not defined by
48583 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48587 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48589 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48590 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48591 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48592 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48594 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48598 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48600 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48603 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48604 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48607 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48609 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48610 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48612 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48614 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48615 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48617 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48619 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48622 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48624 * math/w_acos.c: Use non-signaling floating-point comparisons.
48625 * math/w_acosf.c: Likewise.
48626 * math/w_acosh.c: Likewise.
48627 * math/w_acoshf.c: Likewise.
48628 * math/w_acoshl.c: Likewise.
48629 * math/w_acosl.c: Likewise.
48630 * math/w_asin.c: Likewise.
48631 * math/w_asinf.c: Likewise.
48632 * math/w_asinl.c: Likewise.
48633 * math/w_atanh.c: Likewise.
48634 * math/w_atanhf.c: Likewise.
48635 * math/w_atanhl.c: Likewise.
48636 * math/w_exp2.c: Likewise.
48637 * math/w_exp2f.c: Likewise.
48638 * math/w_exp2l.c: Likewise.
48639 * math/w_j0.c: Likewise.
48640 * math/w_j0f.c: Likewise.
48641 * math/w_j0l.c: Likewise.
48642 * math/w_j1.c: Likewise.
48643 * math/w_j1f.c: Likewise.
48644 * math/w_j1l.c: Likewise.
48645 * math/w_jn.c: Likewise.
48646 * math/w_jnf.c: Likewise.
48647 * math/w_log.c: Likewise.
48648 * math/w_log10.c: Likewise.
48649 * math/w_log10f.c: Likewise.
48650 * math/w_log10l.c: Likewise.
48651 * math/w_log2.c: Likewise.
48652 * math/w_log2f.c: Likewise.
48653 * math/w_log2l.c: Likewise.
48654 * math/w_logf.c: Likewise.
48655 * math/w_logl.c: Likewise.
48656 * math/w_sqrt.c: Likewise.
48657 * math/w_sqrtf.c: Likewise.
48658 * math/w_sqrtl.c: Likewise.
48659 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48660 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48661 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48662 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48663 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48665 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48668 * manual/string.texi (strnlen): Use correct parameter name in
48669 equivalent expression.
48671 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48674 * manual/users.texi (seteuid): Consistently use neweuid for
48677 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48680 * manual/nss.texi (Services in the NSS configuration): Correct
48681 list of services in example configuration file.
48683 2012-02-19 Nick Bowler <nbowler@draconx.ca>
48686 * manual/arith.texi: Remove statements about negative zero
48687 behaving identically to zero.
48689 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48692 * manual/install.texi: Do not document upgrading from libc5.
48694 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48697 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48699 2012-02-18 David S. Miller <davem@davemloft.net>
48701 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48702 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48703 %o7 across the call.
48704 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48707 SETUP_PIC_REG_LEAF.
48708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48709 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48710 * sysdeps/sparc/crtn.S: Likewise.
48712 2012-02-17 Ulrich Drepper <drepper@gmail.com>
48714 * aout/Makefile: Remove.
48716 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48719 * manual/examples/argp-ex1.c (main): Format definition in GNU
48721 * manual/examples/argp-ex2.c (main): Likewise.
48722 * manual/examples/argp-ex3.c (main): Likewise.
48723 * manual/examples/argp-ex4.c (main): Likewise.
48724 * manual/examples/longopt.c (main): Use new-style prototype
48726 * manual/examples/strncat.c (main): Specify return type and use
48727 (void) for arguments.
48728 * manual/examples/subopt.c (main): Use char **argv argument.
48730 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48733 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48736 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48739 * manual/string.texi (strchr): Change when strchrnul is
48742 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48745 * manual/locale.texi (setlocale): Document LOCPATH.
48747 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48750 * manual/process.texi (execle): Move @dots{} before last argument.
48752 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
48755 * manual/charset.texi (Generic Charset Conversion): Fix typo
48756 (LC_TYPE -> LC_CTYPE).
48758 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48761 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48762 (scalbnf): Likewise.
48763 (scalbnl): Likewise.
48764 (scalbln): Likewise.
48765 (scalblnf): Likewise.
48766 (scalblnl): Likewise.
48767 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48768 (vwarnx): Likewise.
48771 * manual/filesys.texi (telldir): Use braces around return type.
48772 * manual/llio.texi (mmap): Add space after comma.
48773 (mmap64): Likewise.
48774 * manual/math.texi (jn): Use @var{} on parameter names.
48780 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48782 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48784 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48785 (sched_get_priority_max): Likewise.
48786 * manual/signal.texi (sigvec): Add space after comma.
48787 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48789 (if_indextoname): Likewise.
48790 (if_freenameindex): Likewise.
48791 (sendto): Use ',' instead of '.' in prototype.
48792 * manual/startup.texi (syscall): Use @dots{} instead of literal
48794 * manual/stdio.texi (__fpending): Separate initial words of
48795 paragraph from @deftypefun line.
48796 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48798 (vsyslog): Use @var{} on parameter names.
48799 * manual/terminal.texi (stty): Use @var{} on parameter names.
48800 * manual/users.texi (getutmp): Use @var{} on parameter names.
48801 (getutmpx): Likewise.
48803 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48806 * manual/stdio.texi (fopen): Fix typos in description of
48809 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48812 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48813 get clock_id definition.
48815 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48818 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48819 (madvise): Cast every argument to void on its own.
48821 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48824 * manual/startup.texi (Exit Status): Fix typo.
48826 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48829 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48830 * manual/examples/argp-ex2.c: Likewise.
48831 * manual/examples/argp-ex3.c: Likewise.
48833 2012-02-16 Richard Henderson <rth@redhat.com>
48835 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48836 * sysdeps/s390/s390-32/initfini.c: Remove.
48837 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48838 * sysdeps/s390/s390-64/initfini.c: Remove.
48840 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48842 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48843 compiler output for sysdeps/generic/initfini.c.
48844 * sysdeps/sh/elf/initfini.c: Remove file.
48846 2012-02-16 David S. Miller <davem@davemloft.net>
48849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48851 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48852 * sysdeps/sparc/crti.S: New file.
48853 * sysdeps/sparc/crtn.S: New file.
48854 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48855 * sysdeps/sparc/sparc64/Makefile: Likewise.
48857 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48860 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48862 2012-02-15 Roland McGrath <roland@hack.frob.com>
48865 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48867 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48868 (write, read, close): Likewise.
48869 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48871 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48873 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48874 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48875 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48876 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48878 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48882 2012-02-14 Marek Polacek <polacek@redhat.com>
48884 * sysdeps/x86_64/crti.S: New file.
48885 * sysdeps/x86_64/crtn.S: New file.
48886 * sysdeps/x86_64/elf/initfini.c: Remove file.
48888 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48890 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48891 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48892 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48893 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48895 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48899 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48901 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48902 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48903 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48904 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48906 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48910 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48912 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48913 __feraiseexcept instead of feraiseexcept.
48915 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48916 nanosleep invocations.
48917 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48918 strings, and add error checking for a nanosleep invocations.
48920 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48922 Replace FSF snail mail address with URLs, as per GNU coding standards.
48923 Most of the snail mail addresses were wrong anyway, and omitting
48924 them makes the source code easier to maintain. Almost all of the
48925 changes are to license notices and to locale LC_IDENTIFICATION
48926 addresses, except for this one:
48927 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48928 not its snail mail address.
48930 2012-02-09 Richard Henderson <rth@twiddle.net>
48932 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48933 of kernel-features.h.
48935 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48937 2012-02-08 Marek Polacek <polacek@redhat.com>
48939 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48940 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48941 * sysdeps/gnu/_G_config.h: Likewise.
48942 * sysdeps/generic/_G_config.h: Likewise.
48944 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48946 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48950 * sysdeps/powerpc/powerpc32/crti.S: New file.
48951 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48952 * sysdeps/powerpc/powerpc64/crti.S: New file.
48953 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48955 * Makeconfig (have-initfini): Don't set.
48956 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48957 * configure.in (nopic_initfini): Don't substitute.
48958 * config.h.in (HAVE_INITFINI): Don't #undef.
48959 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48960 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48962 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48964 Support crti.S and crtn.S provided directly by architectures.
48965 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48966 [crti.S in sysdirs] (omit-deps): Likewise.
48967 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48968 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48969 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48970 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48971 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48972 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48973 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48974 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48975 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48976 compiler output for sysdeps/generic/initfini.c.
48977 * sysdeps/i386/elf/Makefile: Remove file.
48978 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48980 2012-02-07 Marek Polacek <polacek@redhat.com>
48982 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48983 * sysdeps/gnu/_G_config.h: Likewise.
48984 * sysdeps/mach/hurd/_G_config.h: Likewise.
48986 2012-02-07 Marek Polacek <polacek@redhat.com>
48988 * math/Makefile (tests): Add tst-CMPLX2.
48989 * math/tst-CMPLX2.c: New file.
48991 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48993 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48995 * math/libm-test.inc (jn_test): Add missing L suffix.
48997 2012-02-06 Marek Polacek <polacek@redhat.com>
48999 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49000 * sysdeps/i386/fpu/e_powf.S: Likewise.
49001 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49002 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49003 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49004 * sysdeps/i386/fpu/e_pow.S: Likewise.
49005 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49006 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49007 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49008 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49009 * sysdeps/i386/fpu/e_log2.S: Likewise.
49010 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49011 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49012 * sysdeps/i386/fpu/e_powl.S: Likewise.
49013 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49014 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49015 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49016 * sysdeps/i386/fpu/e_logl.S: Likewise.
49017 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49018 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49019 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49020 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49021 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49022 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49023 * sysdeps/i386/fpu/e_log.S: Likewise.
49024 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49025 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49026 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49027 * sysdeps/i386/fpu/e_logf.S: Likewise.
49028 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49029 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49030 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49031 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49032 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49033 * sysdeps/i386/fpu/e_log10.S: Likewise.
49034 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49035 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49036 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49037 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49038 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49039 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49040 * sysdeps/i386/asm-syntax.h: Likewise.
49041 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49042 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49043 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49044 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49045 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49046 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49047 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49048 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49049 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49050 * sysdeps/powerpc/sysdep.h: Likewise.
49051 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49052 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49054 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49057 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49059 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49061 * sysdeps/i386/sysdep.h: Include <features.h>.
49062 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49065 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49067 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49069 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49072 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49074 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49075 (SETUP_PIC_REG): Use GET_PC_THUNK.
49076 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49079 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49081 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49082 for non-PIC compilation.
49083 (SETUP_PIC_REG): Add .p2align directive.
49084 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49085 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49086 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49087 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49088 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49089 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49090 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49091 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49092 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49093 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49094 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49095 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49096 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49097 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49098 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49099 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49100 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49101 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49102 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49103 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49104 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49105 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49106 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49107 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49108 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49111 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49112 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49113 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49114 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49116 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49117 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49118 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49119 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49120 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49121 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49122 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49123 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49124 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49126 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49128 * math/tst-CMPLX.c: Include <stdio.h>.
49130 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49132 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49134 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49135 * sysdeps/sparc/bits/mathdef.h: Likewise.
49137 2012-01-31 Marek Polacek <polacek@redhat.com>
49139 * libio/libio.h: Don't define _PARAMS.
49140 * locale/programs/config.h: Don't define PARAMS.
49141 * stdlib/strtol_l.c: Likewise.
49142 (__strtol_l): Remove PARAMS from the prototype.
49144 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49146 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49147 names. Just use the correct names. Remove unnecessary wrapper
49149 * malloc/arena.c: Likewise.
49150 * malloc/hooks.c: Likewise.
49152 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49153 ARENA_TEST says not to. Simplify test for creation of a new arena.
49154 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49156 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49158 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49160 (update_get_addr): New function.
49161 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49162 GET_ADDR_MODULE parameter.
49164 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49166 * crypt/cert.c: Remove __STDC__ conditionals.
49167 * crypt/crypt-entry.c: Likewise.
49168 * crypt/crypt_util.c: Likewise.
49169 * libio/filedoalloc.c: Likewise.
49170 * libio/fileops.c: Likewise.
49171 * libio/genops.c: Likewise.
49172 * libio/iofclose.c: Likewise.
49173 * libio/iofdopen.c: Likewise.
49174 * libio/iofopen.c: Likewise.
49175 * libio/iofopen64.c: Likewise.
49176 * libio/iogetdelim.c: Likewise.
49177 * libio/iopopen.c: Likewise.
49178 * libio/obprintf.c: Likewise.
49179 * libio/oldfileops.c: Likewise.
49180 * libio/oldiofclose.c: Likewise.
49181 * libio/oldiofdopen.c: Likewise.
49182 * libio/oldiofopen.c: Likewise.
49183 * libio/oldiopopen.c: Likewise.
49184 * libio/wfiledoalloc.c: Likewise.
49185 * libio/wgenops.c: Likewise.
49186 * locale/programs/xmalloc.c: Likewise.
49187 * misc/syslog.c: Likewise.
49188 * stdio-common/xbug.c: Likewise.
49189 * string/memchr.c: Likewise.
49190 * string/memcmp.c: Likewise.
49191 * string/memrchr.c: Likewise.
49192 * string/rawmemchr.c: Likewise.
49193 * sysdeps/posix/getcwd.c: Likewise.
49194 * time/strftime_l.c: Likewise.
49196 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49198 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49199 * config.make.in (config-cflags-sse2avx): Define.
49200 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49203 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49205 * scripts/config.guess: Update from upstream config git repository.
49206 * scripts/config.sub: Likewise.
49208 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49210 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49212 (R_TILEPRO_*, R_TILEGX_*): New macros.
49214 * scripts/firstversions.awk: Fix bug in version range handling.
49216 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49218 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49220 * include/sys/epoll.h: New file.
49221 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49224 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49226 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49227 Avoid unnecessary __WORDSIZE == 64 test.
49228 (fmaxf): Use VEX format if possible.
49233 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49234 * math/math_private.h: Remove libc_fegetround* and
49236 * sysdeps/i386/configure.in: Check for -msse2avx.
49237 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49238 also if SSE2AVX is defined.
49239 Remove libc_fegetround* and libc_fesetround*.
49240 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49241 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49245 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49247 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49250 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49252 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49254 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49256 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49258 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49261 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49263 * Makeconfig (libm): Define.
49264 * elf/Makefile: Add rules to build and run tst-relsort1.
49265 * elf/tst-relsort1.c: New file.
49266 * elf/tst-relsort1mod1.c: New file.
49267 * elf/tst-relsort1mod2.c: New file.
49269 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49271 * math/s_ldexp.c: Remove __STDC__ conditionals.
49272 * math/s_ldexpf.c: Likewise.
49273 * math/s_ldexpl.c: Likewise.
49274 * math/s_nextafter.c: Likewise.
49275 * math/s_nexttowardf.c: Likewise.
49276 * math/s_significand.c: Likewise.
49277 * math/s_significandf.c: Likewise.
49278 * math/s_significandl.c: Likewise.
49279 * math/w_jnl.c: Likewise.
49280 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49281 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49282 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49283 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49284 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49285 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49286 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49287 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49288 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49289 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49290 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49292 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49293 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49294 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49295 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49296 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49297 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49298 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49299 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49300 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49301 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49302 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49303 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49304 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49305 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49306 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49307 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49308 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49309 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49310 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49311 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49312 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49313 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49314 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49315 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49316 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49317 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49318 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49319 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49320 * sysdeps/ieee754/k_standard.c: Likewise.
49321 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49322 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49323 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49324 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49325 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49326 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49327 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49328 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49329 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49330 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49331 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49332 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49333 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49334 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49335 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49336 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49337 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49338 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49339 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49340 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49341 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49342 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49343 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49344 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49345 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49346 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49347 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49348 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49350 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49351 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49352 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49353 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49354 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49355 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49356 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49357 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49358 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49359 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49360 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49361 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49363 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49364 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49365 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49366 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49367 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49369 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49370 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49371 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49372 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49373 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49374 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49375 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49376 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49377 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49379 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49380 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49381 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49382 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49383 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49384 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49385 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49386 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49387 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49388 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49389 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49390 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49391 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49392 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49393 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49394 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49395 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49396 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49397 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49398 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49399 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49400 * sysdeps/ieee754/s_matherr.c: Likewise.
49401 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49402 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49406 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49408 * crypt/md5.h: Remove __STDC__ conditionals.
49409 * libio/libioP.h: Likewise.
49410 * locale/programs/config.h: Likewise.
49411 * sysdeps/generic/sysdep.h: Likewise.
49412 * sysdeps/i386/asm-syntax.h: Likewise.
49413 * sysdeps/s390/asm-syntax.h: Likewise.
49414 * sysdeps/unix/sysdep.h: Likewise.
49415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49418 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49420 * libio/libio.h: Remove __STDC__ conditionals.
49421 * malloc/obstack.h: Likewise.
49422 * math/complex.h: Likewise.
49423 * math/math.h: Likewise.
49424 * sysdeps/generic/_G_config.h: Likewise.
49425 * sysdeps/gnu/_G_config.h: Likewise.
49426 * sysdeps/mach/hurd/_G_config.h: Likewise.
49427 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49428 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49429 * sysdeps/sparc/bits/mathdef.h: Likewise.
49431 2012-01-26 Ulrich Drepper <drepper@gmail.com>
49434 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49435 Clean up HAS_* macros.
49436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49437 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49439 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49441 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49442 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49443 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49444 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49445 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49447 2012-01-25 Joseph Myers <joseph@codesourcery.com>
49449 * elf/tst-unique3.cc (gets): Remove declaration.
49450 * elf/tst-unique3lib.cc (gets): Likewise.
49451 * elf/tst-unique3lib2.cc (gets): Likewise.
49452 * elf/tst-unique4.cc (gets): Likewise.
49454 2012-01-24 Ulrich Drepper <drepper@gmail.com>
49456 * include/stdio.h: Add C++ protection. Add gets declarations and
49458 * debug/tst-chk1.c: Don't declare gets here.
49459 * stdio-common/tst-gets.c: Likewise.
49461 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49463 * posix/glob: Remove directory.
49465 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49467 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49469 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49471 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49472 of the non-standard EPFNOSUPPORT.
49474 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49476 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49477 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49478 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49480 2012-01-21 Ulrich Drepper <drepper@gmail.com>
49482 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49484 2012-01-20 Ulrich Drepper <drepper@gmail.com>
49486 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49488 * nscd/grpcache.c (cache_addgr): Likewise.
49489 * nscd/hstcache.c (cache_addhst): Likewise.
49490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49491 * nscd/pwdcache.c (cache_addpw): Likewise.
49492 * nscd/servicescache.c (cache_addserv): Likewise.
49494 2012-01-16 Ulrich Drepper <drepper@gmail.com>
49496 * malloc/malloc.c: Various cleanups.
49497 * malloc/hooks.c: Likewise.
49499 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49500 * stdlib/bug-fmtmsg1.c: New file.
49502 * stdlib/fmtmsg.c (init): Add missing unlock.
49503 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49505 2012-01-12 Marek Polacek <polacek@redhat.com>
49507 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49510 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49512 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49513 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49514 macro to ensure uniqueness of label name.
49515 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49516 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49518 2012-01-11 Ulrich Drepper <drepper@gmail.com>
49520 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49523 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49524 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49527 2012-01-10 Ulrich Drepper <drepper@gmail.com>
49529 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49531 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49532 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49533 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49535 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49537 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49538 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49539 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49542 * math/bits/math-finite.h: Add ldexp support.
49544 2012-01-10 Marek Polacek <polacek@redhat.com>
49546 * locale/programs/localedef.h (show_archive_content): Add noreturn
49549 2012-01-09 Ulrich Drepper <drepper@gmail.com>
49551 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49553 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49555 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49557 * io/Makefile (headers): Add bits/poll2.h.
49559 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49562 typo #include statement.
49564 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49566 * include/sys/cdefs.h: Define __attribute_alloc_size.
49567 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49568 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49569 * elf/pldd.c: Likewise.
49570 * iconv/iconv_charmap.c: Likewise.
49571 * iconv/iconvconfig.c: Likewise.
49572 * iconv/strtab.c: Likewise.
49573 * locale/programs/locale.c: Likewise.
49574 * locale/programs/localedef.h: Likewise.
49575 * locale/programs/simple-hash.c: Likewise.
49576 * nscd/nscd.h: Likewise.
49577 * nss/makedb.c: Likewise.
49578 * sysdeps/generic/ldconfig.h: Likewise.
49579 * locale/programs/localedef.c: Remove xmalloc prototype.
49580 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49582 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49584 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49587 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49589 * math/Makefile (tests): Add tst-CMPLX.
49590 * math/tst-CMPLX.c: New file.
49592 * math/complex.h (CMPLXL): Fix typo.
49594 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49595 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49597 * debug/tst-chk1.c: Add poll and ppoll tests.
49598 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49599 * include/sys/poll.h: Add hidden proto for ppoll.
49600 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49601 * sysdeps/mach/hurd/ppoll.c: Likewise.
49602 * io/ppoll.c: Likewise.
49603 * debug/poll_chk.c: New file.
49604 * debug/ppoll_chk.c: New file.
49605 * include/bits/poll2.h: New file.
49606 * io/bits/poll2.h: New file.
49609 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49611 * configure.in: static is always set to yes. Remove.
49612 * config.make.in: Don't set build-static.
49613 * Makeconfig: Remove use of build-static.
49614 * dlfcn/Makefile: Likewise.
49615 * elf/Makefile: Likewise.
49616 * math/Makefile: Likewise.
49617 * misc/Makefile: Likewise.
49618 * nptl/Makefile: Likewise.
49619 * sysdeps/mach/hurd/Makefile: Likewise.
49621 * configure.in: PWD_P is not used anymore.
49622 * config.make.in: Remove PWD_P entry.
49624 * configure.in: Remove last remnants of RANLIB.
49625 No need to check for signed size_t anymore.
49626 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49628 Remove __builtin_expect test because we require at least gcc 3.4.
49629 * aclocal.m4: Likewise.
49631 * wcsmbs/mbrtoc16.c: Implement using towc function.
49632 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49633 * wcsmbs/wcsmbsload.c: Likewise.
49634 * iconv/gconv_simple.c: Likewise.
49635 * iconv/gconv_int.h: Likewise.
49636 * iconv/gconv_builtin.h: Likewise.
49637 * iconv/iconv_prog.c: Remove CHAR16 handling.
49639 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49641 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49643 * configure.in: Remove --with-elf and --enable-bounded options.
49644 Dont set base_machine for ia64. More non-ELF conditions removed.
49645 Remove testing and setting of leading underscore information.
49646 * config.make.in (build-bounded): Set to no.
49647 * config.h.in: Remove NO_UNDERSCORES entry.
49648 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49650 * csu/start.c: Remove !NO_UNDERSCORE code.
49651 * locale/localeinfo.h: Likewise.
49652 * sysdeps/generic/machine-gmon.h: Likewise.
49653 * sysdeps/generic/sysdep.h: Likewise.
49654 * sysdeps/i386/sysdep.h: Likewise.
49655 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49656 * sysdeps/mach/sysdep.h: Likewise.
49657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49658 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49659 * sysdeps/sh/sysdep.h: Likewise.
49660 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49661 * sysdeps/unix/i386/sysdep.S: Likewise.
49662 * sysdeps/unix/sparc/start.c: Likewise.
49663 * sysdeps/unix/sparc/sysdep.S: Likewise.
49664 * sysdeps/unix/sparc/sysdep.h: Likewise.
49665 * sysdeps/unix/start.c: Likewise.
49666 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49667 * sysdeps/x86_64/sysdep.h: Likewise.
49669 2012-01-07 Ulrich Drepper <drepper@gmail.com>
49672 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49674 * argp/argp-fmtstream.h: Use const instead __const.
49675 * argp/argp.h: Likewise.
49676 * assert/assert.h: Likewise.
49677 * bits/fenv.h: Likewise.
49678 * bits/sched.h: Likewise.
49679 * bits/sigset.h: Likewise.
49680 * bits/sigthread.h: Likewise.
49681 * catgets/nl_types.h: Likewise.
49682 * conform/data/pthread.h-data: Likewise.
49683 * crypt/crypt-private.h: Likewise.
49684 * crypt/crypt.h: Likewise.
49685 * crypt/crypt_util.c: Likewise.
49686 * ctype/ctype.h: Likewise.
49687 * debug/execinfo.h: Likewise.
49688 * debug/mbsnrtowcs_chk.c: Likewise.
49689 * debug/mbsrtowcs_chk.c: Likewise.
49690 * debug/wcsnrtombs_chk.c: Likewise.
49691 * debug/wcsrtombs_chk.c: Likewise.
49692 * debug/wcstombs_chk.c: Likewise.
49693 * dirent/dirent.h: Likewise.
49694 * dlfcn/dlfcn.h: Likewise.
49695 * elf/neededtest4.c: Likewise.
49696 * grp/grp.h: Likewise.
49697 * gshadow/gshadow.h: Likewise.
49698 * iconv/gconv.h: Likewise.
49699 * iconv/gconv_int.h: Likewise.
49700 * iconv/gconv_simple.c: Likewise.
49701 * iconv/iconv.h: Likewise.
49702 * iconv/loop.c: Likewise.
49703 * iconv/skeleton.c: Likewise.
49704 * include/aio.h: Likewise.
49705 * include/aliases.h: Likewise.
49706 * include/argz.h: Likewise.
49707 * include/arpa/inet.h: Likewise.
49708 * include/assert.h: Likewise.
49709 * include/dirent.h: Likewise.
49710 * include/dlfcn.h: Likewise.
49711 * include/execinfo.h: Likewise.
49712 * include/fcntl.h: Likewise.
49713 * include/fenv.h: Likewise.
49714 * include/glob.h: Likewise.
49715 * include/grp.h: Likewise.
49716 * include/libintl.h: Likewise.
49717 * include/mntent.h: Likewise.
49718 * include/netdb.h: Likewise.
49719 * include/pwd.h: Likewise.
49720 * include/rpc/netdb.h: Likewise.
49721 * include/sched.h: Likewise.
49722 * include/search.h: Likewise.
49723 * include/shadow.h: Likewise.
49724 * include/signal.h: Likewise.
49725 * include/stdio.h: Likewise.
49726 * include/stdlib.h: Likewise.
49727 * include/string.h: Likewise.
49728 * include/sys/socket.h: Likewise.
49729 * include/sys/stat.h: Likewise.
49730 * include/sys/statfs.h: Likewise.
49731 * include/sys/statvfs.h: Likewise.
49732 * include/sys/syslog.h: Likewise.
49733 * include/sys/time.h: Likewise.
49734 * include/sys/uio.h: Likewise.
49735 * include/time.h: Likewise.
49736 * include/unistd.h: Likewise.
49737 * include/utmp.h: Likewise.
49738 * include/wchar.h: Likewise.
49739 * include/wctype.h: Likewise.
49740 * inet/aliases.h: Likewise.
49741 * inet/arpa/inet.h: Likewise.
49742 * inet/netinet/ether.h: Likewise.
49743 * inet/netinet/in.h: Likewise.
49744 * intl/libintl.h: Likewise.
49745 * io/bits/fcntl2.h: Likewise.
49746 * io/fcntl.h: Likewise.
49747 * io/ftw.h: Likewise.
49748 * io/sys/poll.h: Likewise.
49749 * io/sys/stat.h: Likewise.
49750 * io/sys/statfs.h: Likewise.
49751 * io/sys/statvfs.h: Likewise.
49752 * io/utime.h: Likewise.
49753 * libio/bits/stdio.h: Likewise.
49754 * libio/bits/stdio2.h: Likewise.
49755 * libio/libio.h: Likewise.
49756 * libio/libioP.h: Likewise.
49757 * libio/stdio.h: Likewise.
49758 * locale/lc-ctype.c: Likewise.
49759 * locale/locale.h: Likewise.
49760 * login/utmp.h: Likewise.
49761 * malloc/arena.c: Likewise.
49762 * malloc/malloc.c: Likewise.
49763 * malloc/malloc.h: Likewise.
49764 * malloc/mcheck.c: Likewise.
49765 * malloc/mtrace.c: Likewise.
49766 * math/bits/mathcalls.h: Likewise.
49767 * math/fenv.h: Likewise.
49768 * math/math_private.h: Likewise.
49769 * misc/bits/error.h: Likewise.
49770 * misc/bits/syslog.h: Likewise.
49771 * misc/err.h: Likewise.
49772 * misc/error.h: Likewise.
49773 * misc/fstab.h: Likewise.
49774 * misc/mntent.h: Likewise.
49775 * misc/regexp.h: Likewise.
49776 * misc/search.h: Likewise.
49777 * misc/sgtty.h: Likewise.
49778 * misc/sys/mman.h: Likewise.
49779 * misc/sys/syslog.h: Likewise.
49780 * misc/sys/uio.h: Likewise.
49781 * misc/sys/xattr.h: Likewise.
49782 * misc/ttyent.h: Likewise.
49783 * nis/rpcsvc/ypclnt.h: Likewise.
49784 * nss/nss.h: Likewise.
49785 * posix/bits/unistd.h: Likewise.
49786 * posix/fnmatch.h: Likewise.
49787 * posix/glob.h: Likewise.
49788 * posix/sched.h: Likewise.
49789 * posix/spawn.h: Likewise.
49790 * posix/sys/wait.h: Likewise.
49791 * posix/unistd.h: Likewise.
49792 * posix/wordexp.h: Likewise.
49793 * pwd/pwd.h: Likewise.
49794 * resolv/netdb.h: Likewise.
49795 * resource/sys/resource.h: Likewise.
49796 * rt/aio.h: Likewise.
49797 * rt/bits/mqueue2.h: Likewise.
49798 * rt/mqueue.h: Likewise.
49799 * shadow/shadow.h: Likewise.
49800 * signal/signal.h: Likewise.
49801 * socket/send.c: Likewise.
49802 * socket/sendto.c: Likewise.
49803 * socket/sys/socket.h: Likewise.
49804 * stdio-common/printf.h: Likewise.
49805 * stdlib/bits/stdlib.h: Likewise.
49806 * stdlib/fmtmsg.h: Likewise.
49807 * stdlib/monetary.h: Likewise.
49808 * stdlib/stdlib.h: Likewise.
49809 * stdlib/ucontext.h: Likewise.
49810 * streams/stropts.h: Likewise.
49811 * string/argz.h: Likewise.
49812 * string/bits/string2.h: Likewise.
49813 * string/string.h: Likewise.
49814 * string/strings.h: Likewise.
49815 * sunrpc/rpc/auth.h: Likewise.
49816 * sunrpc/rpc/auth_des.h: Likewise.
49817 * sunrpc/rpc/clnt.h: Likewise.
49818 * sunrpc/rpc/netdb.h: Likewise.
49819 * sunrpc/rpc/pmap_clnt.h: Likewise.
49820 * sunrpc/rpc/xdr.h: Likewise.
49821 * sysdeps/generic/inttypes.h: Likewise.
49822 * sysdeps/generic/net/if.h: Likewise.
49823 * sysdeps/generic/sys/swap.h: Likewise.
49824 * sysdeps/gnu/net/if.h: Likewise.
49825 * sysdeps/gnu/utmpx.h: Likewise.
49826 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49827 * sysdeps/i386/i486/bits/string.h: Likewise.
49828 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49829 * sysdeps/s390/bits/string.h: Likewise.
49830 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49831 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49832 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49833 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49834 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49835 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49836 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49837 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49838 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49839 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49840 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49841 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49842 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49843 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49844 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49845 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49846 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49850 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49851 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49852 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49853 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49854 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49855 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49856 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49858 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49859 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49860 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49861 * sysvipc/sys/ipc.h: Likewise.
49862 * sysvipc/sys/msg.h: Likewise.
49863 * sysvipc/sys/sem.h: Likewise.
49864 * sysvipc/sys/shm.h: Likewise.
49865 * termios/termios.h: Likewise.
49866 * time/sys/time.h: Likewise.
49867 * time/time.h: Likewise.
49868 * wcsmbs/bits/wchar2.h: Likewise.
49869 * wcsmbs/uchar.h: Likewise.
49870 * wcsmbs/wchar.h: Likewise.
49871 * wctype/wctype.h: Likewise.
49874 * Makeconfig: Remove all but ELF support including AIX support.
49875 * Makerules: Likewise.
49876 * config.h.in: Likewise.
49877 * config.make.in: Likewise.
49878 * configure: Likewise.
49879 * configure.in: Likewise.
49880 * csu/Makefile: Likewise.
49881 * csu/version.c: Likewise.
49882 * debug/Makefile: Likewise.
49883 * dlfcn/Makefile: Likewise.
49884 * elf/Makefile: Likewise.
49885 * extra-lib.mk: Likewise.
49886 * iconv/Makefile: Likewise.
49887 * include/libc-symbols.h: Likewise.
49888 * include/shlib-compat.h: Likewise.
49889 * resolv/Makefile: Likewise.
49890 * resolv/res_libc.c: Likewise.
49891 * rt/Makefile: Likewise.
49892 * sysdeps/i386/asm-syntax.h: Likewise.
49893 * sysdeps/i386/sysdep.h: Likewise.
49894 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49895 * sysdeps/mach/sysdep.h: Likewise.
49896 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49897 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49898 * sysdeps/s390/asm-syntax.h: Likewise.
49899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49900 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49901 * sysdeps/sh/sysdep.h: Likewise.
49902 * sysdeps/unix/sparc/sysdep.h: Likewise.
49903 * sysdeps/wordsize-32/divdi3.c: Likewise.
49904 * sysdeps/x86_64/sysdep.h: Likewise.
49906 * argp/Versions: Remove _argp_unlock_xxx.
49909 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49910 * abilist/libBrokenLocale.abilist: Likewise.
49911 * abilist/libanl.abilist: Likewise.
49912 * abilist/libc.abilist: Likewise.
49913 * abilist/libcrypt.abilist: Likewise.
49914 * abilist/libdl.abilist: Likewise.
49915 * abilist/libm.abilist: Likewise.
49916 * abilist/libnsl.abilist: Likewise.
49917 * abilist/libpthread.abilist: Likewise.
49918 * abilist/libresolv.abilist: Likewise.
49919 * abilist/librt.abilist: Likewise.
49920 * abilist/libthread_db.abilist: Likewise.
49921 * abilist/libutil.abilist: Likewise.
49922 * abilist/libnss_db.abilist: New file.
49924 * scripts/abilist.awk: Add support for indirect functions.
49926 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49928 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49930 * shlib-versions: Remove entries for ports architectures.
49932 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49934 * elf/stackguard-macros.h: Remove support for IA-64.
49935 * elf/tst-auditmod1.c: Likewise.
49936 * sysdeps/generic/ldsodefs.h: Likewise.
49938 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49939 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49943 * configure.in: Remove --enable-omitfp support.
49945 * config.make.in: Likewise.
49946 * Makeconfig: Likewise.
49947 * manual/install.texi: Likewise.
49949 In case anyone cares, the IA-64 architecture could move to ports.
49950 * sysdeps/ia64/*: Removed.
49951 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49952 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49955 * configure.in: Remove entries for unsupported architectures.
49958 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49959 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49961 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49962 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49963 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49964 fall back to using wcrtomb.
49965 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49966 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49968 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49969 * wcsmbs/tst-c16c32-1.c: New file.
49971 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49974 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49976 * elf/tst-unique3.cc: Add explicit declaration of gets.
49977 * elf/tst-unique3lib.cc: Likewise.
49978 * elf/tst-unique3lib2.cc: Likewise.
49979 * elf/tst-unique4.cc: Likewise.
49981 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49983 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49986 * assert/assert.h (static_assert): Don't define for C++.
49987 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49988 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49990 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49992 * iconv/loop.c (single loop): Fix assertion in storing of
49995 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49997 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49999 * posix/getconf.c: Update copyright year.
50000 * nss/getent.c: Likewise.
50001 * nss/makedb.c: Likewise.
50002 * iconv/iconvconfig.c: Likewise.
50003 * iconv/iconv_prog.c: Likewise.
50004 * elf/ldconfig.c: Likewise.
50005 * elf/pldd.c: Likewise.
50006 * elf/sotruss.ksh: Likewise.
50007 * catgets/gencat.c: Likewise.
50008 * csu/version.c: Likewise.
50009 * elf/ldd.bash.in: Likewise.
50010 * elf/sprof.c (print_version): Likewise.
50011 * locale/programs/locale.c: Likewise.
50012 * locale/programs/localedef.c: Likewise.
50013 * login/programs/pt_chown.c: Likewise.
50014 * nscd/nscd.c (print_version): Likewise.
50015 * debug/xtrace.sh: Likewise.
50016 * malloc/memusage.sh: Likewise.
50017 * malloc/mtrace.pl: Likewise.
50018 * debug/catchsegv.sh: Likewise.
50020 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50022 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50025 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50028 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50029 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50031 * iconv/gconv_int.h: Likewise.
50032 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50033 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50034 from libc for GLIBC_2.16.
50035 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50036 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50037 * wcsmbs/uchar.h: Really define mbstate_t.
50038 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50039 * wcsmbs/c16rtomb.c: New file.
50040 * wcsmbs/mbrtoc16.c: New file.
50041 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50042 for C/POSIX locale.
50043 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50044 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50046 * wcsmbs/wchar.h: Add missing __restrict.
50048 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50051 * time/Makefile (routines): Add timespec_get.
50052 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50053 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50054 timespec for ISO C11.
50055 * time/timespec_get.c: New file.
50056 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50057 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50060 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50061 * stdlib/stdlib.h: Declare aligned_alloc.
50062 * Versions.def: Add GLIBC_2.16 for libc.
50063 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50066 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50069 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50073 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50076 * assert/assert.h (static_assert): Define.
50078 * version.h: Update for 2.16 development version.
50081 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50084 * version.h (RELEASE): Bump for 2.15 release.
50085 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50087 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50088 Patch by Marek Polacek <mpolacek@redhat.com>.
50090 * bits/byteswap.h: Protect long long constants with __extension__.
50091 * sysdeps/i386/bits/byteswap.h: Likewise.
50092 * sysdeps/ia64/bits/byteswap.h: Likewise.
50093 * sysdeps/s390/bits/byteswap.h: Likewise.
50094 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50096 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50099 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50100 destination buffer.
50101 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50103 2011-12-23 Marek Polacek <polacek@redhat.com>
50105 * elf/dl-addr.c (determine_info): Add inline keyword.
50106 * elf/tst-auditmod4b.c (check_avx): Likewise.
50107 * elf/tst-auditmod6b.c (check_avx): Likewise.
50108 * elf/tst-auditmod6c.c (check_avx): Likewise.
50109 * elf/tst-auditmod7b.c (check_avx): Likewise.
50111 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50113 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50116 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50119 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50120 processing for last bytes.
50122 2011-08-06 Bruno Haible <bruno@clisp.org>
50125 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50126 U+0385, not to U+1FEE.
50129 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50130 entry for U+00A5 U+0301.
50132 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50135 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50136 buffer for the output is too small.
50138 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50142 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50143 SSE flags if possible.
50145 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50148 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50149 processing for last bytes.
50151 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50153 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50154 (syscall-list-default-options, syscall-list-default-condition)
50155 (syscall-list-includes): Define.
50156 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50157 list of ABIs and options and #if conditions for each ABI. Do not
50158 handle common syscalls between ABIs specially.
50159 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50161 (syscall-list-variants, syscall-list-32bit-options)
50162 (syscall-list-32bit-condition, syscall-list-64bit-options)
50163 (syscall-list-64bit-condition): Define.
50164 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50165 (syscall-list-variants, syscall-list-32bit-options)
50166 (syscall-list-32bit-condition, syscall-list-64bit-options)
50167 (syscall-list-64bit-condition): Define.
50168 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50170 (syscall-list-variants, syscall-list-32bit-options)
50171 (syscall-list-32bit-condition, syscall-list-64bit-options)
50172 (syscall-list-64bit-condition): Define.
50173 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50175 (syscall-list-variants, syscall-list-32bit-options)
50176 (syscall-list-32bit-condition, syscall-list-64bit-options)
50177 (syscall-list-64bit-condition): Define.
50179 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50181 * locale/iso-639.def: Add brx entry.
50184 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50185 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50187 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50188 __feraiseexcept_renamed.
50190 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50193 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50194 EPOLLET with unsigned values.
50195 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50198 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50199 to large cancellation.
50200 * math/s_cacoshf.c: Likewise.
50201 * math/s_cacoshl.c: Likewise.
50203 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50207 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50208 * math/s_cacoshf.c: Likewise.
50209 * math/s_cacoshl.c: Likewise.
50211 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50214 * iconv/gconv.h: Define __GCONV_SWAP.
50215 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50216 * iconvdata/utf-16.c: Likewise.
50217 * iconvdata/utf-32.c: Likewise.
50219 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50223 numerator after shifting it by one limb.
50225 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50227 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50228 under [__USE_EXTERN_INLINES].
50230 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50233 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50235 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50237 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50238 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50240 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50241 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50242 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50243 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50244 for strncasecmp/strncasecmp_l compilation.
50245 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50246 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50248 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50251 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50254 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50257 * time/tzfile.c (__tzfile_read): Check values from file header.
50259 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50261 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50262 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50263 * powerpc/powerpc32/dl-start.S: Likewise.
50264 * powerpc/powerpc32/elf/start.S: Likewise.
50265 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50266 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50267 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50268 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50269 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50270 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50271 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50272 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50273 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50274 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50275 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50276 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50277 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50278 * powerpc/powerpc32/memset.S: Likewise.
50279 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50280 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50281 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50282 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50283 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50284 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50285 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50286 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50287 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50288 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50289 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50290 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50291 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50293 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50295 * math/libm-test.inc: Added more nearbyint tests.
50296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50301 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50303 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50306 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50308 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50309 Add wcscpy-ssse3 wcscpy-c.
50310 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50311 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50312 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50313 * sysdeps/x86_64/wcschr.S: New file.
50314 * sysdeps/x86_64/wcsrchr.S: New file.
50315 * string/test-strcmp.c: Remove checking of wcscmp function for
50317 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50318 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50319 wcsrchr-sse2 wcsrchr-c.
50320 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50321 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50322 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50323 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50324 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50325 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50326 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50327 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50328 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50329 * wcsmbc/wcschr.c (WCSCHR): New macro.
50331 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50333 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50334 * wcsmbs/test-wcsrchr.c: New file.
50335 * string/test-strrchr.c: Add wcsrchr support.
50337 * wcsmbs/test-wcscpy.c: New file.
50338 * string/test-strcpy.c: Add wcscpy support.
50341 2011-12-10 Ulrich Drepper <drepper@gmail.com>
50343 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50346 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50349 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50351 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50353 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50354 Minor optimizations.
50356 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50357 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50358 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50360 2011-12-03 Ulrich Drepper <drepper@gmail.com>
50362 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50363 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50364 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50365 for gcc to avoid warnings.
50366 * inet/Makefile (tests): Add tst-checks.
50367 * inet/tst-checks.c: New file.
50369 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50372 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50375 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50376 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50378 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50380 2011-12-02 Ulrich Drepper <drepper@gmail.com>
50382 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50385 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50387 2011-11-29 Joseph Myers <joseph@codesourcery.com>
50389 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50390 conditional on GCC version.
50391 (__arch_compare_and_exchange_val_8_acq)
50392 (__arch_compare_and_exchange_val_16_acq)
50393 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50394 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50395 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50397 2011-12-02 Joseph Myers <joseph@codesourcery.com>
50399 * sysdeps/sh/backtrace.c: New file.
50401 2011-12-02 Andreas Schwab <schwab@redhat.com>
50403 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50406 2011-12-01 Andreas Schwab <schwab@redhat.com>
50408 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50409 falling back to utime.
50411 2011-11-30 Andreas Schwab <schwab@redhat.com>
50413 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50414 expectations for float.
50416 2011-11-29 Andreas Schwab <schwab@redhat.com>
50418 * locale/weight.h (findidx): Add parameter len.
50419 * locale/weightwc.h (findidx): Likewise.
50420 * posix/fnmatch_loop.c (FCT): Adjust caller.
50421 * posix/regcomp.c (build_equiv_class): Likewise.
50422 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50423 * posix/regexec.c (check_node_accept_bytes): Likewise.
50424 * string/strcoll_l.c (STRCOLL): Likewise.
50425 * string/strxfrm_l.c (STRXFRM): Likewise.
50427 2011-11-17 Ulrich Drepper <drepper@gmail.com>
50429 * Makefile.in: Remove CVSOPT handling.
50430 * configure.in: Remove use of AC_REVISION.
50431 * iconvdata/Makefile (distribute): No need to filter out CVS.
50432 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50435 2011-11-16 Andreas Schwab <schwab@redhat.com>
50437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50438 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50439 [USE_AS_STRNCASECMP_L]: Likewise.
50440 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50441 NO_TLS_DIRECT_SEG_REFS.
50442 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50443 Fix argument offsets for non-PIC.
50444 [USE_AS_STRNCASECMP_L]: Likewise.
50445 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50446 NO_TLS_DIRECT_SEG_REFS.
50448 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50450 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50452 * locale/loadlocale.c (_nl_load_locale): Likewise.
50454 2011-11-15 Andreas Schwab <schwab@redhat.com>
50456 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50457 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50458 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50459 (SYSCALL_GETTIME): Set errno on error.
50461 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50462 count references to noai6ai_cached.
50464 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50466 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50468 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50469 FD_CLOEXEC for /proc/self/maps.
50471 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50472 FD_CLOEXEC for /proc/meminfo.
50474 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50477 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50478 FD_CLOEXEC for given file.
50480 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50482 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50483 FD_CLOEXEC for /etc/hosts.
50484 (_gethtent): Likewise.
50486 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50488 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50489 cancellation and set FD_CLOEXEC for /etc/netgroup.
50491 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50492 reading /etc/publickey.
50494 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50495 allow cancellation when reading /etc/group.
50497 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50499 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50501 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50502 when using data file.
50504 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50506 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50507 (write_nis_obj): Use "c" and "e" in fopen.
50509 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50511 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50513 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50515 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50517 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50520 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50522 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50524 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50526 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50527 file parsing and set FD_CLOEXEC.
50529 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50531 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50533 2011-11-14 Andreas Schwab <schwab@redhat.com>
50535 * malloc/arena.c (arena_get2): Don't call reused_arena when
50536 _int_new_arena failed.
50538 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50540 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50541 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50542 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50543 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50545 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50546 to compile strcasecmp and strncasecmp.
50547 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50548 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50552 2011-11-13 Ulrich Drepper <drepper@gmail.com>
50554 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50555 locale-defines.sym to gen-as-const-headers.
50556 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50557 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50559 to compile strcasecmp and strncasecmp.
50560 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50561 strcasecmp_l and strncasecmp_l.
50562 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50563 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50564 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50565 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50566 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50567 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50568 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50569 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50570 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50571 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50572 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50574 2011-11-12 Ulrich Drepper <drepper@gmail.com>
50576 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50577 result of SYSDEP_GETTIME_CPU to retval.
50578 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50579 parameter list to macro. Remove trailing semicolon. Adjust users.
50581 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50584 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50586 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50588 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50589 from unused variable.
50591 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50593 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50596 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50599 * sunrpc/rpc_prot.c (rejected): Fix case value.
50601 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50602 unsigned long long int to avoid warnings in shift.
50604 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50606 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50609 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50610 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50611 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50613 * nis/nis_table.c (nis_list): Use variable of correct type for
50614 result of __follow_path call.
50616 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50618 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50619 of math functions ceil, trunc, floor, round, and sqrt, when
50620 avaliable on the platform.
50621 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50623 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50624 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50625 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50627 2011-10-30 Marek Polacek <mpolacek@redhat.com>
50629 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50630 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50632 2011-11-11 Roland McGrath <roland@hack.frob.com>
50634 * include/unistd.h: Fix __readlink return type.
50635 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50637 2011-11-11 Ulrich Drepper <drepper@gmail.com>
50639 * stdlib/ucontext.h: Undo last change for makecontext.
50641 2011-11-11 Andreas Schwab <schwab@redhat.com>
50643 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50645 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50646 * setjmp/setjmp.h: Mark functions as non-leaf.
50647 * setjmp/bits/setjmp2.h: Likewise.
50648 * stdlib/ucontext.h: Likewise.
50650 2011-11-10 Andreas Schwab <schwab@redhat.com>
50652 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50653 (reused_arena): Don't check arena limit.
50654 (arena_get2): Atomically check arena limit.
50656 2011-11-08 Ulrich Drepper <drepper@gmail.com>
50658 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50659 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50661 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50664 2011-11-07 Andreas Schwab <schwab@redhat.com>
50666 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50667 handler when locking.
50669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50670 Fix size of allocated buffer.
50672 2011-11-04 Andreas Schwab <schwab@redhat.com>
50675 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50676 declarations for long double functions.
50677 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50679 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50681 2011-11-03 Andreas Schwab <schwab@redhat.com>
50683 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50686 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50689 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50691 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50693 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50695 * include/alloca.h (stackinfo_alloca_round): Define.
50696 (extend_alloca): Use it.
50697 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50698 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50701 * scripts/check-local-headers.sh: Ignore libaudit.h.
50703 * nscd/Makefile (extra-objs): Make recursively expanded.
50705 2011-11-01 Ulrich Drepper <drepper@gmail.com>
50707 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50710 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50711 * posix/tst-rfc3484-2.c: Likewise.
50712 * posix/tst-rfc3484-3.c: Likewise.
50714 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50716 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50718 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50719 process_vm_writev from libc using GLIBC_2.15 version.
50721 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50723 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50725 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50728 2011-10-31 Ulrich Drepper <drepper@gmail.com>
50731 * nss/getent.c (initgroups_keys): Show error message in case no group
50734 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50735 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50736 __bump_nl_timestamp.
50737 * nscd/connections (nscd_init): When host database is served open
50738 netlink socket and request notification about configuration changes.
50739 (main_loop_poll): Track netlink file descriptor and bump timestamp
50740 in case data becomes available.
50741 (main_loop_epoll): Likewise.
50742 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50743 (database_pers_head): Add extra_data fileds.
50744 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50745 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50746 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50749 in6ai data, call __free_in6ai.
50750 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50751 Add -DHAVE_NETLINK.
50752 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50753 interface information. Reuse previous data if netlink timestamp
50755 (__bump_nl_timestamp): New function.
50756 (__free_in6ai): New function.
50758 2011-10-30 Ulrich Drepper <drepper@gmail.com>
50760 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50761 close_not_cancel_no_status here.
50762 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50764 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50767 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50770 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50771 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50772 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50774 2011-07-03 Andreas Jaeger <aj@suse.de>
50777 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50778 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50779 * math/libm-test.inc (sin_test): Add test case.
50781 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50784 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50785 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50787 * elf/chroot_canon.c (chroot_canon): Cleanups.
50789 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50792 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50793 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50795 * string/test-strchr.c: Make usable for strchrnul testing.
50796 * string/test-strchrnul.c: New file.
50797 * string/Makefile (strop-tests): Add strchrnul.
50799 * po/it.po: Update from translation team.
50800 * po/es.po: Likewise.
50802 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50804 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50805 the three constants needed as parameters. Drop the others.
50806 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50807 __m128i_strloadu_tolower.
50808 Create and initialize variable zero and use it in all the places
50809 where _mm_setzero_si128 was used.
50811 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50812 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50813 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50814 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50816 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50817 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50818 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50819 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50820 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50821 __mpranred, __mptan.
50822 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50823 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50824 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50825 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50826 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50827 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50828 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50829 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50830 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50832 2011-10-28 Andreas Schwab <schwab@redhat.com>
50834 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50835 redefine if SHARED.
50836 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50839 wide char related routines to wcsmbs subdir.
50841 2011-10-27 Andreas Schwab <schwab@redhat.com>
50844 * misc/sys/cdefs.h (__THROWNL): Define.
50845 * posix/unistd.h: Use __THREADNL instead of __THREAD
50846 for memory synchronization functions.
50848 2011-10-26 Roland McGrath <roland@hack.frob.com>
50851 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50853 * manual/stdio.texi (Obstack Streams): Node removed.
50855 2011-10-26 Andreas Schwab <schwab@redhat.com>
50857 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50858 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50859 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50861 * math/math_private.h (math_force_eval): Allow non-addressable
50863 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50865 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50867 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50868 file is not needed.
50870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50872 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50873 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50874 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50875 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50876 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50877 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50879 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50880 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50881 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50882 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50883 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50884 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50885 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50886 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50887 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50888 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50889 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50890 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50891 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50892 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50893 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50894 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50895 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50896 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50897 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50899 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50900 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50902 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50903 place. Use VEX encoding when compiling for AVX.
50905 2011-10-25 Andreas Schwab <schwab@redhat.com>
50907 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50908 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50910 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50912 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50914 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50915 useless if() expression.
50916 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50917 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50918 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50919 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50920 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50921 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50922 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50923 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50924 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50925 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50926 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50927 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50928 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50929 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50930 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50931 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50932 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50933 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50934 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50936 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50938 2011-10-25 Andreas Schwab <schwab@redhat.com>
50940 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50942 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50944 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50946 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50947 .text section. Avoid duplicate constants.
50948 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50950 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50952 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50956 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50957 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50958 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50959 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50960 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50961 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50962 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50963 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50964 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50965 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50966 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50968 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50969 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50970 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50971 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50972 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50973 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50974 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50975 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50976 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50977 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50978 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50979 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50980 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50981 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50982 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50983 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50984 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50985 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50986 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50987 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50988 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50989 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50990 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50991 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50992 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50994 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50996 * sysdeps/x86_64/dla.h: Move to ...
50997 * sysdeps/x86_64/fpu/dla.h: ...here.
50998 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50999 situations. Use __builtin_fma only for gcc 4.6 and up.
51001 * config.make.in: Add have-mfma4 entry.
51002 * configure.in: Substitute libc_cv_cc_fma4.
51003 * math/Makefile (dbl-only-routines): Add sincostab.
51004 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51005 Use __sincostab not sincos.
51006 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51008 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51013 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51014 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51015 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51016 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51018 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51019 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51021 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51022 define aliases when function name is a macro.
51023 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51024 sysdeps/ieee754/dbl-64/sincos.tbl.
51025 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51026 fma4-enabled routines.
51027 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51028 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51029 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51030 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51032 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51034 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51036 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51037 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51038 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51039 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51040 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51042 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51043 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51044 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51045 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51047 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51048 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51049 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51050 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51051 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51052 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51053 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51054 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51055 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51056 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51058 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51063 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51069 2011-10-24 Andreas Schwab <schwab@redhat.com>
51071 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51073 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51075 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51077 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51079 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51081 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51082 Remove unused variable magic_bits.
51083 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51085 * string/strnlen.c: Define and use STRNLEN macro.
51086 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51087 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51089 * wcsmbs/wcslen.c: Define and use WCSLEN.
51090 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51091 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51092 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51093 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51094 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51095 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51096 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51098 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51101 strnlen-sse2-no-bsf.
51102 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51104 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51105 Add strnlen support.
51106 (USE_AS_STRNLEN): New macro.
51107 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51108 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51109 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51110 * sysdeps/x86_64/wcslen.S: New file.
51112 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51114 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51115 XMM-moves are used for copying on small sizes.
51117 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51119 * wcsmbs/Makefile (strop-tests): Add wcschr.
51120 * wcsmbs/test-wcschr.c: New file.
51121 * string/test-strchr.c: Update.
51122 Add wcschr support.
51125 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51127 * wcsmbs/Makefile (strop-tests): Add wcslen.
51128 * wcsmbs/test-wcslen.c: New file.
51129 * string/test-strlen.c: Update.
51130 Add wcslen support.
51133 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51135 * po/it.po: Update from translation team.
51137 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51139 * sysdeps/x86_64/wcscmp.S: Update.
51140 Fix wrong comparison semantics.
51141 wcscmp shall use signed comparison not unsigned.
51142 Don't use substraction to avoid overflow bug.
51143 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51144 * wcsmbc/wcscmp.c: Likewise.
51145 * string/test-strcmp.c: Likewise.
51146 Add new tests to check cases with negative values.
51148 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51150 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51151 * sysdeps/x86_64/dla.h: ...here. New file.
51152 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51153 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51159 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51160 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51162 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51164 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51165 __ynl_finite aliases.
51167 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51171 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51173 [DLA_FMA] (EMULV): Use DLA_FMA.
51174 [DLA_FMA] (MUL12): Use EMULV.
51175 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51176 that are not needed.
51177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51181 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51182 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51183 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51185 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51187 * math/s_nan.c: Undef __nan.
51188 * math/s_nanf.c: Undef __nanf.
51189 * math/s_nanl.c: Undef __nanl.
51190 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51193 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51195 * math/s_catan.c: Add branch predictions.
51196 * math/s_catanf.c: Likewise.
51197 * math/s_catanh.c: Likewise.
51198 * math/s_catanhf.c: Likewise.
51199 * math/s_catanhl.c: Likewise.
51200 * math/s_catanl.c: Likewise.
51201 * math/s_cexp.c: Likewise.
51202 * math/s_cexpf.c: Likewise.
51203 * math/s_cexpl.c: Likewise.
51204 * math/s_clog.c: Likewise.
51205 * math/s_clog10.c: Likewise.
51206 * math/s_clog10f.c: Likewise.
51207 * math/s_clog10l.c: Likewise.
51208 * math/s_clogf.c: Likewise.
51209 * math/s_clogl.c: Likewise.
51210 * math/s_csqrt.c: Likewise.
51211 * math/s_csqrtf.c: Likewise.
51212 * math/s_csqrtl.c: Likewise.
51213 * math/s_ctanf.c: Likewise.
51214 * math/s_ctanh.c: Likewise.
51215 * math/s_ctanhf.c: Likewise.
51216 * math/s_ctanhl.c: Likewise.
51217 * math/s_ctanl.c: Likewise.
51219 * math/math_private.h: Define __nan, __nanf, __nanl.
51220 * math/s_cacosh.c: Include <math_private.h>.
51221 * math/s_cacoshl.c: Likewise.
51222 * math/s_casinh.c: Likewise.
51223 * math/s_casinhf.c: Likewise.
51224 * math/s_casinhl.c: Likewise.
51225 * math/s_ccos.c: Rely entire on ccosh.
51226 * math/s_ccosf.c: Rely entire on ccoshf.
51227 * math/s_ccosl.c: Rely entirely on ccoshl.
51228 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51229 Remove tests for FE_INVALID.
51230 * math/s_ccoshf.c: Likewise.
51231 * math/s_ccoshl.c: Likewise.
51232 * math/s_csin.c: Likewise.
51233 * math/s_csinf.c: Likewise.
51234 * math/s_csinh.c Likewise.
51235 * math/s_csinhf.c: Likewise.
51236 * math/s_csinhl.c: Likewise.
51237 * math/s_csinl.c: Likewise.
51238 * math/s_ctan.c: Likewise.
51239 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51240 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51241 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51243 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51246 compilation problems.
51248 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51251 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51253 * sysdeps/i386/configure.in: Test for -mfma4 option.
51254 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51255 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51256 COMMON_CPUID_INDEX_80000001.
51257 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51258 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51259 use it if FMA3 is not supported.
51260 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51262 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51263 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51265 2011-10-20 Andreas Schwab <schwab@redhat.com>
51268 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51269 it would create a cycle with a link time dependency.
51271 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51273 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51275 * string/Makefile (strop-tests): Add rawmemchr.
51276 * string/test-rawmemchr.c: New file.
51278 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51279 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51280 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51281 when compiling str{,n}casecmp and when AVX is available. Hook up
51282 new optimized code in initializers.
51284 2011-10-19 Andreas Schwab <schwab@redhat.com>
51286 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51287 __feraiseexcept instead of feraiseexcept.
51289 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51291 * math/math_private.h: Define defaults for libc_fetestexcept and
51293 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51294 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51295 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51296 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51297 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51298 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51299 libc_fetestexcept and libc_feupdateenv.
51301 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51302 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51303 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51304 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51305 libc_feholdexcept_setround.
51307 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51308 Add s_nearbyint-c and s_nearbyintf-c.
51309 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51310 nearbyintf inlines.
51311 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51313 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51316 * math/math_private.h: Define defaults for libc_fegetround,
51317 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51318 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51319 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51320 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51321 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51322 standard functions.
51323 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51324 Remove comments and hacks for old compiler versions.
51325 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51326 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51327 libc_feholdexceptl.
51329 2011-10-18 Andreas Schwab <schwab@redhat.com>
51331 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51332 (__feraiseexcept_renamed): Add __NTH.
51333 (feraiseexcept): Add __NTH. Rename local variables to fix
51334 namespace violations.
51336 2011-10-17 Ulrich Drepper <drepper@gmail.com>
51338 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51340 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51342 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51343 recently added interfaces.
51344 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51346 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51347 about macro parameter expansion.
51349 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51350 __NO_MATH_INLINES is defined. Cleanups.
51352 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51353 and __floorf is target has SSE4.1.
51354 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51355 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51356 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51357 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51359 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51361 (floorf): Likewise.
51363 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51365 2011-10-17 Andreas Schwab <schwab@redhat.com>
51367 * misc/sys/cdefs.h: Fix last change.
51369 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51372 2011-10-16 Ulrich Drepper <drepper@gmail.com>
51374 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51376 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51377 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51378 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51379 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51380 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51381 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51382 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51383 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51384 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51385 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51386 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51387 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51388 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51389 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51390 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51391 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51392 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51393 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51394 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51395 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51396 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51397 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51399 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51400 ceil, ceilf, floor, floorf.
51402 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51403 Perform IRELATIVE relocations last.
51405 * elf/do-rel.h: Add another parameter nrelative, replacing the
51406 local variable with the same name. Change name of the function
51407 to end in Rel or Rela (uppercase).
51408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51409 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51410 elf_dynamic_do_##reloc function.
51412 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51414 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51415 is sufficient, at least on modern CPUs.
51417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51419 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51420 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51422 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51424 * math/bits/math-finite.h: Add entries for exp.
51425 * math/e_expl.c: Add __*_finite alias.
51426 * sysdeps/i386/fpu/e_exp.S: Likewise.
51427 * sysdeps/i386/fpu/e_expf.S: Likewise.
51428 * sysdeps/i386/fpu/e_expl.c: Likewise.
51429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51430 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51431 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51433 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51434 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51435 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51437 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51438 is sufficient, at least on modern CPUs.
51440 * ctype/ctype-info.c (__ctype_init): Define.
51441 * include/ctype.h (__ctype_init): Declare.
51442 (__ctype_b_loc): The variable is always initialized.
51443 (__ctype_toupper_loc): Likewise.
51444 (__ctype_tolower_loc): Likewise.
51445 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51446 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51448 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51450 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51452 * configure.in: Also look in $cxxmachine/include for C++ system
51455 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51457 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51458 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51459 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51460 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51461 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51462 (USE_AS_WMEMCMP): New macro.
51464 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51465 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51466 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51467 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51468 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51469 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51470 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51471 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51472 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51473 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51474 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51475 (USE_AS_WMEMCMP): New macro.
51476 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51477 * sysdeps/string/test-memcmp.c: Update.
51478 Fix simple_wmemcmp.
51480 * wcsmbs/wmemcmp.c: Update.
51481 (WMEMCMP): New macro.
51484 2011-10-12 Andreas Jaeger <aj@suse.de>
51487 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51489 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51491 * libio/iofwide.c (do_length): Avoid warning.
51493 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51495 2011-10-14 Ulrich Drepper <drepper@gmail.com>
51497 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51499 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51500 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51501 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51502 * sysdeps/i386/i686/fpu/e_log.S: New file.
51503 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51504 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51506 * ctype/ctype.h: Add support for inlined isXXX functions when
51507 compiling C++ code.
51509 2011-10-14 Andreas Schwab <schwab@redhat.com>
51511 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51513 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51515 2011-10-13 Roland McGrath <roland@hack.frob.com>
51518 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51520 2011-10-13 Andreas Schwab <schwab@redhat.com>
51522 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51523 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51526 * sysdeps/x86_64/memrchr.S: Check for zero size.
51528 * string/stratcliff.c: Add memrchr tests.
51530 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51532 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51533 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51534 rawmemchr-sse2 rawmemchr-sse2-bsf.
51535 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51536 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51537 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51538 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51539 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51540 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51541 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51542 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51543 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51544 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51545 * string/memrchr.c (MEMRCHR): New macro.
51547 2011-10-12 Ulrich Drepper <drepper@gmail.com>
51549 Add integration with gcc's -ffinite-math-only and optimize wrapper
51551 * Versions.def: Define GLIBC_2.15 version for libm.
51552 * math/Makefile (headers): Add bits/math-finite.h.
51553 * math/bits/math-finite.h: New file.
51554 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51555 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51556 * math/e_acoshl.c: Add __*_finite alias.
51557 * math/e_acosl.c: Likewise.
51558 * math/e_asinl.c: Likewise.
51559 * math/e_atan2l.c: Likewise.
51560 * math/e_atanhl.c: Likewise.
51561 * math/e_coshl.c: Likewise.
51562 * math/e_exp10.c: Likewise.
51563 * math/e_exp10f.c: Likewise.
51564 * math/e_exp10l.c: Likewise.
51565 * math/e_exp2l.c: Likewise.
51566 * math/e_fmodl.c: Likewise.
51567 * math/e_gammal_r.c: Likewise.
51568 * math/e_hypotl.c: Likewise.
51569 * math/e_j0l.c: Likewise.
51570 * math/e_j1l.c: Likewise.
51571 * math/e_jnl.c: Likewise.
51572 * math/e_lgammal_r.c: Likewise.
51573 * math/e_log10l.c: Likewise.
51574 * math/e_log2l.c: Likewise.
51575 * math/e_logl.c: Likewise.
51576 * math/e_powl.c: Likewise.
51577 * math/e_sinhl.c: Likewise.
51578 * math/e_sqrtl.c: Likewise.
51579 * math/e_scalb.c: Completely rewritten and optimized.
51580 * math/e_scalbf.c: Likewise.
51581 * math/e_scalbl.c: Likewise.
51582 * math/w_acos.c: Likewise.
51583 * math/w_acosf.c: Likewise.
51584 * math/w_acosl.c: Likewise.
51585 * math/w_acosh.c: Likewise.
51586 * math/w_acoshf.c: Likewise.
51587 * math/w_acoshl.c: Likewise.
51588 * math/w_asin.c: Likewise.
51589 * math/w_asinf.c: Likewise.
51590 * math/w_asinl.c: Likewise.
51591 * math/w_atan2.c: Likewise.
51592 * math/w_atan2f.c: Likewise.
51593 * math/w_atan2l.c: Likewise.
51594 * math/w_atanh.c: Likewise.
51595 * math/w_atanhf.c: Likewise.
51596 * math/w_atanhl.c: Likewise.
51597 * math/w_exp10.c: Likewise.
51598 * math/w_exp10f.c: Likewise.
51599 * math/w_exp10l.c: Likewise.
51600 * math/w_fmod.c: Likewise.
51601 * math/w_fmodf.c: Likewise.
51602 * math/w_fmodl.c: Likewise.
51603 * math/w_j0.c: Likewise.
51604 * math/w_j0f.c: Likewise.
51605 * math/w_j0l.c: Likewise.
51606 * math/w_j1.c: Likewise.
51607 * math/w_j1f.c: Likewise.
51608 * math/w_j1l.c: Likewise.
51609 * math/w_jn.c: Likewise.
51610 * math/w_jnf.c: Likewise.
51611 * math/w_log.c: Likewise.
51612 * math/w_logf.c: Likewise.
51613 * math/w_logl.c: Likewise.
51614 * math/w_log10.c: Likewise.
51615 * math/w_log10f.c: Likewise.
51616 * math/w_log10l.c: Likewise.
51617 * math/w_log2.c: Likewise.
51618 * math/w_log2f.c: Likewise.
51619 * math/w_log2l.c: Likewise.
51620 * math/w_pow.c: Likewise.
51621 * math/w_powf.c: Likewise.
51622 * math/w_powl.c: Likewise.
51623 * math/w_remainder.c: Likewise.
51624 * math/w_remainderf.c: Likewise.
51625 * math/w_remainderl.c: Likewise.
51626 * math/w_scalb.c: Likewise.
51627 * math/w_scalbf.c: Likewise.
51628 * math/w_scalbl.c: Likewise.
51629 * math/w_sqrt.c: Likewise.
51630 * math/w_sqrtf.c: Likewise.
51631 * math/w_sqrtl.c: Likewise.
51632 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51633 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51635 * math/math_private.h: Declare __kernel_standard_f.
51636 * math/w_cosh.c: Remove cruft and optimize a bit.
51637 * math/w_coshf.c: Likewise.
51638 * math/w_coshl.c: Likewise.
51639 * math/w_exp2.c: Likewise.
51640 * math/w_exp2f.c: Likewise.
51641 * math/w_exp2l.c: Likewise.
51642 * math/w_hypot.c: Likewise.
51643 * math/w_hypotf.c: Likewise.
51644 * math/w_hypotl.c: Likewise.
51645 * math/w_lgamma.c: Likewise.
51646 * math/w_lgamma_r.c: Likewise.
51647 * math/w_lgammaf.c: Likewise.
51648 * math/w_lgammaf_r.c: Likewise.
51649 * math/w_lgammal.c: Likewise.
51650 * math/w_lgammal_r.c: Likewise.
51651 * math/w_sinh.c: Likewise.
51652 * math/w_sinhf.c: Likewise.
51653 * math/w_sinhl.c: Likewise.
51654 * math/w_tgamma.c: Likewise.
51655 * math/w_tgammaf.c: Likewise.
51656 * math/w_tgammal.c: Likewise.
51657 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51658 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51659 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51660 Minor optimizations. Pretty printing. Remove cruft.
51661 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51662 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51663 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51664 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51665 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51666 * sysdeps/i386/fpu/e_asin.S: Likewise.
51667 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51668 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51669 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51670 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51671 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51672 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51673 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51674 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51675 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51676 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51677 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51678 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51679 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51680 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51681 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51682 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51683 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51684 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51685 * sysdeps/i386/fpu/e_log.S: Likewise.
51686 * sysdeps/i386/fpu/e_log10.S: Likewise.
51687 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51688 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51689 * sysdeps/i386/fpu/e_log2.S: Likewise.
51690 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51691 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51692 * sysdeps/i386/fpu/e_logf.S: Likewise.
51693 * sysdeps/i386/fpu/e_logl.S: Likewise.
51694 * sysdeps/i386/fpu/e_pow.S: Likewise.
51695 * sysdeps/i386/fpu/e_powf.S: Likewise.
51696 * sysdeps/i386/fpu/e_powl.S: Likewise.
51697 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51698 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51699 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51700 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51701 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51702 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51703 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51704 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51705 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51706 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51707 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51709 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51710 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51711 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51712 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51713 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51714 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51715 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51716 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51717 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51718 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51719 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51720 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51722 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51723 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51726 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51727 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51728 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51729 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51730 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51731 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51732 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51733 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51734 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51735 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51736 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51737 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51738 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51739 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51740 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51741 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51742 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51743 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51744 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51745 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51746 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51747 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51748 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51749 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51750 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51751 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51752 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51753 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51754 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51755 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51756 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51757 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51758 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51759 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51760 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51761 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51762 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51763 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51764 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51765 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51766 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51767 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51768 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51770 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51771 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51772 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51773 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51774 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51775 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51776 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51778 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51779 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51780 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51781 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51782 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51783 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51784 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51785 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51786 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51787 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51788 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51789 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51790 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51791 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51792 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51793 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51794 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51795 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51796 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51797 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51798 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51799 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51800 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51801 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51802 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51803 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51804 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51805 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51806 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51807 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51808 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51809 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51810 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51811 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51812 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51813 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51814 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51815 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51816 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51817 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51818 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51819 (__isnanf): Likewise.
51820 (__isinf_ns): Likewise.
51821 (__isinf_nsf): Likewise.
51822 (__finite): Likewise.
51823 (__finitef): Likewise.
51824 (__ieee754_sqrt): Define as macro.
51825 (__ieee754_sqrtf): Define as macro.
51826 (__ieee754_sqrtl): Define as macro.
51827 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51829 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51830 __FINITE_MATH_ONLY__ consistent.
51831 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51833 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51835 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51838 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51840 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51842 * po/ja.po: Update from translation team.
51844 2011-10-08 Roland McGrath <roland@hack.frob.com>
51846 * locale/programs/locarchive.c (prepare_address_space): New function.
51847 (create_archive, enlarge_archive, open_archive): Use it.
51849 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51850 inside [SHARED], where it is used.
51852 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51854 * nss/getent.c (netgroup_keys): Remove unused variable.
51855 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51857 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51859 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51860 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51862 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51863 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51864 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51865 * math/Makefile (libm-calls): Add s_isinf_ns.
51866 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51867 * math/multc3.c: Likewise.
51868 * math/s_casin.c: Likewise.
51869 * math/s_casinf.c: Likewise.
51870 * math/s_casinl.c: Likewise.
51871 * math/s_ccos.c: Likewise.
51872 * math/s_ccosf.c: Likewise.
51873 * math/s_ccosl.c: Likewise.
51874 * math/s_ctan.c: Likewise.
51875 * math/s_ctanf.c: Likewise.
51876 * math/s_ctanh.c: Likewise.
51877 * math/s_ctanhf.c: Likewise.
51878 * math/s_ctanhl.c: Likewise.
51879 * math/s_ctanl.c: Likewise.
51880 * math/w_fmod.c: Likewise.
51881 * math/w_fmodf.c: Likewise.
51882 * math/w_fmodl.c: Likewise.
51883 * math/w_remainder.c: Likewise.
51884 * math/w_remainderf.c: Likewise.
51885 * math/w_remainderl.c: Likewise.
51886 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51887 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51888 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51889 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51890 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51891 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51892 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51893 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51895 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51897 * stdio-common/printf_fphex.c: Likewise.
51898 * stdio-common/printf_size.c: Likewise.
51900 * math/e_exp10.c: Include math_private.h using <...> not "...".
51901 * math/e_exp10f.c: Likewise.
51902 * math/e_exp10l.c: Likewise.
51903 * math/e_exp2l.c: Likewise.
51904 * math/e_j0l.c: Likewise.
51905 * math/e_j1l.c: Likewise.
51906 * math/e_jnl.c: Likewise.
51907 * math/e_lgammal_r.c: Likewise.
51908 * math/e_rem_pio2l.c: Likewise.
51909 * math/e_scalb.c: Likewise.
51910 * math/e_scalbf.c: Likewise.
51911 * math/e_scalbl.c: Likewise.
51912 * math/k_cosl.c: Likewise.
51913 * math/k_sinl.c: Likewise.
51914 * math/k_tanl.c: Likewise.
51915 * math/s_cacoshf.c: Likewise.
51916 * math/s_catan.c: Likewise.
51917 * math/s_catanf.c: Likewise.
51918 * math/s_catanh.c: Likewise.
51919 * math/s_catanhf.c: Likewise.
51920 * math/s_catanhl.c: Likewise.
51921 * math/s_catanl.c: Likewise.
51922 * math/s_ccosh.c: Likewise.
51923 * math/s_ccoshf.c: Likewise.
51924 * math/s_ccoshl.c: Likewise.
51925 * math/s_cexp.c: Likewise.
51926 * math/s_cexpf.c: Likewise.
51927 * math/s_cexpl.c: Likewise.
51928 * math/s_clog.c: Likewise.
51929 * math/s_clog10.c: Likewise.
51930 * math/s_clog10f.c: Likewise.
51931 * math/s_clog10l.c: Likewise.
51932 * math/s_clogf.c: Likewise.
51933 * math/s_clogl.c: Likewise.
51934 * math/s_csin.c: Likewise.
51935 * math/s_csinf.c: Likewise.
51936 * math/s_csinh.c: Likewise.
51937 * math/s_csinhf.c: Likewise.
51938 * math/s_csinhl.c: Likewise.
51939 * math/s_csinl.c: Likewise.
51940 * math/s_csqrt.c: Likewise.
51941 * math/s_csqrtf.c: Likewise.
51942 * math/s_csqrtl.c: Likewise.
51943 * math/s_ctan.c: Likewise.
51944 * math/s_ctanf.c: Likewise.
51945 * math/s_ctanh.c: Likewise.
51946 * math/s_ctanhf.c: Likewise.
51947 * math/s_ctanhl.c: Likewise.
51948 * math/s_ctanl.c: Likewise.
51949 * math/s_ldexp.c: Likewise.
51950 * math/s_ldexpf.c: Likewise.
51951 * math/s_ldexpl.c: Likewise.
51952 * math/s_significand.c: Likewise.
51953 * math/s_significandf.c: Likewise.
51954 * math/s_significandl.c: Likewise.
51955 * math/w_acos.c: Likewise.
51956 * math/w_acosf.c: Likewise.
51957 * math/w_acosh.c: Likewise.
51958 * math/w_acoshf.c: Likewise.
51959 * math/w_acoshl.c: Likewise.
51960 * math/w_acosl.c: Likewise.
51961 * math/w_asin.c: Likewise.
51962 * math/w_asinf.c: Likewise.
51963 * math/w_asinl.c: Likewise.
51964 * math/w_atan2.c: Likewise.
51965 * math/w_atan2f.c: Likewise.
51966 * math/w_atan2l.c: Likewise.
51967 * math/w_atanh.c: Likewise.
51968 * math/w_atanhf.c: Likewise.
51969 * math/w_atanhl.c: Likewise.
51970 * math/w_cosh.c: Likewise.
51971 * math/w_coshf.c: Likewise.
51972 * math/w_coshl.c: Likewise.
51973 * math/w_dremf.c: Likewise.
51974 * math/w_exp10.c: Likewise.
51975 * math/w_exp10f.c: Likewise.
51976 * math/w_exp10l.c: Likewise.
51977 * math/w_exp2.c: Likewise.
51978 * math/w_exp2f.c: Likewise.
51979 * math/w_fmod.c: Likewise.
51980 * math/w_fmodf.c: Likewise.
51981 * math/w_fmodl.c: Likewise.
51982 * math/w_hypot.c: Likewise.
51983 * math/w_hypotf.c: Likewise.
51984 * math/w_hypotl.c: Likewise.
51985 * math/w_j0.c: Likewise.
51986 * math/w_j0f.c: Likewise.
51987 * math/w_j0l.c: Likewise.
51988 * math/w_j1.c: Likewise.
51989 * math/w_j1f.c: Likewise.
51990 * math/w_j1l.c: Likewise.
51991 * math/w_jn.c: Likewise.
51992 * math/w_jnf.c: Likewise.
51993 * math/w_jnl.c: Likewise.
51994 * math/w_lgamma.c: Likewise.
51995 * math/w_lgamma_r.c: Likewise.
51996 * math/w_lgammaf.c: Likewise.
51997 * math/w_lgammaf_r.c: Likewise.
51998 * math/w_lgammal.c: Likewise.
51999 * math/w_lgammal_r.c: Likewise.
52000 * math/w_log.c: Likewise.
52001 * math/w_log10.c: Likewise.
52002 * math/w_log10f.c: Likewise.
52003 * math/w_log10l.c: Likewise.
52004 * math/w_log2.c: Likewise.
52005 * math/w_log2f.c: Likewise.
52006 * math/w_log2l.c: Likewise.
52007 * math/w_logf.c: Likewise.
52008 * math/w_logl.c: Likewise.
52009 * math/w_pow.c: Likewise.
52010 * math/w_powf.c: Likewise.
52011 * math/w_powl.c: Likewise.
52012 * math/w_remainder.c: Likewise.
52013 * math/w_remainderf.c: Likewise.
52014 * math/w_remainderl.c: Likewise.
52015 * math/w_scalb.c: Likewise.
52016 * math/w_scalbf.c: Likewise.
52017 * math/w_scalbl.c: Likewise.
52018 * math/w_sinh.c: Likewise.
52019 * math/w_sinhf.c: Likewise.
52020 * math/w_sinhl.c: Likewise.
52021 * math/w_sqrt.c: Likewise.
52022 * math/w_sqrtf.c: Likewise.
52023 * math/w_sqrtl.c: Likewise.
52024 * math/w_tgamma.c: Likewise.
52025 * math/w_tgammaf.c: Likewise.
52026 * math/w_tgammal.c: Likewise.
52028 * po/ja.po: Update from translation team.
52030 2011-09-29 Andreas Jaeger <aj@suse.de>
52033 * sunrpc/netname.c (netname2host): Fix logic.
52037 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52039 * math/w_remainder.c (__remainder): Likewise.
52040 * math/w_remainderf.c (__remainderf): Likewise.
52041 * math/libm-test.inc (remainder_test): Add test cases.
52043 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52045 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52048 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52050 * string/test-memcmp.c: Avoid unncessary #defines.
52051 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52053 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52055 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52056 Use new sse2 version for core i3 - i7 as it's faster
52057 than sse42 version.
52058 (bit_Prefer_PMINUB_for_stringop): New.
52059 * sysdeps/x86_64/rawmemchr.S: Update.
52060 Replace with faster SSE2 version.
52061 * sysdeps/x86_64/memrchr.S: New file.
52062 * sysdeps/x86_64/memchr.S: Update.
52063 Replace with faster SSE2 version.
52065 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52067 * elf/dl-load.c (lose): Add cast to avoid warning.
52069 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52071 * po/ca.po: Update from translation team.
52073 * inet/getnetgrent_r.c: Hook up nscd.
52074 * nscd/Makefile (routines): Add nscd_netgroup.
52075 (nscd-modules): Add netgroupcache.
52076 (CFLAGS-netgroupcache.c): Define.
52077 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52078 (cache_search): Add const to second parameter.
52079 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52081 (dbs): Add netgrdb entry.
52082 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52083 (verify_persistent_db): Handle netgrdb.
52084 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52085 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52087 (netgroup_response_header): Define.
52088 (innetgroup_response_header): Define.
52089 (datahead): Add netgroup_response_header and innetgroup_response_header
52091 * nscd/nscd.conf: Add entries for netgroup cache.
52092 * nscd/nscd.h (dbtype): Add netgrdb.
52093 (_PATH_NSCD_NETGROUP_DB): Define.
52094 (netgroup_iov_disabled): Declare.
52095 (xmalloc, xcalloc, xrealloc): Move declarations here.
52096 (cache_search): Adjust prototype.
52097 Add netgroup-related prototypes.
52098 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52099 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52100 (__nscd_innetgr): Declare.
52101 * nscd/selinux.c (perms): Use access_vector_t as element type and
52102 add netgroup-related initializers.
52103 * nscd/netgroupcache.c: New file.
52104 * nscd/nscd_netgroup.c: New file.
52105 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52106 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52107 For four parameters use innetgr.
52108 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52109 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52110 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52111 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52113 * nscd/connections.c (register_traced_file): Don't register file
52114 for disabled databases.
52116 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52118 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52120 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52121 from tree and freeing node.
52123 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52125 * nss/nsswitch.c (__nss_database_lookup): Handle
52126 nss_parse_service_list out of memory case.
52128 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52130 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52131 out of memory case.
52133 2011-10-04 Andreas Schwab <schwab@redhat.com>
52135 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52136 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52138 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52139 elf_machine_rela, elf_machine_lazy_rel.
52140 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52141 (ELF_DYNAMIC_DO_REL): Likewise.
52142 (ELF_DYNAMIC_DO_RELA): Likewise.
52143 (ELF_DYNAMIC_RELOCATE): Likewise.
52144 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52145 to ELF_DYNAMIC_DO_REL.
52146 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52147 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52148 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52150 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52151 skip_ifunc, don't call ifunc function if non-zero.
52152 (elf_machine_rela): Likewise.
52153 (elf_machine_lazy_rel): Likewise.
52154 (elf_machine_lazy_rela): Likewise.
52155 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52156 (elf_machine_lazy_rel): Likewise.
52157 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52159 (elf_machine_lazy_rel): Likewise.
52160 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52162 (elf_machine_lazy_rel): Likewise.
52163 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52164 (elf_machine_lazy_rel): Likewise.
52165 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52166 (elf_machine_lazy_rel): Likewise.
52167 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52168 (elf_machine_lazy_rel): Likewise.
52169 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52170 (elf_machine_lazy_rel): Likewise.
52171 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52172 (elf_machine_lazy_rel): Likewise.
52173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52174 (elf_machine_lazy_rel): Likewise.
52176 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52178 * nss/nss_files/files-init.c (_nss_files_init): Use static
52179 initialization for all the *_traced_file variables.
52181 2011-09-28 Andreas Schwab <schwab@redhat.com>
52183 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52185 2011-09-27 Roland McGrath <roland@hack.frob.com>
52188 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52190 2011-09-27 Andreas Schwab <schwab@redhat.com>
52192 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52193 Reread the line before reparsing it.
52195 2011-09-26 Andreas Schwab <schwab@redhat.com>
52197 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52199 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52200 Maxim Kuvyrkov <maxim@codesourcery.com>
52201 Joseph Myers <joseph@codesourcery.com>
52203 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52204 if needed for __stack_chk_guard.
52206 2011-09-19 Roland McGrath <roland@hack.frob.com>
52208 * sysdeps/posix/spawni.c (script_execute): Always define it.
52209 It will be optimized away if unused.
52210 (maybe_script_execute): New function.
52211 (__spawni): Call it.
52213 * Makerules: Don't include tls.make.
52214 (config-tls): Always set to thread.
52215 * tls.make.c: File removed.
52217 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52219 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52220 * config.make.in (CPPFLAGS-config): New substituted variable.
52222 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52224 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52227 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52228 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52230 2011-09-15 Roland McGrath <roland@hack.frob.com>
52232 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52233 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52234 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52235 (CALL_FAIL): Likewise.
52236 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52237 (CALL_FAIL): Macro removed.
52238 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52240 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52242 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52243 for __FINITE_MATH_ONLY__ == 1.
52245 2011-09-15 Andreas Schwab <schwab@redhat.com>
52247 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52248 __ieee754_sqrt instead of sqrt.
52249 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52250 __ieee754_sqrtf instead of sqrtf.
52251 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52252 __floorf instead of floorf.
52253 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52254 __floorf, __truncf instead of floorf, truncf.
52256 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52258 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52260 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52261 __extern_always_inline.
52262 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52265 2011-09-14 Andreas Schwab <schwab@redhat.com>
52267 * elf/rtld.c (dl_main): Also relocate in dependency order when
52268 doing symbol dependency testing.
52270 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52272 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52273 Always define `refsym'.
52275 2011-09-13 Andreas Schwab <schwab@redhat.com>
52277 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52278 (__FD_ELT): Renamed from __FDELT.
52279 * misc/bits/select2.h (__FD_ELT): Likewise.
52280 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52281 __FD_MASK instead of __FDELT, __FDMASK.
52282 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52284 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52287 * elf/Makefile (gen-ldd): Fix pattern.
52289 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52290 (init_tls): Likewise.
52292 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52296 2011-09-12 Andreas Schwab <schwab@redhat.com>
52298 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52299 `struct cmsghdr *' instead of `void *'.
52300 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52303 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52305 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52307 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52308 ldd_rewrite_script.
52310 2011-09-11 Ulrich Drepper <drepper@gmail.com>
52312 * configure.in: Remove --with-tls option.
52313 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52314 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52315 out in case it is missing.
52316 * sysdeps/ia64/elf/configure.in: Likewise.
52317 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52318 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52319 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52320 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52321 * sysdeps/sh/elf/configure.in: Likewise.
52322 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52323 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52324 * sysdeps/x86_64/elf/configure.in: Likewise.
52325 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52326 * sysdeps/mach/hurd/tls.h: Likewise.
52329 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52332 * configure.in: Fix use of AC_INIT.
52334 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52336 2011-09-10 Ulrich Drepper <drepper@gmail.com>
52338 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52340 * malloc/hooks.c: Likewise.
52343 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52344 variables statically.
52345 (narenas): Initialize.
52346 (list_lock): Initialize.
52347 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52348 initializtion of main_arena and list_lock. Small cleanups.
52349 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52350 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52351 Add initializers to main_arena and mp_.
52352 (malloc_state): Remove pagesize member. Change all users to use
52355 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52356 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52357 is always initialized.
52359 * malloc/malloc.c: Removed unused configurations and dead code.
52360 * malloc/arena.c: Likewise.
52361 * malloc/hooks.c: Likewise.
52362 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52364 * include/tls.h: Removed. USE___THREAD must always be defined.
52365 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52366 * elf/dl-libc.c: Likewise.
52367 * elf/dl-tsd.c: Likewise.
52368 * include/errno.h: Likewise.
52369 * include/netdb.h: Likewise.
52370 * include/resolv.h: Likewise.
52371 * inet/herrno-loc.c: Likewise.
52372 * inet/herrno.c: Likewise.
52373 * malloc/arena.c: Likewise.
52374 * malloc/hooks.c: Likewise.
52375 * malloc/malloc.c: Likewise.
52376 * resolv/res-state.c: Likewise.
52377 * resolv/res_libc.c: Likewise.
52378 * sysdeps/i386/dl-machine.h: Likewise.
52379 * sysdeps/ia64/dl-machine.h: Likewise.
52380 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52381 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52382 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52383 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52384 * sysdeps/sh/dl-machine.h: Likewise.
52385 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52386 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52387 * sysdeps/unix/i386/sysdep.S: Likewise.
52388 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52389 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52390 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52394 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52398 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52399 * sysdeps/x86_64/dl-machine.h: Likewise.
52400 * tls.make.c: Likewise.
52402 * configure.in: Remove --with-__thread option. Make tests for
52403 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52404 tls_model attribute fail if no support is available. Remove
52406 * Makeconfig: Adjust for dropped configure option. All features are
52408 * Makerules: Likewise.
52409 * Versions.def: Likewise.
52410 * argp/argp-fmtstream.c: Likewise.
52411 * argp/argp-fmtstream.h: Likewise.
52412 * argp/argp-help.c: Likewise.
52413 * assert/assert.c: Likewise.
52414 * config.h.in: Likewise.
52415 * config.make.in: Likewise.
52416 * configure: Likewise.
52417 * configure.in: Likewise.
52418 * csu/Versions: Likewise.
52419 * csu/init.c: Likewise.
52420 * elf/tst-audit2.c: Likewise.
52421 * elf/tst-tls10.c: Likewise.
52422 * elf/tst-tls10.h: Likewise.
52423 * elf/tst-tls11.c: Likewise.
52424 * elf/tst-tls12.c: Likewise.
52425 * elf/tst-tls14.c: Likewise.
52426 * elf/tst-tlsmod11.c: Likewise.
52427 * elf/tst-tlsmod12.c: Likewise.
52428 * elf/tst-tlsmod13.c: Likewise.
52429 * elf/tst-tlsmod13a.c: Likewise.
52430 * elf/tst-tlsmod14a.c: Likewise.
52431 * elf/tst-tlsmod15b.c: Likewise.
52432 * elf/tst-tlsmod16a.c: Likewise.
52433 * elf/tst-tlsmod16b.c: Likewise.
52434 * elf/tst-tlsmod7.c: Likewise.
52435 * elf/tst-tlsmod8.c: Likewise.
52436 * elf/tst-tlsmod9.c: Likewise.
52437 * gmon/gmon.c: Likewise.
52438 * grp/fgetgrent_r.c: Likewise.
52439 * grp/putgrent.c: Likewise.
52440 * hurd/fopenport.c: Likewise.
52441 * include/libc-symbols.h: Likewise.
52442 * include/tls.h: Likewise.
52443 * intl/gettextP.h: Likewise.
52444 * intl/loadinfo.h: Likewise.
52445 * locale/global-locale.c: Likewise.
52446 * locale/localeinfo.h: Likewise.
52447 * mach/devstream.c: Likewise.
52448 * malloc/arena.c: Likewise.
52449 * malloc/set-freeres.c: Likewise.
52450 * misc/err.c: Likewise.
52451 * misc/getttyent.c: Likewise.
52452 * misc/mntent_r.c: Likewise.
52453 * posix/getopt.c: Likewise.
52454 * posix/wordexp.c: Likewise.
52455 * pwd/fgetpwent_r.c: Likewise.
52456 * resolv/Versions: Likewise.
52457 * resolv/res_hconf.c: Likewise.
52458 * shadow/fgetspent_r.c: Likewise.
52459 * shadow/putspent.c: Likewise.
52460 * stdio-common/printf_fphex.c: Likewise.
52461 * stdio-common/tmpfile.c: Likewise.
52462 * stdlib/abort.c: Likewise.
52463 * stdlib/fmtmsg.c: Likewise.
52464 * sunrpc/auth_unix.c: Likewise.
52465 * sunrpc/clnt_perr.c: Likewise.
52466 * sunrpc/clnt_tcp.c: Likewise.
52467 * sunrpc/clnt_udp.c: Likewise.
52468 * sunrpc/clnt_unix.c: Likewise.
52469 * sunrpc/openchild.c: Likewise.
52470 * sunrpc/svc_simple.c: Likewise.
52471 * sunrpc/svc_tcp.c: Likewise.
52472 * sunrpc/svc_udp.c: Likewise.
52473 * sunrpc/svc_unix.c: Likewise.
52474 * sunrpc/xdr.c: Likewise.
52475 * sunrpc/xdr_array.c: Likewise.
52476 * sunrpc/xdr_rec.c: Likewise.
52477 * sunrpc/xdr_ref.c: Likewise.
52478 * sunrpc/xdr_stdio.c: Likewise.
52480 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52482 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52484 2011-07-03 Andreas Jaeger <aj@suse.de>
52486 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52487 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52488 regenerate with gen-libm-tests.pl.
52490 2010-05-12 Petr Baudis <pasky@suse.cz>
52493 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52494 around j0() zero points by switching to j1().
52495 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52496 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52498 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52500 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52502 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52504 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52507 Patch in part by Pavel Roskin <proski@gnu.org>.
52510 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52512 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52513 Free memory block if necessary.
52516 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52517 be NULL. Don't lock in this case.
52519 2011-09-09 Roland McGrath <roland@hack.frob.com>
52521 * elf/elf.h (ELFOSABI_GNU): New macro.
52522 (ELFOSABI_LINUX): Define to that.
52524 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52526 * string/strncat.c (strncat): Undef the symbol in case it has been
52527 defined in bits/string.h.
52529 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52531 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52533 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52536 2011-08-17 Andreas Jaeger <aj@suse.de>
52538 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52540 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52541 Ian Lance Taylor <iant@google.com>
52543 * math/libm-test.inc (lround_test): New testcase.
52544 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52546 2011-09-08 Ulrich Drepper <drepper@gmail.com>
52548 * Makefile: Remove support for automatic cvs check-ins.
52549 * Makerules: Likewise.
52550 * config.make.in: Likewise.
52551 * configure.in: Likewise.
52552 * intl/Makefile: Likewise.
52553 * locale/Makefile: Likewise.
52554 * po/Makefile: Likewise.
52555 * posix/Makefile: Likewise.
52556 * sysdeps/gnu/Makefile: Likewise.
52557 * sysdeps/mach/hurd/Makefile: Likewise.
52558 * sysdeps/sparc/sparc32/Makefile: Likewise.
52561 * posix/Makefile (bug-regex32-ENV): Define.
52562 Patch by John Stanley <jpsinthemix@verizon.net>.
52564 * misc/Makefile (headers): Add bits/select2.h.
52565 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52566 * misc/bits/select2.h: New file.
52567 * include/bits/select2.h: New file.
52568 * debug/Makefile (routines): Add fdelt_chk.
52569 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52570 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52572 * debug/fdelt_chk.c: New file.
52574 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52575 * wcsmbs/test-wmemcmp.c: Likewise.
52576 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52577 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52579 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52581 * string/Makefile (strop-tests): Add memcmp.
52582 * string/test-wmemcmp.c: New file.
52583 * string/test-memcmp.c: Add wmemcmp support.
52585 2011-09-08 Roland McGrath <roland@hack.frob.com>
52588 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52591 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52592 garbage value in a __mach_port_mod_refs call in the cases of the
52593 task-self and thread-self ports.
52595 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52597 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52599 2011-09-08 Andreas Schwab <schwab@redhat.com>
52601 * elf/dl-load.c (lose): Check for non-null L.
52603 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52605 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52607 * elf/dl-libc.c (dlerror_run): Pass back error code from
52611 * elf/dl-load.c (lose): Free l_origin if it is valid.
52613 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52615 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52616 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52618 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52619 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52620 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52622 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52624 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52625 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52626 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52627 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52628 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52629 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52630 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52631 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52632 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52633 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52635 2011-08-15 Alan Modra <amodra@gmail.com>
52638 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52639 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52640 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52641 ppc_mcount to static-only-routines.
52642 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52644 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52645 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52647 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52649 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52650 for finite and infinity parameters.
52652 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52654 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52655 and add nop instructions for throughput optimization.
52656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52658 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52660 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52661 aligned copy for power7 with vector-scalar instructions.
52662 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52664 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52669 2011-09-07 Andreas Schwab <schwab@redhat.com>
52672 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52675 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52677 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52678 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52679 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52680 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52683 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52685 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52686 Forgot to demangle the pointer.
52688 * sysdeps/i386/sysdep.h: Define atom_text_section.
52689 * sysdeps/x86_64/sysdep.h: Likewise.
52690 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52691 section with atom_text_section.
52692 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52693 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52694 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52695 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52696 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52698 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52699 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52700 already be defined. Change to take two parameters and don't assign
52701 result to variable. Adjust all users.
52702 Define INTERNAL_GETTIME if not already defined.
52703 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52706 HAVE_CLOCK_GETTIME_VSYSCALL.
52707 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52710 gettimeofday vsyscall, just use time.
52712 2011-09-06 Andreas Schwab <schwab@redhat.com>
52714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52717 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52719 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52721 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52723 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52724 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52725 syscall if possible.
52727 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52729 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52730 e_ident. Don't pass to find_mapsXX.
52731 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52733 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52736 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52737 * sysdeps/x86_64/multiarch/strchr.S: Update.
52738 Check bit_slow_BSF bit.
52739 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52740 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52741 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52743 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52746 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52748 (tryshell): Define.
52749 (__spawni): Change last parameter to be flag. Test
52750 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52751 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52752 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52753 * posix/spawni.c: Likewise.
52754 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52755 * posix/spawnp.c: Likewise. Change normal version to use
52756 SPAWN_XFLAGS_USE_PATH.
52757 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52758 SPAWN_XFLAGS_TRY_SHELL.
52761 * posix/glob.h: Remove gcc 1.x support.
52764 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52766 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52769 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52771 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52772 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52773 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52774 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52775 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52776 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52778 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52780 * sysdeps/x86_64/wcscmp.S: New file.
52782 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52783 wcscmp-c wcscmp-sse2
52784 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52785 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52786 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52787 * wcsmbs/wcscmp.c: Allow renaming.
52789 2011-09-05 David S. Miller <davem@davemloft.net>
52791 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52792 stack slot, rather than the struct return pointer slot.
52793 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52794 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52796 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52798 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52800 * po/ja.po: Update from translation team.
52803 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52804 kernel in 64-bit binaries.
52806 2011-09-01 David S. Miller <davem@davemloft.net>
52808 * elf/elf.h (HWCAP_SPARC_*): Move to..
52809 * sysdeps/sparc/sysdep.h: this new file and add new values.
52810 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52811 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52812 _DL_HWCAP_COUNT to 24.
52813 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52815 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52816 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52817 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52819 instead of magic constants.
52820 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52822 2011-08-31 David S. Miller <davem@davemloft.net>
52824 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52826 Reimplement to do errno handling inline.
52827 (SYSCALL_ERROR_HANDLER): New macro.
52828 (__SYSCALL_STRING): Do not do errno handling in asm.
52829 (__CLONE_SYSCALL_STRING): Delete.
52830 (__INTERNAL_SYSCALL_STRING): Delete.
52831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52832 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52833 (PSEUDO): Reimplement to do errno handling inline.
52834 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52835 (SYSCALL_ERROR_HANDLER): New macro.
52836 (__SYSCALL_STRING): Do not do errno handling in asm.
52837 (__CLONE_SYSCALL_STRING): Delete.
52838 (__INTERNAL_SYSCALL_STRING): Delete.
52839 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52840 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52842 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52843 (inline_syscall*): Add 'err' argument.
52844 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52845 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52846 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52847 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52849 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52850 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52852 2011-08-30 Andreas Schwab <schwab@redhat.com>
52854 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52856 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52858 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52861 2011-08-24 David S. Miller <davem@davemloft.net>
52863 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52865 2011-08-24 Andreas Schwab <schwab@redhat.com>
52867 * elf/Makefile: Add rules to build and run unload8 test.
52868 * elf/unload8.c: New file.
52869 * elf/unload8mod1.c: New file.
52870 * elf/unload8mod1x.c: New file.
52871 * elf/unload8mod2.c: New file.
52872 * elf/unload8mod3.c: New file.
52874 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52877 2011-08-23 David S. Miller <davem@davemloft.net>
52879 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52880 subtract stack bias.
52881 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52882 %sp not %fp in calculations.
52883 (_JMPBUF_UNWINDS_ADJ): Likewise.
52885 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52886 (aio_suspend): Call it to force an exception region around the
52887 AIO_MISC_WAIT() invocation.
52889 2011-08-23 Andreas Schwab <schwab@redhat.com>
52891 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52894 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52896 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52898 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52899 and <dl-machine.h>.
52900 (Elf64_FuncDesc): Remove.
52902 2011-08-22 David S. Miller <davem@davemloft.net>
52904 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52905 sigaltstack check, add missing cfi directives.
52906 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52907 missing cfi directives, and sigaltstack handling.
52909 2011-08-16 Andreas Schwab <schwab@redhat.com>
52912 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52913 object is seen twice.
52914 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52916 * elf/Makefile (distribute): Add tst-initorder2.c.
52917 (tests): Add tst-initorder2.
52918 (modules-names): Add tst-initorder2a tst-initorder2b
52919 tst-initorder2c tst-initorder2d. Add rules to build them.
52920 ($(objpfx)tst-initorder2.out): New rule.
52921 * elf/tst-initorder2.c: New file.
52922 * elf/tst-initorder2.exp: New file.
52924 2011-08-22 Andreas Schwab <schwab@redhat.com>
52926 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52928 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52929 dependencies back to end of function.
52931 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52932 $(elfobjdir)/ld.so.
52934 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52937 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52939 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52940 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52941 of __vdso_gettimeofday.
52942 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52943 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52945 (_libc_vdso_platform_setup): Remove initialization of
52946 __vdso_gettimeofday and __vdso_time.
52948 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52950 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52951 and fgetc_unlocked.
52952 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52955 * elf/dl-open.c (add_to_global): Report additions to the global scope
52956 for LD_DEBUG=scopes.
52957 (dl_open_worker): Also print scope of newly loaded dependencies.
52958 (_dl_show_scope): Indicate if there is no scope.
52961 * stdio-common/Makefile (tests): Add bug24.
52962 * stdio-common/bug24.c: New file.
52964 2011-08-19 Andreas Jaeger <aj@suse.de>
52967 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52968 non-existant file when using close-on-exec mode.
52970 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52973 the very first instruction.
52975 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52976 the CFI state in the end.
52977 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52978 inclusion of dl-trampoline.h.
52979 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52981 2011-08-19 Andreas Schwab <schwab@redhat.com>
52983 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52984 expectations for long double.
52986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52987 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52989 2011-08-14 David S. Miller <davem@davemloft.net>
52991 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52992 artificual limit depends upon the system page size.
52994 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52996 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52997 * resolv/Makefile: Define CFLAGS-libresolv.
52999 2011-08-17 Andreas Schwab <schwab@redhat.com>
53001 * nss/makedb.c (compute_tables): Make variables used in nested
53004 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53006 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53007 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53008 if buffer was too small.
53010 * elf/pldd.c (main): Attach to all threads in the process.
53011 Rewrite /proc handling to use *at functions.
53013 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53015 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53016 specifies first scope to show.
53017 (dl_open_worker): Update callers. Move printing scope of new
53018 object to before the relocation.
53019 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53020 * sysdeps/generic/ldsodefs.h: Update declaration.
53022 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53023 string for the scope number.
53025 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53027 * nscd/servicescache.c (cache_addserv): Make sure written is always
53030 2011-08-14 Roland McGrath <roland@hack.frob.com>
53032 * sysdeps/i386/i486/bits/atomic.h
53033 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53034 statement expression, so as to suppress "set but not used" warning.
53035 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53037 * string/strncat.c (STRNCAT): Use prototype definition.
53039 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53040 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53042 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53043 (localedef-modules): Add localedef.
53044 (locale-modules): Add locale.
53046 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53047 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53048 to avoid a warning.
53050 2011-08-14 David S. Miller <davem@davemloft.net>
53052 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53053 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53055 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53057 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53058 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53059 * elf/rtld.c (dl_main): Set l_name of vDSO.
53060 Call _dl_show_scope when DL_DEBUG_SCOPES.
53061 (process_dl_debug): Recognize scopes flag and also set it for all.
53062 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53063 Declare _dl_show_scope.
53065 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53066 (do_dlopen): Pass caller_dlopen to dl_open.
53067 (__libc_dlopen_mode): Initialize caller_dlopen.
53069 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53070 of libc. Make tolower call locale-independent. Optimize a bit by
53071 using isdigit instead of isalnum.
53072 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53074 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53076 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53077 was a dependency or dynamically loaded.
53079 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53081 * intl/l10nflist.c: Allow architecture-specific pop function.
53082 * sysdeps/x86_64/l10nflist.c: New file.
53084 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53087 2011-08-10 Andreas Schwab <schwab@redhat.com>
53089 * include/dirent.h: Add libc_hidden_proto for scandirat and
53090 scandirat64. Don't declare __scandirat64.
53091 * dirent/scandirat.c: Add libc_hidden_def.
53092 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53093 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53095 2011-08-10 David S. Miller <davem@davemloft.net>
53097 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53099 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53100 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53101 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53103 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53105 * Versions.def [libc]: Add GLIBC_2.15.
53106 * dirent/Makefile (routines): Add scandirat and scandirat64.
53107 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53109 * dirent/dirent.h: Declare scandirat and scandirat64.
53110 * dirent/scandirat.c: New file.
53111 * dirent/scandirat64.c: New file.
53112 * sysdeps/wordsize-64/scandirat.c: New file.
53113 * sysdeps/wordsize-64/scandirat64.c: New file.
53114 * dirent/opendir.c: Define opendirat.
53115 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53117 * dirent/scandir64.c: Adjust for scandir.c change.
53118 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53119 __scandirat64, and __scandir_cancel_handler.
53120 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53121 additional parameter and use openat instead of open (outside of ld.so).
53122 Add new __opendir as wrapper around __opendirat.
53123 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53124 here without requiring old scandirat implementation.
53126 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53128 * dirent/scandir.c (cancel_handler): Renamed to
53129 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53130 defined. Adjust users.
53131 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53132 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53134 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53136 * string/test-string.h (IMPL): Use __STRING to expand name and then
53139 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53142 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53144 * string/Makefile: Update.
53145 (strop-tests): Append strncat.
53146 * string/test-wcscmp.c: New file.
53147 New comprehensive test for wcscmp.
53148 * string/test-strcmp.c: Update.
53149 (WIDE): New define.
53151 2011-07-22 Andreas Schwab <schwab@redhat.com>
53153 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53156 2011-07-26 Andreas Schwab <schwab@redhat.com>
53158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53159 encoding to ACE if AI_IDN.
53161 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53163 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53164 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53166 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53168 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53169 Fix overflow bug in strncat.
53170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53172 * string/test-strncat.c: Update.
53173 Add new tests for checking overflow bugs.
53175 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53178 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53179 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53180 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53181 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53182 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53183 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53184 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53185 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53187 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53188 (USE_AS_STRCAT): Define.
53189 Add strcat and strncat support.
53190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53192 2011-07-25 Andreas Schwab <schwab@redhat.com>
53194 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53195 __n bigger than INT_MAX+1.
53196 (__strncmp_g): Likewise.
53198 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53200 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53201 * libio/stido.h: Likewise.
53203 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53208 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53209 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53210 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53211 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53215 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53218 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53220 (_dl_x86_64_save_sse): Likewise.
53222 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53226 (_dl_x86_64_save_sse): Likewise.
53228 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53230 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53232 2011-07-21 Andreas Schwab <schwab@redhat.com>
53234 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53236 (_dl_x86_64_save_sse): Use correct AVX check.
53238 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53240 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53241 bug in strncpy/strncat.
53242 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53244 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53246 * string/tester.c (test_strcat): Add tests for different alignments
53247 of source and destination.
53248 (test_strncat): Likewise.
53250 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53253 * posix/glob.c (glob): Check passed in values before using them in
53254 expressions to avoid some overflows.
53255 (glob_in_dir): Likewise.
53258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53259 check for AVX enablement so that we don't crash with old kernels and
53261 * elf/tst-audit4.c: Add same checks here.
53262 * elf/tst-audit6.c: Likewise.
53264 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53266 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53268 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53270 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53272 * po/cs.po: Update from translation team.
53273 * po/bg.po: Likewise.
53275 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53277 * misc/sys/cdefs.h: Add support for const attribute.
53278 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53279 to gnu_dev_{major,minor,makedev} functions.
53281 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53283 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53285 2011-07-20 Andreas Schwab <schwab@redhat.com>
53287 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53290 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53293 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53294 register in order to avoid conflicts with the soft frame pointer
53295 being held in r11 when necessary.
53296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53297 (INTERNAL_VSYSCALL_NCS): Likewise.
53299 2011-07-14 Marek Polacek <mpolacek@redhat.com>
53301 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53302 * elf/dl-fini.c (_dl_fini): Adjust caller.
53303 * elf/dl-close.c (_dl_close_worker): Likewise.
53304 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53306 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53308 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53309 "aux_cache->nlibs < 0".
53311 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53312 in the reload-count case.
53314 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53317 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53318 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53319 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53320 * sysdeps/x86_64/multiarch/strcat.S: New file.
53321 * sysdeps/x86_64/multiarch/strncat.S: New file.
53322 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53323 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53324 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53325 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53326 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53327 (USE_AS_STRCAT): Define.
53328 Add strcat and strncat support.
53329 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53330 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53331 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53332 * string/strncat.c: Update.
53333 (USE_AS_STRNCAT): Define.
53334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53335 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53337 * sysdeps/x86_64/multiarch/init-arch.h
53338 (bit_Prefer_PMINUB_for_stringop): New.
53339 (index_Prefer_PMINUB_for_stringop): Likewise.
53340 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53341 bit_Prefer_PMINUB_for_stringop.
53343 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53345 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53347 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53348 of casting of buffer.
53349 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53350 buffer32 and buffer64.
53351 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53352 writes instead of casting of buffer.
53353 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53355 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53358 2011-07-19 Andreas Schwab <schwab@redhat.com>
53360 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53362 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53364 * nscd/nscd.c (termination_handler): Don't do anything for a database
53365 if it has not yet been initialized.
53367 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53369 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53371 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53373 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53375 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53377 * po/nl.po: Update from translation team.
53378 * po/sv.po: Likewise.
53380 2011-07-16 Roland McGrath <roland@hack.frob.com>
53382 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53383 now disallowed by GCC.
53385 * configure.in (use-default-link): Default to yes if a test -shared
53386 link meets our qualifications.
53387 * configure: Regenerated.
53389 * config.make.in (output-format): New variable.
53390 * configure.in: Check for ld --print-output-format support.
53391 * configure: Regenerated.
53392 * Makerules ($(common-objpfx)format.lds)
53393 [$(output-format) != unknown]: Just use $(output-format),
53394 instead of the linker-script munging.
53396 2011-07-14 Roland McGrath <roland@hack.frob.com>
53398 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53399 of $(common-objpfx)shlib.lds.
53400 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53402 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53403 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53405 * configure.in (-z relro check): Adjust test code to add a large
53406 writable data section after it.
53407 * configure: Regenerated.
53409 2011-07-11 Roland McGrath <roland@hack.frob.com>
53411 * configure.in (-z relro check): Fix test code to make the variable
53413 * configure: Regenerated.
53415 2011-07-11 Ulrich Drepper <drepper@gmail.com>
53417 * nscd/nscd.h (struct traced_file): Define.
53418 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53419 elements. Add traced_files.
53420 (inotify_fd): Declare.
53421 (register_traced_file): Declare.
53422 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53423 (inotify_fd): Export.
53424 (resolv_conf_descr): Remove.
53425 (nscd_init): Move inotify descriptor creation to main.
53426 Don't register files for notification here.
53427 (register_traced_file): New function.
53428 (invalidate_cache): Don't use reset_res to determine whether to call
53429 res_init, go through the list of registered files.
53430 (main_loop_poll): The inotify descriptors are now stored in the
53431 structures for the traced files.
53432 (main_loop_epoll): Likewise
53433 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53434 to __nss_disable_nscd.
53435 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53436 for a database anymore. Check the records for all the registered
53438 * nss/Makefile (libnss_files-routines): Add files-init.
53439 (libnss_db-routines): Add db-init.
53440 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53441 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53442 * nss/nss_db/db-init.c: New file.
53443 * nss/nss_files/files-init.c: New file.
53444 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53445 __nss_lookup_function.
53446 (__nss_lookup_function): Call nss_load_library.
53447 (nss_load_all_libraries): New function.
53448 (__nss_disable_nscd): Take parameter with callback function for files
53449 to register. Set is_nscd. Load all the DSOs for the NSS modules
53450 used for the cached services.
53451 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53452 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53453 options for features to all the files in nscd.
53455 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53457 2011-07-10 Roland McGrath <roland@hack.frob.com>
53459 * csu/elf-init.c (__libc_csu_init): Comment typo.
53461 2011-07-09 Ulrich Drepper <drepper@gmail.com>
53463 * po/pl.po: Update from translation team.
53464 * po/ja.po: Likewise.
53465 * po/ru.po: Likewise.
53466 * po/ko.po: Likewise.
53467 * po/fr.po: Likewise.
53469 2011-07-09 Roland McGrath <roland@hack.frob.com>
53471 * configure.in (.ctors/.dtors header and trailer check):
53472 Use an empirical test on a built program.
53473 * configure: Regenerated.
53475 * configure.in (-z relro check): Use an empirical test on a built DSO.
53476 Detect, but do not require, on ia64.
53477 * configure: Regenerated.
53479 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53480 Update tests that use readelf to use $READELF instead.
53481 * configure: Regenerated.
53483 2011-07-08 Ulrich Drepper <drepper@gmail.com>
53485 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53486 if the result is not used.
53488 2011-07-05 Andreas Jaeger <aj@suse.de>
53491 * stdlib/tst-strtod.c: Add testcase.
53493 2011-07-07 Ulrich Drepper <drepper@gmail.com>
53495 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53496 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53497 The latter has a higher limit. Take additional parameter to pass to
53499 (__pathconf): Pass file to __statfs_link_max.
53500 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53502 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53506 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53507 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53509 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53510 (__statfs_filesize_max): Likewise.
53511 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53513 2011-07-05 Andreas Jaeger <aj@suse.de>
53515 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53517 2011-07-06 Marek Polacek <mpolacek@redhat.com>
53519 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53521 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53524 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53526 * Makefile (strop-tests): Add strncat.
53527 * string/test-strncat.c: New file.
53529 2011-06-30 Marek Polacek <mpolacek@redhat.com>
53531 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53533 2011-06-21 Andreas Jaeger <aj@suse.de>
53535 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53536 Copy rule from iconvdata/Makefile.
53538 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53541 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53542 but no long options are defined, just return 'W'.
53544 2011-06-22 Marek Polacek <mpolacek@redhat.com>
53547 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53549 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53551 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53553 (innetgr): Likewise.
53555 2011-07-05 Roland McGrath <roland@hack.frob.com>
53557 * config.make.in (install_root): Default to $(DESTDIR).
53559 2011-07-05 Ulrich Drepper <drepper@gmail.com>
53561 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53563 2011-07-02 Roland McGrath <roland@hack.frob.com>
53565 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53567 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53568 containing directory rather than embedding absolute directory names.
53570 * scripts/check-local-headers.sh: Rewritten using awk.
53571 Match by word, not by line. Print error messages for matches.
53572 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53574 * Makerules [shlib-lds-flags empty]:
53575 ($(common-objpfx)libc_pic.opts): New target.
53576 ($(common-objpfx)libc_pic.os.clean): New target.
53577 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53579 * config.make.in (OBJCOPY): New variable.
53580 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53581 * configure: Regenerated.
53583 * config.make.in (use-default-link): New variable.
53584 * configure.in (use_default_link): Grok --with-default-link to set it.
53585 * configure: Regenerated.
53586 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53587 (shlib-lds, shlib-lds-flags): Define to empty.
53589 * Makerules (shlib-lds): New variable.
53590 (shlib-lds-flags): New variable.
53591 (build-shlib, build-moduile, build-module-asneeded): Use it.
53592 ($(common-objpfx)libc.so): Use $(shlib-lds).
53593 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53594 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53596 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53597 DT_FLAGS/DT_FLAGS_1 with zero flags.
53599 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53600 linker script munging.
53602 2011-07-02 Ulrich Drepper <drepper@gmail.com>
53604 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53606 * crypt/sha512.c (sha512_process_block): Perform total addition using
53607 128-bit if possible.
53608 (__sha512_finish_ctx): Likewise.
53609 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53611 * crypt/sha256.c (SWAP64): Define.
53612 (sha256_process_block): Perform total addition using 64-bit if
53614 (__sha256_finish_ctx): Likewise.
53616 2011-07-01 Ulrich Drepper <drepper@gmail.com>
53618 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53620 * nscd/hstcache.c (cache_addhst): Likewise.
53621 * nscd/grpcache.c (cache_addgr): Likewise.
53622 * nscd/aicache.c (addhstaiX): Likewise
53623 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53625 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
53627 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53629 * nscd/hstcache.c (cache_addhst): Likewise.
53630 * nscd/grpcache.c (cache_addgr): Likewise.
53631 * nscd/aicache.c (addhstaiX): Likewise
53633 2011-07-01 Andreas Schwab <schwab@redhat.com>
53635 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53636 domain only when needed.
53638 2011-06-30 Andreas Schwab <schwab@redhat.com>
53640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53641 is always restored.
53643 2011-06-29 Ulrich Drepper <drepper@gmail.com>
53645 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53646 are re-adding the entry.
53647 * nscd/servicescache.c (cache_addserv): Likewise.
53649 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53651 * sysdeps/generic/dl-irel.h: fix protection against multiple
53653 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53655 2011-06-28 Ulrich Drepper <drepper@gmail.com>
53658 * malloc/memusage.sh: Fix quoting in message.
53659 * debug/xtrace.sh: Likewise.
53661 * configure.in: Remove support for --experimental-malloc option, make
53663 * config.make.in: Likewise.
53664 * malloc/Makefile: Likewise.
53666 2011-06-27 Andreas Schwab <schwab@redhat.com>
53668 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53669 two-byte characters.
53671 2011-06-27 Roland McGrath <roland@hack.frob.com>
53673 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53674 AC_CACHE_CHECK invocation.
53675 * configure: Regenerated.
53677 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53679 2011-06-27 Ulrich Drepper <drepper@gmail.com>
53682 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53683 bit from old_res_options.
53685 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53687 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53688 value type for setfct.
53690 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53693 __gettimeofday instead of gettimeofday.
53695 2011-06-26 Ulrich Drepper <drepper@gmail.com>
53697 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53699 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53701 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53706 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53709 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53710 strcpy-sse2-unaligned strncpy-sse2-unaligned
53711 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53712 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53713 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53714 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53715 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53716 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53717 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53718 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53719 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53720 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53721 (STRCPY): Support SSE2 and SSSE3 versions.
53723 2011-06-24 Ulrich Drepper <drepper@gmail.com>
53726 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53727 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53728 kernels which artificially limit size of requests.
53730 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53733 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53734 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53735 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53736 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53737 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53738 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53739 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53740 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53742 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53743 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53744 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53745 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53746 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53748 Enable unaligned load optimization for Intel Core i3, i5 and i7
53750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53752 (index_Fast_Unaligned_Load): Define.
53753 (HAS_FAST_UNALIGNED_LOAD): Define.
53755 2011-06-23 Marek Polacek <mpolacek@redhat.com>
53757 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53759 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53763 until it is clear that the information is realy needed.
53764 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53766 2011-06-22 Andreas Schwab <schwab@redhat.com>
53768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53770 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53773 /sys/devices/system/cpu/online if it is usable.
53775 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53776 reading the information from the /proc filesystem to once a second.
53778 2011-06-21 Andreas Jaeger <aj@suse.de>
53780 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53781 NULL after inclusion of kernel headers.
53783 2011-06-21 Ulrich Drepper <drepper@gmail.com>
53785 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53786 calls to internal_setent.
53789 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53790 addresses using gethostbyname4_r ignore IPv4 addresses.
53792 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53793 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53795 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53797 2011-06-20 David S. Miller <davem@davemloft.net>
53799 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53801 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53803 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53804 (elf_irel): Use it.
53805 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53806 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53807 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53808 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53809 * sysdeps/x86_64/dl-irel.h: Likewise.
53811 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53812 * elf/dl-sym.c: Likewise.
53814 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53816 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53817 need to dereference resplen2.
53819 2011-06-14 Andreas Schwab <schwab@redhat.com>
53821 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53823 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53825 * Makeconfig: Define vardbdir and inst_vardbdir.
53826 * nss/Makefile: Add rules to install db-Makefile.
53828 * nss/nss_db/db-XXX.c: Cleanup.
53830 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53831 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53833 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53834 * nss/makedb.c: Implement -g option to specify that value strings
53835 are generated and should not be added to table iterated over for
53837 * nss/nss_db/db-initgroups.c: New file.
53839 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53842 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53843 (internal_getgrouplist): Adjust to name change.
53844 Update use_initgroups_entry if this is not the first call.
53845 * nss/databases.def: Add initgroups entry.
53847 * nss/makedb.c (compute_tables): Check result of multiple hash table
53848 sizes to minimize maximum chain length.
53850 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53852 * Versions.def: Add entry for libnss_db.
53853 * shlib-versions: Likewise.
53854 * nss/Makefile: Add rules to build libnss_db.
53855 * nss/Versions: Add libnss_db information. Organize libnss_files
53857 * nss/db-Makefile: Add gshadow support. Change rules for the new
53858 makedb progra. Some minor improvements to generate smaller files.
53859 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53861 * nss/makedb.c: ...here.
53862 Improve database format to be smaller and require less memory at
53864 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53866 * nss/nss_db/db-netgrp.c: Likewise.
53867 * nss/nss_db/db-open.c: Likewise.
53868 * nss/nss_files/flies-XXX.x: Adjust comments.
53869 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53870 * nss/nss_files/files-grp.c: Likewise.
53871 * nss/nss_files/files-hosts.c: Likewise.
53872 * nss/nss_files/files-network.c: Likewise.
53873 * nss/nss_files/files-proto.c: Likewise.
53874 * nss/nss_files/files-pwd.c: Likewise.
53875 * nss/nss_files/files-rpc.c: Likewise.
53876 * nss/nss_files/files-service.c: Likewise.
53877 * nss/nss_files/files-sgrp.c: Likewise.
53878 * nss/nss_files/files-spwd.c: Likewise.
53879 * nss/nss_db/db-alias.c: Removed.
53880 * nss/nss_db/dummy-db.h: Removed.
53882 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53884 * nss/makedb.c: Rewritten to not use database library.
53885 * nss/Makefile: Update to build new makedb program.
53887 2011-06-14 Andreas Jaeger <aj@suse.de>
53889 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53890 memset declaration.
53892 2011-06-10 Andreas Schwab <schwab@redhat.com>
53894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53897 2011-06-10 Roland McGrath <roland@hack.frob.com>
53899 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53900 * elf/Makefile ($(objpfx)ld.so): Likewise.
53902 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53903 Don't list ld.so twice in dependencies.
53905 * posix/bug-regex31.c: Include <stdlib.h>.
53907 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53909 * nis/nss_compat/compat-spwd.c
53910 (getspent_next_nss_netgr): Remove unused variable.
53911 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53913 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53914 nonmembers" output to use the right array.
53916 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53918 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53920 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53921 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53922 * catgets/gencat.c (read_input_file): Likewise.
53923 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53925 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53926 variable definition inside #if's controlling its use.
53928 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53930 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53932 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53934 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53937 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53939 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53940 * configure: Regenerated.
53942 * Makerules: Revert last change.
53943 * elf/Makefile: Likewise.
53945 2011-06-09 Roland McGrath <roland@hack.frob.com>
53947 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53948 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53949 (reloc-link): Likewise.
53951 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53953 * elf/Makefile: Add rules to build pldd.
53954 * elf/pldd.c: New file.
53955 * elf/pldd-xx.c: New file.
53957 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53959 * version.h: Update for 2.15 development version.
53961 2011-06-07 David S. Miller <davem@davemloft.net>
53963 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53965 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53966 elf_machine_lazy_rel): Likewise.
53967 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53968 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53969 elf_machine_lazy_rel): Likewise.
53970 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53971 dl_hwcap via passed in argument.
53972 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53975 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53977 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53979 2011-06-06 Roland McGrath <roland@hack.frob.com>
53982 * manual/fdl-1.1.texi: New file, verbatim from:
53983 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53984 * manual/lgpl-2.1.texi: New file, verbatim from:
53985 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53986 * manual/Makefile (licenses): New variable, list those new file names.
53988 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53990 * manual/fdl.texi: File removed.
53991 * manual/lesser.texi: File removed.
53992 * manual/libc.texinfo (Copying, Documentation License):
53993 Use new @include file names, put @appendix directive before @include.
53995 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53998 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53999 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54000 (mq_open): Add __NTH.
54002 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54005 Assume Intel Core i3/i5/i7 processor if AVX is available.
54007 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54012 2011-05-31 Andreas Schwab <schwab@redhat.com>
54014 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54015 memory. Use alloca_account. Fix memory leak when retrying.
54017 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54019 * version.h (RELEASE): Bump for 2.14 release.
54020 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54022 * config.make.in (RANLIB): Remove entry.
54024 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54026 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54027 (libc.pot): Work around missing support for .ksh extension in xgettext.
54030 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54031 if both request failed.
54032 (send_dg): In case of server errors clear resplen or *resplen2.
54035 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54036 when there are multiple maps.
54037 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54038 (_dl_fini): Remove test here.
54040 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54042 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54045 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54046 bit from old_res_options.
54047 (gaih_inet): Likewise.
54050 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54053 * resolv/res_init.c (res_setoptions): Make the code more compact.
54056 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54060 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54062 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54065 * malloc/malloc.h: Declare malloc hook variables as volatile.
54067 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54071 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54072 raise in the comment.
54073 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54074 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54075 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54077 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54080 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54081 grow the buffers more if it already has to be sufficient.
54082 (build_wcs_upper_buffer): Likewise.
54083 * posix/regexec.c (check_matching): Likewise.
54084 (clean_state_log_if_needed): Likewise.
54085 (extend_buffers): Don't enlarge buffers beyond size of the input
54087 Patches mostly by Emil Wojak <emil@wojak.eu>.
54088 * posix/bug-regex32.c: New file.
54089 * posix/Makefile (tests): Add bug-regex32.
54091 * locale/findlocale.c (_nl_find_locale): Return right away if
54092 _nl_explode_name failed.
54093 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54095 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54097 * debug/xtrace.sh: Unify messages.
54098 * malloc/memusage.sh: Likewise.
54101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54102 time symbol from vDSO. Substitute with vsyscall if not available.
54103 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54106 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54107 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54108 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54109 Add sendmmsg and internal_sendmmsg.
54110 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54111 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54112 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54114 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54115 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54116 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54118 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54121 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54122 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54124 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54128 * iconvdata/Makefile (tests): Add bug-iconv9.
54129 * iconvdata/bug-iconv9.c: New file.
54131 2011-05-27 Andreas Schwab <schwab@redhat.com>
54134 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54136 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54139 (struct user_regs_struct): Change intcs field back to cs.
54141 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54143 * po/ja.po: Update from translation team.
54145 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54148 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54149 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54151 2011-05-20 Andreas Schwab <schwab@redhat.com>
54153 * stdlib/longlong.h: Update from GCC.
54155 2011-05-23 Andreas Schwab <schwab@redhat.com>
54157 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54159 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54160 Add parameter name.
54161 (__sysconf): Pass it down.
54163 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54166 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54168 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54169 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54170 add in in __libc_use_alloca calls. Adjust callers.
54171 (glob): Use malloc in some situations.
54173 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54174 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54177 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54179 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54180 and CLOCK_BOOTTIME_ALARM.
54183 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54186 * string/_strerror.c (__strerror_r): Print negative errors as signed
54190 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54191 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54192 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54194 * configure.in: Fix typo in redirection and correct removal of test
54195 files in two cases.
54198 * locale/setlocale.c (new_composite_name): Fix test to check for
54199 identical name of all categories.
54202 * libio/filedoalloc.c (local_isatty): New function.
54203 (_IO_file_doallocate): Use local_isatty.
54204 * stdio-common/perror.c (perror): In case a new stream is used
54205 forward the stream error.
54206 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54209 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54214 * include/alloca.h (extend_alloca_account): Define.
54217 * posix/regex.h: Fix comments with documentation of user-accessible
54218 fields after compilation and describe correct free'ing of pattern
54219 after re_compile_pattern.
54220 Patch by Reuben Thomas <rrt@sc3d.org>.
54222 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54224 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54225 and -mno-altivec to prevent the compiler from using Altivec and/or
54226 VSX instructions when the corresponding registers are not available.
54228 2011-05-19 Andreas Schwab <schwab@redhat.com>
54230 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54232 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54234 * libio/freopen.c (freopen): Use __dup2, not dup2.
54235 * libio/freopen64.c (freopen64): Likewise.
54237 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54240 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54241 * math/Makefile (tests): Add test-powl.
54242 (CFLAGS-test-powl.c): Define.
54243 * math/test-powl.c: New file.
54245 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54247 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54249 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54252 * iconvdata/gb18030.c: Update to GB18020-2005.
54254 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54256 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54257 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54258 Patch by Aharon Robbins <arnold@skeeve.com>.
54261 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54265 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54266 through underflows.
54269 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54270 point to strings before performing equality test for error_one_per_line
54274 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54277 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54278 (struct user_fpregs_struct): Avoid __uint*_t types.
54281 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54282 symbol info. Use it instead of calling _dl_addr locally.
54283 (lock_and_info): New function.
54284 (tr_freehook): Call lock_and_info and pass symbol info as additional
54285 parameter to tr_where.
54286 (tr_mallochook): Likewise.
54287 (tr_reallochook): Likewise.
54288 (tr_memalignhook): Likewise.
54290 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54291 used and couldn't be at all thread-safe.
54293 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54295 * libio/freopen.c (freopen): Don't close old file descriptor
54296 before the new one is opened. Instead dup the new file descriptor
54297 to the old one after the new stream is created.
54298 * libio/freopen64.c (freopen64): Likewise.
54299 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54300 * libio/fileops.c (_IO_new_file_close_it): Handle new
54301 _IO_FLAGS2_NOCLOSE flag.
54302 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54303 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54304 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54305 _IO_FLAGS2_NOCLOSE flag.
54306 * include/unistd.h: Add hidden_proto for dup3.
54307 Define __have_dup3.
54308 * io/dup3.c: Define hidden symbol.
54309 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54312 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54313 when an incomplete long option is used.
54314 * posix/tst-getopt_long1.c: New file.
54315 * posix/Makefile (tests): Add tst-getopt_long1.
54318 * scripts/config.guess: Update from autoconf-2.68.
54319 * scripts/config.sub: Likewise.
54322 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54324 (has_cpuclock): ...this. New function.
54325 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54326 macro here based on has_cpuclock code.
54329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54330 First byte (not low byte) is now always NUL.
54331 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54334 Use non-cancelable interfaces.
54337 * locale/iso-639.def: Add entry for Sorani.
54340 * include/stdlib.h: Move include protection to the right place.
54341 Define abort_msg_s. Declare __abort_msg with it.
54342 * stdlib/abort.c (__abort_msg): Adjust type.
54343 * assert/assert.c (__assert_fail_base): New function. Majority
54344 of code from __assert_fail. Allocate memory for __abort_msg with
54346 (__assert_fail): Now call __assert_fail_base.
54347 * assert/assert-perr.c: Remove bulk of implementation. Use
54348 __assert_fail_base.
54349 * include/assert.hL Declare __assert_fail_base.
54350 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54352 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54354 2011-05-14 Ulrich Drepper <drepper@gmail.com>
54358 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54359 until all modules are registered in the DTV.
54360 * elf/Makefile: Add rules to build and run tst-tls19.
54361 * elf/tst-tls19.c: New file.
54362 * elf/tst-tls19mod1.c: New file.
54363 * elf/tst-tls19mod2.c: New file.
54364 * elf/tst-tls19mod3.c: New file.
54365 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54368 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54372 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54373 two-byte sequence errors.
54374 * iconvdata/Makefile (tests): Add bug-iconv8.
54375 * iconvdata/bug-iconv8.c: New file.
54378 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54381 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54384 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54385 (dummy_getcfa): New function.
54386 (init): Get _Unwind_GetCFA address, use dummy if not found.
54387 (backtrace_helper): In recursion check, also check whether CFA changes.
54388 (__backtrace): Completely initialize arg.
54390 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54391 storing incomplete byte sequence in state object. Avoid testing for
54392 guaranteed too small input if we know there is enough data available.
54394 2011-05-11 Andreas Schwab <schwab@redhat.com>
54396 * Makeconfig (+link-pie): Indent.
54397 * Rules (binaries-pie): Define if $(have-fpie) and
54399 (binaries-shared): Also filter out $(binaries-pie).
54400 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54401 * nscd/Makefile (others-pie): Add nscd.
54402 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54403 ($(objpfx)nscd): Remove command override.
54404 * login/Makefile (others-pie): Add pt_chown.
54405 ($(objpfx)pt_chown): Remove command override.
54406 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54407 remove command overrides.
54409 2011-05-13 Ulrich Drepper <drepper@gmail.com>
54411 * libio/tst_putwc.c: Fix error messages.
54414 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54415 currently writing and seek to current position when not.
54416 * libio/Makefile (tests): Add bug-fclose1.
54417 * libio/bug-fclose1.c: New file.
54419 2011-05-12 Ulrich Drepper <drepper@gmail.com>
54422 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54423 don't set DF_1_NODELETE here.
54424 (do_lookup_x): When entering new entry test for copy relocation
54425 and if necessary set DF_1_NODELETE flag.
54426 * elf/tst-unique4.cc: New file.
54427 * elf/tst-unique4.h: New file.
54428 * elf/tst-unique4lib.cc: New file.
54429 * elf/Makefile: Add rules to build and run tst-unique4.
54430 Patch by Piotr Bury <pbury@goahead.com>.
54432 2011-05-11 Ulrich Drepper <drepper@gmail.com>
54435 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54438 * misc/mntent_r.c (addmntent): Flush the stream after the output
54441 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54442 (is_trusted_path_normalize): Skip initial colon. Append slash
54443 to empty buffer. Duplicate is_trusted_path code but allow
54444 constructed patch to be prefix.
54445 (is_dst): Allow $ORIGIN followed by /.
54446 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54447 Correct testing of result of is_trusted_path_normalize
54448 (decompose_rpath): Fix warning.
54450 2011-05-10 Ulrich Drepper <drepper@gmail.com>
54453 * grp/initgroups.c (internal_getgrouplist): When we found the service
54454 list through the initgroups entry in nsswitch.conf do not always
54455 continue on a successful lookup. Don't always use the
54456 __nss_group_database value if it is set.
54457 * nss/nsswitch.conf (initgroups): Change action for successful db
54458 lookup to continue for compatibility.
54460 2011-05-09 Ulrich Drepper <drepper@gmail.com>
54463 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54465 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54467 * iconvdata/tst-tables.sh: Likewise.
54468 * iconvdata/cp770.c: New file.
54469 * iconvdata/cp771.c: New file.
54470 * iconvdata/cp772.c: New file.
54471 * iconvdata/cp773.c: New file.
54472 * iconvdata/cp774.c: New file.
54473 * iconvdata/testdata/CP770: New file.
54474 * iconvdata/testdata/CP770..UTF8: New file.
54475 * iconvdata/testdata/CP771: New file.
54476 * iconvdata/testdata/CP771..UTF8: New file.
54477 * iconvdata/testdata/CP772: New file.
54478 * iconvdata/testdata/CP772..UTF8: New file.
54479 * iconvdata/testdata/CP773: New file.
54480 * iconvdata/testdata/CP773..UTF8: New file.
54481 * iconvdata/testdata/CP774: New file.
54482 * iconvdata/testdata/CP774..UTF8: New file.
54484 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54486 * iconvdata/gen-8bit-gap.sh: Likewise.
54487 * iconvdata/gen-8bit.sh: Likewise.
54489 * locale/iso-639.def: Add ary entry.
54492 * locale/C-translit.h.in: Add U20A1 transliteration.
54495 * locale/iso-639.def: Add wae entry.
54496 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54499 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54503 * locale/C-translit.h.in: Add entry for U20B9.
54504 Patch by pravin.d.s@gmail.com.
54506 2011-05-08 Ulrich Drepper <drepper@gmail.com>
54509 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54510 ENAMETOOLONG use generic getcwd.
54511 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54512 in rtld. Use *stat64.
54513 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54514 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54515 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54516 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54517 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54518 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54519 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54520 __fstatat64 macros.
54521 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54522 * dirent/rewinddir.c: Add libc_hidden_def.
54523 * sysdeps/mach/hurd/rewinddir.c: Likewise.
54524 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
54526 * include/dirent.h (__alloc_dir): Add flags parameter.
54527 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54528 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54530 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54531 from fdopendir if O_CLOEXEC is already set.
54533 2011-03-15 Alan Modra <amodra@gmail.com>
54535 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54536 l_tls_firstbyte_offset non-zero. Save padding offset in
54537 l_tls_firstbyte_offset for later use.
54538 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54539 freeing static tls block.
54541 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54543 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54544 where #ifdef was intended. The intent is to prevent ARG_MAX from
54545 being defined by the kernel headers.
54547 2011-05-07 Ulrich Drepper <drepper@gmail.com>
54550 * resolv/resolv.h: Define RES_NOTLDQUERY.
54551 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54552 no-tld-query and set RES_NOTLDQUERY.
54553 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54554 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54555 modern BIND to search name as TLD unless forbidden.
54557 2011-05-07 Petr Baudis <pasky@suse.cz>
54558 Ulrich Drepper <drepper@gmail.com>
54561 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54562 (is_trusted_path): ...to here.
54563 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54564 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54565 using is_trusted_path_normalize() in setuid scripts.
54567 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54569 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54570 __BEGIN/__END_DECLS.
54572 2011-05-06 Ulrich Drepper <drepper@gmail.com>
54574 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54575 NSS_STATUS_NOTFOUND if no record was found.
54577 2011-05-05 Andreas Schwab <schwab@redhat.com>
54579 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54580 (headers-not-in-tirpc): Remove rpc/netdb.h
54581 * resolv/netdb.h: Revert last change.
54583 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54585 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54586 circular dependency between libgcc.a and libc.a.
54588 2011-05-05 Andreas Schwab <schwab@redhat.com>
54590 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54591 * nis/Makefile: Don't install rpcsvc/*.
54592 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54593 instead of <rpc/types.h>.
54594 (MAXHOSTNAMELEN): Define.
54596 2011-05-03 Andreas Schwab <schwab@redhat.com>
54598 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54600 2011-04-28 Maciej Babinski <mbabinski@google.com>
54603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54604 gethostbyname4_r when IPv6 results are possible.
54606 2011-05-02 Ulrich Drepper <drepper@gmail.com>
54609 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54610 _PC_PIPE_BUF handling.
54612 2011-04-30 Bruno Haible <bruno@clisp.org>
54615 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54616 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54618 * inet/getnameinfo.c (getnameinfo): Likewise.
54620 2011-04-29 Ulrich Drepper <drepper@gmail.com>
54622 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54623 to groups setting in database lookup.
54624 * nss/nsswitch.conf: Add initgroups entry.
54626 2011-04-22 Ulrich Drepper <drepper@gmail.com>
54629 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54631 Patch by Eric Blake <eblake@redhat.com>.
54633 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54635 * sunrpc/Makefile (need-export-routines): Add svc_run.
54636 (routines): Remove svc_run.
54637 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54638 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54639 * sunrpc/svc_run.c (svc_run): Likewise.
54640 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54642 2011-04-21 Ulrich Drepper <drepper@gmail.com>
54644 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54645 problem in reallocation in last patch.
54647 2011-04-20 Ulrich Drepper <drepper@gmail.com>
54649 * sunrpc/Makefile: Move inclusion of Rules.
54651 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54653 * nss/nss_files/files-initgroups.c: New file.
54654 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54655 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54656 _nss_files_initgroups_dyn.
54658 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54660 * elf/elf.h (R_ARM_IRELATIVE): Define.
54662 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54664 * po/ru.po: Update from translation team.
54666 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54668 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54671 2011-02-06 Mike Frysinger <vapier@gentoo.org>
54674 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54675 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54676 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54678 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54680 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54682 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54684 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54685 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54686 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54688 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54691 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54693 * stdlib/bug-getcontext.c: New file.
54694 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54696 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54698 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54699 instructions into .machine "z9-109".
54700 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54701 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54703 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54705 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54706 between environment variables and auxiliary vector.
54708 2011-04-16 Ulrich Drepper <drepper@gmail.com>
54710 * Makefile: Add rules to build linkobj/libc.so.
54711 * include/libc-symbols.h: Define libc_hidden_nolink.
54712 * include/rpc/auth.h: Mark functions which are to be hidden.
54713 * include/rpc/auth_des.h: Likewise.
54714 * include/rpc/auth_unix.h: Likewise.
54715 * include/rpc/clnt.h: Likewise.
54716 * include/rpc/des_crypt.h: Likewise.
54717 * include/rpc/key_prot.h: Likewise.
54718 * include/rpc/pmap_clnt.h: Likewise.
54719 * include/rpc/pmap_prot.h: Likewise.
54720 * include/rpc/pmap_rmt.h: Likewise.
54721 * include/rpc/rpc_msg.h: Likewise.
54722 * include/rpc/svc.h: Likewise.
54723 * include/rpc/svc_auth.h: Likewise.
54724 * include/rpc/xdr.h: Likewise.
54725 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54726 * nss/Makefile: Likewise.
54727 * sunrpc/Makefile: Don't install headers. Build library with normal
54728 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54729 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54730 for the compat linking library. Remove use of INTDEF/INTUSE.
54731 * sunrpc/auth_none.c: Likewise.
54732 * sunrpc/auth_unix.c: Likewise.
54733 * sunrpc/authdes_prot.c: Likewise.
54734 * sunrpc/authuxprot.c: Likewise.
54735 * sunrpc/clnt_gen.c: Likewise.
54736 * sunrpc/clnt_perr.c: Likewise.
54737 * sunrpc/clnt_raw.c: Likewise.
54738 * sunrpc/clnt_simp.c: Likewise.
54739 * sunrpc/clnt_tcp.c: Likewise.
54740 * sunrpc/clnt_udp.c: Likewise.
54741 * sunrpc/clnt_unix.c: Likewise.
54742 * sunrpc/des_crypt.c: Likewise.
54743 * sunrpc/des_soft.c: Likewise.
54744 * sunrpc/get_myaddr.c: Likewise.
54745 * sunrpc/key_call.c: Likewise.
54746 * sunrpc/key_prot.c: Likewise.
54747 * sunrpc/netname.c: Likewise.
54748 * sunrpc/pm_getmaps.c: Likewise.
54749 * sunrpc/pm_getport.c: Likewise.
54750 * sunrpc/pmap_clnt.c: Likewise.
54751 * sunrpc/pmap_prot.c: Likewise.
54752 * sunrpc/pmap_prot2.c: Likewise.
54753 * sunrpc/pmap_rmt.c: Likewise.
54754 * sunrpc/publickey.c: Likewise.
54755 * sunrpc/rpc_cmsg.c: Likewise.
54756 * sunrpc/rpc_common.c: Likewise.
54757 * sunrpc/rpc_dtable.c: Likewise.
54758 * sunrpc/rpc_prot.c: Likewise.
54759 * sunrpc/rpc_thread.c: Likewise.
54760 * sunrpc/rtime.c: Likewise.
54761 * sunrpc/svc.c: Likewise.
54762 * sunrpc/svc_auth.c: Likewise.
54763 * sunrpc/svc_authux.c: Likewise.
54764 * sunrpc/svc_raw.c: Likewise.
54765 * sunrpc/svc_run.c: Likewise.
54766 * sunrpc/svc_simple.c: Likewise.
54767 * sunrpc/svc_tcp.c: Likewise.
54768 * sunrpc/svc_udp.c: Likewise.
54769 * sunrpc/svc_unix.c: Likewise.
54770 * sunrpc/svcauth_des.c: Likewise.
54771 * sunrpc/xcrypt.c: Likewise.
54772 * sunrpc/xdr.c: Likewise.
54773 * sunrpc/xdr_array.c: Likewise.
54774 * sunrpc/xdr_float.c: Likewise.
54775 * sunrpc/xdr_intXX_t.c: Likewise.
54776 * sunrpc/xdr_mem.c: Likewise.
54777 * sunrpc/xdr_rec.c: Likewise.
54778 * sunrpc/xdr_ref.c: Likewise.
54779 * sunrpc/xdr_sizeof.c: Likewise.
54780 * sunrpc/xdr_stdio.c: Likewise.
54782 2011-04-10 Ulrich Drepper <drepper@gmail.com>
54785 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54786 * sysdeps/ia64/dl-tls.h: Likewise.
54787 * sysdeps/powerpc/dl-tls.h: Likewise.
54788 * sysdeps/s390/dl-tls.h: Likewise.
54789 * sysdeps/sh/dl-tls.h: Likewise.
54790 * sysdeps/sparc/dl-tls.h: Likewise.
54791 * sysdeps/x86_64/dl-tls.h: Likewise.
54792 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54794 2011-03-14 Andreas Schwab <schwab@redhat.com>
54796 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54797 rpath element also skip the following colon.
54798 (expand_dynamic_string_token): Add is_path parameter and pass
54799 down to DL_DST_REQUIRED and _dl_dst_substitute.
54800 (decompose_rpath): Call expand_dynamic_string_token with
54801 non-zero is_path. Ignore empty rpaths.
54802 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54805 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54810 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54813 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54814 Patch by Filipe David Manana <fdmanana@apache.org>.
54816 2011-04-07 Andreas Schwab <schwab@redhat.com>
54818 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54819 Maintain aligned stack.
54820 (CHECK_RSP): Remove unused macro.
54822 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54824 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54825 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54827 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54829 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54831 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54833 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54836 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54837 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54838 * sysdeps/x86_64/memmove.c: New file.
54839 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54840 (memcpy): Renamed to ...
54841 (__new_memcpy): This.
54842 (memcpy): Provide GLIBC_2_14 memcpy.
54843 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54844 (memcpy): Provide GLIBC_2_2_5 memcpy.
54846 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54849 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54851 2011-03-30 Andreas Schwab <schwab@redhat.com>
54853 * misc/syncfs.c: New file.
54854 * misc/Makefile (routines): Add syncfs.
54855 * posix/unistd.h: Declare syncfs.
54856 * sysdeps/unix/syscalls.list: Add syncfs.
54858 2011-04-01 Andreas Schwab <schwab@redhat.com>
54860 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54862 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54863 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54865 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54867 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54870 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54872 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54873 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54874 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54876 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54878 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54880 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54881 sync_file_range.c with -fexceptions.
54882 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54883 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54884 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54885 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54886 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54887 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54889 sync_file_range as cancellation point
54890 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54891 now a wrapper around __call_sync_file_range with cancellation handling.
54892 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54893 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54894 function name to __call_sync_file_range.
54895 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54896 Add call_sync_file_range.
54898 2011-04-01 Andreas Schwab <schwab@redhat.com>
54900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54903 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54905 * iconv/iconv.h: Fix typo in comment.
54906 * io/fcntl.h: Likewise.
54907 * libio/stdio.h: Likewise.
54908 * posix/spawn.h: Likewise.
54909 * posix/unistd.h: Likewise.
54910 * stdlib/stdlib.h: Likewise.
54911 * time/time.h: Likewise.
54912 * wcsmbs/wchar.h: Likewise.
54914 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54915 open_by_handle): Add.
54916 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54917 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54918 Augment a few comments.
54919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54921 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54923 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54924 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54927 * io/fcntl.h (AT_EMPTY_PATH): Define.
54929 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54931 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54932 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54933 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54935 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54936 * Versions.def: Add GLIBC_2.14.
54937 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54940 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54944 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54946 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54949 * string/test-strncmp.c (do_page_test): New function.
54950 (check2): Likewise.
54951 (test_main): Call check2.
54952 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54954 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54957 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54958 Handle cache information in CPU leaf 4.
54959 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54961 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54964 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54965 character representation.
54966 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54968 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54970 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54971 END(__isnan) to END(__isnanf) to match function entry point/label
54972 EALIGN(__isnanf,...).
54974 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54976 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54978 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54981 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54982 copy from the symbol referenced in the relocation to initialize the
54984 Patch by Piotr Bury <pbury@goahead.com>.
54985 * elf/Makefile: Add rules to build and tst-unique3.
54986 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54987 * elf/tst-unique3.cc: New file.
54988 * elf/tst-unique3.h: New file.
54989 * elf/tst-unique3lib.cc: New file.
54990 * elf/tst-unique3lib2.cc: New file.
54992 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54994 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54996 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54997 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55000 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55002 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55003 to-be-loaded object along a path to loader is ld.so.
55005 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55006 Ulrich Drepper <drepper@gmail.com>
55008 * sysdeps/x86_64/memset.S: After aligning destination, code
55009 branches to different locations depending on the value of
55010 misalignment, when multiarch is enabled. Fix this.
55012 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55014 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55015 Set _x86_64_preferred_memory_instruction for AMD processsors.
55016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55017 Set bit_Prefer_SSE_for_memop for AMD processors.
55019 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55021 * libio/fmemopen.c (fmemopen): Optimize a bit.
55023 2011-03-03 Andreas Schwab <schwab@redhat.com>
55025 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55027 2011-03-03 Roland McGrath <roland@redhat.com>
55029 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55031 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55033 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55034 __bzero_ultra1 instead of __memset_ultra1.
55036 2011-02-23 Andreas Schwab <schwab@redhat.com>
55037 Ulrich Drepper <drepper@gmail.com>
55040 * include/link.h (struct link_map): Add l_orig_initfini.
55041 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55042 returning unsuccessfully.
55043 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55044 close of a file loaded at startup, restore the original l_initfini
55046 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55047 list, store the pointer.
55048 * elf/Makefile ($(objpfx)noload-mem): New rule.
55049 (noload-ENV): Define.
55050 (tests): Add $(objpfx)noload-mem.
55051 * elf/noload.c: Include <memcheck.h>.
55052 (main): Call mtrace. Close all opened handles.
55054 2011-02-17 Andreas Schwab <schwab@redhat.com>
55057 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55058 dependencies are missing.
55060 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55062 Fix __if_freereq crash: Unlike the generic version which uses free,
55064 * sysdeps/mach/hurd/ifreq.h: New file.
55066 2011-01-27 Petr Baudis <pasky@suse.cz>
55067 Ulrich Drepper <drepper@gmail.com>
55070 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55071 to extend_alloca().
55072 * stdio-common/bug23.c: New file.
55073 * stdio-common/Makefile (tests): Add bug23.
55075 2010-09-28 Andreas Schwab <schwab@redhat.com>
55076 Ulrich Drepper <drepper@gmail.com>
55079 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55080 before performing relro protection. At old place add assertion
55081 to make sure nothing changed.
55083 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55084 Glauber de Oliveira Costa <glommer@gmail.com>
55086 * elf/elf.h: Add new ARM TLS relocs.
55088 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55091 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55093 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55095 * sysdeps/wordsize-64/tst-writev.c: New file.
55097 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55099 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55100 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55101 insns in _dl_start to prevent a TOC reference before relocs are
55104 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55107 * Makeconfig: Remove RANLIB definition.
55108 * Makerules: Don't use RANLIB.
55109 * aclocal.m4: Remove ranlib test.
55110 * configure.in: No need to check for ranlib.
55111 * elf/rtld-Rules: Don't use RANLIB.
55113 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55115 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55117 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55118 inclusion protection macro.
55120 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55121 SIGRTMIN and SIGRTMAX and print information in that case only when
55122 SIGRTMIN is defined.
55124 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55126 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55127 arginfo fn returning -1.
55129 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55130 and thousands string is zero terminated.
55132 2011-02-03 Andreas Schwab <schwab@redhat.com>
55134 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55135 sysdeps/unix/sysv/linux/bits/socket.h.
55137 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55139 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55140 (__CPU_COUNT): Remove old macros.
55141 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55142 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55143 (__CPU_ALLOC, __CPU_FREE): Add macros.
55144 (__sched_cpualloc, __sched_cpufree): Add declarations.
55146 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55148 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55149 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55150 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55151 (readdhstai): Return value of addhstaiX call.
55152 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55153 (addgrbyX): Return value returned by cache_addgr.
55154 (readdgrbyname): Return value returned by addgrbyX.
55155 (readdgrbygid): Likewise.
55156 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55157 (addpwbyX): Return value returned by cache_addpw.
55158 (readdpwbyname): Return value returned by addhstbyX.
55159 (readdpwbyuid): Likewise.
55160 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55161 (addservbyX): Return value returned by cache_addserv.
55162 (readdservbyname): Return value returned by addservbyX:
55163 (readdservbyport): Likewise.
55164 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55165 (addhstbyX): Return value returned by cache_addhst.
55166 (readdhstbyname): Return value returned by addhstbyX.
55167 (readdhstbyaddr): Likewise.
55168 (readdhstbynamev6): Likewise.
55169 (readdhstbyaddrv6): Likewise.
55170 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55171 (readdinitgroups): Return value returned by addinitgroupsX.
55172 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55173 (prune_cache): Keep track of timeout value of re-added entries.
55174 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55175 * nscd/nscd.h: Adjust prototypes of readd* functions.
55177 2011-02-04 Roland McGrath <roland@redhat.com>
55179 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55180 (nis_stats): Likewise.
55181 * nis/nis_modify.c (nis_modify): Likewise.
55182 * nis/nis_remove.c (nis_remove): Likewise.
55183 * nis/nis_add.c (nis_add): Likewise.
55185 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55187 * posix/fnmatch_loop.c: Add some consts.
55189 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55191 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55194 * config.make.in (config-cflags-novzeroupper): Define.
55195 * configure.in: Substitute libc_cv_cc_novzeroupper.
55196 * elf/Makefile (AVX-CFLAGS): Define.
55197 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55198 (CFLAGS-tst-auditmod4a.c): Likewise.
55199 (CFLAGS-tst-auditmod4b.c): Likewise.
55200 (CFLAGS-tst-auditmod6b.c): Likewise.
55201 (CFLAGS-tst-auditmod6c.c): Likewise.
55202 (CFLAGS-tst-auditmod7b.c): Likewise.
55203 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55205 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55207 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55208 function to the callback.
55209 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55211 2011-02-02 Andreas Schwab <schwab@redhat.com>
55213 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55216 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55219 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55221 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55223 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55226 * elf/Makefile: Add rules to build and run new test.
55227 * elf/tst-initorder.c: New file.
55228 * elf/tst-initorder.exp: New file.
55229 * elf/tst-initordera1.c: New file.
55230 * elf/tst-initordera2.c: New file.
55231 * elf/tst-initordera3.c: New file.
55232 * elf/tst-initordera4.c: New file.
55233 * elf/tst-initorderb1.c: New file.
55234 * elf/tst-initorderb2.c: New file.
55235 * elf/tst-order-a1.c: New file.
55236 * elf/tst-order-a2.c: New file.
55237 * elf/tst-order-a3.c: New file.
55238 * elf/tst-order-a4.c: New file.
55239 * elf/tst-order-b1.c: New file.
55240 * elf/tst-order-b2.c: New file.
55241 * elf/tst-order-main.c: New file.
55242 New test case by George Gensure <werkt0@gmail.com>.
55244 2010-10-01 Andreas Schwab <schwab@redhat.com>
55246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55247 decoding ACE if AI_CANONIDN.
55249 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55251 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55253 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55255 * version.h (RELEASE): Bump for 2.13 release.
55256 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55258 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55260 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55262 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55263 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55264 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55265 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55269 * posix/getconf.c: Update copyright year.
55270 * catgets/gencat.c: Likewise.
55271 * csu/version.c: Likewise.
55272 * debug/catchsegv.sh: Likewise.
55273 * debug/xtrace.sh: Likewise.
55274 * elf/ldconfig.c: Likewise.
55275 * elf/ldd.bash.in: Likewise.
55276 * elf/sprof.c (print_version): Likewise.
55277 * iconv/iconv_prog.c: Likewise.
55278 * iconv/iconvconfig.c: Likewise.
55279 * locale/programs/locale.c: Likewise.
55280 * locale/programs/localedef.c: Likewise.
55281 * malloc/memusage.sh: Likewise.
55282 * malloc/mtrace.pl: Likewise.
55283 * nscd/nscd.c (print_version): Likewise.
55284 * nss/getent.c: Likewise.
55286 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55287 PF_CAIF, and PF_ALG.
55288 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55290 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55292 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55293 (modules-names): Use them.
55294 (ifunc-test-modules, ifunc-pie-tests): Define.
55295 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55296 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55297 (test-extras): Likewise.
55298 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55299 $(compile-command.c).
55300 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55301 (all-built-dso): Define.
55302 (check-textrel.out, check-execstack.out): Depend on it.
55304 * configure.in: Don't override --enable-multi-arch.
55306 2011-01-15 Ulrich Drepper <drepper@gmail.com>
55309 * nscd/hstcache.c (tryagain): Define.
55310 (cache_addhst): Return tryagain not notfound for temporary errors.
55311 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55314 2011-01-14 Ulrich Drepper <drepper@gmail.com>
55317 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55318 to make the syscall.
55319 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55322 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55323 and fall back to matching as normal character if the string ends before
55324 the matching ']' is found. This is what POSIX requires.
55325 * posix/testfnm.c: Adjust test result.
55326 * posix/globtest.sh: Adjust test result. Add new test.
55327 * posix/tst-fnmatch.input: Likewise.
55328 * posix/tst-fnmatch2.c: Add new test.
55330 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55332 * elf/Makefile (check-execstack): Revert last change. Depend on
55334 (check-execstack.h): New target.
55335 (generated): Add check-execstack.h.
55336 * elf/check-execstack.c: Include "check-execstack.h".
55337 (main): Revert last change.
55338 (handle_file): Return zero if GNU_STACK is absent and
55339 DEFAULT_STACK_PERMS doesn't include PF_X.
55341 2011-01-13 Ulrich Drepper <drepper@gmail.com>
55343 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55344 in child fails because the descriptor is already closed.
55345 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55346 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55347 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55350 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55354 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55355 temporary buffer used to handle multi lookups locally.
55356 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55358 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55360 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55363 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55365 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55366 alignment for SSE2.
55368 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55371 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55372 characters. When rounding increased number of integer digits recompute
55374 * stdio-common/tst-grouping.c: New file.
55375 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55377 2011-01-09 Ulrich Drepper <drepper@gmail.com>
55379 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55380 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55382 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55384 * bits/select.h: Likewise.
55386 2011-01-08 Ulrich Drepper <drepper@gmail.com>
55388 * po/ja.po: Update from translation team.
55390 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
55393 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55394 implementation just like for lxstat, fxstatat, et al.
55396 2010-12-27 Jim Meyering <meyering@redhat.com>
55399 * posix/regexec.c (build_trtable): Return failure indication upon
55400 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55402 2010-12-25 Ulrich Drepper <drepper@gmail.com>
55405 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55406 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55407 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55408 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55411 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55414 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55415 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55417 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55419 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55420 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55421 script has SORT_BY_INIT_PRIORITY.
55422 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55423 NO_CTORS_DTORS_SECTIONS is defined.
55424 * elf/soinit.c: Likewise.
55425 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55426 NO_CTORS_DTORS_SECTIONS is defined.
55427 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55428 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55429 * sysdeps/sh/init-first.c: Likewise.
55430 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55432 2010-12-24 Ulrich Drepper <drepper@gmail.com>
55434 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55435 always use the slow path.
55437 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55439 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55440 similar rule which adds the sysdep directories to the header search in
55441 order to pick up the correct platform stackinfo.h.
55442 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55443 perform test if it is, otherwise return successfully without testing.
55444 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55445 DEFAULT_STACK_PERMS define in stackinfo.h.
55446 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55447 defined in stackinfo.h.
55448 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55449 DEFAULT_STACK_PERMS defined in stackinfo.h.
55450 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55451 * sysdeps/ia64/stackinfo.h: Likewise.
55452 * sysdeps/s390/stackinfo.h: Likewise.
55453 * sysdeps/sh/stackinfo.h: Likewise.
55454 * sysdeps/sparc/stackinfo.h: Likewise.
55455 * sysdeps/x86_64/stackinfo.h: Likewise.
55456 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55457 PF_X for powerpc64. Retain PF_X for powerpc32.
55459 2010-12-19 Ulrich Drepper <drepper@gmail.com>
55461 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55463 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55464 GETDENTS_64BIT_ALIGNED.
55466 2010-12-14 Ulrich Drepper <dreper@gmail.com>
55468 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55470 2010-12-10 Andreas Schwab <schwab@redhat.com>
55472 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55475 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55476 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55478 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55479 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55481 2010-12-09 Ulrich Drepper <drepper@gmail.com>
55484 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55487 2010-12-09 Jakub Jelinek <jakub@redhat.com>
55489 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55491 2010-12-03 Ulrich Drepper <drepper@gmail.com>
55493 * po/it.po: Update from translation team.
55495 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55500 2010-11-30 Ulrich Drepper <drepper@gmail.com>
55502 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55504 2010-11-24 Andreas Schwab <schwab@redhat.com>
55506 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55508 (gaih_getanswer_slice): Likewise.
55510 2010-10-20 Jakub Jelinek <jakub@redhat.com>
55512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55514 2010-05-31 Petr Baudis <pasky@suse.cz>
55517 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55518 silently even in the chroot mode.
55520 2010-11-22 Ulrich Drepper <drepper@gmail.com>
55522 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55523 last patch a bit. Pretty printing
55525 2010-05-31 Petr Baudis <pasky@suse.cz>
55528 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55529 initialization of skip_initgroups_dyn.
55531 2010-11-19 Ulrich Drepper <drepper@gmail.com>
55533 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55534 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55536 2010-11-16 Ulrich Drepper <drepper@gmail.com>
55538 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55540 2010-11-11 Andreas Schwab <schwab@redhat.com>
55542 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55543 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55544 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55545 ($(objpfx)tst-fnmatch-mem): New rule.
55546 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55547 * posix/tst-fnmatch.c (main): Call mtrace.
55549 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55552 Support Intel processor model 6 and model 0x2c.
55554 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
55556 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55559 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55562 * string/test-strncasecmp.c (check_result): New function.
55563 (do_one_test): Use it.
55564 (check1): New function.
55565 (test_main): Use it.
55566 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55567 Support strcasecmp and strncasecmp.
55569 2010-11-08 Ulrich Drepper <drepper@gmail.com>
55572 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55573 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55575 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55577 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55581 * sysdeps/x86_64/multiarch/bzero.S: New file.
55582 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55583 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55584 * sysdeps/x86_64/multiarch/memset.S: New file.
55585 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55587 Set bit_Prefer_SSE_for_memop for Intel processors.
55588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55590 (index_Prefer_SSE_for_memop): Define.
55591 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55593 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
55595 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55596 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55598 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55601 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55602 (__x86_64_raw_data_cache_size_half): Likewise.
55603 (__x86_64_raw_shared_cache_size): Likewise.
55604 (__x86_64_raw_shared_cache_size_half): Likewise.
55606 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55607 (__x86_64_raw_data_cache_size_half): Likewise.
55608 (__x86_64_raw_shared_cache_size): Likewise.
55609 (__x86_64_raw_shared_cache_size_half): Likewise.
55610 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55611 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55612 and __x86_64_raw_shared_cache_size_half. Round
55613 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55614 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55615 to multiple of 256 bytes.
55617 2010-11-03 Ulrich Drepper <drepper@gmail.com>
55620 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55621 of inacessible symlinks. Verify result of symlink before returning it.
55622 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55623 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55625 2010-10-28 Erich Ritz <erichritz@gmail.com>
55627 * math/math.h (isinf): Fix typo in comment.
55629 2010-11-01 Ulrich Drepper <drepper@gmail.com>
55631 * po/da.po: Update from translation team.
55633 2010-10-26 Ulrich Drepper <drepper@gmail.com>
55635 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55636 is added to the list.
55638 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55639 Ulrich Drepper <drepper@gmail.com>
55641 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55642 the global list here. Move code to...
55643 (_dl_add_to_namespace_list): ...here. New function.
55644 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55645 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55646 * elf/dl-load.c (lose): Don't remove the element from the list.
55647 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55648 (_dl_map_object): Likewise.
55650 2010-10-25 Ulrich Drepper <drepper@gmail.com>
55653 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55654 into all bytes of SSE register.
55655 Patch by Richard Li <richardpku@gmail.com>.
55657 2010-10-24 Ulrich Drepper <drepper@gmail.com>
55660 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55663 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55665 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55666 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55667 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55668 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55673 2010-10-22 Andreas Schwab <schwab@redhat.com>
55675 * include/dlfcn.h (__RTLD_SECURE): Define.
55676 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55677 mode & __RTLD_SECURE instead.
55678 (open_path): Rename preloaded parameter to secure.
55679 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55680 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55681 * elf/dl-deps.c (openaux): Likewise.
55682 * elf/rtld.c (struct map_args): Remove is_preloaded.
55683 (map_doit): Don't use it.
55684 (dl_main): Likewise.
55685 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55686 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55688 2010-09-09 Andreas Schwab <schwab@redhat.com>
55690 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55691 (sysd-rules-targets): Remove duplicates.
55692 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55693 rtld-%.$o dependency.
55695 2010-10-18 Andreas Schwab <schwab@redhat.com>
55697 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55698 _dl_map_object do it.
55700 2010-10-19 Ulrich Drepper <drepper@gmail.com>
55702 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55703 fast fma builtins, define the macros in the C99 standard.
55704 (FP_FAST_FMAF): Likewise.
55705 (FP_FAST_FMAL): Likewise.
55706 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55708 * bits/mathdef.h: Update copyright year.
55709 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55711 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55713 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55714 builtins, define the macros in the C99 standard.
55715 (FP_FAST_FMAF): Likewise.
55716 (FP_FAST_FMAL): Likewise.
55717 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55719 (FP_FAST_FMAF): Likewise.
55721 2010-10-15 Jakub Jelinek <jakub@redhat.com>
55724 * math/libm-test.inc (fma_test): Some new testcases.
55725 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55726 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55727 y and infinite z. Do multiplication by C already in long double.
55728 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55730 y and infinite z. Do bitwise or of inexact bit into u.d.
55731 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55732 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55733 * sysdeps/i386/fpu/s_fma.S: Removed.
55734 * sysdeps/i386/fpu/s_fmal.S: Removed.
55736 2010-10-16 Jakub Jelinek <jakub@redhat.com>
55739 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55740 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55741 computation is not scheduled after fetestexcept. Fix value
55742 of minimum denormal long double.
55744 2010-10-14 Jakub Jelinek <jakub@redhat.com>
55747 * math/libm-test.inc (fma_test): Add some more tests.
55748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55751 2010-10-15 Andreas Schwab <schwab@redhat.com>
55753 * scripts/data/localplt-s390-linux-gnu.data: New file.
55754 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55756 2010-10-13 Jakub Jelinek <jakub@redhat.com>
55759 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55760 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55762 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55764 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55766 if one of x and y is very large and the other is subnormal.
55767 * sysdeps/s390/fpu/s_fmaf.c: New file.
55768 * sysdeps/s390/fpu/s_fma.c: New file.
55769 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55770 * sysdeps/powerpc/fpu/s_fma.S: New file.
55771 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55772 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55773 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55775 2010-10-12 Jakub Jelinek <jakub@redhat.com>
55778 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55780 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55781 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55782 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55783 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55784 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55785 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55786 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55788 2010-10-12 Ulrich Drepper <drepper@redhat.com>
55791 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55792 * posix/bug-regex31.input: Add test case.
55794 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55796 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55797 * posix/bug-regex31.input: New file.
55800 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55801 (parse_sub_exp): Fix last change, use postorder.
55803 * posix/bug-regex31.c: New file.
55804 * posix/Makefile: Add rules to build and run bug-regex31.
55806 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55809 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55812 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55813 to have entries in sys_siglist.
55816 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55819 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55822 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55823 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55824 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55825 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55826 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55827 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55828 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55829 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55830 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55831 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55832 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55833 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55834 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55835 * math/ftestexcept.c (fetestexcept): Likewise.
55836 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55837 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55838 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55839 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55840 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55841 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55842 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55844 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55847 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55850 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55852 * string/bug-strstr1.c: New file.
55853 * string/Makefile: Add rules to build and run bug-strstr1.
55855 2010-10-05 Eric Blake <eblake@redhat.com>
55858 * string/str-two-way.h (two_way_long_needle): Always clear memory
55859 when skipping input due to the shift table.
55861 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55864 * malloc/mcheck.c: Handle large requests.
55867 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55868 for strncmp and strncasecmp.
55869 * string/stratcliff.c: Add tests for strcmp and strncmp.
55870 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55872 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55874 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55877 2010-09-30 Andreas Jaeger <aj@suse.de>
55879 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55880 (CGROUP_SUPER_MAGIC): Define.
55881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55882 Handle btrfs and cgroup file systems.
55883 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55886 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55888 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55889 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55891 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55894 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55895 trying to locate the ELF header.
55897 2010-09-27 Andreas Schwab <schwab@redhat.com>
55900 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55901 Mask out sign-bit copies when constructing f_fsid.
55903 2010-09-24 Petr Baudis <pasky@suse.cz>
55905 * debug/stack_chk_fail_local.c: Add missing licence exception.
55906 * debug/warning-nop.c: Likewise.
55908 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55910 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55911 implementing getdents64 using getdents syscall, set d_type if
55912 __ASSUME_GETDENTS32_D_TYPE.
55914 2010-09-16 Andreas Schwab <schwab@redhat.com>
55916 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55917 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55919 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55922 * posix/unistd.h: Undo change of feature selection for ftruncate from
55925 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55927 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55930 2010-09-20 Andreas Schwab <schwab@redhat.com>
55932 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55934 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55936 2010-09-14 Andreas Schwab <schwab@redhat.com>
55938 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55939 variables after CHECK_SP call.
55940 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55942 2010-09-13 Andreas Schwab <schwab@redhat.com>
55943 Ulrich Drepper <drepper@redhat.com>
55945 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55946 re-relocationg ld.so.
55947 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55948 _dl_init_paths call.
55949 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55952 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55954 * resolv/res_init.c (__res_vinit): Count the default server we added.
55956 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55957 Ulrich Drepper <drepper@redhat.com>
55960 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55961 (____longjmp_chk): Use %ebx for saving value across system call.
55964 2010-09-06 Andreas Schwab <schwab@redhat.com>
55966 * manual/Makefile: Don't mix pattern rules with normal rules.
55968 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55970 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55972 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55973 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55974 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55975 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55979 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55982 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55983 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55985 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55987 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55988 * sysdeps/x86_64/addmul_1.S: Likewise.
55989 * sysdeps/x86_64/lshift.S: Likewise.
55990 * sysdeps/x86_64/mul_1.S: Likewise.
55991 * sysdeps/x86_64/rshift.S: Likewise.
55992 * sysdeps/x86_64/sub_n.S: Likewise.
55993 * sysdeps/x86_64/submul_1.S: Likewise.
55995 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55997 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55998 Define __sched_param instead of SCHED_* and sched_param when
55999 <bits/sched.h> is included with __need_schedparam defined.
56000 * bits/sched.h [__need_schedparam]
56001 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56002 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56003 (__defined_schedparam): Define to 1.
56004 (__sched_param): New structure, identical to sched_param.
56005 (__need_schedparam): Undefine.
56007 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56009 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56010 (epoll_create1): Declare.
56012 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56014 2010-08-31 Andreas Schwab <schwab@redhat.com>
56017 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56018 shifting retval into place.
56020 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56022 * nis/rpcsvc/nis.h: Update copyright notice.
56023 * nis/rpcsvc/nis.x: Likewise.
56024 * nis/rpcsvc/nis_callback.h: Likewise.
56025 * nis/rpcsvc/nis_callback.x: Likewise.
56026 * nis/rpcsvc/nis_object.x: Likewise.
56027 * nis/rpcsvc/nis_tags.h: Likewise.
56028 * nis/rpcsvc/yp.h: Likewise.
56029 * nis/rpcsvc/yp.x: Likewise.
56030 * nis/rpcsvc/ypupd.h: Likewise.
56031 * nis/yp_xdr.c: Likewise.
56032 * nis/ypupdate_xdr.c: Likewise.
56034 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56035 mainly the body of pmap_getport. Add parameters to specify timeouts.
56036 (pmap_getport): Use __libc_rpc_getport.
56037 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56038 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56039 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56041 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56046 2010-08-27 Roland McGrath <roland@redhat.com>
56048 * sysdeps/i386/i686/multiarch/Makefile
56049 (CFLAGS-varshift.c): New variable.
56051 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56053 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56054 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56058 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56060 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56062 * sysdeps/x86_64/strlen.S: Unroll the loop.
56063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56064 strlen-sse2 strlen-sse2-bsf.
56065 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56066 __strlen_no_bsf if bit_Slow_BSF is set.
56067 (__strlen_sse42): Removed.
56068 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56069 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56071 2010-08-25 Roland McGrath <roland@redhat.com>
56073 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56074 * sysdeps/x86_64/multiarch/varshift.c: New file.
56075 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56076 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56077 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56078 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56080 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56083 strlen-sse2 strlen-sse2-bsf.
56084 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56085 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56086 (__strlen_sse2): Removed.
56087 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56090 bit_Slow_BSF for Atom.
56091 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56092 (index_Slow_BSF): Define.
56093 (HAS_SLOW_BSF): Define.
56095 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56098 * resolv/res_init.c (__res_vinit): When no server address at all
56099 is given default to loopback.
56101 2010-08-24 Roland McGrath <roland@redhat.com>
56103 * configure.in: Remove config-name.h generation.
56104 * configure: Regenerated.
56105 * config-name.in: File removed.
56106 * scripts/config-uname.sh: New file.
56107 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56108 ($(objdir)config-name.h): New target.
56110 * sunrpc/rpc_parse.h: Avoid nested comment.
56112 2010-08-24 Richard Henderson <rth@redhat.com>
56113 Ulrich Drepper <drepper@redhat.com>
56114 H.J. Lu <hongjiu.lu@intel.com>
56116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56118 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56119 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56120 _mm_alignr_epi8 with _mm_loadu_si128.
56121 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56122 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56123 (__m128i_shift_right): Removed.
56124 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56125 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56126 * sysdeps/x86_64/multiarch/varshift.h: New file.
56127 * sysdeps/x86_64/multiarch/varshift.S: New file.
56129 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56131 * configure.in: Move assembler checks to before sysdep dir checking.
56133 2010-08-20 Petr Baudis <pasky@suse.cz>
56135 * LICENSES: Sync the sunrpc license.
56137 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56139 * sunrpc/auth_des.c: Update copyright notice once again.
56140 * sunrpc/auth_none.c: Likewise.
56141 * sunrpc/auth_unix.c: Likewise.
56142 * sunrpc/authdes_prot.c: Likewise.
56143 * sunrpc/authuxprot.c: Likewise.
56144 * sunrpc/bindrsvprt.c: Likewise.
56145 * sunrpc/clnt_gen.c: Likewise.
56146 * sunrpc/clnt_perr.c: Likewise.
56147 * sunrpc/clnt_raw.c: Likewise.
56148 * sunrpc/clnt_simp.c: Likewise.
56149 * sunrpc/clnt_tcp.c: Likewise.
56150 * sunrpc/clnt_udp.c: Likewise.
56151 * sunrpc/clnt_unix.c: Likewise.
56152 * sunrpc/des_crypt.c: Likewise.
56153 * sunrpc/des_soft.c: Likewise.
56154 * sunrpc/get_myaddr.c: Likewise.
56155 * sunrpc/getrpcport.c: Likewise.
56156 * sunrpc/key_call.c: Likewise.
56157 * sunrpc/key_prot.c: Likewise.
56158 * sunrpc/openchild.c: Likewise.
56159 * sunrpc/pm_getmaps.c: Likewise.
56160 * sunrpc/pm_getport.c: Likewise.
56161 * sunrpc/pmap_clnt.c: Likewise.
56162 * sunrpc/pmap_prot.c: Likewise.
56163 * sunrpc/pmap_prot2.c: Likewise.
56164 * sunrpc/pmap_rmt.c: Likewise.
56165 * sunrpc/rpc/auth.h: Likewise.
56166 * sunrpc/rpc/auth_unix.h: Likewise.
56167 * sunrpc/rpc/clnt.h: Likewise.
56168 * sunrpc/rpc/des_crypt.h: Likewise.
56169 * sunrpc/rpc/key_prot.h: Likewise.
56170 * sunrpc/rpc/netdb.h: Likewise.
56171 * sunrpc/rpc/pmap_clnt.h: Likewise.
56172 * sunrpc/rpc/pmap_prot.h: Likewise.
56173 * sunrpc/rpc/pmap_rmt.h: Likewise.
56174 * sunrpc/rpc/rpc.h: Likewise.
56175 * sunrpc/rpc/rpc_des.h: Likewise.
56176 * sunrpc/rpc/rpc_msg.h: Likewise.
56177 * sunrpc/rpc/svc.h: Likewise.
56178 * sunrpc/rpc/svc_auth.h: Likewise.
56179 * sunrpc/rpc/types.h: Likewise.
56180 * sunrpc/rpc/xdr.h: Likewise.
56181 * sunrpc/rpc_clntout.c: Likewise.
56182 * sunrpc/rpc_cmsg.c: Likewise.
56183 * sunrpc/rpc_common.c: Likewise.
56184 * sunrpc/rpc_cout.c: Likewise.
56185 * sunrpc/rpc_dtable.c: Likewise.
56186 * sunrpc/rpc_hout.c: Likewise.
56187 * sunrpc/rpc_main.c: Likewise.
56188 * sunrpc/rpc_parse.c: Likewise.
56189 * sunrpc/rpc_parse.h: Likewise.
56190 * sunrpc/rpc_prot.c: Likewise.
56191 * sunrpc/rpc_sample.c: Likewise.
56192 * sunrpc/rpc_scan.c: Likewise.
56193 * sunrpc/rpc_scan.h: Likewise.
56194 * sunrpc/rpc_svcout.c: Likewise.
56195 * sunrpc/rpc_tblout.c: Likewise.
56196 * sunrpc/rpc_util.c: Likewise.
56197 * sunrpc/rpc_util.h: Likewise.
56198 * sunrpc/rpcinfo.c: Likewise.
56199 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56200 * sunrpc/rpcsvc/key_prot.x: Likewise.
56201 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56202 * sunrpc/rpcsvc/mount.x: Likewise.
56203 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56204 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56205 * sunrpc/rpcsvc/rex.x: Likewise.
56206 * sunrpc/rpcsvc/rstat.x: Likewise.
56207 * sunrpc/rpcsvc/rusers.x: Likewise.
56208 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56209 * sunrpc/rpcsvc/spray.x: Likewise.
56210 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56211 * sunrpc/rtime.c: Likewise.
56212 * sunrpc/svc.c: Likewise.
56213 * sunrpc/svc_auth.c: Likewise.
56214 * sunrpc/svc_authux.c: Likewise.
56215 * sunrpc/svc_raw.c: Likewise.
56216 * sunrpc/svc_run.c: Likewise.
56217 * sunrpc/svc_simple.c: Likewise.
56218 * sunrpc/svc_tcp.c: Likewise.
56219 * sunrpc/svc_udp.c: Likewise.
56220 * sunrpc/svc_unix.c: Likewise.
56221 * sunrpc/svcauth_des.c: Likewise.
56222 * sunrpc/xcrypt.c: Likewise.
56223 * sunrpc/xdr.c: Likewise.
56224 * sunrpc/xdr_array.c: Likewise.
56225 * sunrpc/xdr_float.c: Likewise.
56226 * sunrpc/xdr_mem.c: Likewise.
56227 * sunrpc/xdr_rec.c: Likewise.
56228 * sunrpc/xdr_ref.c: Likewise.
56229 * sunrpc/xdr_sizeof.c: Likewise.
56230 * sunrpc/xdr_stdio.c: Likewise.
56232 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56235 2010-08-19 Andreas Schwab <schwab@redhat.com>
56237 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56239 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56241 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56242 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56243 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56244 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56245 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56246 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56247 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56248 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56249 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56250 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56251 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56252 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56253 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56254 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56256 2010-07-26 Anton Blanchard <anton@samba.org>
56258 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56259 * malloc/arena.c (heap_trim): Likewise.
56261 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56263 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56265 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56266 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56268 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56270 * sysdeps/i386/elf/Makefile: New file.
56272 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56274 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56275 from fanotify_init.
56276 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56279 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56281 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56283 * sysdeps/multiarch/strcmp.S: Likewise.
56285 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56287 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56288 strncase_l-nonascii.
56289 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56290 Add strncase_l-ssse3.
56291 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56292 * sysdeps/x86_64/strcmp.S: Likewise.
56293 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56294 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56295 * sysdeps/x86_64/strncase.S: New file.
56296 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56297 * sysdeps/x86_64/strncase_l.S: New file.
56298 * string/Makefile (strop-tests): Add strncasecmp.
56299 * string/test-strncasecmp.c: New file.
56301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56304 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56305 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56307 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56309 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56311 2010-08-12 Ulrich Drepper <drepper@redhat.com>
56313 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56314 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56315 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56317 2010-05-01 Alan Modra <amodra@gmail.com>
56319 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56320 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56321 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56322 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56323 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56324 tidying. Don't tail-call __sigjmp_save for static lib.
56325 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56327 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56328 (CALL_MCOUNT): Add eh info, and nop after bl.
56329 (TAIL_CALL_SYSCALL_ERROR): New macro.
56330 (PSEUDO_RET): Use it.
56331 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56332 Correct save location of integer regs and cr.
56333 (_dl_profile_resolve): Correct cr save location. Delete nops
56334 after bl when SHARED. Reduce cfi size a little by better
56335 placement of cfi directives.
56336 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56337 make a stack frame. Instead use parm save area as a temp.
56338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56339 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56341 Don't make a stack frame for parent, use parm save area.
56342 Increase child stack frame to 112 bytes. Don't save unused reg,
56343 and adjust reg usage. Set up cfi on error recovery and
56344 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56346 (__makecontext): Add dummy nop after jump to exit.
56347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56348 Use correct parm save area and cr save, reduce stack frame.
56349 Correct cfi for possible PSEUDO_RET frame setup.
56350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56351 Branch to local label emitted by PSEUDO_RET rather than
56354 2010-08-12 Andreas Schwab <schwab@redhat.com>
56357 * locale/programs/locale.c (print_assignment): New function.
56358 (show_locale_vars): Use it.
56360 2010-08-11 Ulrich Drepper <drepper@redhat.com>
56362 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56364 (struct statfs64): Likewise.
56365 (_STATFS_F_FLAGS): Define.
56366 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56367 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56368 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56369 (ST_VALID): Define locally.
56370 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56371 __statvfs_getflags, use the provided value.
56372 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56373 __ASSUME_STATFS_F_FLAGS.
56375 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56377 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56378 Add sys/fanotify.h.
56379 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56380 fanotify_mask for GLIBC_2.13.
56381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56382 fanotify_init and fanotify_mark.
56383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56384 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56386 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56388 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56389 prlimit64 for GLIBC_2.13.
56390 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56395 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56396 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56397 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56398 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56400 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56403 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56404 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56406 * nss/Makefile: Add rules to build and run tst-nss-test1.
56407 * shlib-versions: Add entry for libnss_test1.
56408 * nss/nss_test1.c: New file.
56409 * nss/tst-nss-test1.c: New file.
56411 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56412 (__nss_configure_lookup): Set appropriate entry in
56413 __nss_configure_lookup to true.
56414 * nss/nsswitch.h: Define enum with indeces of databases in
56415 databases and __nss_database_custom arrays. Declare
56416 __nss_database_custom.
56417 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56418 to avoid using nscd when custom rules are installed.
56419 * nss/getXXbyYY_r.c: Likewise.
56420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56422 * nss/nss_files/files-parse.c: Whitespace fixes.
56424 2010-08-09 Ulrich Drepper <drepper@redhat.com>
56427 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56428 * posix/fnmatch_loop.c: Likewise.
56430 2010-07-17 Andi Kleen <ak@linux.intel.com>
56432 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56433 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56434 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56435 * Versions.def [GLIBC_2.13]: Add.
56437 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56439 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56440 Also fail if tpwd after pwuid call is NULL.
56442 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56444 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56445 when converting to ms.
56447 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56449 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56450 EOPNOTSUPP errors with ENOTTY.
56451 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56452 EOPNOTSUPP errors with ENOTTY.
56454 2010-07-31 Ulrich Drepper <drepper@redhat.com>
56456 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56457 Add strcasecmp_l-ssse3.
56458 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56460 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56461 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56462 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56464 2010-07-30 Ulrich Drepper <drepper@redhat.com>
56466 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56468 * string/Makefile (strop-tests): Add strcasecmp.
56469 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56470 strcasecmp_l-nonascii.
56471 (gen-as-const-headers): Add locale-defines.sym.
56472 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56473 * sysdeps/x86_64/strcasecmp.S: New file.
56474 * sysdeps/x86_64/strcasecmp_l.S: New file.
56475 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56476 * sysdeps/x86_64/locale-defines.sym: New file.
56477 * string/test-strcasecmp.c: New file.
56479 * string/test-strcasestr.c: Test both ends of the range of characters.
56480 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56482 2010-07-29 Roland McGrath <roland@redhat.com>
56485 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56487 2010-07-27 Ulrich Drepper <drepper@redhat.com>
56489 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56492 2010-07-27 Andreas Schwab <schwab@redhat.com>
56494 * manual/memory.texi (Malloc Tunable Parameters): Document
56497 2010-07-26 Roland McGrath <roland@redhat.com>
56500 * configure.in (-fgnu89-inline check): Set and substitute
56501 gnu89_inline, not libc_cv_gnu89_inline.
56502 * configure: Regenerated.
56503 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56505 2010-07-26 Ulrich Drepper <drepper@redhat.com>
56507 * string/test-strnlen.c: New file.
56508 * string/Makefile (strop-tests): Add strnlen.
56509 * string/tester.c (test_strnlen): Add a few more test cases.
56510 * string/tst-strlen.c: Better error reporting.
56512 * sysdeps/x86_64/strnlen.S: New file.
56514 2010-07-24 Ulrich Drepper <drepper@redhat.com>
56516 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56517 lower-latency instructions.
56519 2010-07-23 Ulrich Drepper <drepper@redhat.com>
56521 * string/test-strcasestr.c: New file.
56522 * string/test-strstr.c: New file.
56523 * string/Makefile (strop-tests): Add strstr and strcasestr.
56524 * string/str-two-way.h: Don't undefine MAX.
56525 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56527 2010-07-21 Andreas Schwab <schwab@redhat.com>
56529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56530 strcasestr-nonascii.
56531 (CFLAGS-strcasestr-nonascii.c): Define.
56532 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56533 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56534 Remove unused attribute.
56536 2010-07-20 Roland McGrath <roland@redhat.com>
56538 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56539 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56540 ld.so.cache was broken. With it, there is no way to disable dsocaps
56541 like LD_HWCAP_MASK can disable hwcaps.
56543 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56545 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56547 2010-07-16 Ulrich Drepper <drepper@redhat.com>
56549 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56550 call in strcasestr.
56551 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56552 __strcasestr_sse42_nonascii.
56553 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56554 strcasestr-nonascii.c.
56555 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56557 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
56559 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56561 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56562 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56564 2010-07-09 Ulrich Drepper <drepper@redhat.com>
56566 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56569 2010-07-06 Andreas Schwab <schwab@redhat.com>
56572 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56575 2010-07-06 Ulrich Drepper <drepper@redhat.com>
56577 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56578 _PC_PIPE_BUF using F_GETPIPE_SZ.
56580 2010-07-05 Roland McGrath <roland@redhat.com>
56582 * manual/arith.texi (Rounding Functions): Fix rint description
56583 implicit in round description.
56585 2010-07-02 Ulrich Drepper <drepper@redhat.com>
56587 * elf/Makefile: Fix linking for a few tests to make recent linker
56590 2010-06-30 Andreas Schwab <schwab@redhat.com>
56592 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56593 $(common-objpfx)libc_nonshared.a.
56595 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
56597 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56598 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56599 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56600 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56601 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56602 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56603 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56604 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56619 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56620 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56621 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56622 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56623 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56624 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56625 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56626 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56627 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56628 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56629 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56630 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56646 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56648 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56649 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56650 * string/memmove.c (memmove): Renamed to ...
56651 (MEMMOVE): ...this. Default to memmove.
56652 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56653 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56656 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56657 mempcpy-ssse3-back memmove-ssse3-back.
56658 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56659 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56660 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56661 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56662 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56663 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56664 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56665 * sysdeps/x86_64/multiarch/memmove.c: New file.
56666 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56667 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56668 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56669 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56670 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56671 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56673 (index_Fast_Copy_Backward): Define.
56674 (HAS_ARCH_FEATURE): Define.
56675 (HAS_FAST_REP_STRING): Define.
56676 (HAS_FAST_COPY_BACKWARD): Define.
56678 2010-06-21 Andreas Schwab <schwab@redhat.com>
56680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56681 Restore proper fallback handling.
56683 2010-06-19 Ulrich Drepper <drepper@redhat.com>
56686 * posix/group_member.c (__group_member): Correct checking loop.
56688 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56689 OOM in getpwuid_r correctly. Return error number when the caller
56690 should return, otherwise -1.
56691 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56692 call returning > 0 value.
56693 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56695 2010-06-07 Andreas Schwab <schwab@redhat.com>
56697 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56698 libc_nonshared.a from targets in modules-names.
56700 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56702 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56705 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
56707 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56708 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56709 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56710 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56712 2010-06-02 Andreas Schwab <schwab@redhat.com>
56714 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56716 2010-06-14 Ulrich Drepper <drepper@redhat.com>
56718 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56720 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56724 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56727 2010-06-14 Roland McGrath <roland@redhat.com>
56729 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56731 2010-06-07 Jakub Jelinek <jakub@redhat.com>
56733 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56734 __REDIRECT followed by __THROW.
56735 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56736 * posix/getopt.h (getopt): Likewise.
56738 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56740 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56741 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56742 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56744 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56745 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56747 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
56749 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56751 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56755 Properly check family and model.
56757 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56759 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56761 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
56763 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56765 2010-05-21 Ulrich Drepper <drepper@redhat.com>
56767 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56770 2010-05-19 Andreas Schwab <schwab@redhat.com>
56772 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56775 2010-05-21 Andreas Schwab <schwab@redhat.com>
56777 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56778 and internal_recvmmsg.
56779 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56780 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56781 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56782 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56784 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56785 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56786 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56788 2010-05-20 Andreas Schwab <schwab@redhat.com>
56790 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56792 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
56794 POWER7 optimizations.
56795 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56796 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56798 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56800 * version.h: Update for 2.13 development version.
56802 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56804 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56805 exceptions. Return 0.
56807 2010-05-07 Roland McGrath <roland@redhat.com>
56809 * elf/ldconfig.c (main): Add a const.
56811 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56813 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56814 (args_options): Add no-idn option.
56815 (ahosts_keys_int): Add idn_flags to ai_flags.
56816 (parse_option): Handle 'i' option to clear idn_flags.
56818 * malloc/malloc.c (_int_free): Possible race in the most recently
56819 added check. Only act on the data if no current modification
56822 See ChangeLog.17 for earlier changes.